.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #f8f9fa; /* Light background for the page */
}

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

.page-register__hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
}

.page-register__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-register__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

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

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

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

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

.page-register__btn-secondary {
  background-color: #ffc107;
  color: #333333;
  border: 2px solid #ffc107;
  margin-left: 15px;
}

.page-register__btn-secondary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-register__btn-large {
  padding: 15px 40px;
  font-size: 1.1em;
}

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

.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #007bff;
}

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

.page-register__dark-section .page-register__section-title,
.page-register__dark-section .page-register__section-description {
  color: #ffffff;
}

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

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

.page-register__feature-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-register__feature-card:hover {
  transform: translateY(-5px);
}

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

.page-register__feature-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

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

.page-register__steps-section {
  padding: 80px 0;
  background-color: #007bff;
}

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

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

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

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

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

.page-register__text-link {
  color: #ffc107;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__text-link:hover {
  color: #e0a800;
  text-decoration: underline;
}

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

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

.page-register__requirements-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

.page-register__info-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__info-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 20px;
}

.page-register__info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__info-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #555555;
}

.page-register__info-list li::before {
  content: '✓';
  color: #ffc107;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-register__promotions-section {
  padding: 80px 0;
  background-color: #007bff;
}

.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-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-register__explore-games-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-register__game-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-register__game-card:hover {
  transform: translateY(-5px);
}

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

.page-register__game-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-register__game-text {
  font-size: 1em;
  color: #555555;
}

.page-register__faq-section {
  padding: 80px 0;
  background-color: #007bff;
}

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

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

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

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

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffc107;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  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 to show content */
  padding: 15px 20px;
}

.page-register__cta-final-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  text-align: center;
}

.page-register__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  object-fit: cover;
}

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

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

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .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__btn-primary,
  .page-register__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__cta-buttons-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

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

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

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

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

  /* Video responsiveness */
  .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;
  }

  /* Content containers for mobile overflow prevention */
  .page-register__why-join-section,
  .page-register__steps-section,
  .page-register__requirements-section,
  .page-register__promotions-section,
  .page-register__explore-games-section,
  .page-register__faq-section,
  .page-register__cta-final-section,
  .page-register__feature-card,
  .page-register__step-card,
  .page-register__info-card,
  .page-register__promo-card,
  .page-register__game-card,
  .page-register__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__faq-question {
    padding: 12px 15px;
    font-size: 1.1em;
  }

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

  .page-register__faq-item.active .page-register__faq-answer {
    padding: 12px 15px;
  }
}

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