/* Base styles for the login page */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* 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 padding-top from shared.css */
  background: linear-gradient(135deg, #6FA3FF, #2F6BFF); /* Blend of main and accent for hero background */
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-login__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
}

.page-login__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 1.2rem;
  opacity: 0.9;
}

.page-login__login-form-wrapper {
  background-color: #ffffff; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 450px;
  width: 100%;
  text-align: left;
  color: #1F2D3D; /* Text Main */
  position: relative;
  overflow: hidden;
}

.page-login__login-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  z-index: 0;
}

.page-login__login-form {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white for form background */
  padding: 30px;
  border-radius: 8px;
}

.page-login__form-title {
  font-size: 1.8rem;
  color: #2F6BFF; /* Main Color */
  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: #1F2D3D; /* Text Main */
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: #6FA3FF; /* Accent Color */
  opacity: 0.7;
}

.page-login__form-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  padding: 14px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
  border: none;
  cursor: pointer;
}

.page-login__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

.page-login__forgot-password {
  color: #2F6BFF; /* Main Color */
  text-decoration: none;
  font-size: 0.95rem;
  text-align: center;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
  color: #6FA3FF; /* Accent Color */
}

.page-login__no-account {
  text-align: center;
  margin-top: 25px;
  font-size: 1rem;
  color: #1F2D3D;
}

.page-login__register-link {
  color: #2F6BFF; /* Main Color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__register-link:hover {
  color: #6FA3FF; /* Accent Color */
}

.page-login__content-area,
.page-login__guide-section,
.page-login__troubleshooting-section,
.page-login__cta-section,
.page-login__faq-section {
  padding: 60px 0;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

.page-login__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-login__text-block {
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1F2D3D;
}

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

.page-login__feature-card,
.page-login__step-card,
.page-login__troubleshooting-card {
  background-color: #ffffff; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #1F2D3D;
}

.page-login__feature-card:hover,
.page-login__step-card:hover,
.page-login__troubleshooting-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-login__feature-image,
.page-login__step-image,
.page-login__troubleshooting-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-login__feature-title,
.page-login__step-title,
.page-login__troubleshooting-title {
  font-size: 1.4rem;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__feature-description,
.page-login__step-description,
.page-login__troubleshooting-description {
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.page-login__security-section {
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff; /* Forced white text */
  padding: 80px 0;
  text-align: center;
}

.page-login__security-section .page-login__section-title {
  color: #ffffff; /* Forced white text */
}

.page-login__security-section .page-login__text-block {
  color: #f0f0f0; /* Slightly off-white for contrast */
}

.page-login__security-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-login__security-item {
  background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white card */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-login__security-item-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-login__security-item-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-login__cta-container {
  text-align: center;
}

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-login__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Main Color */
  padding: 14px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
  border: 2px solid #2F6BFF;
  cursor: pointer;
}

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

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

.page-login__faq-item {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
  color: #1F2D3D;
}

.page-login__faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

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

.page-login__faq-toggle {
  font-size: 1.5rem;
  font-weight: normal;
  margin-left: 15px;
  color: #6FA3FF; /* Accent Color */
  transition: transform 0.3s ease;
}

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

.page-login__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
}

/* Ensure all images and buttons are responsive */
.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-login__cta-button,
.page-login__btn-primary,
.page-login__btn-secondary,
.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__cta-buttons,
.page-login__button-group,
.page-login__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

  .page-login__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-login__hero-description {
    font-size: 1.1rem;
  }

  .page-login__login-form-wrapper {
    max-width: 400px;
  }

  .page-login__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-login__text-block {
    font-size: 1rem;
  }

  .page-login__feature-grid,
  .page-login__steps-grid,
  .page-login__troubleshooting-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .page-login__security-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-login__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-login__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-login__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }

  .page-login__hero-title {
    font-size: 2.2rem !important;
  }

  .page-login__hero-description {
    font-size: 1rem !important;
  }

  .page-login__login-form-wrapper {
    max-width: 100% !important;
    width: calc(100% - 30px) !important;
    margin: 0 auto;
    padding: 20px;
  }

  .page-login__login-form {
    padding: 20px;
  }

  /* 长文金框区 - Not present on login page, but template for compliance */
  .page-login__home-content {
    /* Placeholder for compliance */
    height: auto !important;
    overflow-y: visible !important;
    padding: 15px !important;
  }

  .page-login__home-content h2 {
    font-size: 1.8rem !important;
  }

  /* 游戏轮播 - Not present on login page, but template for compliance */
  .page-login__row-games,
  .page-login__row-sport,
  .page-login__row-coop {
    padding: 20px 0 !important;
  }

  .page-login__slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .page-login__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
    scroll-snap-align: start;
  }

  /* 合作品牌六宫格 - Not present on login page, but template for compliance */
  .page-login__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .page-login__banner-item img {
    
    
  }

  /* 博客卡片区 - Not present on login page, but template for compliance */
  .page-login__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .page-login__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .page-login__blog-slide {
    flex: 0 0 calc(100% - 30px) !important;
    max-width: calc(100% - 30px) !important;
    scroll-snap-align: start;
  }

  /* 通用图片与容器 */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-login__section,
  .page-login__card,
  .page-login__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-login__feature-grid,
  .page-login__steps-grid,
  .page-login__troubleshooting-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-login__security-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-login__security-section,
  .page-login__content-area,
  .page-login__guide-section,
  .page-login__troubleshooting-section,
  .page-login__cta-section,
  .page-login__faq-section {
    padding: 40px 0;
  }
}