/* style/register.css */

/* Base styles for the page, ensuring light text on dark body background */
.page-register {
  color: #ffffff; /* Light text on dark body background (#0a0a0a) */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-register__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #0a0a0a; /* Ensure dark background for this section */
  overflow: hidden;
}

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

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-register__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
  color: #ffffff;
}

.page-register__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.page-register__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login button color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  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: #d16b06;
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #26A9E0;
  padding: 12px 25px;
  border: 2px solid #26A9E0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-register__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
}

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

.page-register__benefit-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
}

.page-register__card-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__card-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

/* How-to-Register Section */
.page-register__how-to-register-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly different dark background */
}

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

.page-register__step-item {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__step-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-register__step-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

.page-register__step-text a {
  color: #26A9E0;
  text-decoration: none;
}

.page-register__step-text a:hover {
  text-decoration: underline;
}

.page-register__process-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Important Notes Section */
.page-register__important-notes-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
}

.page-register__notes-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-register__notes-item {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark body */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-register__notes-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-register__notes-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

.page-register__notes-text a {
  color: #EA7C07;
  text-decoration: none;
}

.page-register__notes-text a:hover {
  text-decoration: underline;
}

/* Promotions Section */
.page-register__promotions-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly different dark background */
}

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

.page-register__promotion-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

.page-register__faq-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body */
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  overflow: hidden;
}

.page-register__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #26A9E0;
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-register__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

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

.page-register__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-register__faq-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Conclusion Section */
.page-register__conclusion-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly different dark background */
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__hero-image-wrapper {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-register__container {
    padding: 0 15px;
  }

  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__how-to-register-section,
  .page-register__important-notes-section,
  .page-register__promotions-section,
  .page-register__faq-section,
  .page-register__conclusion-section {
    padding: 40px 0;
  }

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

  .page-register__description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

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

  .page-register__subtitle {
    font-size: 1em;
  }

  /* Images, Videos, Buttons must be responsive */
  .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-image-wrapper,
  .page-register__process-image,
  .page-register__faq-image,
  .page-register__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__hero-section {
    padding-top: 10px !important; /* body already has padding-top */
  }

  .page-register__cta-button,
  .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;
    text-align: center;
  }

  .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;
    display: flex;
    flex-direction: column;
  }

  .page-register__benefits-grid,
  .page-register__steps-wrapper,
  .page-register__notes-list,
  .page-register__promotions-grid {
    grid-template-columns: 1fr;
  }

  .page-register__benefit-card,
  .page-register__step-item,
  .page-register__notes-item,
  .page-register__promotion-card {
    padding: 20px;
  }

  .page-register__card-title,
  .page-register__step-title,
  .page-register__notes-title {
    font-size: 1.2em;
  }

  .page-register__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  .page-register__faq-qtext {
    color: #ffffff;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 1.8em;
  }

  .page-register__subtitle {
    font-size: 0.9em;
  }

  .page-register__btn-primary {
    padding: 12px 20px;
    font-size: 1em;
  }
}