/* style/register.css */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#1a1a2e), so text should be light */
  background-color: transparent; /* Main content background is transparent, letting body background show */
}

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

.page-register__hero-section {
  background: linear-gradient(135deg, #017439, #004d2b); /* Darker green for better contrast with white text */
  padding-top: var(--header-offset, 120px);
  padding-bottom: 60px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-register__hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

.page-register__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Use specific yellow for title */
  font-weight: bold;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.2;
  z-index: 0;
}

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

.page-register__section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Light transparent background for sections on dark body */
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__section:last-of-type {
  margin-bottom: 0;
}

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

.page-register__subsection-title {
  font-size: 1.8em;
  color: #FFFF00; /* Yellow for sub-section titles */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__text-block {
  font-size: 1.1em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-register__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Specific red for register button */
  color: #FFFF00; /* Specific yellow for button font */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-register__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

/* Why Choose Section */
.page-register__why-choose .page-register__text-block {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.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: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-register__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* Registration Guide Section */
.page-register__registration-guide .page-register__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__note-section {
  margin-top: 50px;
  background-color: rgba(0, 116, 57, 0.2); /* Transparent brand green */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-register__list {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 20px;
  text-align: left;
  color: #ffffff;
}

.page-register__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-register__content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  margin-top: 30px;
  border-radius: 8px;
}

/* Promotions Section */
.page-register__promotions-new-members .page-register__text-block {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-register__promo-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__promotions-new-members a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-register__promotions-new-members a:hover {
  color: #ffe000;
}

/* Security Section */
.page-register__security-info .page-register__text-block {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__security-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__security-info a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-register__security-info a:hover {
  color: #ffe000;
}

/* FAQ Section */
.page-register__faq-section {
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00; /* Yellow for FAQ questions */
  cursor: pointer;
  background-color: rgba(0, 116, 57, 0.3); /* Darker transparent brand green */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__faq-question:hover {
  background-color: rgba(0, 116, 57, 0.4);
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFFF00;
}

.page-register__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: #ffffff;
  line-height: 1.7;
  /* For details tag, default display is block */
}

.page-register__faq-answer p {
  margin-top: 20px;
}

.page-register__faq-answer a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-register__faq-answer a:hover {
  color: #ffe000;
}

/* Call to Action Section */
.page-register__call-to-action {
  text-align: center;
}

.page-register__call-to-action .page-register__container {
  background-color: #017439; /* Brand color for CTA background */
  padding: 50px;
  border-radius: 10px;
}

.page-register__call-to-action .page-register__section-title {
  color: #FFFF00; /* Yellow for CTA title */
}

.page-register__call-to-action .page-register__text-block {
  color: #ffffff;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* General link styling for content */
.page-register a {
  color: #FFFF00; /* Default link color within content */
  text-decoration: underline;
}

.page-register a:hover {
  color: #ffe000;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 2.8em;
  }

  .page-register__section-title {
    font-size: 2em;
  }

  .page-register__subsection-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset */
    padding-bottom: 40px;
  }

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

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

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

  .page-register__section {
    padding: 30px 0;
    margin-left: 15px;
    margin-right: 15px;
  }

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

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

  .page-register__text-block,
  .page-register__list-item,
  .page-register__faq-answer {
    font-size: 0.95em;
  }
}