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

.page-promo__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  min-height: 500px;
}

.page-promo__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-promo__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-promo__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.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.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promo__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-promo__promotions-grid {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-promo__grid-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-promo__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

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

.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.8em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promo__card-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promo__card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

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

.page-promo__how-to-claim {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-promo__how-to-claim-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-promo__step-card {
  background-color: #0A192F;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

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

.page-promo__step-icon {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

.page-promo__how-to-claim-cta {
  margin-top: 50px;
}

.page-promo__how-to-claim-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-promo__terms-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  background-color: #0A192F;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  padding: 40px;
}

.page-promo__terms-title {
  font-size: 2.2em;
  color: #FFD700;
  margin-bottom: 25px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-promo__terms-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  text-align: center;
}

.page-promo__terms-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-promo__terms-list-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1em;
  color: #cccccc;
}

.page-promo__terms-outro {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  text-align: center;
}

.page-promo__terms-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
  font-size: 1.05em;
}

.page-promo__terms-link:hover {
  color: #e6c200;
  border-color: #e6c200;
}

.page-promo__cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  margin-top: 60px;
  min-height: 300px;
}

.page-promo__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability */
}

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

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

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

.page-promo__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 2.8em;
  }
  .page-promo__grid-title,
  .page-promo__how-to-claim-title,
  .page-promo__terms-title {
    font-size: 2em;
  }
  .page-promo__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-promo {
    padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
  }
  .page-promo__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-promo__hero-title {
    font-size: 2.2em;
  }
  .page-promo__hero-description {
    font-size: 1em;
  }
  .page-promo__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promo__promotions-grid,
  .page-promo__how-to-claim,
  .page-promo__terms-section,
  .page-promo__cta-banner {
    margin: 40px auto;
    padding: 0 15px;
  }
  .page-promo__grid-title,
  .page-promo__how-to-claim-title,
  .page-promo__terms-title {
    font-size: 1.8em;
  }
  .page-promo__promo-card {
    margin-bottom: 20px;
  }
  .page-promo__card-title {
    font-size: 1.5em;
  }
  .page-promo__card-text {
    font-size: 0.95em;
  }
  .page-promo__card-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-promo__step-icon {
    font-size: 2.5em;
  }
  .page-promo__step-title {
    font-size: 1.3em;
  }
  .page-promo__terms-intro,
  .page-promo__terms-outro {
    font-size: 1em;
  }
  .page-promo__terms-list-item {
    font-size: 0.95em;
  }
  .page-promo__cta-title {
    font-size: 2em;
  }
  .page-promo__cta-description {
    font-size: 1em;
  }
  .page-promo__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  /* Mobile content image responsiveness */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure no horizontal scroll */
  .page-promo {
    overflow-x: hidden;
  }
}

@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__grid-title,
  .page-promo__how-to-claim-title,
  .page-promo__terms-title,
  .page-promo__cta-title {
    font-size: 1.5em;
  }
  .page-promo__promo-card {
    padding: 15px;
  }
  .page-promo__card-title {
    font-size: 1.3em;
  }
  .page-promo__card-text {
    font-size: 0.9em;
  }
  .page-promo__step-card {
    padding: 20px;
  }
  .page-promo__how-to-claim-button,
  .page-promo__cta-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-promo__terms-section {
    padding: 30px 20px;
  }
}