.page-promo-daily-rewards {
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Explicit background color from custom config */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-promo-daily-rewards__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero content area */
  color: #FFFFFF;
  padding: 0;
  text-align: center;
}

.page-promo-daily-rewards__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promo-daily-rewards__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0.7;
}

.page-promo-daily-rewards__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 10px;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promo-daily-rewards__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for highlight */
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-promo-daily-rewards__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-promo-daily-rewards__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-promo-daily-rewards__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-promo-daily-rewards__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-promo-daily-rewards__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-promo-daily-rewards__button--login,
.page-promo-daily-rewards__button--view-all,
.page-promo-daily-rewards__button--claim,
.page-promo-daily-rewards__button--deposit,
.page-promo-daily-rewards__button--learn-more,
.page-promo-daily-rewards__button--start-earning,
.page-promo-daily-rewards__button--join-now {
  background-color: #FCBC45;
  color: #000000;
}

.page-promo-daily-rewards__button--login:hover,
.page-promo-daily-rewards__button--view-all:hover,
.page-promo-daily-rewards__button--claim:hover,
.page-promo-daily-rewards__button--deposit:hover,
.page-promo-daily-rewards__button--learn-more:hover,
.page-promo-daily-rewards__button--start-earning:hover,
.page-promo-daily-rewards__button--join-now:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-promo-daily-rewards__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

.page-promo-daily-rewards__section-description {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-promo-daily-rewards__rebate-grid,
.page-promo-daily-rewards__rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-promo-daily-rewards__rebate-card,
.page-promo-daily-rewards__reward-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promo-daily-rewards__rebate-card:hover,
.page-promo-daily-rewards__reward-card:hover {
  transform: translateY(-5px);
}

.page-promo-daily-rewards__card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide in cards */
  height: auto;
  min-height: 200px; /* Minimum size for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-promo-daily-rewards__card-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-promo-daily-rewards__how-to-claim-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

.page-promo-daily-rewards__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 50px auto;
  max-width: 900px;
}

.page-promo-daily-rewards__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promo-daily-rewards__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FCBC45;
  margin-right: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.page-promo-daily-rewards__step-content {
  text-align: left;
}

.page-promo-daily-rewards__step-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-promo-daily-rewards__step-text {
  font-size: 1em;
  color: #555555;
}

.page-promo-daily-rewards__faq-section {
  padding: 80px 0;
}

.page-promo-daily-rewards__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-promo-daily-rewards__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
}

.page-promo-daily-rewards__faq-answer {
  font-size: 1em;
  color: #555555;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
  margin-top: 10px;
}

.page-promo-daily-rewards__button--more-faq {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background-color: #000000;
  color: #FFFFFF;
}

.page-promo-daily-rewards__button--more-faq:hover {
  background-color: #333333;
}

.page-promo-daily-rewards__cta-section {
  position: relative;
  overflow: hidden;
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 0;
  text-align: center;
}

.page-promo-daily-rewards__cta-image {
  width: 100%;
  height: auto;
  min-height: 200px; /* Minimum size for content images */
  object-fit: cover;
  opacity: 0.4;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.page-promo-daily-rewards__cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.page-promo-daily-rewards__cta-title {
  font-size: 2.8em;
  color: #FCBC45;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promo-daily-rewards__cta-description {
  font-size: 1.2em;
  color: #FFFFFF;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promo-daily-rewards__hero-title {
    font-size: 2.8em;
  }
  .page-promo-daily-rewards__hero-description {
    font-size: 1.1em;
  }
  .page-promo-daily-rewards__section-title {
    font-size: 2em;
  }
  .page-promo-daily-rewards__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-promo-daily-rewards__hero-content {
    padding: 20px;
    max-width: 90%;
  }
  .page-promo-daily-rewards__hero-title {
    font-size: 2em;
  }
  .page-promo-daily-rewards__hero-description {
    font-size: 1em;
  }
  .page-promo-daily-rewards__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-promo-daily-rewards__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-promo-daily-rewards__section-title {
    font-size: 1.8em;
  }
  .page-promo-daily-rewards__section-description {
    font-size: 0.95em;
  }
  .page-promo-daily-rewards__rebate-grid,
  .page-promo-daily-rewards__rewards-grid {
    grid-template-columns: 1fr;
  }
  .page-promo-daily-rewards__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-promo-daily-rewards__step-number {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .page-promo-daily-rewards__step-content {
    text-align: center;
  }
  .page-promo-daily-rewards__cta-title {
    font-size: 2em;
  }
  .page-promo-daily-rewards__cta-description {
    font-size: 1em;
  }
  /* Ensure content images do not overflow */
  .page-promo-daily-rewards__container img,
  .page-promo-daily-rewards__rebate-card img,
  .page-promo-daily-rewards__reward-card img,
  .page-promo-daily-rewards__cta-image {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Enforce minimum size for content images */
  }
  .page-promo-daily-rewards__container,
  .page-promo-daily-rewards__hero-section,
  .page-promo-daily-rewards__rebate-overview-section,
  .page-promo-daily-rewards__rewards-section,
  .page-promo-daily-rewards__how-to-claim-section,
  .page-promo-daily-rewards__faq-section,
  .page-promo-daily-rewards__cta-section {
    overflow-x: hidden;
    max-width: 100%;
  }
}