/* style/register.css */
.page-register {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-register__hero-section {
  position: relative;
  background-color: #1A2B3C;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-register__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

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

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

.page-register__btn-primary {
  background-color: #FFD700;
  color: #1A2B3C;
  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;
  display: inline-block;
}

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

.page-register__btn-primary--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

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

.page-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A2B3C;
  transform: translateY(-2px);
}

.page-register__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px; /* Max width for the video player */
  margin-top: 50px;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 9; /* Maintain 16:9 aspect ratio */
  z-index: 0;
}

.page-register__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.page-register__section-title {
  font-size: 2.5em;
  color: #1A2B3C;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-register__why-join-section,
.page-register__bonus-section,
.page-register__cta-final-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-register__dark-section {
  background-color: #1A2B3C;
  color: #ffffff;
}

.page-register__dark-section .page-register__section-title {
  color: #FFD700;
}

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

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

.page-register__feature-card,
.page-register__bonus-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__dark-section .page-register__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-register__dark-section .page-register__feature-card a,
.page-register__dark-section .page-register__feature-card h3 {
    color: #FFD700;
}

.page-register__feature-card:hover,
.page-register__bonus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-register__feature-title,
.page-register__bonus-title {
  font-size: 1.5em;
  color: #1A2B3C;
  margin-bottom: 10px;
}

.page-register__feature-title a,
.page-register__bonus-title a {
  color: #1A2B3C;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__feature-title a:hover,
.page-register__bonus-title a:hover {
  color: #FFD700;
}

.page-register__feature-text,
.page-register__bonus-text {
  font-size: 1em;
  color: #555555;
}

.page-register__dark-section .page-register__feature-text {
    color: #f0f0f0;
}

.page-register__steps-section {
  padding: 80px 0;
}

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__step-number {
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #1A2B3C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-register__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

.page-register__cta-buttons--center {
    text-align: center;
    margin-top: 50px;
}

.page-register__faq-section {
  padding: 80px 0;
}

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #1A2B3C;
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: #FFD700;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFD700;
  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 25px;
  background-color: #ffffff;
  color: #333333;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 25px;
}

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

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

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

.page-register__cta-final-section {
  text-align: center;
  padding: 100px 20px;
  background-color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register__hero-description {
    font-size: 1.2em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .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;
  }
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__hero-cta-buttons {
    flex-direction: column;
    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__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;
  }
  .page-register__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-register__video-wrapper {
    margin-top: 30px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-register__why-join-section,
  .page-register__bonus-section,
  .page-register__cta-final-section,
  .page-register__steps-section,
  .page-register__faq-section {
    padding: 40px 0;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-description {
    margin-bottom: 30px;
  }
  .page-register__feature-card,
  .page-register__bonus-card {
    padding: 20px;
  }
  .page-register__feature-image,
  .page-register__bonus-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__step-item {
    padding: 20px;
  }
  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-register__faq-title {
    font-size: 1em;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 20px;
  }

  /* Content area image size enforcement */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-register__feature-image, .page-register__bonus-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__faq-question {
    font-size: 0.9em;
  }
}