/* style/promotions-daily-rewards.css */
/* 
  Body padding-top is handled by shared.css var(--header-offset).
  This page should not add duplicate padding-top to main content sections.
*/
.page-promotions-daily-rewards {
  font-family: Arial, sans-serif;
  color: var(--text-main-color, #FFF6D6); /* Default text color from custom palette */
  background-color: var(--background-color-main, #0A0A0A); /* Default background from custom palette */
  line-height: 1.6;
}

.page-promotions-daily-rewards__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
  box-sizing: border-box;
  overflow: hidden; /* Ensure no overflow */
}

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

.page-promotions-daily-rewards__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the area */
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-promotions-daily-rewards__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
  border-radius: 10px;
}

.page-promotions-daily-rewards__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: var(--text-main-color, #FFF6D6);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-daily-rewards__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-daily-rewards__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.page-promotions-daily-rewards__btn-primary,
.page-promotions-daily-rewards__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions-daily-rewards__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button color */
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-promotions-daily-rewards__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-promotions-daily-rewards__btn-secondary {
  background: transparent;
  color: var(--text-main-color, #FFF6D6);
  border: 2px solid var(--border-color, #3A2A12); /* Custom border color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-rewards__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: var(--primary-color, #F2C14E);
}

.page-promotions-daily-rewards__cta-buttons--center {
  margin-top: 40px;
}

/* General Section Styles */
.page-promotions-daily-rewards__section {
  padding: 80px 20px;
  box-sizing: border-box;
}

.page-promotions-daily-rewards__introduction,
.page-promotions-daily-rewards__cashback,
.page-promotions-daily-rewards__tips,
.page-promotions-daily-rewards__cta-final {
  background-color: var(--background-color-main, #0A0A0A); /* Dark background */
  color: var(--text-main-color, #FFF6D6);
}

.page-promotions-daily-rewards__daily-offers,
.page-promotions-daily-rewards__how-to-get,
.page-promotions-daily-rewards__faq {
  background-color: var(--card-bg-color, #111111); /* Slightly lighter dark background */
  color: var(--text-main-color, #FFF6D6);
}

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

.page-promotions-daily-rewards__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--primary-color, #F2C14E); /* Primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-rewards__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-promotions-daily-rewards__text-block strong {
  color: var(--primary-color, #F2C14E);
}

.page-promotions-daily-rewards__text-block a {
  color: var(--secondary-color, #FFD36B);
  text-decoration: underline;
}

/* Card Grid Styles */
.page-promotions-daily-rewards__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-daily-rewards__card {
  background: var(--card-bg-color, #111111); /* Custom card background */
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px; /* Ensure consistent card height */
  box-sizing: border-box;
}

.page-promotions-daily-rewards__card--light-bg {
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter card for contrast */
  color: var(--text-main-color, #FFF6D6);
}

.page-promotions-daily-rewards__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions-daily-rewards__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
}

.page-promotions-daily-rewards__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color, #F2C14E);
  margin-bottom: 15px;
}

.page-promotions-daily-rewards__card-description {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-promotions-daily-rewards__card-link {
  display: inline-block;
  background: var(--secondary-color, #FFD36B); /* Secondary color for card links */
  color: #111111;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-promotions-daily-rewards__card-link:hover {
  background: var(--primary-color, #F2C14E);
  transform: translateY(-1px);
}

/* Steps List Styles */
.page-promotions-daily-rewards__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions-daily-rewards__step-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-promotions-daily-rewards__step-title {
  font-size: 1.4rem;
  color: var(--secondary-color, #FFD36B);
  margin-bottom: 10px;
}

.page-promotions-daily-rewards__step-item p {
  font-size: 1rem;
  color: #e0e0e0;
}

.page-promotions-daily-rewards__step-item a {
  color: var(--primary-color, #F2C14E);
  text-decoration: underline;
}

/* Tips List Styles */
.page-promotions-daily-rewards__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-promotions-daily-rewards__tips-item {
  background: var(--card-bg-color, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-rewards__tips-title {
  font-size: 1.3rem;
  color: var(--secondary-color, #FFD36B);
  margin-bottom: 10px;
}

.page-promotions-daily-rewards__tips-item p {
  font-size: 1rem;
  color: #e0e0e0;
}

/* FAQ Styles */
.page-promotions-daily-rewards__faq-list {
  margin-top: 40px;
}

.page-promotions-daily-rewards__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions-daily-rewards__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color, #F2C14E);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.3s ease;
  list-style: none; /* Hide default marker */
}

.page-promotions-daily-rewards__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-promotions-daily-rewards__faq-item summary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.page-promotions-daily-rewards__faq-qtext {
  flex-grow: 1;
}

.page-promotions-daily-rewards__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--secondary-color, #FFD36B);
}

.page-promotions-daily-rewards__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #e0e0e0;
  border-top: 1px solid var(--border-color, #3A2A12);
}

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

  .page-promotions-daily-rewards__hero-section {
    padding: 10px 15px 40px;
  }

  .page-promotions-daily-rewards__hero-content {
    padding: 20px 15px;
  }

  .page-promotions-daily-rewards__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-promotions-daily-rewards__subtitle {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    margin-bottom: 25px;
  }

  .page-promotions-daily-rewards__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-promotions-daily-rewards__btn-primary,
  .page-promotions-daily-rewards__btn-secondary {
    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;
    min-width: unset;
  }

  .page-promotions-daily-rewards__section {
    padding: 40px 15px;
  }

  .page-promotions-daily-rewards__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-promotions-daily-rewards__text-block {
    font-size: 1rem;
  }

  .page-promotions-daily-rewards__cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-daily-rewards__card {
    min-height: unset; /* Allow cards to adjust height */
    padding: 20px;
  }

  .page-promotions-daily-rewards__card-image {
    height: 180px;
  }

  .page-promotions-daily-rewards__card-title {
    font-size: 1.3rem;
  }

  .page-promotions-daily-rewards__card-description {
    font-size: 0.95rem;
  }

  .page-promotions-daily-rewards__steps-list,
  .page-promotions-daily-rewards__tips-list {
    margin-top: 30px;
    gap: 20px;
  }

  .page-promotions-daily-rewards__step-title,
  .page-promotions-daily-rewards__tips-title {
    font-size: 1.2rem;
  }

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

  .page-promotions-daily-rewards__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }

  /* Image, video, and container responsiveness */
  .page-promotions-daily-rewards img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions-daily-rewards video,
  .page-promotions-daily-rewards__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions-daily-rewards__section,
  .page-promotions-daily-rewards__card,
  .page-promotions-daily-rewards__container,
  .page-promotions-daily-rewards__video-section,
  .page-promotions-daily-rewards__video-container,
  .page-promotions-daily-rewards__video-wrapper,
  .page-promotions-daily-rewards__cta-buttons,
  .page-promotions-daily-rewards__button-group,
  .page-promotions-daily-rewards__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-promotions-daily-rewards__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-promotions-daily-rewards__hero-content {
      padding-left: 15px;
      padding-right: 15px;
  }
  
  /* For button groups that are flexed horizontally on desktop */
  .page-promotions-daily-rewards__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }
}

/* Color Contrast Enforcement */
/* Inherited from body, but explicitly set for key elements if needed */
.page-promotions-daily-rewards__dark-bg {
  background-color: var(--card-bg-color, #111111);
  color: var(--text-main-color, #FFF6D6);
}

.page-promotions-daily-rewards__light-bg {
  background-color: var(--background-color-main, #0A0A0A); /* In this context, lighter than the other dark bg */
  color: var(--text-main-color, #FFF6D6);
}

/* Ensure link colors have enough contrast */
.page-promotions-daily-rewards a {
    color: var(--secondary-color, #FFD36B); /* Use brighter secondary color for links */
}
.page-promotions-daily-rewards a:hover {
    color: var(--primary-color, #F2C14E);
}