.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text on dark body background #121212 */
  background-color: transparent;
}

.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  color: #ffffff;
}

.page-login__hero-image-container {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

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

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

.page-login__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-login__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-login__form-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 80px 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for form section */
  border-radius: 8px;
  max-width: 1200px;
  margin: 40px auto;
}

.page-login__form-container {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  background-color: rgba(0, 0, 0, 0.4); /* Darker background for the form itself */
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__form-title {
  font-size: 2em;
  color: #ffffff;
  margin-bottom: 30px;
  text-align: center;
}

.page-login__form-group {
  margin-bottom: 20px;
}

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  color: #f0f0f0;
  font-weight: bold;
}

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #017439;
  border-radius: 5px;
  background-color: #1a1a1a;
  color: #ffffff;
  font-size: 1em;
}

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

.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;
}

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

.page-login__forgot-password-link {
  color: #FFFF00; /* Custom color for login font */
  text-decoration: none;
  font-size: 0.95em;
}

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

.page-login__submit-button {
  width: 100%;
  padding: 15px;
  background-color: #C30808; /* Custom color for login button */
  color: #ffffff; /* WCAG AA compliant text color */
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-login__submit-button:hover {
  background-color: #a00606;
}

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

.page-login__register-link {
  color: #FFFF00; /* Custom color for register font */
  text-decoration: none;
  font-weight: bold;
}

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

.page-login__form-illustration {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
}

.page-login__illustration-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

.page-login__why-choose-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-login__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-login__why-choose-item {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__why-choose-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-login__item-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-login__item-description {
  color: #f0f0f0;
}

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

.page-login__guide-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.page-login__guide-step {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__step-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

.page-login__step-description {
  color: #f0f0f0;
}

.page-login__cta-area {
  text-align: center;
  margin-top: 50px;
}

.page-login__cta-text {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 25px;
}

.page-login__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-login__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-login__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-login__faq-section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-login__faq-list {
  margin-top: 30px;
}

.page-login__faq-item {
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #f0f0f0;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
}

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

.page-login__faq-question::marker {
  display: none;
}

.page-login__faq-qtext {
  flex-grow: 1;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
}

.page-login__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
}

.page-login__cta-register-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 80px 20px;
  background-color: #017439; /* Brand color background */
  border-radius: 8px;
  max-width: 1200px;
  margin: 40px auto;
  color: #ffffff;
}

.page-login__cta-register-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-login__cta-register-title {
  font-size: 2em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-login__cta-register-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-login__cta-register-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #C30808; /* Custom color for register button */
  color: #ffffff; /* WCAG AA compliant text color */
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-login__cta-register-button:hover {
  background-color: #a00606;
}

.page-login__cta-register-image {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: center;
}

.page-login__cta-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* General image responsiveness */
.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General button responsiveness */
.page-login__submit-button,
.page-login__cta-button,
.page-login__cta-register-button,
.page-login a[class*="button"],
.page-login a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__form-options,
.page-login__cta-area {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-login__hero-content {
    margin-top: 30px;
  }

  .page-login__main-title {
    font-size: clamp(2em, 3.5vw, 3em);
  }

  .page-login__form-section {
    padding: 60px 20px;
  }

  .page-login__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }

  .page-login__why-choose-grid,
  .page-login__guide-content {
    gap: 20px;
  }

  .page-login__cta-register-section {
    padding: 60px 20px;
  }

  .page-login__cta-register-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-login {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-login__hero-image-container {
    max-height: 400px;
  }

  .page-login__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-login__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-login__hero-description {
    font-size: 1em;
  }

  /* 产品展示图区域 - Not applicable for login page as per instructions (no gameshow) */
  /* This section is for general content images and containers on mobile */

  /* 通用图片与容器 */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-login__form-section,
  .page-login__why-choose-section,
  .page-login__guide-section,
  .page-login__faq-section,
  .page-login__cta-register-section,
  .page-login__form-container,
  .page-login__form-illustration,
  .page-login__why-choose-item,
  .page-login__guide-step,
  .page-login__faq-item,
  .page-login__cta-register-content,
  .page-login__cta-register-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-login__form-section {
    flex-direction: column;
    padding: 40px 15px;
  }

  .page-login__form-container,
  .page-login__form-illustration {
    max-width: 100%;
    width: 100%;
  }

  .page-login__form-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  /* 按钮与按钮容器 */
  .page-login__submit-button,
  .page-login__cta-button,
  .page-login__cta-register-button,
  .page-login a[class*="button"],
  .page-login a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-login__form-options,
  .page-login__cta-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-direction: column; /* For flex containers of buttons */
    gap: 10px;
  }

  .page-login__forgot-password-link,
  .page-login__register-link {
    text-align: center;
    display: block;
    margin-top: 10px;
  }

  /* 其他内容模块 */
  .page-login__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-login__why-choose-grid {
    grid-template-columns: 1fr;
  }

  .page-login__guide-content {
    flex-direction: column;
  }

  .page-login__faq-question {
    font-size: 1em;
  }

  .page-login__faq-toggle {
    font-size: 1.2em;
  }

  .page-login__cta-register-section {
    flex-direction: column;
    text-align: center;
  }

  .page-login__cta-register-content {
    text-align: center;
  }

  .page-login__cta-register-image {
    order: -1; /* Move image above text on mobile */
    margin-bottom: 20px;
  }
}