.page-promo {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-promo__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  padding: 40px 20px;
}

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

.page-promo__hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-promo__hero-content {
  background: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.page-promo__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promo__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-promo__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promo__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-promo__button--register {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-promo__button--register:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-promo__button--login,
.page-promo__button--deposit,
.page-promo__button--claim,
.page-promo__button--register-cta,
.page-promo__button--refer {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-promo__button--login:hover,
.page-promo__button--deposit:hover,
.page-promo__button--claim:hover,
.page-promo__button--register-cta:hover,
.page-promo__button--refer:hover {
  background-color: #e0a538;
  transform: translateY(-2px);
}

.page-promo__button--view-all,
.page-promo__button--learn-more,
.page-promo__button--vip-club,
.page-promo__button--view-current,
.page-promo__button--read-terms {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-promo__button--view-all:hover,
.page-promo__button--learn-more:hover,
.page-promo__button--vip-club:hover,
.page-promo__button--view-current:hover,
.page-promo__button--read-terms:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-promo__section {
  padding: 80px 20px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #EEEEEE;
}

.page-promo__section:nth-of-type(even) {
  background-color: #F8F8F8;
}

.page-promo__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-promo__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 50px;
}

.page-promo__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-promo__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-promo__text-content {
  flex: 1;
  min-width: 300px;
}

.page-promo__text-content p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-promo__image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promo__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

.page-promo__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 100px 20px;
  text-align: center;
}

.page-promo__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-promo__cta-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 3em;
  }

  .page-promo__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-promo__hero-section {
    min-height: 450px;
    padding: 20px;
  }

  .page-promo__hero-title {
    font-size: 2.5em;
  }

  .page-promo__hero-description {
    font-size: 1.1em;
  }

  .page-promo__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-promo__button {
    width: 100%;
    max-width: 300px;
  }

  .page-promo__section {
    padding: 60px 15px;
  }

  .page-promo__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-promo__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-promo__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-promo__image {
    max-width: 100%;
    height: auto;
  }

  .page-promo__cta-section {
    padding: 80px 15px;
  }

  .page-promo__cta-title {
    font-size: 2.5em;
  }

  .page-promo__cta-description {
    font-size: 1.2em;
  }
  
  /* Ensure content images do not overflow on mobile */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-promo__hero-description {
    font-size: 1em;
  }

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

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

  .page-promo__cta-description {
    font-size: 1em;
  }
}