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

/* Base styles for the page content */
.page-promotions-daily-cashback {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color from custom palette */
  background-color: var(--background); /* Default background color from custom palette */
}

.page-promotions-daily-cashback__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions-daily-cashback__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions-daily-cashback__section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--text-main);
  line-height: 1.2;
}

.page-promotions-daily-cashback__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--text-main);
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-daily-cashback__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-daily-cashback__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-main);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Custom color palette application */
.page-promotions-daily-cashback__dark-bg {
  background-color: var(--background); /* #08160F */
  color: var(--text-main); /* #F2FFF6 */
}

.page-promotions-daily-cashback__light-bg {
  background-color: #11271B; /* Card BG, acting as a lighter background in this dark theme */
  color: var(--text-main); /* #F2FFF6 */
}

/* Hero Section */
.page-promotions-daily-cashback__hero-section {
  position: relative;
  padding: 10px 0 60px 0; /* Small top padding, no var(--header-offset) */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 600px;
}

.page-promotions-daily-cashback__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height to prevent excessive image size */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and content */
}

.page-promotions-daily-cashback__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-cashback__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

/* CTA Button */
.page-promotions-daily-cashback__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-daily-cashback__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-cashback__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* List styles */
.page-promotions-daily-cashback__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
}

.page-promotions-daily-cashback__list-item {
  background-color: var(--card-b-g); /* #11271B */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-daily-cashback__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-cashback__list-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--gold); /* #F2C14E */
  margin-bottom: 15px;
}

.page-promotions-daily-cashback__list-text {
  color: var(--text-secondary); /* #A7D9B8 */
  font-size: 1em;
}

/* How-to-claim steps */
.page-promotions-daily-cashback__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
}

.page-promotions-daily-cashback__step-item {
  background-color: var(--card-b-g); /* #11271B */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-cashback__step-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--gold); /* #F2C14E */
  margin-bottom: 10px;
}

.page-promotions-daily-cashback__step-text {
  color: var(--text-secondary); /* #A7D9B8 */
  font-size: 1em;
}

/* Images in content areas */
.page-promotions-daily-cashback__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

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

.page-promotions-daily-cashback__faq-item {
  background-color: var(--card-b-g); /* #11271B */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions-daily-cashback__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main); /* #F2FFF6 */
  cursor: pointer;
  background-color: var(--deep-green); /* #0A4B2C */
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-promotions-daily-cashback__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold); /* #F2C14E */
}

.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: 1.1em;
  color: var(--text-secondary); /* #A7D9B8 */
  border-top: 1px solid var(--divider); /* #1E3A2A */
}

/* CTA Banner */
.page-promotions-daily-cashback__cta-banner {
  background-color: var(--deep-green); /* #0A4B2C */
  padding: 80px 0;
}

.page-promotions-daily-cashback__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-daily-cashback__section-title {
    font-size: 2.2em;
  }

  .page-promotions-daily-cashback__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-promotions-daily-cashback__list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-promotions-daily-cashback__section {
    padding: 40px 0;
  }

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

  .page-promotions-daily-cashback__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-promotions-daily-cashback__description,
  .page-promotions-daily-cashback__text-block,
  .page-promotions-daily-cashback__list-text,
  .page-promotions-daily-cashback__step-text,
  .page-promotions-daily-cashback__faq-answer p {
    font-size: 0.95em;
  }

  .page-promotions-daily-cashback__hero-section {
    padding-bottom: 40px;
  }

  .page-promotions-daily-cashback__hero-image-wrapper {
    margin-bottom: 30px;
  }

  .page-promotions-daily-cashback__list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-promotions-daily-cashback__list-item,
  .page-promotions-daily-cashback__step-item,
  .page-promotions-daily-cashback__faq-item {
    padding: 20px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-promotions-daily-cashback__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
    width: 100% !important; /* Force full width for buttons */
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-daily-cashback__cta-buttons,
  .page-promotions-daily-cashback__button-group,
  .page-promotions-daily-cashback__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-promotions-daily-cashback__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-promotions-daily-cashback__image {
    margin-left: 15px;
    margin-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions-daily-cashback__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all content containers are responsive */
  .page-promotions-daily-cashback__section,
  .page-promotions-daily-cashback__card,
  .page-promotions-daily-cashback__container,
  .page-promotions-daily-cashback__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-daily-cashback__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-promotions-daily-cashback__faq-answer {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-promotions-daily-cashback__cta-banner {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .page-promotions-daily-cashback__section-title {
    font-size: 1.5em;
  }

  .page-promotions-daily-cashback__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }

  .page-promotions-daily-cashback__list-title {
    font-size: 1.3em;
  }

  .page-promotions-daily-cashback__step-title {
    font-size: 1.2em;
  }
}