.page-promo {
  color: #ffffff; /* Light text for dark body background */
}

.page-promo__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #000000; /* Main dark background */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-promo__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  z-index: 2;
}

.page-promo__main-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-promo__tagline {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
  line-height: 1.6;
}

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

.page-promo__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

.page-promo__button--register {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-promo__button--register:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

.page-promo__button--login:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-promo__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
  z-index: 1;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promo__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.page-promo__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
  font-weight: bold;
}

.page-promo__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-promo__section-paragraph {
  font-size: 1.05em;
  color: #f0f0f0;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: left;
}

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

.page-promo__promo-card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promo__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-promo__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promo__card-title {
  font-size: 1.6em;
  color: #FCBC45;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promo__card-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
  line-height: 1.5;
}

.page-promo__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-promo__button--small:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-promo__vip-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-promo__feature-item {
  flex-basis: calc(33% - 40px);
  min-width: 280px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-promo__feature-item:hover {
  transform: translateY(-8px);
}

.page-promo__feature-icon {
  width: 250px; /* Ensure images are not too small */
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-promo__feature-title {
  font-size: 1.4em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-promo__feature-text {
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-promo__button--centered {
  margin-top: 50px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__button--outline {
  background-color: transparent;
  color: #FCBC45;
  border: 2px solid #FCBC45;
}

.page-promo__button--outline:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-promo__accordion {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-promo__accordion-header {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-promo__accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promo__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-promo__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-promo__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: #e0e0e0;
}

.page-promo__accordion-content p {
  padding: 15px 0;
  margin: 0;
  line-height: 1.6;
}

.page-promo__cta {
  padding-bottom: 80px;
}

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

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

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

  .page-promo__feature-item {
    flex-basis: calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .page-promo__main-title {
    font-size: 2.2em;
  }

  .page-promo__tagline {
    font-size: 1em;
  }

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

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

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

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

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

  .page-promo__feature-item {
    flex-basis: 100%;
  }
  
  .page-promo__hero-section .page-promo__hero-image {
    max-width: 100%;
    height: auto;
  }
  
  .page-promo__welcome-bonus .page-promo__card-image,
  .page-promo__daily-rewards .page-promo__card-image {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure minimum height for smaller images */
  }
  
  .page-promo__vip-program .page-promo__feature-icon {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure minimum height for smaller images */
  }

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

  /* Ensure all content area images are responsive and do not cause overflow */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-promo__button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-promo__card-title {
    font-size: 1.4em;
  }
}