/* style/promo.css */
.page-promo {
  color: #333333; /* Dark text for light body background */
}

.page-promo__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensures hero section has minimum height */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop and mobile */
}

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

.page-promo__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.page-promo__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 30px;
  border-radius: 10px;
  max-width: 800px;
}

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

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

.page-promo__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold main color */
  color: #8B0000; /* Dark red accent color for text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
}

.page-promo__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-promo__cta-button--secondary {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #8B0000;
}

.page-promo__cta-button--secondary:hover {
  background-color: #a00000;
}

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

.page-promo__intro-section,
.page-promo__detail-list,
.page-promo__how-to-claim,
.page-promo__terms-conditions,
.page-promo__responsible-gaming,
.page-promo__cta-section {
  padding: 60px 0;
}

.page-promo__section-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-promo__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-promo__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-promo__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-promo__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

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

.page-promo__card-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promo__card-title a {
  color: #8B0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-promo__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promo__card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  text-align: center;
  align-self: flex-start;
}

.page-promo__card-button:hover {
  background-color: #e6c200;
}

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

.page-promo__step-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FFD700;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.page-promo__step-title {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-promo__step-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

.page-promo__step-button {
  display: inline-block;
  background-color: #8B0000;
  color: #FFD700;
  padding: 8px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-promo__step-button:hover {
  background-color: #a00000;
}

.page-promo__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promo__terms-item {
  background-color: #fdfdfd;
  border: 1px solid #eee;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promo__terms-subtitle {
  font-size: 1.3em;
  color: #8B0000;
  margin-bottom: 8px;
}

.page-promo__terms-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-promo__text-link {
  color: #8B0000;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-promo__text-link:hover {
  color: #FFD700;
}

.page-promo__cta-section {
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Gradient background for CTA */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

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

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

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

.page-promo__cta-description {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

@media (max-width: 768px) {
  .page-promo__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-promo__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-promo__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-promo__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-promo__intro-section,
  .page-promo__detail-list,
  .page-promo__how-to-claim,
  .page-promo__terms-conditions,
  .page-promo__responsible-gaming,
  .page-promo__cta-section {
    padding: 40px 0;
  }
  .page-promo__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-promo__section-text {
    font-size: 0.95em;
  }
  .page-promo__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-promo__card-image {
    height: 200px;
  }
  .page-promo__card-title {
    font-size: 1.4em;
  }
  .page-promo__step-title {
    font-size: 1.2em;
  }
  .page-promo__terms-subtitle {
    font-size: 1.1em;
  }
  .page-promo__cta-title {
    font-size: 2em;
  }
  .page-promo__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-promo__container {
    padding: 0 15px;
  }
  /* Ensure all images within .page-promo are responsive and don't overflow */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-section {
    min-height: 350px;
  }
  .page-promo__hero-title {
    font-size: 1.8em;
  }
  .page-promo__hero-description {
    font-size: 0.9em;
  }
  .page-promo__cta-button {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-promo__section-title {
    font-size: 1.5em;
  }
  .page-promo__cta-title {
    font-size: 1.8em;
  }
  .page-promo__cta-description {
    font-size: 0.9em;
  }
  .page-promo__card-image {
    height: 180px;
  }
}