/* style/register.css */

/* Custom Colors */
:root {
  --page-register-card-bg: #11271B;
  --page-register-background: #08160F;
  --page-register-text-main: #F2FFF6;
  --page-register-text-secondary: #A7D9B8;
  --page-register-border: #2E7A4E;
  --page-register-glow: #57E38D;
  --page-register-gold: #F2C14E;
  --page-register-divider: #1E3A2A;
  --page-register-deep-green: #0A4B2C;
  --page-register-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the register page */
.page-register {
  background-color: var(--page-register-background);
  color: var(--page-register-text-main); /* Light text on dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px;
}

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

/* Section Titles */
.page-register__section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--page-register-text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-register__section-description {
  font-size: 18px;
  color: var(--page-register-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__sub-title {
  font-size: 24px;
  color: var(--page-register-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__paragraph {
  font-size: 16px;
  color: var(--page-register-text-secondary);
  margin-bottom: 15px;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background: var(--page-register-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-register__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-register__btn-secondary {
  background-color: transparent;
  color: var(--page-register-glow);
  border: 2px solid var(--page-register-glow);
}

.page-register__btn-secondary:hover {
  background-color: var(--page-register-glow);
  color: var(--page-register-background);
}

.page-register__btn-inline {
  margin-top: 20px;
}

/* Hero Section */
.page-register__hero-section {
  background-color: var(--page-register-deep-green);
  padding: 60px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 40px;
}

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

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

.page-register__hero-title {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--page-register-gold);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-register__hero-description {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--page-register-text-main);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: var(--page-register-background);
}

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

.page-register__benefit-card {
  background-color: var(--page-register-card-bg);
  border: 1px solid var(--page-register-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-register__benefit-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__benefit-title {
  font-size: 22px;
  color: var(--page-register-glow);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__benefit-text {
  font-size: 16px;
  color: var(--page-register-text-secondary);
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 0;
  background-color: var(--page-register-deep-green);
}

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

.page-register__step-item {
  background-color: var(--page-register-card-bg);
  border: 1px solid var(--page-register-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-register__step-number {
  font-size: 48px;
  font-weight: bold;
  color: var(--page-register-gold);
  margin-bottom: 15px;
}

.page-register__step-title {
  font-size: 22px;
  color: var(--page-register-glow);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__step-text {
  font-size: 16px;
  color: var(--page-register-text-secondary);
}

.page-register__step-text a {
  color: var(--page-register-glow);
  text-decoration: underline;
}

.page-register__step-text a:hover {
  color: var(--page-register-gold);
}

.page-register__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Verification Section */
.page-register__verification-section {
  padding: 80px 0;
  background-color: var(--page-register-background);
}

.page-register__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-register__text-block {
  flex: 1;
  min-width: 300px;
}

.page-register__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-register__image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Promotions Section */
.page-register__promotions-section {
  padding: 80px 0;
  background-color: var(--page-register-deep-green);
}

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

.page-register__promo-card {
  background-color: var(--page-register-card-bg);
  border: 1px solid var(--page-register-border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-register__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-register__promo-title {
  font-size: 20px;
  color: var(--page-register-gold);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-register__promo-text {
  font-size: 15px;
  color: var(--page-register-text-secondary);
  margin-bottom: 20px;
}

.page-register__cta-full-width {
  text-align: center;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: var(--page-register-background);
}

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

.page-register__faq-item {
  background-color: var(--page-register-card-bg);
  border: 1px solid var(--page-register-border);
  border-radius: 12px;
  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;
  font-size: 18px;
  font-weight: 600;
  color: var(--page-register-text-main);
  cursor: pointer;
  background-color: var(--page-register-deep-green);
  border-bottom: 1px solid var(--page-register-divider);
  list-style: none; /* For details/summary */
}

.page-register__faq-question::-webkit-details-marker { /* Hide default marker for Chrome/Safari */
  display: none;
}

.page-register__faq-item[open] .page-register__faq-question {
  border-bottom: 1px solid var(--page-register-border);
}

.page-register__faq-qtext {
  flex-grow: 1;
}

.page-register__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-register-gold);
}

.page-register__faq-answer {
  padding: 20px;
  font-size: 16px;
  color: var(--page-register-text-secondary);
  line-height: 1.6;
}

.page-register__faq-answer p {
  margin-bottom: 0;
}

.page-register__faq-answer a {
  color: var(--page-register-glow);
  text-decoration: underline;
}

.page-register__faq-answer a:hover {
  color: var(--page-register-gold);
}

/* Final CTA Section */
.page-register__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--page-register-deep-green);
}

.page-register__cta-section .page-register__section-title {
  color: var(--page-register-gold);
}

.page-register__cta-section .page-register__section-description {
  color: var(--page-register-text-main);
}

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

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: clamp(32px, 4.5vw, 56px);
  }

  .page-register__hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
  }

  .page-register__section-title {
    font-size: clamp(24px, 3.5vw, 40px);
  }

  .page-register__section-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-register__container,
  .page-register__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__guide-section,
  .page-register__verification-section,
  .page-register__promotions-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .page-register__hero-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-register__hero-description {
    font-size: 16px;
  }

  .page-register__hero-cta-buttons,
  .page-register__cta-buttons {
    flex-direction: column !important;
    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__benefits-grid,
  .page-register__guide-steps,
  .page-register__promotions-grid {
    grid-template-columns: 1fr;
  }

  .page-register__content-wrapper {
    flex-direction: column;
  }

  .page-register__promo-image {
    height: auto; /* Allow auto height on mobile */
  }
}