/* Base styles for the register page */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-register__section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-register__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(17, 17, 17, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  margin-top: -100px; /* Overlap slightly for visual effect */
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.3);
}

.page-register__main-title {
  font-size: clamp(2.8rem, 6vw, 4rem);
  color: #FFD36B; /* Auxiliary color for highlight */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-register__description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
}

.page-register__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-register__btn-secondary {
  background: #111111;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E;
  margin-left: 20px;
}

.page-register__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-register__benefit-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.3);
}

.page-register__benefit-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-register__benefit-title {
  font-size: 1.6rem;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__benefit-text {
  font-size: 1rem;
  color: #FFF6D6;
}

/* Registration Guide Section */
.page-register__registration-guide-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-register__guide-steps {
  margin-top: 50px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-register__step-number {
  font-size: 3rem;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  margin-right: 25px;
  flex-shrink: 0;
  line-height: 1;
}

.page-register__step-content {
  flex-grow: 1;
}

.page-register__step-title {
  font-size: 1.8rem;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-register__step-text {
  font-size: 1.1rem;
  color: #FFF6D6;
}

/* Important Notes Section */
.page-register__important-notes-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

.page-register__notes-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-register__note-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6;
  height: 100%;
}

.page-register__note-title {
  font-size: 1.6rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__note-text {
  font-size: 1rem;
  color: #FFF6D6;
}

.page-register__note-text a {
  color: #FFD36B;
  text-decoration: none;
}

.page-register__note-text a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-register__faq-list {
  margin-top: 50px;
}

.page-register__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color */
  list-style: none;
  position: relative;
}

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

.page-register__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #FFF6D6;
  line-height: 1.8;
}

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

/* Call to Action Section */
.page-register__cta-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
  text-align: center;
}

.page-register__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* General image and button responsive rules for mobile */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mandatory mobile media queries for all sections as per instructions */
@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__container {
    padding: 15px;
  }

  .page-register__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .page-register__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* HERO 主图区域 */
  .page-register__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    padding-bottom: 40px;
  }

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

  .page-register__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }

  .page-register__main-title {
    font-size: 2.2rem;
  }

  .page-register__description {
    font-size: 1rem;
  }

  /* 按钮与按钮容器 */
  .page-register__cta-button,
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register 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;
    margin-left: 0 !important; /* Reset margin for stacking */
  }

  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

  /* Benefits Section */
  .page-register__benefits-section {
    padding: 40px 0;
  }

  .page-register__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__benefit-card {
    padding: 20px;
  }

  /* Registration Guide Section */
  .page-register__registration-guide-section {
    padding: 40px 0;
  }

  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-register__step-title {
    font-size: 1.5rem;
  }

  .page-register__step-text {
    font-size: 1rem;
  }

  /* Important Notes Section */
  .page-register__important-notes-section {
    padding: 40px 0;
  }

  .page-register__notes-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__note-item {
    padding: 20px;
  }

  .page-register__note-title {
    font-size: 1.5rem;
  }

  /* FAQ Section */
  .page-register__faq-section {
    padding: 40px 0;
  }

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

  .page-register__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  /* Long form content section (placeholder for homepage-specific, not used here but required for checklist) */
  .page-register__home-content {
    height: auto;
    overflow-y: visible;
    padding: 20px;
  }

  /* Game Slider (placeholder for homepage-specific, not used here but required for checklist) */
  .page-register__slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .page-register__game-slide {
    flex: 0 0 160px;
    max-width: 160px;
  }

  /* Banners/Gameshow Grid (placeholder for homepage-specific, not used here but required for checklist) */
  .page-register__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Blog Section (placeholder for homepage-specific, not used here but required for checklist) */
  .page-register__blog-masonry {
    grid-template-columns: 1fr;
  }

  .page-register__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-register__blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Universal image rules for content area */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* All content containers for mobile */
  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__registration-guide-section,
  .page-register__important-notes-section,
  .page-register__faq-section,
  .page-register__cta-section,
  .page-register__benefit-card,
  .page-register__step-item,
  .page-register__note-item,
  .page-register__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}