/* style/promo.css */
.page-promo {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by 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: 20px;
  padding-top: 40px;
}

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

/* Hero Section */
.page-promo__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #f8f8f8;
  padding: 0;
  margin-bottom: 60px;
}

.page-promo__hero-container {
  position: relative;
  width: 100%;
  max-width: 100%; /* Ensure it doesn't cause overflow */
}

.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;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
  max-width: 80%;
  box-sizing: border-box;
}

.page-promo__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

.page-promo__hero-cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promo__hero-cta-button:hover {
  background-color: #e0a53a;
}

/* Overview Section */
.page-promo__overview-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-promo__feature-item {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

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

/* Featured Promotions Section */
.page-promo__featured-promotions-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-promo__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

.page-promo__promo-card-image {
  width: 100%;
  height: 300px; /* Ensure images are not too small */
  object-fit: cover;
  display: block;
}

.page-promo__promo-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

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

.page-promo__promo-card-title a:hover {
  text-decoration: underline;
}

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

.page-promo__promo-card-button {
  display: inline-block;
  background-color: #000000; /* Main color for buttons */
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-promo__promo-card-button:hover {
  background-color: #333333;
}

/* How to Claim Section */
.page-promo__how-to-claim-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-promo__step-item {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-promo__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #FCBC45;
  color: #000000;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

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

.page-promo__step-text a {
  color: #000000;
  text-decoration: underline;
}

.page-promo__step-text a:hover {
  color: #FCBC45;
}

.page-promo__claim-cta {
  text-align: center;
  margin-top: 60px;
}

.page-promo__claim-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promo__claim-button:hover {
  background-color: #e0a53a;
}

/* Why Choose Section */
.page-promo__why-choose-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-promo__benefit-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #333333;
  display: flex;
  align-items: center;
}

.page-promo__benefit-item strong {
  color: #000000;
  margin-right: 10px;
}

.page-promo__final-cta {
  text-align: center;
  margin-top: 60px;
}

.page-promo__join-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promo__join-button:hover {
  background-color: #333333;
}

/* Terms & Conditions Section */
.page-promo__terms-conditions-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-promo__terms-list {
  list-style: disc;
  margin-left: 20px;
  margin-top: 40px;
  color: #555555;
}

.page-promo__terms-item {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-promo__responsible-gaming-text {
  text-align: center;
  margin-top: 30px;
  font-size: 1em;
  color: #555555;
}

.page-promo__responsible-gaming-text a {
  color: #000000;
  text-decoration: underline;
}

.page-promo__responsible-gaming-text a:hover {
  color: #FCBC45;
}

/* Responsive Design */
@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__hero-content {
    padding: 30px;
    max-width: 90%;
  }
  .page-promo__hero-title {
    font-size: 2.5em;
  }
  .page-promo__hero-description {
    font-size: 1em;
  }
  .page-promo__hero-cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-promo__section-title {
    font-size: 1.8em;
  }
  .page-promo__section-intro {
    font-size: 0.95em;
  }
  .page-promo__promo-card-image,
  .page-promo__promo-card {
    max-width: 100%;
    height: auto; /* Ensure images in content area are responsive */
  }
  .page-promo__promo-card-image {
    height: 250px;
  }
  .page-promo__promo-card-title {
    font-size: 1.5em;
  }
  .page-promo__claim-button,
  .page-promo__join-button {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  /* Mobile content area image protection */
  .page-promo img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-promo {
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
}

@media (max-width: 480px) {
  .page-promo__hero-content {
    padding: 20px;
  }
  .page-promo__hero-title {
    font-size: 2em;
  }
  .page-promo__hero-description {
    font-size: 0.9em;
  }
  .page-promo__section-title {
    font-size: 1.5em;
  }
  .page-promo__features-grid,
  .page-promo__promo-cards-grid,
  .page-promo__steps-grid,
  .page-promo__benefits-list {
    grid-template-columns: 1fr;
  }
  .page-promo__step-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.5em;
  }
  .page-promo__step-title {
    font-size: 1.3em;
  }
  .page-promo__claim-button,
  .page-promo__join-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}