.page-promotions {
  color: var(--text-main);
  background-color: var(--background);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promotions__hero-section {
  padding: 10px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Min size constraint */
}

.page-promotions__hero-content {
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above image but not overlapping it */
  position: relative; /* To ensure z-index works */
}

.page-promotions__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 100%;
}

.page-promotions__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main);
  max-width: 100%;
}

.page-promotions__cta-button,
.page-promotions__card-button,
.page-promotions__step-button,
.page-promotions__read-more-button,
.page-promotions__app-download-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: var(--button-color);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button:hover,
.page-promotions__card-button:hover,
.page-promotions__step-button:hover,
.page-promotions__read-more-button:hover,
.page-promotions__app-download-button:hover {
  background: linear-gradient(180deg, #FFD86A 0%, #F2C14E 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-promotions__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

.page-promotions__promo-card {
  background-color: var(--card-b-g);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Min size constraint */
}

.page-promotions__card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__card-description {
  font-size: 1em;
  color: var(--text-main);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__claim-guide {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-promotions__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-promotions__step-card {
  background-color: var(--card-b-g);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-promotions__step-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-promotions__step-description {
  font-size: 0.95em;
  color: var(--text-main);
  margin-bottom: 20px;
}

.page-promotions__terms-snippet {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-promotions__terms-description {
  font-size: 1em;
  color: var(--text-main);
  margin-bottom: 30px;
}

.page-promotions__download-app {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--card-b-g);
  border-top: 1px solid var(--border-color);
  margin-top: 60px;
  box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__app-description {
  font-size: 1.1em;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-promotions__main-title {
    font-size: 2.2em;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
  }

  .page-promotions__card-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__steps-container {
    grid-template-columns: 1fr;
  }

  /* Ensure all content images are responsive and don't overflow */
  .page-promotions__offers-section img,
  .page-promotions__claim-guide img,
  .page-promotions__download-app img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__promo-card .page-promotions__card-image {
    height: 200px; /* Adjust height for smaller screens */
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }

  .page-promotions__hero-description {
    font-size: 0.95em;
  }

  .page-promotions__section-title {
    font-size: 1.5em;
  }

  .page-promotions__card-title {
    font-size: 1.2em;
  }

  .page-promotions__cta-button,
  .page-promotions__card-button,
  .page-promotions__step-button,
  .page-promotions__read-more-button,
  .page-promotions__app-download-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}

/* Image sizing for content area to prevent small icons */
.page-promotions img:not(.page-promotions__hero-image) {
  min-width: 200px;
  min-height: 200px;
}