/* style/register.css */
.page-register {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background is dark, so text should be light */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  text-align: center;
  background-color: #017439; /* Use brand primary color for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-register__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color */
}

.page-register__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Overlay effect */
}

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

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

.page-register__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #FFFF00; /* Use specific font color for titles in dark sections */
}

.page-register__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

/* Why Join Section */
.page-register__why-join-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

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

.page-register__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-register__feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.page-register__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%; /* Make icons circular if desired */
}

.page-register__feature-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-register__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

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

.page-register__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.page-register__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background */
  color: #333333;
}

.page-register__steps-section .page-register__section-title {
  color: #017439; /* Dark text for title on light background */
}

.page-register__steps-section .page-register__section-description {
  color: #555555;
}

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

.page-register__step-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-register__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-register__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-register__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-register__final-cta-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #333333;
}

.page-register__inline-link {
  color: #C30808;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-register__inline-link:hover {
  color: #a30606;
}

/* Bonuses Section */
.page-register__bonuses-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color for bonuses */
  color: #ffffff;
}

.page-register__bonuses-section .page-register__section-title {
  color: #FFFF00; /* Specific font color for titles on brand primary background */
}

.page-register__bonuses-section .page-register__section-description {
  color: #f0f0f0;
}

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

.page-register__bonus-card {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-register__bonus-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.page-register__bonus-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__bonus-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-register__bonus-text {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background */
  color: #333333;
}

.page-register__faq-section .page-register__section-title {
  color: #017439; /* Dark text for title on light background */
}

.page-register__faq-section .page-register__section-description {
  color: #555555;
}

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #e8f5e9; /* Lighter green for question background */
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #dcedc8;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-register__faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: #555555;
}

.page-register__contact-cta {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #333333;
}

/* Final CTA Section */
.page-register__final-cta-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-register__final-cta-section .page-register__section-title {
  color: #FFFF00; /* Specific font color for titles on dark background */
}

.page-register__final-cta-section .page-register__section-description {
  color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__hero-description, .page-register__section-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__hero-description {
    font-size: 0.95em;
  }
  .page-register__btn-primary, .page-register__btn-secondary, .page-register__btn-large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }
  .page-register__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-register__feature-title, .page-register__step-title, .page-register__bonus-title {
    font-size: 1.3em;
  }
  .page-register__feature-text, .page-register__step-text, .page-register__bonus-text, .page-register__final-cta-text, .page-register__faq-question span, .page-register__faq-answer p, .page-register__contact-cta p {
    font-size: 0.95em;
  }
  .page-register__steps-section, .page-register__why-join-section, .page-register__bonuses-section, .page-register__faq-section, .page-register__final-cta-section {
    padding: 50px 0;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-section,
  .page-register__why-join-section,
  .page-register__steps-section,
  .page-register__bonuses-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    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: 0px;
    padding-right: 0px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-register__faq-answer {
    padding: 0 15px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__hero-description, .page-register__section-description {
    font-size: 0.9em;
  }
}