/* 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: 0 20px;
}

.page-register__section-padding {
  padding: 60px 0;
}

.page-register__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Main color */
  line-height: 1.2;
}

.page-register__section-description {
  font-size: 18px;
  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, relies on body padding-top from shared.css */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #0A0A0A; /* Ensure dark background for hero */
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1920px; /* Ensure hero image doesn't exceed typical screen width */
  margin-bottom: 30px; /* Space between image and content */
}

.page-register__hero-content {
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-register__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  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: #ffffff; /* Button text always white */
  border: 2px solid transparent;
}

.page-register__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px #FFD36B; /* Glow */
}

/* Benefits Section */
.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-register__benefit-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__benefit-icon {
  width: 100%; /* Max width of card */
  height: auto;
  max-height: 300px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-register__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

.page-register__card-text {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
  flex-grow: 1;
}

/* Guide Section */
.page-register__dark-section {
  background-color: #111111; /* Card BG */
}

.page-register__text-main {
  color: #FFF6D6;
}

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

.page-register__guide-item {
  background-color: #0A0A0A; /* Background */
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  text-align: center;
}

.page-register__step-number {
  font-size: 48px;
  font-weight: bold;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
}

.page-register__step-title {
  font-size: 22px;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-register__step-text {
  font-size: 16px;
  color: #FFF6D6;
}

.page-register__guide-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Notes Section */
.page-register__notes-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
}

.page-register__list-item {
  background-color: #111111; /* Card BG */
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #3A2A12;
}

.page-register__list-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD36B; /* Glow color */
  margin-bottom: 5px;
}

.page-register__list-text {
  font-size: 16px;
  color: #FFF6D6;
}

.page-register__notes-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-register__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__faq-item {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  cursor: pointer;
  list-style: none;
  position: relative; /* For custom marker */
}

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

.page-register__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #FFD36B;
  transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  transform: rotate(0deg); /* Icon changes via JS */
}

.page-register__faq-answer {
  padding: 0 25px 18px;
  font-size: 16px;
  color: #FFF6D6;
  line-height: 1.6;
}

/* Bottom CTA Section */
.page-register__cta-section-bottom {
  text-align: center;
  background-color: #0A0A0A; /* Background */
  position: relative;
  overflow: hidden;
}

.page-register__cta-bottom-btn {
  margin-top: 30px;
}

.page-register__cta-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
  max-width: 1000px;
}

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

.page-register__cta-buttons,
.page-register__button-group,
.page-register__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

  .page-register__main-title {
    font-size: clamp(30px, 4.5vw, 48px);
  }

  .page-register__hero-description {
    font-size: 18px;
  }

  .page-register__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }

  .page-register__section-description {
    font-size: 16px;
  }

  .page-register__benefit-card,
  .page-register__guide-item {
    padding: 25px;
  }

  .page-register__card-title {
    font-size: 22px;
  }

  .page-register__step-title {
    font-size: 20px;
  }

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

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

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

  /* HERO 主图区域 */
  .page-register__hero-section {
    padding-top: 10px; /* Top padding for mobile */
  }

  .page-register__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }

  .page-register__hero-content {
    padding: 15px;
  }

  .page-register__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-register__hero-description {
    font-size: 16px;
  }

  .page-register__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Long Text / Content Area (e.g., benefits, guide, notes sections) */
  .page-register__section-padding {
    padding: 40px 0;
  }

  .page-register__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

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

  .page-register__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-register__benefit-icon {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-register__card-title {
    font-size: 20px;
  }

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

  .page-register__step-number {
    font-size: 40px;
  }

  .page-register__step-title {
    font-size: 18px;
  }

  .page-register__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-register__notes-list {
    margin-bottom: 30px;
  }

  .page-register__list-title {
    font-size: 18px;
  }

  .page-register__notes-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

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

  .page-register__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* General image responsive styles */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Button and button container responsive styles */
  .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;
  }

  .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-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  /* CSS rules for modules that are not present in HTML but required by the checklist */
  /* Placeholder for .page-register__home-content (if it were present) */
  .page-register__home-content {
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px !important;
  }

  /* Placeholder for .page-register__slider-wrapper (if it were present) */
  .page-register__slider-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .page-register__slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }
  .page-register__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
  }

  /* Placeholder for .page-register__banners-top-wrapper (if it were present) */
  .page-register__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .page-register__banner-item img {
    
    
  }

  /* Placeholder for .page-register__blog-masonry (if it were present) */
  .page-register__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-register__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .page-register__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .page-register__blog-card-link {
    height: auto !important;
  }
}