/* 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: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a1a; /* Slightly lighter than body for sections, but still dark */
}

/* Container for consistent content width */
.page-promotions-daily-cashback__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

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

.page-promotions-daily-cashback__dark-bg {
    background-color: #121212; /* Match body background for consistency */
    color: #ffffff;
}

.page-promotions-daily-cashback__light-bg {
    background-color: #262626; /* Dark grey for contrasting sections */
    color: #ffffff;
}

/* Hero Section */
.page-promotions-daily-cashback__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    padding-bottom: 80px;
    background-color: #121212;
    overflow: hidden;
}

.page-promotions-daily-cashback__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3; /* Subtle background image */
}

.page-promotions-daily-cashback__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image for text readability */
}

.page-promotions-daily-cashback__hero-section .page-promotions-daily-cashback__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px; /* Ensure hero section has height */
    text-align: center;
}

.page-promotions-daily-cashback__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-daily-cashback__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    color: #f0f0f0;
}

/* General Headings */
.page-promotions-daily-cashback__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #26A9E0; /* Brand color for main titles */
    font-weight: bold;
    text-align: center;
}

.page-promotions-daily-cashback__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
    font-weight: bold;
}

/* Paragraphs */
.page-promotions-daily-cashback__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* Links within text */
.page-promotions-daily-cashback__paragraph a,
.page-promotions-daily-cashback__list-item a,
.page-promotions-daily-cashback__card-title a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-promotions-daily-cashback__paragraph a:hover,
.page-promotions-daily-cashback__list-item a:hover,
.page-promotions-daily-cashback__card-title a:hover {
    color: #EA7C07; /* Login color on hover for emphasis */
}

/* Buttons */
.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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-promotions-daily-cashback__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-promotions-daily-cashback__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-promotions-daily-cashback__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-promotions-daily-cashback__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Image styling */
.page-promotions-daily-cashback__image {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    margin: 40px auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Grid for steps */
.page-promotions-daily-cashback__steps-grid,
.page-promotions-daily-cashback__features-grid,
.page-promotions-daily-cashback__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-promotions-daily-cashback__step-card,
.page-promotions-daily-cashback__feature-card,
.page-promotions-daily-cashback__promo-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions-daily-cashback__step-card .page-promotions-daily-cashback__card-title,
.page-promotions-daily-cashback__feature-card .page-promotions-daily-cashback__card-title {
    color: #ffffff; /* White title for dark cards */
}

.page-promotions-daily-cashback__step-card .page-promotions-daily-cashback__card-text,
.page-promotions-daily-cashback__feature-card .page-promotions-daily-cashback__card-text {
    color: #e0e0e0;
}

.page-promotions-daily-cashback__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* List styling */
.page-promotions-daily-cashback__list {
    list-style: none;
    padding: 0;
    margin: 20px auto 40px auto;
    max-width: 900px;
    text-align: left;
}

.page-promotions-daily-cashback__list-item {
    background-color: rgba(255, 255, 255, 0.03);
    border-left: 4px solid #26A9E0;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 1.05em;
    color: #e0e0e0;
}

/* CTA Section */
.page-promotions-daily-cashback__cta-box {
    background-color: #26A9E0; /* Brand color background for CTA */
    color: #ffffff;
    padding: 50px;
    border-radius: 15px;
    margin-top: 60px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions-daily-cashback__cta-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.page-promotions-daily-cashback__cta-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-daily-cashback__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

.page-promotions-daily-cashback__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-promotions-daily-cashback__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

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

.page-promotions-daily-cashback__faq-qtext {
    flex-grow: 1;
    color: #ffffff;
}

.page-promotions-daily-cashback__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

/* Details element specific styling */
.page-promotions-daily-cashback__faq-item[open] .page-promotions-daily-cashback__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X or minus */
}
.page-promotions-daily-cashback__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-promotions-daily-cashback__faq-item summary {
    list-style: none;
}


.page-promotions-daily-cashback__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: #e0e0e0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

@media (max-width: 768px) {
    /* Mobile image responsiveness */
    .page-promotions-daily-cashback img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions-daily-cashback__section,
    .page-promotions-daily-cashback__container,
    .page-promotions-daily-cashback__cta-box,
    .page-promotions-daily-cashback__step-card,
    .page-promotions-daily-cashback__feature-card,
    .page-promotions-daily-cashback__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll for containers */
    }
    
    .page-promotions-daily-cashback__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
        padding-left: 0;
        padding-right: 0;
    }

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

    .page-promotions-daily-cashback__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

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

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

    .page-promotions-daily-cashback__paragraph {
        font-size: 1em;
        text-align: left;
    }

    /* Button responsiveness */
    .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;
        padding-right: 15px;
        margin-bottom: 15px; /* Add space between stacked buttons */
    }

    .page-promotions-daily-cashback__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }
    
    .page-promotions-daily-cashback__cta-box {
        padding: 30px 15px;
    }

    .page-promotions-daily-cashback__cta-title {
        font-size: 1.8em;
    }

    .page-promotions-daily-cashback__steps-grid,
    .page-promotions-daily-cashback__features-grid,
    .page-promotions-daily-cashback__promotions-grid {
        grid-template-columns: 1fr;
    }
    
    .page-promotions-daily-cashback__image {
        max-width: 100%;
    }
}