.page-register {
  color: #ffffff; /* Default text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--dark-bg);
}

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

.page-register__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  overflow: hidden;
  box-sizing: border-box;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-register__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #ffffff;
}

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

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

.page-register__section-title {
  font-size: 2.5em;
  color: #FFC107;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

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

.page-register__btn-primary {
  display: inline-block;
  background-color: #FFC107;
  color: #1A237E;
  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: #e0ac00;
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  display: inline-block;
  background-color: #1A237E;
  color: #FFC107;
  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-color 0.3s ease;
  border: 2px solid #FFC107;
  cursor: pointer;
  margin-left: 15px;
}

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

/* Why Section */
.page-register__why-section, .page-register__guide-section, .page-register__promotions-section, .page-register__security-section, .page-register__faq-section, .page-register__contact-section {
  padding: 80px 0;
  background-color: var(--dark-bg);
}

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

.page-register__benefit-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-register__benefit-item:hover {
  transform: translateY(-5px);
}

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

.page-register__benefit-title {
  font-size: 1.5em;
  color: #FFC107;
  margin-bottom: 15px;
}

.page-register__benefit-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* Guide Section */
.page-register__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-register__step-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-register__step-number {
  font-size: 3em;
  color: #FFC107;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-register__step-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-register__step-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.page-register__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* Video Section */
.page-register__video-section {
  text-align: center;
  background-color: #1A237E; /* Dark blue background for video */
  padding-top: 80px; /* Adjust as needed, header offset is handled by hero */
}

.page-register__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 50px auto 0 auto;
  border-radius: 10px;
}

.page-register__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-register__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

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

.page-register__promo-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-register__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-register__promo-text {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Security Section */
.page-register__security-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
  gap: 30px;
}

.page-register__security-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFC107;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-register__security-feature {
  font-size: 1.4em;
  color: #FFC107;
  margin-bottom: 10px;
}

.page-register__security-item p {
  color: #e0e0e0;
  font-size: 1em;
}

.page-register__security-item a {
  color: #FFC107;
  text-decoration: none;
  font-weight: bold;
}

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

.page-register__security-cta {
  text-align: center;
  margin-top: 60px;
}

/* FAQ Section */
.page-register__faq-list {
  margin-top: 50px;
}

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  color: #FFC107;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

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

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

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

/* Contact Section */
.page-register__contact-section {
  text-align: center;
  padding-bottom: 100px;
}

.page-register__contact-options {
  margin-top: 50px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-intro {
    font-size: 0.95em;
  }
  .page-register__btn-primary, .page-register__btn-secondary {
    font-size: 1em;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }
  .page-register__contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-register__benefits-grid, .page-register__guide-steps, .page-register__promo-grid, .page-register__security-list {
    grid-template-columns: 1fr;
  }
  .page-register__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__video-section,
  .page-register__video-container,
  .page-register__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 10px 20px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__hero-section {
    height: 400px;
  }
}