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

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, #0D0E12 0%, #17191F 100%);
  overflow: hidden;
}

.page-register__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 800px; /* Limit image width to avoid being too large */
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-register__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}

.page-register__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #FFF3E6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FFA53A 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 165, 58, 0.6);
}

.page-register__section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-register__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #FFB04D; /* Glow */
  margin-bottom: 25px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 176, 77, 0.3);
}

.page-register__section-description {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: #FFF3E6;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Why Join Section */
.page-register__why-join-section {
  background-color: #17191F; /* Card BG */
  border-radius: 15px;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 60px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-register__feature-card {
  background-color: #0D0E12;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C; /* Border color */
}

.page-register__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(255, 140, 26, 0.3);
}

.page-register__feature-card img {
  width: 100%;
  
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__card-title {
  font-size: 1.5rem;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__feature-card p {
  font-size: 1rem;
  color: #FFF3E6;
  line-height: 1.7;
}

/* Registration Steps Section */
.page-register__registration-steps-section {
  background-color: #0D0E12;
  padding-top: 60px;
  padding-bottom: 60px;
}

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

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

.page-register__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(255, 165, 58, 0.5);
}

.page-register__step-card p {
  font-size: 0.95rem;
  color: #FFF3E6;
  line-height: 1.7;
}

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

/* Game Highlights Section */
.page-register__game-highlights-section {
  background-color: #17191F;
  border-radius: 15px;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 60px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-register__game-card {
  background-color: #0D0E12;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(255, 140, 26, 0.3);
}

.page-register__game-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

/* Promotions Section */
.page-register__promotions-section {
  background-color: #0D0E12;
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-register__promotion-card {
  background-color: #17191F;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(255, 140, 26, 0.3);
}

.page-register__promotion-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-register__cta-promo {
  margin-top: 60px;
}

/* Security & Support Section */
.page-register__security-support-section {
  background-color: #17191F;
  border-radius: 15px;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 60px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-register__info-item {
  background-color: #0D0E12;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__info-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(255, 140, 26, 0.3);
}

.page-register__info-item img {
  width: 100%;
  
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-support {
  margin-top: 60px;
}

/* FAQ Section */
.page-register__faq-section {
  background-color: #0D0E12;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-register__faq-list {
  margin-top: 40px;
  text-align: left;
}

details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #17191F; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

details.page-register__faq-item summary.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF3E6; /* Text Main */
  font-weight: 600;
  font-size: 1.1rem;
}

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: #2a2c33;
}

.page-register__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04D; /* Glow */
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-register__faq-item .page-register__faq-answer {
  padding: 0 25px 20px;
  background: #0D0E12;
  border-radius: 0 0 10px 10px;
  color: #FFF3E6;
  font-size: 1rem;
  line-height: 1.7;
}

/* Final CTA Section */
.page-register__final-cta-section {
  background-color: #17191F;
  border-radius: 15px;
  margin-top: 40px;
  padding: 60px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__hero-image {
    max-width: 600px;
  }
  .page-register__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-register__hero-description {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  }
  .page-register__section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__hero-image img {
    border-radius: 8px;
  }
  .page-register__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-register__section {
    padding: 50px 15px;
  }
  .page-register__why-join-section, .page-register__game-highlights-section, .page-register__security-support-section, .page-register__final-cta-section {
    margin-left: 15px;
    margin-right: 15px;
    padding: 40px 20px;
  }
  .page-register__features-grid, .page-register__steps-container, .page-register__game-grid, .page-register__promotion-cards, .page-register__info-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-register__feature-card, .page-register__step-card, .page-register__game-card, .page-register__promotion-card, .page-register__info-item {
    padding: 25px;
  }
  .page-register__card-title {
    font-size: 1.3rem;
  }
  .page-register__feature-card p, .page-register__step-card p, .page-register__game-card p, .page-register__promotion-card p, .page-register__info-item p {
    font-size: 0.9rem;
  }
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !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__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  details.page-register__faq-item summary.page-register__faq-question {
    padding: 15px;
  }
  .page-register__faq-qtext {
    font-size: 1rem;
  }
  .page-register__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-register__hero-description {
    font-size: clamp(0.85rem, 3vw, 1rem);
  }
  .page-register__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .page-register__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-register__why-join-section, .page-register__game-highlights-section, .page-register__security-support-section, .page-register__final-cta-section {
    padding: 30px 15px;
  }
  .page-register__feature-card, .page-register__step-card, .page-register__game-card, .page-register__promotion-card, .page-register__info-item {
    padding: 20px;
  }
  .page-register__card-title {
    font-size: 1.2rem;
  }
  .page-register__faq-qtext {
    font-size: 0.95rem;
  }
}