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

/* Base Styles for the page */
.page-promotions-daily-cashback {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #ffffff; /* Explicitly set for clarity, though shared.css might handle body */
}

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

/* Section Title Styles */
.page-promotions-daily-cashback__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

/* Text Block Styles */
.page-promotions-daily-cashback__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Image Styles */
.page-promotions-daily-cashback__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions-daily-cashback__image-center {
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-promotions-daily-cashback__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-promotions-daily-cashback__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-promotions-daily-cashback__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 2;
}

.page-promotions-daily-cashback__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

.page-promotions-daily-cashback__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
}

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

/* CTA Buttons Group */
.page-promotions-daily-cashback__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Primary Button */
.page-promotions-daily-cashback__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register/Login background color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}

.page-promotions-daily-cashback__btn-primary:hover {
    background-color: #e02020;
    transform: translateY(-3px);
}

/* Secondary Button */
.page-promotions-daily-cashback__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FFFF00;
}

.page-promotions-daily-cashback__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
    transform: translateY(-3px);
}

/* Intro Section */
.page-promotions-daily-cashback__intro-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

/* Benefits Section */
.page-promotions-daily-cashback__benefits-section {
    padding: 80px 0;
    background-color: #017439; /* Brand main color */
    color: #ffffff;
}

.page-promotions-daily-cashback__benefits-section .page-promotions-daily-cashback__section-title {
    color: #ffffff;
}

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

.page-promotions-daily-cashback__benefit-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-promotions-daily-cashback__benefit-card:hover {
    transform: translateY(-5px);
}

.page-promotions-daily-cashback__benefit-card .page-promotions-daily-cashback__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-promotions-daily-cashback__benefit-card .page-promotions-daily-cashback__card-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* How It Works Section */
.page-promotions-daily-cashback__how-it-works-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

.page-promotions-daily-cashback__how-it-works-section .page-promotions-daily-cashback__section-title {
    color: #017439;
}

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

.page-promotions-daily-cashback__step-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: #333333;
}

.page-promotions-daily-cashback__step-card:hover {
    transform: translateY(-5px);
}

.page-promotions-daily-cashback__step-icon {
    font-size: 2.5em;
    font-weight: bold;
    color: #017439;
    margin-bottom: 15px;
    border: 3px solid #017439;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.page-promotions-daily-cashback__step-card .page-promotions-daily-cashback__card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #017439;
}

.page-promotions-daily-cashback__step-card .page-promotions-daily-cashback__card-description {
    font-size: 0.95em;
    color: #555555;
}
.page-promotions-daily-cashback__step-card .page-promotions-daily-cashback__card-description a {
    color: #C30808; /* Use register/login color for links within descriptions */
    text-decoration: underline;
}
.page-promotions-daily-cashback__step-card .page-promotions-daily-cashback__card-description a:hover {
    color: #e02020;
}


/* Eligible Games Section */
.page-promotions-daily-cashback__eligible-games-section {
    padding: 80px 0;
    background-color: #017439;
    color: #ffffff;
}

.page-promotions-daily-cashback__eligible-games-section .page-promotions-daily-cashback__section-title {
    color: #ffffff;
}

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

.page-promotions-daily-cashback__game-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-promotions-daily-cashback__game-item:hover {
    transform: translateY(-5px);
}

.page-promotions-daily-cashback__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promotions-daily-cashback__game-title {
    font-size: 1.4em;
    margin: 15px 0 10px;
    color: #ffffff;
}
.page-promotions-daily-cashback__game-title a {
    color: #ffffff;
    text-decoration: none;
}
.page-promotions-daily-cashback__game-title a:hover {
    text-decoration: underline;
}

.page-promotions-daily-cashback__game-description {
    font-size: 0.95em;
    color: #f0f0f0;
    padding: 0 15px 20px;
}

/* Terms Section */
.page-promotions-daily-cashback__terms-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

.page-promotions-daily-cashback__terms-section .page-promotions-daily-cashback__section-title {
    color: #017439;
}

.page-promotions-daily-cashback__terms-list {
    list-style: disc inside;
    text-align: left;
    max-width: 800px;
    margin: 30px auto;
    padding-left: 20px;
    font-size: 1.1em;
    color: #555555;
}

.page-promotions-daily-cashback__terms-list li {
    margin-bottom: 10px;
}

.page-promotions-daily-cashback__list-highlight {
    color: #017439;
    font-weight: bold;
}
.page-promotions-daily-cashback__terms-section a {
    color: #C30808;
    text-decoration: underline;
}
.page-promotions-daily-cashback__terms-section a:hover {
    color: #e02020;
}


/* Why Choose Section */
.page-promotions-daily-cashback__why-choose-section {
    padding: 80px 0;
    background-color: #017439;
    color: #ffffff;
}

.page-promotions-daily-cashback__why-choose-section .page-promotions-daily-cashback__section-title {
    color: #ffffff;
}

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

.page-promotions-daily-cashback__feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-promotions-daily-cashback__feature-card:hover {
    transform: translateY(-5px);
}

.page-promotions-daily-cashback__feature-card .page-promotions-daily-cashback__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-promotions-daily-cashback__feature-card .page-promotions-daily-cashback__card-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-promotions-daily-cashback__faq-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

.page-promotions-daily-cashback__faq-section .page-promotions-daily-cashback__section-title {
    color: #017439;
}

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

.page-promotions-daily-cashback__faq-item {
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.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: #017439;
    cursor: pointer;
    background-color: #e8f5e9; /* Light green background for questions */
    border-bottom: 1px solid #dcdcdc;
    transition: background-color 0.3s ease;
}

.page-promotions-daily-cashback__faq-question:hover {
    background-color: #d4edda;
}

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

.page-promotions-daily-cashback__faq-item[open] .page-promotions-daily-cashback__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes an 'x' or a minus */
}

.page-promotions-daily-cashback__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #555555;
    background-color: #ffffff;
    border-top: 1px solid #eeeeee;
}
.page-promotions-daily-cashback__faq-answer p {
    margin: 0;
}
.page-promotions-daily-cashback__faq-answer a {
    color: #C30808;
    text-decoration: underline;
}
.page-promotions-daily-cashback__faq-answer a:hover {
    color: #e02020;
}

/* Styling for <details> and <summary> for native accordion */
.page-promotions-daily-cashback__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-promotions-daily-cashback__faq-item summary::-webkit-details-marker {
    display: none; /* For Webkit browsers */
}


/* Final CTA Section */
.page-promotions-daily-cashback__cta-bottom-section {
    padding: 80px 0;
    background-color: #017439;
    color: #ffffff;
    text-align: center;
}

.page-promotions-daily-cashback__cta-bottom-section .page-promotions-daily-cashback__section-title {
    color: #ffffff;
    margin-bottom: 20px;
}

.page-promotions-daily-cashback__cta-bottom-section .page-promotions-daily-cashback__text-block {
    color: #f0f0f0;
    margin-bottom: 40px;
}
.page-promotions-daily-cashback__cta-bottom-section .page-promotions-daily-cashback__text-block a {
    color: #FFFF00;
    text-decoration: underline;
}
.page-promotions-daily-cashback__cta-bottom-section .page-promotions-daily-cashback__text-block a:hover {
    color: #ffffff;
}

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

@media (max-width: 768px) {
    /* Mobile Fixed Header Offset */
    .page-promotions-daily-cashback__hero-section {
        height: 500px; /* Adjust hero height for mobile */
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset is applied */
    }

    .page-promotions-daily-cashback__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-promotions-daily-cashback__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-promotions-daily-cashback__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions-daily-cashback__btn-primary,
    .page-promotions-daily-cashback__btn-secondary {
        width: 100%;
        max-width: 300px; /* Constrain button width on mobile */
        margin: 0 auto;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box;
        white-space: normal; /* Allow text to wrap */
        word-wrap: break-word; /* Ensure long words break */
    }

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

    .page-promotions-daily-cashback__benefits-grid,
    .page-promotions-daily-cashback__steps-grid,
    .page-promotions-daily-cashback__games-grid,
    .page-promotions-daily-cashback__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions-daily-cashback__intro-section,
    .page-promotions-daily-cashback__benefits-section,
    .page-promotions-daily-cashback__how-it-works-section,
    .page-promotions-daily-cashback__eligible-games-section,
    .page-promotions-daily-cashback__terms-section,
    .page-promotions-daily-cashback__why-choose-section,
    .page-promotions-daily-cashback__faq-section,
    .page-promotions-daily-cashback__cta-bottom-section {
        padding: 40px 0;
    }

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

    /* Mobile image and container responsiveness */
    .page-promotions-daily-cashback img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }}