/* style/promo.css */

.page-promo {
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promo__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Dark background for hero section */
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6; /* Slightly dim the image for text readability */
  filter: brightness(0.6); /* Further dim for contrast */
  object-fit: cover;
}

.page-promo__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.page-promo__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 90%;
  padding: 20px;
  box-sizing: border-box;
}

.page-promo__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-promo__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__cta-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, color 0.3s ease, transform 0.2s ease;
  margin: 10px;
}

.page-promo__cta-button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black text for contrast */
  border: 2px solid #FCBC45;
}

.page-promo__cta-button--primary:hover {
  background-color: #e0a538;
  transform: translateY(-2px);
}

.page-promo__cta-button--transparent {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-promo__cta-button--transparent:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-promo__features-section,
.page-promo__current-promos-section,
.page-promo__vip-section,
.page-promo__faq-section,
.page-promo__cta-final-section {
  padding: 60px 20px;
  background-color: #FFFFFF; /* White background for content sections */
  text-align: center;
}

.page-promo__features-container,
.page-promo__current-promos-container,
.page-promo__vip-container,
.page-promo__faq-container,
.page-promo__cta-final-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-promo__features-title,
.page-promo__current-promos-title,
.page-promo__vip-title,
.page-promo__faq-title,
.page-promo__cta-final-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #000000; /* Black title */
}

.page-promo__current-promos-intro {
  font-size: 1.1em;
  margin-bottom: 50px;
  color: #333333;
}

.page-promo__features-grid,
.page-promo__promo-grid,
.page-promo__faq-grid {
  display: grid;
  gap: 30px;
}

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

.page-promo__feature-item {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

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

.page-promo__feature-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

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

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

.page-promo__promo-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
}

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

.page-promo__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promo__promo-content {
  padding: 25px;
}

.page-promo__promo-heading {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 15px;
}

.page-promo__promo-text {
  color: #555555;
  margin-bottom: 20px;
}

.page-promo__view-all-button-wrapper {
  margin-top: 50px;
}

.page-promo__vip-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-promo__vip-title {
  color: #FCBC45;
}

.page-promo__vip-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-promo__vip-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-promo__vip-text-content {
  text-align: left;
}

.page-promo__vip-description {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-promo__faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  text-align: left;
}

.page-promo__faq-item {
  background-color: #F8F8F8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-promo__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
}

.page-promo__faq-answer {
  color: #555555;
}

.page-promo__cta-final-section {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-promo__cta-final-title {
  color: #000000;
}

.page-promo__cta-final-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-promo__cta-button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-promo__cta-button--secondary:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 2.5em;
  }
  .page-promo__hero-description {
    font-size: 1.1em;
  }
  .page-promo__features-title,
  .page-promo__current-promos-title,
  .page-promo__vip-title,
  .page-promo__faq-title,
  .page-promo__cta-final-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promo__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  }
  .page-promo__hero-title {
    font-size: 2em;
  }
  .page-promo__hero-description {
    font-size: 1em;
  }
  .page-promo__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px;
  }
  .page-promo__features-section,
  .page-promo__current-promos-section,
  .page-promo__vip-section,
  .page-promo__faq-section,
  .page-promo__cta-final-section {
    padding: 40px 15px;
  }
  .page-promo__vip-content-wrapper {
    flex-direction: column;
  }
  .page-promo__hero-image,
  .page-promo__features-grid img,
  .page-promo__promo-grid img,
  .page-promo__vip-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  /* Enforce minimum image size for content area images */
  .page-promo__feature-icon, 
  .page-promo__promo-image, 
  .page-promo__vip-image {
    min-width: 200px;
    min-height: 200px;
  }
  .page-promo__promo-image {
    height: 200px; /* Adjust height for mobile card images */
  }
  .page-promo__hero-section .page-promo__hero-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 1.6em;
  }
  .page-promo__hero-description {
    font-size: 0.9em;
  }
  .page-promo__features-title,
  .page-promo__current-promos-title,
  .page-promo__vip-title,
  .page-promo__faq-title,
  .page-promo__cta-final-title {
    font-size: 1.8em;
  }
  .page-promo__cta-button {
    width: 100%;
    margin: 10px 0;
  }
  .page-promo__hero-content {
    padding: 15px;
  }
}

/* Ensure content area images are never smaller than 200px */
.page-promo img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
  min-width: 200px;
  min-height: 200px;
}

/* Mobile content area images must be responsive and not cause overflow */
@media (max-width: 768px) {
  .page-promo img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-promo {
    overflow-x: hidden;
  }
}