.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff); /* Ensure body background is respected */
}

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

.page-register__hero-section {
  position: relative;
  width: 100%;
  padding: 120px 0 60px; /* Default padding-top for desktop */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff; /* Text color for dark background */
  background-color: #26A9E0; /* Main brand color for hero background */
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2; /* Subtle overlay */
}

.page-register__hero-section .page-register__container {
  position: relative;
  z-index: 1;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-register__btn-primary:hover {
  background-color: #cc6a06;
  border-color: #cc6a06;
}

.page-register__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-register__btn-secondary:hover {
  background-color: #e0f4ff;
  color: #1e87b7;
}

.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: #26A9E0;
}

.page-register__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.page-register__section-text {
  font-size: 1em;
  line-height: 1.7;
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-register__why-us-section,
.page-register__verification-section,
.page-register__mobile-app-section,
.page-register__support-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-register__steps-section,
.page-register__promotions-section,
.page-register__faq-section,
.page-register__cta-bottom-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-register__steps-section .page-register__section-title,
.page-register__promotions-section .page-register__section-title,
.page-register__faq-section .page-register__section-title,
.page-register__cta-bottom-section .page-register__section-title {
  color: #ffffff;
}

.page-register__steps-section .page-register__section-intro,
.page-register__promotions-section .page-register__section-intro,
.page-register__faq-section .page-register__section-intro,
.page-register__cta-bottom-section .page-register__section-intro {
  color: #f0f0f0;
}

.page-register__features-grid,
.page-register__steps-grid,
.page-register__promo-grid,
.page-register__support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-register__feature-card,
.page-register__promo-card,
.page-register__channel-card,
.page-register__step-card-dark {
  background-color: #ffffff; /* Default card background for light sections */
  color: #333333; /* Default text color for light cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-register__feature-card:hover,
.page-register__promo-card:hover,
.page-register__channel-card:hover,
.page-register__step-card-dark:hover {
  transform: translateY(-10px);
}

.page-register__step-card-dark {
  background-color: rgba(255, 255, 255, 0.1); /* Card background for dark sections */
  color: #ffffff; /* Text color for dark cards */
}

.page-register__step-card-dark .page-register__step-title,
.page-register__step-card-dark .page-register__step-description {
  color: #ffffff;
}

.page-register__feature-icon,
.page-register__promo-image,
.page-register__step-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__feature-title,
.page-register__promo-title,
.page-register__channel-title,
.page-register__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for titles in light sections */
}

.page-register__step-card-dark .page-register__step-title {
  color: #ffffff; /* White for titles in dark cards */
}

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

.page-register__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-register__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-register__sub-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-register__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-register__list--bullet {
  list-style-type: disc;
}

.page-register__list li {
  margin-bottom: 10px;
}

.page-register__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__security-tips {
  margin-top: 60px;
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 10px;
}

.page-register__security-tips .page-register__sub-title {
  color: #EA7C07;
}

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

.page-register__btn-center {
  display: block;
  margin: 40px auto;
  width: fit-content;
}

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

.page-register__tips-text {
  font-style: italic;
  text-align: center;
  margin-top: 40px;
  color: #f0f0f0;
}

.page-register__highlight-text {
  font-weight: bold;
  color: #EA7C07;
}

.page-register__faq-list {
  margin-top: 40px;
}

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

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

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

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

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  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: #f0f0f0;
}

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

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

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

.page-register__disclaimer-text {
  font-size: 0.9em;
  margin-top: 40px;
  color: #f0f0f0;
  text-align: center;
}

.page-register__disclaimer-text a,
.page-register__text-link {
  color: #EA7C07;
  text-decoration: underline;
}

/* Responsive styles */

/* All images base responsive styles */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All video base responsive styles */
.page-register video,
.page-register__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Video container base responsive styles */
.page-register__video-section,
.page-register__video-container,
.page-register__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__content-grid {
    grid-template-columns: 1fr;
  }
  .page-register__content-grid--reverse {
    grid-template-columns: 1fr;
  }
  .page-register__content-grid .page-register__image-block {
    order: -1; /* Image first on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    padding-bottom: 40px;
  }
  
  .page-register__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-register__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-register__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-register__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-register__why-us-section,
  .page-register__steps-section,
  .page-register__verification-section,
  .page-register__promotions-section,
  .page-register__mobile-app-section,
  .page-register__faq-section,
  .page-register__support-section,
  .page-register__cta-bottom-section {
    padding: 50px 0;
  }

  .page-register__container {
    padding: 0 15px;
  }

  .page-register__features-grid,
  .page-register__steps-grid,
  .page-register__promo-grid,
  .page-register__support-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__feature-card,
  .page-register__promo-card,
  .page-register__channel-card,
  .page-register__step-card-dark {
    padding: 25px;
  }
  
  /* Mobile images */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Mobile video */
  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video containers mobile adaptation */
  .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;
  }

  /* All containers with images/videos */
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-section,
  .page-register__why-us-section,
  .page-register__steps-section,
  .page-register__verification-section,
  .page-register__promotions-section,
  .page-register__mobile-app-section,
  .page-register__faq-section,
  .page-register__support-section,
  .page-register__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right handled by .page-register__container */
  }

  /* Mobile buttons */
  .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;
  }
  
  .page-register__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-register__button-group .page-register__cta-button {
    margin: 0 auto; /* Center buttons when stacked */
  }

  .page-register__btn-center {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  
  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px 20px;
  }
}