/* style/promotions-daily-cashback.css */
.page-promotions-daily-cashback {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
}

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

.page-promotions-daily-cashback__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-promotions-daily-cashback__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-promotions-daily-cashback__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
}

.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-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

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

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

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions-daily-cashback__btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

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

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

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

.page-promotions-daily-cashback__section {
    padding: 60px 0;
}

.page-promotions-daily-cashback__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-promotions-daily-cashback__dark-bg .page-promotions-daily-cashback__section-title {
    color: #ffffff;
}

.page-promotions-daily-cashback__light-bg .page-promotions-daily-cashback__section-title {
    color: #017439;
}

.page-promotions-daily-cashback__content-area {
    font-size: 1.1em;
    margin-top: 20px;
}

.page-promotions-daily-cashback__paragraph {
    margin-bottom: 20px;
}

.page-promotions-daily-cashback__dark-bg .page-promotions-daily-cashback__paragraph {
    color: #f0f0f0;
}

.page-promotions-daily-cashback__light-bg .page-promotions-daily-cashback__paragraph {
    color: #333333;
}

.page-promotions-daily-cashback__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions-daily-cashback__full-width-image {
    width: 100%;
    max-width: 100%;
    height: auto;
}

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

.page-promotions-daily-cashback__card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions-daily-cashback__light-bg .page-promotions-daily-cashback__card {
    background-color: #f9f9f9;
    color: #333333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-promotions-daily-cashback__light-bg .page-promotions-daily-cashback__card-title {
    color: #017439;
}

.page-promotions-daily-cashback__card-text {
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-promotions-daily-cashback__list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.page-promotions-daily-cashback__list-item {
    margin-bottom: 8px;
}

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

.page-promotions-daily-cashback__feature-card {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333333;
    display: flex;
    flex-direction: column;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions-daily-cashback__feature-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #017439;
}

.page-promotions-daily-cashback__feature-text {
    flex-grow: 1;
}

.page-promotions-daily-cashback__center-text {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

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

.page-promotions-daily-cashback__game-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions-daily-cashback__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions-daily-cashback__game-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #FFFF00;
    padding: 0 15px;
}

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

.page-promotions-daily-cashback__btn-link {
    display: inline-block;
    background-color: #C30808;
    color: #FFFF00;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push to bottom */
    align-self: center;
}

.page-promotions-daily-cashback__btn-link:hover {
    background-color: #a00606;
}

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

.page-promotions-daily-cashback__terms-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333333;
    display: flex;
    flex-direction: column;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions-daily-cashback__terms-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439;
}

.page-promotions-daily-cashback__terms-text {
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-promotions-daily-cashback__faq-list {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
}

.page-promotions-daily-cashback__faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
}

.page-promotions-daily-cashback__faq-item:last-child {
    border-bottom: none;
}

.page-promotions-daily-cashback__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    transition: color 0.3s ease;
}

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

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

.page-promotions-daily-cashback__faq-item.active .page-promotions-daily-cashback__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions-daily-cashback__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

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

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

.page-promotions-daily-cashback__cta-section {
    text-align: center;
    padding: 80px 0;
}

.page-promotions-daily-cashback__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #017439;
}

.page-promotions-daily-cashback__cta-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #333333;
}

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

    .page-promotions-daily-cashback__section-title {
        font-size: 2em;
    }

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

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

    .page-promotions-daily-cashback__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        min-height: 500px;
    }

    .page-promotions-daily-cashback__hero-title {
        font-size: 2em;
    }

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

    .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% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

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

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

    .page-promotions-daily-cashback__content-area,
    .page-promotions-daily-cashback__grid-layout,
    .page-promotions-daily-cashback__feature-grid,
    .page-promotions-daily-cashback__game-categories,
    .page-promotions-daily-cashback__terms-conditions,
    .page-promotions-daily-cashback__faq-list {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .page-promotions-daily-cashback__image,
    .page-promotions-daily-cashback__game-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-promotions-daily-cashback__card,
    .page-promotions-daily-cashback__feature-card,
    .page-promotions-daily-cashback__game-card,
    .page-promotions-daily-cashback__terms-card {
        padding: 20px;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-promotions-daily-cashback__card-title,
    .page-promotions-daily-cashback__feature-title,
    .page-promotions-daily-cashback__game-title,
    .page-promotions-daily-cashback__terms-title {
        font-size: 1.3em;
    }

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

    .page-promotions-daily-cashback__cta-description {
        font-size: 1em;
    }

    .page-promotions-daily-cashback__faq-question {
        font-size: 1em;
    }

    .page-promotions-daily-cashback__faq-answer {
        padding: 0 10px;
    }

    .page-promotions-daily-cashback__faq-item.active .page-promotions-daily-cashback__faq-answer {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .page-promotions-daily-cashback__hero-title {
        font-size: 1.8em;
    }
    .page-promotions-daily-cashback__section-title {
        font-size: 1.6em;
    }
    .page-promotions-daily-cashback__cta-title {
        font-size: 1.8em;
    }
}