/* 须含：1023px试玩重置、1024px三栏300px、overlay z-index、promo、hot-games、768px */
@media (max-width:1023px){.page-register__home-hero{display:block!important;grid-template-columns:none!important;height:auto!important;max-height:none!important;overflow-x:hidden;box-sizing:border-box;}.page-register__hero-brand,.page-register__hero-jackpot{display:none!important;}.page-register__game-trial{width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;overflow:hidden!important;padding:0 0 12px!important;box-sizing:border-box;}.page-register__game-trial-shell{height:auto!important;max-height:none!important;width:100%;max-width:100%;overflow:hidden;box-sizing:border-box;}.page-register__game-trial-topbar,.page-register__game-trial-bottombar{display:none!important;}.page-register__game-trial-viewport{position:relative;aspect-ratio:1024/768;min-height:240px;max-height:none!important;flex:none!important;overflow:hidden;box-sizing:border-box;width:100%;}.page-register__game-trial-frame{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!important;max-width:100%;border:none;z-index:1;overflow:hidden;}.page-register__game-trial-overlay{z-index:5!important;pointer-events:auto!important;}.page-register__game-trial-start{z-index:6!important;pointer-events:auto!important;touch-action:manipulation;}}
@media (min-width:1024px){.page-register__home-hero{display:grid;grid-template-columns:26% 48% 26%;align-items:stretch;max-width:1280px;margin:0 auto;padding:10px 16px 24px;box-sizing:border-box;}.page-register__hero-brand,.page-register__hero-jackpot,.page-register__game-trial{height:300px;max-height:300px;overflow:hidden;box-sizing:border-box;}.page-register__game-trial{max-width:none!important;width:100%;margin:0;padding:0;}.page-register__game-trial-shell{display:flex;flex-direction:column;height:100%;max-height:300px;box-sizing:border-box;}.page-register__game-trial-viewport{flex:1;min-height:0;position:relative;width:100%;}.page-register__game-trial-frame{display:block;width:100%;height:100%;min-height:0;border:none;}.page-register__hero-jackpot-claim{background:#c62828!important;color:#fff!important;}.page-register__promo-strip{margin-top:16px;}}
@media (max-width:768px){.page-register__promo-strip-track{grid-template-columns:repeat(4,1fr);overflow-x:hidden;}.page-register__hot-games-grid{grid-template-columns:repeat(2,1fr);}}
.page-register__game-trial-overlay{z-index:5;pointer-events:auto;}.page-register__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-register__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-register__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-register__reward-modal{position:fixed;inset:0;z-index:10000;}

/* Page-specific styles for register.css */
.page-register {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-register__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 16px;
  box-sizing: border-box;
}

.page-register__hero-section {
  position: relative;
  width: 100%;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, relying on body for --header-offset */
  overflow: hidden;
}

.page-register__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFF3E6;
  max-width: 800px;
  padding: 20px;
}

.page-register__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFA53A;
}

.page-register__subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-register__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__btn-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
}

.page-register__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
}

.page-register__btn-secondary {
  background: #17191F;
  color: #FFA53A;
  border: 2px solid #FFA53A;
}

.page-register__btn-secondary:hover {
  background: #FFA53A;
  color: #17191F;
}

.page-register__btn-text-link {
  background: transparent;
  color: #FFA53A;
  border: none;
  padding: 5px 10px;
  text-decoration: underline;
}

.page-register__btn-text-link:hover {
  color: #FFB04D;
}

.page-register__section-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFA53A;
}

.page-register__dark-section {
  background-color: #0D0E12;
  color: #FFF3E6;
  padding: 60px 0;
}

.page-register__light-section {
  background-color: #17191F; /* Card BG, used as lighter section background for contrast */
  color: #FFF3E6;
  padding: 60px 0;
}

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

.page-register__card {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-register__card-title {
  font-size: 22px;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #FFA53A;
}

.page-register__benefit-icon,
.page-register__step-image {
  width: 100%;
  height: auto;
  max-width: 300px; /* Constrain width for icons/images in cards */
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-register__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* FAQ Styles */
details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #17191F;
}
details.page-register__faq-item summary.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF3E6;
}
details.page-register__faq-item summary.page-register__faq-question::-webkit-details-marker {
  display: none;
}
details.page-register__faq-item summary.page-register__faq-question:hover {
  background: rgba(255, 139, 26, 0.1);
}
.page-register__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFA53A;
}
.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04D;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-register__faq-item .page-register__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 139, 26, 0.05); /* Slightly lighter background for answer */
  border-radius: 0 0 8px 8px;
  color: #FFF3E6;
}

.page-register__contact-cta {
  text-align: center;
  padding: 80px 0;
}

.page-register__contact-cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 18px;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-register__container {
    padding: 15px;
  }
  
  .page-register__hero-section {
    min-height: 350px;
    padding-top: 5px;
  }

  .page-register__main-title {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .page-register__subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-register__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-register__dark-section,
  .page-register__light-section {
    padding: 40px 0;
  }

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

  .page-register__card {
    padding: 20px;
  }

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

  details.page-register__faq-item summary.page-register__faq-question { padding: 15px; }
  .page-register__faq-qtext { font-size: 15px; }
  details.page-register__faq-item .page-register__faq-answer { padding: 0 15px 15px; }

  .page-register__contact-cta {
    padding: 60px 0;
  }
}