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

/* Custom Colors */
:root {
    --page-bg: #08160F; /* Background */
    --card-bg: #11271B; /* Card BG */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --button-gradient-start: #2AD16F;
    --button-gradient-end: #13994A;
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
}

.page-promotions-daily-cashback {
    background-color: var(--page-bg);
    color: var(--text-main); /* Dark background, so light text */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-promotions-daily-cashback__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Enforce image on top, text below */
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, body handles header-offset */
    overflow: hidden;
    background-color: var(--deep-green); /* Fallback background for hero */
}

.page-promotions-daily-cashback__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Ensure image wrapper does not exceed typical hero width */
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-promotions-daily-cashback__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1; /* Ensure content is above any potential background layers */
}

.page-promotions-daily-cashback__main-title {
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.2;
    /* No fixed font-size, rely on clamp for responsiveness if needed, but not strictly required by prompt */
    /* Example for clamp: font-size: clamp(2.5rem, 5vw, 3.5rem); */
}

.page-promotions-daily-cashback__hero-description {
    font-size: 1.1em;
    color: var(--text-main);
    margin-bottom: 30px;
}

.page-promotions-daily-cashback__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 500px; /* Limit width for aesthetics */
    margin: 0 auto;
    box-sizing: border-box;
}

/* General Button Styles */
.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: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-promotions-daily-cashback__btn-primary {
    background: linear-gradient(180deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: var(--text-main); /* White text on dark button */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-promotions-daily-cashback__btn-secondary {
    background-color: transparent;
    color: var(--button-gradient-start); /* Use brand color for text */
    border: 2px solid var(--button-gradient-end);
}

.page-promotions-daily-cashback__btn-secondary:hover {
    background-color: var(--button-gradient-end);
    color: var(--text-main);
    transform: translateY(-2px);
}

.page-promotions-daily-cashback__btn-primary--large,
.page-promotions-daily-cashback__btn-secondary--large {
    padding: 18px 35px;
    font-size: 1.1em;
}

/* Section Titles */
.page-promotions-daily-cashback__section-title {
    font-size: 2.2em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    font-weight: bold;
}

.page-promotions-daily-cashback__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-promotions-daily-cashback__text-block strong {
    color: var(--gold-color);
}

.page-promotions-daily-cashback__text-block a {
    color: var(--button-gradient-start);
    text-decoration: underline;
}
.page-promotions-daily-cashback__text-block a:hover {
    color: var(--glow-color);
}

/* Grid Layouts */
.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: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--text-main); /* Ensure text is light on dark card */
}

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

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

.page-promotions-daily-cashback__card-description {
    color: var(--text-secondary);
}

.page-promotions-daily-cashback__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    object-fit: cover;
    max-width: 800px; /* Limit width for content images */
}

/* List Styles */
.page-promotions-daily-cashback__list,
.page-promotions-daily-cashback__ordered-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-promotions-daily-cashback__list-item {
    background-color: var(--card-bg);
    border: 1px solid var(--divider-color);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--text-main);
    font-size: 1.05em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-promotions-daily-cashback__list-item strong {
    color: var(--gold-color);
    margin-right: 10px;
}

.page-promotions-daily-cashback__list-item::before {
    content: '•'; /* Custom bullet for unordered list */
    color: var(--button-gradient-start);
    font-size: 1.5em;
    line-height: 1;
    margin-right: 15px;
    transform: translateY(-2px);
}
.page-promotions-daily-cashback__ordered-list .page-promotions-daily-cashback__list-item::before {
    content: counter(list-item) "."; /* Custom number for ordered list */
    counter-increment: list-item;
    color: var(--button-gradient-start);
    font-size: 1.2em;
    font-weight: bold;
    margin-right: 15px;
    min-width: 25px; /* Ensure number doesn't wrap */
    text-align: right;
}

/* Dark Section */
.page-promotions-daily-cashback__dark-section {
    background-color: var(--deep-green);
    padding: 60px 0;
    color: var(--text-main);
}

.page-promotions-daily-cashback__dark-section .page-promotions-daily-cashback__section-title {
    color: var(--gold-color);
}

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

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

.page-promotions-daily-cashback__benefit-description {
    color: var(--text-secondary);
}

/* Step-by-step Guide */
.page-promotions-daily-cashback__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-promotions-daily-cashback__step-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

.page-promotions-daily-cashback__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: var(--text-main);
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 0 15px var(--glow-color);
}

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

.page-promotions-daily-cashback__step-description {
    color: var(--text-secondary);
}

.page-promotions-daily-cashback__cta-center {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

/* FAQ Section */
.page-promotions-daily-cashback__faq-section {
    padding: 60px 0;
    background-color: var(--page-bg);
}

.page-promotions-daily-cashback__faq-list {
    margin-top: 40px;
}

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

.page-promotions-daily-cashback__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.15em;
    color: var(--text-main);
    transition: background-color 0.3s ease;
}

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

.page-promotions-daily-cashback__faq-item summary:hover {
    background-color: var(--deep-green);
}

.page-promotions-daily-cashback__faq-qtext {
    color: var(--text-main);
}

.page-promotions-daily-cashback__faq-toggle {
    font-size: 1.5em;
    color: var(--button-gradient-start);
    line-height: 1;
    margin-left: 15px;
}

.page-promotions-daily-cashback__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: var(--text-secondary);
    border-top: 1px solid var(--divider-color);
}

.page-promotions-daily-cashback__faq-item[open] .page-promotions-daily-cashback__faq-answer {
    padding-top: 20px;
}

.page-promotions-daily-cashback__faq-answer p {
    margin-bottom: 0;
}

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

.page-promotions-daily-cashback__cta-final-section .page-promotions-daily-cashback__section-title {
    margin-top: 0;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-daily-cashback__main-title {
        font-size: 2.8em;
    }
    .page-promotions-daily-cashback__section-title {
        font-size: 1.8em;
    }
    .page-promotions-daily-cashback__hero-image-wrapper {
        margin-bottom: 20px;
    }
}

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

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

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

    .page-promotions-daily-cashback__hero-content {
        padding: 0 15px;
    }

    .page-promotions-daily-cashback__main-title {
        font-size: 2.2em; /* Adjusted for mobile, still large */
        margin-bottom: 15px;
    }

    .page-promotions-daily-cashback__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-promotions-daily-cashback__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        width: 100%;
        padding: 0 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; /* Add padding for content inside button */
        padding-right: 15px;
    }

    .page-promotions-daily-cashback__container,
    .page-promotions-daily-cashback__section,
    .page-promotions-daily-cashback__card,
    .page-promotions-daily-cashback__grid,
    .page-promotions-daily-cashback__list,
    .page-promotions-daily-cashback__ordered-list,
    .page-promotions-daily-cashback__step-by-step,
    .page-promotions-daily-cashback__faq-list {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-promotions-daily-cashback__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

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

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

    .page-promotions-daily-cashback__content-image {
        margin: 30px auto;
    }

    .page-promotions-daily-cashback img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    .page-promotions-daily-cashback video,
    .page-promotions-daily-cashback__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions-daily-cashback__video-section,
    .page-promotions-daily-cashback__video-container,
    .page-promotions-daily-cashback__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

/* Color Contrast Fixes (as per prompt) */
/* If body is dark, text is light (already set in .page-promotions-daily-cashback) */
/* Ensure specific elements maintain contrast */
.page-promotions-daily-cashback__content-area,
.page-promotions-daily-cashback__text-block {
  color: var(--text-main); /* Ensure contrast on default page background */
}

.page-promotions-daily-cashback p,
.page-promotions-daily-cashback li {
  color: var(--text-main);
}

.page-promotions-daily-cashback__dark-section {
  background: var(--deep-green); /* Example: using Deep Green for a dark section */
  color: var(--text-main); /* White text on this dark background */
}

.page-promotions-daily-cashback__btn-primary {
  background: linear-gradient(180deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
  color: var(--text-main); /* White text on dark button */
}

.page-promotions-daily-cashback__btn-secondary {
  background: transparent;
  color: var(--button-gradient-start); /* Green text on dark background */
  border-color: var(--button-gradient-end); /* Darker green border */
}
/* Ensure hover states also maintain contrast */
.page-promotions-daily-cashback__btn-secondary:hover {
    background-color: var(--button-gradient-end);
    color: var(--text-main);
}

.page-promotions-daily-cashback__faq-item summary {
    color: var(--text-main); /* Ensure question text is light */
}