.page-login {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

.page-login__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-login__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #7E0D0D 0%, #140C0C 100%); /* Deep Red to Background */
  padding-bottom: 40px;
}

.page-login__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-login__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-top: 20px;
  padding: 0 20px;
}

.page-login__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-login__description {
  font-size: 1.1em;
  color: #FFF1E8;
  margin-bottom: 30px;
}

.page-login__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.page-login__btn-primary,
.page-login__btn-secondary,
.page-login__btn-submit,
.page-login__btn-promo {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-primary,
.page-login__btn-submit {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C; /* Dark text on gold button */
  border: none;
}

.page-login__btn-primary:hover,
.page-login__btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-login__btn-secondary,
.page-login__btn-promo {
  background: #2A1212; /* Card B G */
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold border */
}

.page-login__btn-secondary:hover,
.page-login__btn-promo:hover {
  background: #F3C54D; /* Gold */
  color: #140C0C; /* Dark text */
  border-color: #F3C54D;
}

.page-login__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  text-align: center;
}

.page-login__section-subtitle {
  font-size: 1.1em;
  color: #FFF1E8;
  text-align: center;
  margin-bottom: 40px;
}

.page-login__form-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-login__login-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  background-color: #2A1212; /* Card B G */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-login__form-group {
  margin-bottom: 25px;
  text-align: left;
}

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 1em;
  color: #FFF1E8;
  font-weight: 600;
}

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 5px;
  background-color: #140C0C; /* Background */
  color: #FFF1E8;
  font-size: 1em;
}

.page-login__form-input::placeholder {
  color: #A0A0A0;
}

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.page-login__remember-me {
  display: flex;
  align-items: center;
}

.page-login__checkbox {
  margin-right: 8px;
  accent-color: #F3C54D; /* Gold */
}

.page-login__checkbox-label {
  color: #FFF1E8;
  font-size: 0.95em;
}

.page-login__forgot-password {
  color: #F3C54D; /* Gold */
  text-decoration: none;
  font-size: 0.95em;
}

.page-login__forgot-password:hover {
  text-decoration: underline;
}

.page-login__btn-submit {
  width: 100%;
  padding: 15px;
  font-size: 1.2em;
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 25px;
  color: #FFF1E8;
}

.page-login__register-link {
  color: #F3C54D; /* Gold */
  text-decoration: none;
  font-weight: bold;
}

.page-login__register-link:hover {
  text-decoration: underline;
}

.page-login__benefits-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-login__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__benefit-card {
  background-color: #2A1212; /* Card B G */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-login__benefit-card:hover {
  transform: translateY(-5px);
}

.page-login__benefit-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-width: 200px; /* Max width for consistency */
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-login__benefit-title {
  font-size: 1.4em;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-login__benefit-description {
  color: #FFF1E8;
  font-size: 0.95em;
}

.page-login__guide-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-login__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__step-item {
  background-color: #2A1212; /* Card B G */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-top: 60px;
}

.page-login__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #140C0C; /* Background */
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.page-login__step-title {
  font-size: 1.3em;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-login__step-description {
  color: #FFF1E8;
  font-size: 0.95em;
}

.page-login__security-section {
  padding: 60px 0;
}

.page-login__dark-section {
  background-color: #C61F1F; /* Main color */
  color: #ffffff; /* Forced white text */
}

.page-login__dark-section .page-login__section-title {
  color: #F3C54D; /* Gold for title */
}

.page-login__dark-section p {
  color: #FFF1E8;
}

.page-login__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-login__security-text {
  flex: 1;
  text-align: left;
}

.page-login__security-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-login__security-image-wrapper {
  flex: 0 0 500px;
  max-width: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-login__security-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-login__troubleshoot-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-login__troubleshoot-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__troubleshoot-item {
  background-color: #2A1212; /* Card B G */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-login__troubleshoot-heading {
  font-size: 1.3em;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-login__troubleshoot-item p {
  color: #FFF1E8;
  font-size: 0.95em;
}

.page-login__support-cta {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
}

.page-login__support-link {
  color: #F3C54D; /* Gold */
  text-decoration: none;
  font-weight: bold;
}

.page-login__support-link:hover {
  text-decoration: underline;
}

.page-login__promotions-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-login__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__promo-card {
  background-color: #2A1212; /* Card B G */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-login__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
}

.page-login__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-login__promo-title {
  font-size: 1.4em;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-login__promo-description {
  color: #FFF1E8;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-login__btn-promo {
  margin-top: auto;
  align-self: flex-start;
}

.page-login__all-promos-cta {
  text-align: center;
  margin-top: 50px;
}

.page-login__explore-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-login__light-bg {
  background-color: #2A1212; /* Card B G - slightly lighter than main background */
  color: #FFF1E8;
}

.page-login__light-bg .page-login__section-title {
  color: #F3C54D;
}

.page-login__light-bg .page-login__section-subtitle {
  color: #FFF1E8;
}

.page-login__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__category-card {
  background-color: #140C0C; /* Background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-login__category-card:hover {
  transform: translateY(-5px);
}

.page-login__category-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-login__category-title {
  font-size: 1.3em;
  color: #F3C54D; /* Gold */
  margin: 15px 15px 5px;
}

.page-login__category-description {
  color: #FFF1E8;
  font-size: 0.9em;
  padding: 0 15px 15px;
}

.page-login__faq-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-login__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

details.page-login__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card B G */
}

details.page-login__faq-item summary.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-login__faq-item summary.page-login__faq-question::-webkit-details-marker {
  display: none;
}

details.page-login__faq-item summary.page-login__faq-question:hover {
  background: #3A1F1F; /* Slightly lighter Card B G */
}

.page-login__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}

.page-login__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-login__faq-item .page-login__faq-answer {
  padding: 0 20px 20px;
  background: #140C0C; /* Background */
  border-radius: 0 0 8px 8px;
  color: #FFF1E8;
}

.page-login__faq-answer p {
  margin-bottom: 0;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-login__container {
    padding: 15px;
  }

  /* HERO 主图区域 */
  .page-login__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .page-login__hero-image-wrapper {
    max-height: 300px;
  }

  .page-login__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    width: 100% !important;
    height: auto !important;
  }
}