:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --background-color: #0A0A0A; /* Body background */
    --card-bg-color: #111111;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --glow-color: #FFD36B;
    --white-text: #ffffff;
    --dark-text: #333333;
}

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

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

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

.page-promo-daily-cashback__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for aesthetic */
    margin-bottom: 30px; /* Space between image and text */
}

.page-promo-daily-cashback__hero-content {
    max-width: 900px;
    padding: 0 20px;
    position: relative; /* Ensure content is in normal flow, not overlapping image */
    z-index: 1;
    color: var(--text-main-color);
}

.page-promo-daily-cashback__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Glow effect */
}

.page-promo-daily-cashback__hero-description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: 30px;
    color: var(--text-main-color);
}

/* Section common styles */
.page-promo-daily-cashback__section {
    padding: 60px 0;
}

.page-promo-daily-cashback__dark-section {
    background-color: var(--card-bg-color); /* Darker background for contrast */
}

.page-promo-daily-cashback__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-promo-daily-cashback__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-main-color);
    text-align: justify;
}

.page-promo-daily-cashback__text-block a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promo-daily-cashback__text-block a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promo-daily-cashback__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.text-highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Buttons */
.page-promo-daily-cashback__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-promo-daily-cashback__btn-primary,
.page-promo-daily-cashback__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-promo-daily-cashback__btn-primary {
    background: var(--button-gradient);
    color: var(--white-text);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-promo-daily-cashback__btn-primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
    transform: translateY(-2px);
}

.page-promo-daily-cashback__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(255, 211, 107, 0.2);
}

.page-promo-daily-cashback__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-text); /* Ensure contrast on hover */
    box-shadow: 0 6px 15px rgba(255, 211, 107, 0.4);
    transform: translateY(-2px);
}

/* Lists */
.page-promo-daily-cashback__numbered-list,
.page-promo-daily-cashback__bullet-list {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-promo-daily-cashback__numbered-list li,
.page-promo-daily-cashback__bullet-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--text-main-color);
}

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

.page-promo-daily-cashback__feature-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promo-daily-cashback__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-promo-daily-cashback__feature-description {
    font-size: 1em;
    color: var(--text-main-color);
}

.page-promo-daily-cashback__feature-description a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-promo-daily-cashback__feature-description a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-promo-daily-cashback__faq-list {
    margin-top: 40px;
}

.page-promo-daily-cashback__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promo-daily-cashback__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-promo-daily-cashback__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-promo-daily-cashback__faq-title {
    font-size: 1.2em;
    color: var(--primary-color);
    margin: 0;
}

.page-promo-daily-cashback__faq-toggle {
    font-size: 1.5em;
    color: var(--secondary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-promo-daily-cashback__faq-item.active .page-promo-daily-cashback__faq-toggle {
    transform: rotate(45deg); /* Plus to X for active state, JS changes to minus */
}

.page-promo-daily-cashback__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-main-color);
}

.page-promo-daily-cashback__faq-item.active .page-promo-daily-cashback__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 20px;
}

.page-promo-daily-cashback__faq-text {
    margin-bottom: 0;
    color: var(--text-main-color);
}

.page-promo-daily-cashback__faq-text a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-promo-daily-cashback__faq-text a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promo-daily-cashback__hero-image {
        max-height: 500px;
    }

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

    .page-promo-daily-cashback__hero-description {
        font-size: clamp(0.9em, 1.8vw, 1.1em);
    }

    .page-promo-daily-cashback__section-title {
        font-size: clamp(1.6em, 3.5vw, 2.4em);
    }
}

@media (max-width: 768px) {
    .page-promo-daily-cashback__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important; /* Ensure small top padding, body handles header offset */
    }
    
    .page-promo-daily-cashback__hero-image {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-promo-daily-cashback__main-title {
        font-size: 2.2em; /* Fixed size for mobile to prevent being too small */
        line-height: 1.3;
    }

    .page-promo-daily-cashback__hero-description {
        font-size: 1em;
    }

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

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

    .page-promo-daily-cashback__text-block,
    .page-promo-daily-cashback__numbered-list li,
    .page-promo-daily-cashback__bullet-list li,
    .page-promo-daily-cashback__feature-description,
    .page-promo-daily-cashback__faq-text {
        font-size: 1em;
    }

    /* Mobile Image Responsiveness */
    .page-promo-daily-cashback img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    /* Mobile Button Responsiveness */
    .page-promo-daily-cashback__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-promo-daily-cashback__btn-primary,
    .page-promo-daily-cashback__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Containers and sections for mobile padding */
    .page-promo-daily-cashback__section,
    .page-promo-daily-cashback__card,
    .page-promo-daily-cashback__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promo-daily-cashback__feature-list {
        grid-template-columns: 1fr; /* Single column for features */
    }

    .page-promo-daily-cashback__faq-question {
        padding: 15px;
    }

    .page-promo-daily-cashback__faq-title {
        font-size: 1.1em;
    }

    .page-promo-daily-cashback__faq-answer {
        padding: 10px 15px;
    }
    
    .page-promo-daily-cashback__faq-item.active .page-promo-daily-cashback__faq-answer {
        padding: 10px 15px !important;
    }
}