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

:root {
  --gg8826-primary-color: #11A84E;
  --gg8826-secondary-color: #22C768;
  --gg8826-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --gg8826-background-color: #08160F;
  --gg8826-card-bg: #11271B;
  --gg8826-text-main: #F2FFF6;
  --gg8826-text-secondary: #A7D9B8;
  --gg8826-border-color: #2E7A4E;
  --gg8826-glow-color: #57E38D;
  --gg8826-gold-color: #F2C14E;
  --gg8826-divider-color: #1E3A2A;
  --gg8826-deep-green: #0A4B2C;
}

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

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

.page-promotions-daily-cashback__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gg8826-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-promotions-daily-cashback__text-block {
  font-size: 18px;
  color: var(--gg8826-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions-daily-cashback__dark-bg {
  background-color: var(--gg8826-background-color);
  color: var(--gg8826-text-main);
}

.page-promotions-daily-cashback__dark-section {
  background-color: var(--gg8826-card-bg);
  color: var(--gg8826-text-main);
  padding: 60px 0;
}

/* Hero Section */
.page-promotions-daily-cashback__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-promotions-daily-cashback__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions-daily-cashback__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-promotions-daily-cashback__hero-content {
  text-align: center;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-promotions-daily-cashback__main-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--gg8826-gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions-daily-cashback__description {
  font-size: 20px;
  color: var(--gg8826-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions-daily-cashback__btn-primary,
.page-promotions-daily-cashback__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-daily-cashback__btn-primary {
  background: var(--gg8826-button-gradient);
  color: #ffffff;
  border: 2px solid var(--gg8826-primary-color);
}

.page-promotions-daily-cashback__btn-primary:hover {
  box-shadow: 0 0 15px var(--gg8826-glow-color);
  transform: translateY(-3px);
}

.page-promotions-daily-cashback__btn-secondary {
  background-color: transparent;
  color: var(--gg8826-gold-color);
  border: 2px solid var(--gg8826-gold-color);
}

.page-promotions-daily-cashback__btn-secondary:hover {
  background-color: var(--gg8826-gold-color);
  color: var(--gg8826-background-color);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

/* Intro Section */
.page-promotions-daily-cashback__intro-section {
  padding: 60px 0;
  background-color: var(--gg8826-card-bg);
}

.page-promotions-daily-cashback__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  object-fit: cover;
  max-width: 100%;
}

/* How It Works Section */
.page-promotions-daily-cashback__how-it-works-section {
  padding: 60px 0;
  background-color: var(--gg8826-background-color);
}

.page-promotions-daily-cashback__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-promotions-daily-cashback__step-item {
  background-color: var(--gg8826-card-bg);
  border: 1px solid var(--gg8826-border-color);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 80px;
}

.page-promotions-daily-cashback__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gg8826-button-gradient);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 20px;
}

.page-promotions-daily-cashback__step-title {
  font-size: 24px;
  color: var(--gg8826-gold-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-promotions-daily-cashback__step-description {
  font-size: 17px;
  color: var(--gg8826-text-secondary);
}

/* Benefits Section */
.page-promotions-daily-cashback__benefits-section {
  padding: 60px 0;
}

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

.page-promotions-daily-cashback__card {
  background-color: var(--gg8826-card-bg);
  border: 1px solid var(--gg8826-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--gg8826-text-main);
}

.page-promotions-daily-cashback__card--benefit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 250px;
}

.page-promotions-daily-cashback__card-title {
  font-size: 24px;
  color: var(--gg8826-gold-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-promotions-daily-cashback__card-text {
  font-size: 17px;
  color: var(--gg8826-text-secondary);
}

/* Eligibility Section */
.page-promotions-daily-cashback__eligibility-section {
  padding: 60px 0;
  background-color: var(--gg8826-background-color);
}

.page-promotions-daily-cashback__terms-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  counter-reset: terms-counter;
}

.page-promotions-daily-cashback__terms-item {
  font-size: 17px;
  color: var(--gg8826-text-secondary);
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-promotions-daily-cashback__terms-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gg8826-primary-color);
  font-weight: bold;
}

/* FAQ Section */
.page-promotions-daily-cashback__faq-section {
  padding: 60px 0;
}

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

.page-promotions-daily-cashback__faq-item {
  background-color: var(--gg8826-card-bg);
  border: 1px solid var(--gg8826-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions-daily-cashback__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  color: var(--gg8826-text-main);
  background-color: var(--gg8826-deep-green);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-promotions-daily-cashback__faq-question:hover {
  background-color: var(--gg8826-primary-color);
}

.page-promotions-daily-cashback__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gg8826-gold-color);
}

.page-promotions-daily-cashback__faq-item[open] .page-promotions-daily-cashback__faq-question {
  border-bottom-color: var(--gg8826-border-color);
}

.page-promotions-daily-cashback__faq-item[open] .page-promotions-daily-cashback__faq-toggle {
  color: var(--gg8826-gold-color);
}

.page-promotions-daily-cashback__faq-answer {
  padding: 20px 25px;
  font-size: 17px;
  color: var(--gg8826-text-secondary);
  text-align: justify;
}

/* Bottom CTA Section */
.page-promotions-daily-cashback__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-daily-cashback__main-title {
    font-size: clamp(32px, 5vw, 50px);
  }
  .page-promotions-daily-cashback__section-title {
    font-size: clamp(26px, 4vw, 38px);
  }
  .page-promotions-daily-cashback__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-promotions-daily-cashback__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions-daily-cashback__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-promotions-daily-cashback__main-title {
    font-size: clamp(28px, 6vw, 40px);
    margin-bottom: 15px;
  }
  .page-promotions-daily-cashback__description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-promotions-daily-cashback__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-promotions-daily-cashback__btn-primary,
  .page-promotions-daily-cashback__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions-daily-cashback__section-title {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 30px;
  }
  .page-promotions-daily-cashback__text-block {
    font-size: 16px;
  }
  .page-promotions-daily-cashback__step-item {
    padding: 20px;
    padding-left: 60px;
  }
  .page-promotions-daily-cashback__step-item::before {
    width: 30px;
    height: 30px;
    font-size: 16px;
    left: 15px;
  }
  .page-promotions-daily-cashback__step-title {
    font-size: 20px;
  }
  .page-promotions-daily-cashback__step-description,
  .page-promotions-daily-cashback__card-text,
  .page-promotions-daily-cashback__terms-item,
  .page-promotions-daily-cashback__faq-answer {
    font-size: 15px;
  }
  .page-promotions-daily-cashback__card {
    padding: 20px;
    min-height: auto;
  }
  .page-promotions-daily-cashback__card-title {
    font-size: 20px;
  }
  .page-promotions-daily-cashback__faq-question {
    font-size: 17px;
    padding: 15px 20px;
  }
  /* All images */
  .page-promotions-daily-cashback img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* All sections/cards/containers with images */
  .page-promotions-daily-cashback__section,
  .page-promotions-daily-cashback__card,
  .page-promotions-daily-cashback__container,
  .page-promotions-daily-cashback__hero-image-wrapper,
  .page-promotions-daily-cashback__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-promotions-daily-cashback__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-promotions-daily-cashback__section-title {
    font-size: clamp(22px, 6vw, 28px);
  }
  .page-promotions-daily-cashback__hero-image-wrapper {
    max-height: 300px;
  }
}