/* style/promotions-daily-cashback.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-promotions-daily-cashback {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

/* Sections */
.page-promotions-daily-cashback__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  overflow: hidden;
  min-height: 500px;
}

.page-promotions-daily-cashback__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-promotions-daily-cashback__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-promotions-daily-cashback__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-promotions-daily-cashback__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions-daily-cashback__hero-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-promotions-daily-cashback__intro-section,
.page-promotions-daily-cashback__applicable-products-section,
.page-promotions-daily-cashback__benefits-section,
.page-promotions-daily-cashback__cta-section {
  background-color: #ffffff; /* Light background for these sections */
  color: #333333; /* Dark text for light background */
  padding: 80px 20px;
}

.page-promotions-daily-cashback__how-it-works-section,
.page-promotions-daily-cashback__terms-section,
.page-promotions-daily-cashback__faq-section {
  background-color: #1a1a2e; /* Dark background for these sections */
  color: #ffffff; /* Light text for dark background */
  padding: 80px 20px;
}

.page-promotions-daily-cashback__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%; /* Ensure container takes full width on desktop */
  box-sizing: border-box;
}

.page-promotions-daily-cashback__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-promotions-daily-cashback__intro-section .page-promotions-daily-cashback__section-title,
.page-promotions-daily-cashback__applicable-products-section .page-promotions-daily-cashback__section-title,
.page-promotions-daily-cashback__benefits-section .page-promotions-daily-cashback__section-title,
.page-promotions-daily-cashback__cta-section .page-promotions-daily-cashback__section-title {
  color: #26A9E0; /* Brand color for titles on light background */
}

.page-promotions-daily-cashback__how-it-works-section .page-promotions-daily-cashback__section-title,
.page-promotions-daily-cashback__terms-section .page-promotions-daily-cashback__section-title,
.page-promotions-daily-cashback__faq-section .page-promotions-daily-cashback__section-title {
  color: #ffffff; /* White for titles on dark background */
}

.page-promotions-daily-cashback__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions-daily-cashback__text-block--center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-daily-cashback__content-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  min-width: 200px;
  min-height: 200px;
}

/* Grid for How It Works section */
.page-promotions-daily-cashback__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-promotions-daily-cashback__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-promotions-daily-cashback__card:hover {
  transform: translateY(-5px);
}

.page-promotions-daily-cashback__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for card titles */
}

.page-promotions-daily-cashback__card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Product List */
.page-promotions-daily-cashback__product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-daily-cashback__product-item {
  background-color: #f8f8f8; /* Light background for product cards */
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-promotions-daily-cashback__product-item:hover {
  transform: translateY(-5px);
}

.page-promotions-daily-cashback__product-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-daily-cashback__product-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-promotions-daily-cashback__product-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-promotions-daily-cashback__btn-link {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 15px;
  border: 2px solid #26A9E0;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.page-promotions-daily-cashback__btn-link:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Terms & Conditions */
.page-promotions-daily-cashback__terms-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions-daily-cashback__term-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-promotions-daily-cashback__term-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1rem;
}

.page-promotions-daily-cashback__term-list li strong {
  color: #26A9E0; /* Brand color for strong text on dark background */
}

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

.page-promotions-daily-cashback__benefit-card {
  background-color: #f8f8f8;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.page-promotions-daily-cashback__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-daily-cashback__benefit-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-promotions-daily-cashback__benefit-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* FAQ Section */
.page-promotions-daily-cashback__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-promotions-daily-cashback__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for FAQ items on dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions-daily-cashback__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
  background-color: rgba(38, 169, 224, 0.2); /* Slightly darker brand color for summary */
  transition: background-color 0.3s ease;
}

.page-promotions-daily-cashback__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions-daily-cashback__faq-item summary:hover {
  background-color: rgba(38, 169, 224, 0.4);
}

.page-promotions-daily-cashback__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
  color: #ffffff;
}

.page-promotions-daily-cashback__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-promotions-daily-cashback__faq-item[open] .page-promotions-daily-cashback__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions-daily-cashback__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* CTA Section */
.page-promotions-daily-cashback__cta-container {
  text-align: center;
}

.page-promotions-daily-cashback__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Buttons */
.page-promotions-daily-cashback__btn-primary,
.page-promotions-daily-cashback__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-promotions-daily-cashback__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-promotions-daily-cashback__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-promotions-daily-cashback__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions-daily-cashback__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-promotions-daily-cashback {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions-daily-cashback__hero-section {
    padding: 40px 15px;
    min-height: 400px;
  }

  .page-promotions-daily-cashback__main-title {
    font-size: 2rem;
  }

  .page-promotions-daily-cashback__hero-description {
    font-size: 1rem;
  }

  .page-promotions-daily-cashback__intro-section,
  .page-promotions-daily-cashback__how-it-works-section,
  .page-promotions-daily-cashback__applicable-products-section,
  .page-promotions-daily-cashback__terms-section,
  .page-promotions-daily-cashback__benefits-section,
  .page-promotions-daily-cashback__faq-section,
  .page-promotions-daily-cashback__cta-section {
    padding: 40px 15px;
  }

  .page-promotions-daily-cashback__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-promotions-daily-cashback__grid,
  .page-promotions-daily-cashback__product-list,
  .page-promotions-daily-cashback__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-daily-cashback__card,
  .page-promotions-daily-cashback__product-item,
  .page-promotions-daily-cashback__benefit-card {
    padding: 20px;
  }

  .page-promotions-daily-cashback__card-title,
  .page-promotions-daily-cashback__product-title,
  .page-promotions-daily-cashback__benefit-title {
    font-size: 1.3rem;
  }

  /* Mobile image responsiveness */
  .page-promotions-daily-cashback img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-promotions-daily-cashback__hero-image-wrapper,
  .page-promotions-daily-cashback__container,
  .page-promotions-daily-cashback__grid,
  .page-promotions-daily-cashback__product-list,
  .page-promotions-daily-cashback__benefits-grid,
  .page-promotions-daily-cashback__faq-list,
  .page-promotions-daily-cashback__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-promotions-daily-cashback__video-section { /* If video existed, small top padding */
    padding-top: 10px !important;
  }

  /* Mobile button responsiveness */
  .page-promotions-daily-cashback__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions-daily-cashback__btn-primary,
  .page-promotions-daily-cashback__btn-secondary,
  .page-promotions-daily-cashback a[class*="button"],
  .page-promotions-daily-cashback a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-daily-cashback__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-promotions-daily-cashback__faq-answer {
    padding: 15px 20px;
  }
}

/* Specific color overrides for brand colors */
.page-promotions-daily-cashback__dark-bg .page-promotions-daily-cashback__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-promotions-daily-cashback__dark-bg .page-promotions-daily-cashback__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}