/* style/login.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* Base styles for the login page */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #000000, so text should be light */
  background-color: transparent; /* Inherit from body or shared, or set a specific dark background if needed */
}

/* Header offset for main content */
.page-login__hero-section {
  padding-top: var(--header-offset, 120px);
}

/* Container for content */
.page-login__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-login__hero-section {
  background-color: #000000; /* Dark background for hero section */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
}

.page-login__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for title */
  font-weight: bold;
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Login Card */
.page-login__login-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  padding: 40px;
  border-radius: 12px;
  max-width: 450px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

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

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

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

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1em;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-login__form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.page-login__form-input:focus {
  border-color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.1);
  outline: none;
}

.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;
  width: 18px;
  height: 18px;
  accent-color: #26A9E0;
}

.page-login__checkbox-label {
  color: #f0f0f0;
}

.page-login__forgot-password-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
  color: #4ac1f7;
}

/* Primary Button */
.page-login__btn-primary {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background-color: #EA7C07; /* Custom color for login button */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.page-login__btn-primary:hover {
  background-color: #d16b06;
  transform: translateY(-2px);
}

/* Login button specific style */
.page-login__login-button {
  background-color: #EA7C07;
}

.page-login__login-button:hover {
  background-color: #d16b06;
}

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

.page-login__register-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__register-link:hover {
  color: #4ac1f7;
}

/* Features Section */
.page-login__features-section {
  background-color: #1a1a1a; /* Dark background for features */
  color: #f0f0f0;
  padding: 80px 0;
  text-align: center;
}

.page-login__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-login__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 60px auto;
  color: #cccccc;
}

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

.page-login__feature-card {
  background-color: rgba(255, 255, 255, 0.05); /* Lighter dark background for cards */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-login__feature-icon {
  width: 100%; /* Ensure images are responsive */
  height: auto;
  max-width: 250px; /* Limit max size */
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-login__feature-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-login__feature-text {
  font-size: 1em;
  color: #cccccc;
}

/* CTA Section */
.page-login__cta-section {
  background-color: #000000; /* Dark background */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-login__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-login__cta-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #cccccc;
}

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Secondary Button */
.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.page-login__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-login__faq-section {
  background-color: #1a1a1a; /* Dark background */
  color: #f0f0f0;
  padding: 80px 0;
  text-align: center;
}

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

.page-login__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-login__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
}

.page-login__faq-heading {
  margin: 0;
  color: #26A9E0;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-login__faq-item.active .page-login__faq-toggle {
  transform: rotate(45deg);
}

.page-login__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

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

/* Contact CTA Section */
.page-login__contact-cta {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-login__contact-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-login__contact-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #cccccc;
}

/* Deep Content Section */
.page-login__deep-content {
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 80px 0;
  text-align: left;
}

.page-login__deep-content-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #26A9E0;
  text-align: center;
  font-weight: bold;
}

.page-login__deep-content p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #cccccc;
}

.page-login__sub-title {
  font-size: 2.2em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-login__game-list {
  list-style-type: disc;
  margin-left: 40px;
  margin-bottom: 20px;
  color: #cccccc;
}

.page-login__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-login__list-item strong {
  color: #ffffff;
}

.page-login__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-login__promotion-button,
.page-login__support-button {
  margin-top: 30px;
  display: inline-block;
  min-width: 250px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-login__hero-title {
    font-size: 2.8em;
  }
  .page-login__section-title,
  .page-login__cta-title,
  .page-login__contact-title,
  .page-login__deep-content-title {
    font-size: 2.4em;
  }
  .page-login__sub-title {
    font-size: 1.8em;
  }
  .page-login__login-card {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section,
  .page-login__features-section,
  .page-login__cta-section,
  .page-login__faq-section,
  .page-login__contact-cta,
  .page-login__deep-content {
    padding: 60px 0;
  }

  .page-login__hero-title {
    font-size: 2.2em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__card-title {
    font-size: 1.8em;
  }
  .page-login__section-title,
  .page-login__cta-title,
  .page-login__contact-title,
  .page-login__deep-content-title {
    font-size: 2em;
  }
  .page-login__section-description,
  .page-login__cta-description,
  .page-login__contact-description,
  .page-login__deep-content p,
  .page-login__list-item,
  .page-login__feature-text,
  .page-login__faq-answer p {
    font-size: 0.95em;
  }
  .page-login__sub-title {
    font-size: 1.6em;
  }
  .page-login__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__btn-primary,
  .page-login__btn-secondary {
    width: 80%;
    margin: 0 auto;
  }

  /* Mobile specific adjustments for images, videos, buttons, and containers */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-login__video { /* If video were present */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-login__hero-section,
  .page-login__features-section,
  .page-login__cta-section,
  .page-login__faq-section,
  .page-login__contact-cta,
  .page-login__deep-content,
  .page-login__container,
  .page-login__login-card,
  .page-login__feature-card,
  .page-login__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-login__btn-primary,
  .page-login__btn-secondary,
  .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__cta-buttons,
  .page-login__button-group,
  .page-login__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-login__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 1.8em;
  }
  .page-login__card-title {
    font-size: 1.5em;
  }
  .page-login__section-title,
  .page-login__cta-title,
  .page-login__contact-title,
  .page-login__deep-content-title {
    font-size: 1.6em;
  }
  .page-login__sub-title {
    font-size: 1.4em;
  }
  .page-login__login-card {
    padding: 30px 20px;
  }
  .page-login__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-login__faq-answer {
    padding: 0 20px;
  }
  .page-login__faq-item.active .page-login__faq-answer {
    padding: 10px 20px;
  }
}

/* Color contrast enforcement */
.page-login__dark-bg {
  color: #ffffff;
  background-color: #000000;
}

.page-login__light-bg {
  color: #f0f0f0;
  background-color: #1a1a1a;
}

.page-login__login-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-login__btn-primary {
  background-color: #EA7C07;
  color: #ffffff;
}

.page-login__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border-color: #26A9E0;
}

/* Ensure content area images are at least 200px */
.page-login img {
  min-width: 200px;
  min-height: 200px;
}