.page-promo {
  color: #ffffff; /* Text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-promo__hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  text-align: center;
}

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

.page-promo__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
}

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

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

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

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

.page-promo__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

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

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

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

.page-promo__section-title {
  font-size: 2.5em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 60px;
}

.page-promo__section-text {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__why-melbet-section, .page-promo__types-section, .page-promo__how-to-claim-section, .page-promo__terms-section, .page-promo__responsible-gaming-section, .page-promo__mobile-app-section, .page-promo__faq-section, .page-promo__cta-section {
  padding: 60px 0;
}

.page-promo__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-promo__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 1.1em;
  color: #f0f0f0;
  border-left: 5px solid #FCBC45;
}

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

.page-promo__promo-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

.page-promo__promo-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-promo__promo-card-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-promo__promo-card-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-promo__promo-card .page-promo__button {
  margin-top: auto; /* Pushes button to the bottom */
  background-color: #FCBC45;
  color: #000000;
}

.page-promo__promo-card .page-promo__button:hover {
  background-color: #e0a53a;
}

.page-promo__claim-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promo__claim-step {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  border-bottom: 3px solid #FCBC45;
}

.page-promo__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #FCBC45;
  color: #000000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3em;
}

.page-promo__step-title {
  font-size: 1.5em;
  color: #FCBC45;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-promo__step-description {
  font-size: 1em;
  color: #cccccc;
}

.page-promo__step-description a {
  color: #FCBC45;
  text-decoration: none;
}

.page-promo__step-description a:hover {
  text-decoration: underline;
}

.page-promo__button--primary {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 40px;
}

.page-promo__button--primary:hover {
  background-color: #e0a53a;
}

.page-promo__button--secondary {
  background-color: #FFFFFF;
  color: #000000;
  margin-top: 40px;
}

.page-promo__button--secondary:hover {
  background-color: #f0f0f0;
}

.page-promo__mobile-app-image {
  display: block;
  max-width: 400px;
  height: auto;
  margin: 40px auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.page-promo__faq-question {
  font-size: 1.3em;
  color: #FCBC45;
  padding: 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
}

.page-promo__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.page-promo__faq-item.active .page-promo__faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.page-promo__faq-answer {
  font-size: 1em;
  color: #cccccc;
  padding: 0 20px 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-promo__faq-item.active .page-promo__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding: 0 20px 20px;
}

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

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

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

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

@media (max-width: 768px) {
  .page-promo__hero-section {
    padding: 60px 0;
  }

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

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

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

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

  .page-promo__promo-card-grid, .page-promo__claim-steps {
    grid-template-columns: 1fr;
  }

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

  .page-promo__section-text {
    font-size: 0.95em;
  }

  .page-promo__hero-image img, .page-promo__promo-card-image, .page-promo__mobile-app-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
  }

  .page-promo__faq-question, .page-promo__step-title {
    font-size: 1.1em;
  }

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

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

  .page-promo__hero-container {
    padding: 30px 15px;
  }

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

  .page-promo__promo-card-image {
    height: 200px;
  }
}

/* Ensure all content images within .page-promo are at least 200px wide/high and responsive */
.page-promo img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-promo__hero-image {
  min-width: 100%; /* Hero image should always cover its container */
  min-height: 100%;
}

.page-promo__promo-card-image {
  min-width: 100%;
  min-height: 200px;
}

.page-promo__mobile-app-image {
  min-width: 200px;
  min-height: 300px;
}