/* style/register.css */
/* Base styles for the register page */
.page-register {
  background-color: #0A0A0A; /* Background color from custom colors */
  color: #FFF6D6; /* Text Main color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding at the bottom */
}

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

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

.page-register__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Hero Section */
.page-register__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has --header-offset */
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #111111; /* Card BG for hero section */
}

.page-register__hero-image-wrapper {
  margin-bottom: 20px; /* Space between image and text */
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-register__hero-content {
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 20px;
}

.page-register__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em); /* Responsive H1 font size */
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

/* Primary Button Style */
.page-register__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for light button */
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

/* Why Join Section */
.page-register__why-join-section {
  background-color: #0A0A0A; /* Consistent background */
  padding: 60px 0;
}

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

.page-register__feature-card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-register__feature-card:hover {
  transform: translateY(-5px);
}

.page-register__feature-image {
  width: 100%;
  height: auto;
  max-height: 200px; /* Limit height for feature images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-register__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main brand color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__feature-text {
  font-size: 1em;
  color: #FFF6D6;
}

/* Guide Section */
.page-register__guide-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Consistent background */
}

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

.page-register__step-card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__step-image {
  width: 100%;
  height: auto;
  max-height: 300px; /* Limit height for step images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-register__step-text {
  font-size: 1em;
  color: #FFF6D6;
}

.page-register__cta-container {
  text-align: center;
  margin-top: 40px;
}

/* Important Notes Section */
.page-register__notes-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Consistent background */
}

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

.page-register__note-card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__note-image {
  width: 100%;
  height: auto;
  max-height: 200px; /* Limit height for note images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-register__note-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main brand color */
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

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

.page-register__faq-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD36B; /* Glow color for questions */
  list-style: none; /* Remove default marker for details summary */
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}

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

/* Final CTA Section */
.page-register__final-cta-section {
  padding: 60px 0 80px;
  text-align: center;
  background-color: #0A0A0A; /* Consistent background */
}

.page-register__final-cta-text {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-register__final-cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-register a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Responsive styles for mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__container {
    padding: 0 15px;
  }

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

  /* Hero Section Mobile */
  .page-register__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-register__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for smaller screens */
  }

  .page-register__hero-description {
    font-size: 1em;
  }

  .page-register__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    width: 100% !important; /* Ensure buttons fill width */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Why Join Section Mobile */
  .page-register__features-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

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

  .page-register__feature-title {
    font-size: 1.3em;
  }

  /* Guide Section Mobile */
  .page-register__guide-steps {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

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

  .page-register__step-title {
    font-size: 1.4em;
  }

  /* Important Notes Section Mobile */
  .page-register__notes-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

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

  .page-register__note-title {
    font-size: 1.3em;
  }

  /* FAQ Section Mobile */
  .page-register__faq-list {
    padding: 0;
  }

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

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

  /* Final CTA Section Mobile */
  .page-register__final-cta-text {
    font-size: 1em;
  }

  .page-register__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
    width: 100% !important; /* Ensure buttons fill width */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Universal image and button mobile adaptation */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__section,
  .page-register__card,
  .page-register__container,
  .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;
  }

  /* For multiple buttons side-by-side, ensure proper stacking/wrapping */
  .page-register__cta-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}