/* style/promo.css */

/* --- Base Styles --- */
.page-promo {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Body background is white */
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

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

.page-promo__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promo__section-intro {
  text-align: center;
  margin-bottom: 50px;
  font-size: 1.1em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-promo__button--primary {
  background-color: #FCBC45; /* Login button background color */
  color: #000000; /* Dark text for contrast */
}

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

.page-promo__button--secondary {
  background-color: #000000; /* Register button background */
  color: #FFFFFF; /* Register button text */
  border: 2px solid #FCBC45; /* Add a subtle border for secondary */
}

.page-promo__button--secondary:hover {
  background-color: #1a1a1a;
  border-color: #e0a73b;
}

.page-promo__button--small {
  padding: 8px 15px;
  font-size: 0.9em;
  background-color: #000000; /* Default small button background */
  color: #FCBC45; /* Default small button text */
  border: 1px solid #FCBC45;
}

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

/* --- Hero Section --- */
.page-promo__hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
  min-height: 500px; /* Ensure hero section has a minimum height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-promo__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px; /* Limit max width of the container for very large screens */
  margin: 0 auto;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promo__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF; /* Text on hero image should be light */
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text readability */
  border-radius: 10px;
}

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

.page-promo__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

/* --- Grid Layout for Cards --- */
.page-promo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-promo__grid--single {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* Ensure cards in a row have equal height */
}

.page-promo__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card image display */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-promo__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-promo__card-title a {
  text-decoration: none;
  color: #000000;
}

.page-promo__card-title a:hover {
  color: #FCBC45;
}

.page-promo__card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
  flex-grow: 1; /* Allow description to take up available space */
}

/* --- Welcome Bonus Section --- */
.page-promo__welcome-bonus {
  padding: 60px 0;
  background-color: #f0f0f0;
}

/* --- Daily Offers Section --- */
.page-promo__daily-offers {
  padding: 60px 0;
}

/* --- VIP Program Section --- */
.page-promo__vip-program {
  padding: 60px 0;
  background-color: #000000; /* Dark background for VIP section */
  color: #FFFFFF;
  text-align: center;
}

.page-promo__vip-program .page-promo__section-title {
  color: #FCBC45; /* Golden title on dark background */
}

.page-promo__vip-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.page-promo__vip-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.page-promo__vip-features {
  margin-bottom: 50px;
}

.page-promo__feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-promo__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  color: #FCBC45;
  border: 1px solid #FCBC45;
}

/* --- Hot Offers Details Section --- */
.page-promo__hot-offers-details {
  padding: 60px 0;
}

/* --- Long Content Section --- */
.page-promo__long-content {
  padding: 60px 0;
}

.page-promo__long-content h2 {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-promo__long-content h3 {
  font-size: 1.6em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-promo__long-content p {
  margin-bottom: 1.5em;
  color: #555555;
}

/* --- Call to Action Section --- */
.page-promo__cta-section {
  background-color: #f0f0f0;
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
}

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

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

.page-promo__cta-actions {
  display: flex;
  justify-content: center;
  gap: 25px;
}

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

@media (max-width: 768px) {
  .page-promo {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-promo__hero-title {
    font-size: 2.2em;
  }
  .page-promo__hero-description {
    font-size: 1em;
  }
  .page-promo__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-promo__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-promo__section-title {
    font-size: 1.8em;
  }
  .page-promo__grid {
    grid-template-columns: 1fr;
  }
  .page-promo__card-image {
    height: 200px;
  }
  .page-promo__vip-description {
    font-size: 1em;
  }
  .page-promo__feature-item {
    font-size: 0.9em;
    padding: 10px 15px;
  }
  .page-promo__long-content h2 {
    font-size: 1.8em;
  }
  .page-promo__long-content h3 {
    font-size: 1.4em;
  }
  .page-promo__long-content p {
    margin-bottom: 1.5em;
  }
  .page-promo__cta-title {
    font-size: 2em;
  }
  .page-promo__cta-description {
    font-size: 1em;
  }
  .page-promo__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile content area images must be responsive */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure no content causes horizontal scroll */
  .page-promo__container {
    overflow-x: hidden;
  }
}

/* Ensure content images are at least 200px wide */
.page-promo__card-image,
.page-promo__vip-image {
  min-width: 200px;
  min-height: 200px;
}
/* Ensure no CSS filter is used for images */
.page-promo img {
  filter: none;
}