/* style/promo-daily-cashback-event.css */
.page-promo-daily-cashback-event {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Page content background */
}

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

.page-promo-daily-cashback-event__section-dark {
  background-color: #000000; /* Dark background for sections */
  color: #FFFFFF;
}

.page-promo-daily-cashback-event__section-gradient {
  background: linear-gradient(135deg, #000000 0%, #333333 100%); /* Dark gradient background */
  color: #FFFFFF;
}

.page-promo-daily-cashback-event__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promo-daily-cashback-event__section-title--light {
  color: #FFFFFF;
}

.page-promo-daily-cashback-event__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promo-daily-cashback-event__text-content--light {
  color: #F0F0F0;
}

/* Hero Section */
.page-promo-daily-cashback-event__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 80px 20px;
  position: relative;
  overflow: hidden; /* Ensure image doesn't overflow */
  /* Assuming shared.css handles body padding-top for fixed header, so hero doesn't need it */
}

.page-promo-daily-cashback-event__hero-content {
  max-width: 800px;
  z-index: 1; /* Ensure text is above image */
  position: relative;
}

.page-promo-daily-cashback-event__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  font-weight: bold;
  line-height: 1.2;
}

.page-promo-daily-cashback-event__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

.page-promo-daily-cashback-event__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promo-daily-cashback-event__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;
  white-space: nowrap;
}

.page-promo-daily-cashback-event__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-promo-daily-cashback-event__button--primary:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-promo-daily-cashback-event__button--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-promo-daily-cashback-event__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-promo-daily-cashback-event__button--text {
  background: none;
  border: none;
  color: #000000;
  text-decoration: underline;
  padding: 10px 15px;
  font-size: 1em;
}

.page-promo-daily-cashback-event__button--text:hover {
  color: #FCBC45;
}

.page-promo-daily-cashback-event__button--light-text {
  color: #FFFFFF;
}

.page-promo-daily-cashback-event__button--light-text:hover {
  color: #FCBC45;
}

.page-promo-daily-cashback-event__button--light-background {
  background-color: #FFFFFF;
  color: #000000;
}

.page-promo-daily-cashback-event__button--light-background:hover {
  background-color: #e0e0e0;
}

.page-promo-daily-cashback-event__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-promo-daily-cashback-event__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.7); /* Allowed for background effect, not changing original image color */
}

/* How It Works Section */
.page-promo-daily-cashback-event__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-promo-daily-cashback-event__step-item {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-promo-daily-cashback-event__step-description {
  font-size: 1em;
  margin-bottom: 15px;
}

.page-promo-daily-cashback-event__step-list {
  list-style: disc;
  margin-left: 20px;
}

.page-promo-daily-cashback-event__image-text-group {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-promo-daily-cashback-event__image-text-group--reverse {
  flex-direction: row-reverse;
}

.page-promo-daily-cashback-event__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-promo-daily-cashback-event__image-text-group .page-promo-daily-cashback-event__text-content {
  flex: 1;
  max-width: 50%;
}

.page-promo-daily-cashback-event__cta-center {
  text-align: center;
  margin-top: 30px;
}

/* Benefits Section */
.page-promo-daily-cashback-event__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promo-daily-cashback-event__benefit-card {
  background-color: rgba(255, 255, 255, 0.1); /* Light background on dark section */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promo-daily-cashback-event__benefit-card-title {
  font-size: 1.5em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-promo-daily-cashback-event__benefit-card-description {
  font-size: 1em;
  color: #F0F0F0;
}

/* Games Section */
.page-promo-daily-cashback-event__game-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-promo-daily-cashback-event__game-card-link {
  text-decoration: none;
}

.page-promo-daily-cashback-event__game-card {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 200px; /* Ensure cards have some height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #333333;
}

.page-promo-daily-cashback-event__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-promo-daily-cashback-event__game-card-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promo-daily-cashback-event__game-card-description {
  font-size: 1em;
}

/* Terms & Conditions Section */
.page-promo-daily-cashback-event__terms-list {
  list-style: disc;
  margin-left: 20px;
  margin-top: 20px;
  color: #F0F0F0;
}

.page-promo-daily-cashback-event__terms-list li {
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo-daily-cashback-event__hero-title {
    font-size: 3em;
  }

  .page-promo-daily-cashback-event__hero-description {
    font-size: 1.2em;
  }

  .page-promo-daily-cashback-event__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promo-daily-cashback-event__hero-section {
    padding: 60px 15px;
  }

  .page-promo-daily-cashback-event__hero-title {
    font-size: 2.5em;
  }

  .page-promo-daily-cashback-event__hero-description {
    font-size: 1.1em;
  }

  .page-promo-daily-cashback-event__section-padding {
    padding: 40px 15px;
  }

  .page-promo-daily-cashback-event__section-title {
    font-size: 1.8em;
  }

  .page-promo-daily-cashback-event__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-promo-daily-cashback-event__button {
    width: 100%;
  }

  .page-promo-daily-cashback-event__image-text-group {
    flex-direction: column;
    gap: 20px;
  }

  .page-promo-daily-cashback-event__content-image,
  .page-promo-daily-cashback-event__image-text-group .page-promo-daily-cashback-event__text-content {
    max-width: 100%;
  }

  /* Critical: Mobile content area images must be constrained */
  .page-promo-daily-cashback-event img {
    max-width: 100%;
    height: auto;
  }

  .page-promo-daily-cashback-event__hero-image-wrapper {
    position: relative; 
    height: 300px; 
  }
  .page-promo-daily-cashback-event__hero-image {
    position: absolute;
    top: 0;
    left: 0;
  }
  .page-promo-daily-cashback-event__hero-section {
    padding-bottom: 40px; 
  }
}

@media (max-width: 480px) {
  .page-promo-daily-cashback-event__hero-title {
    font-size: 2em;
  }

  .page-promo-daily-cashback-event__hero-description {
    font-size: 1em;
  }

  .page-promo-daily-cashback-event__section-title {
    font-size: 1.5em;
  }

  .page-promo-daily-cashback-event__steps-container,
  .page-promo-daily-cashback-event__benefits-grid,
  .page-promo-daily-cashback-event__game-categories-grid {
    grid-template-columns: 1fr;
  }
}

/* Ensure no image filters that change color */
.page-promo-daily-cashback-event img:not(.page-promo-daily-cashback-event__hero-image) {
  filter: none; /* Explicitly remove any default filters */
}

/* The hero image has a brightness filter for aesthetic purposes, which is allowed as it's a background effect */
.page-promo-daily-cashback-event__hero-image {
  filter: brightness(0.7); /* Allowed for background effect, not changing original image color */
}