.page-promotions-daily-rewards {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

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

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

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

.page-promotions-daily-rewards__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-promotions-daily-rewards__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

/* General Section Styling */
.page-promotions-daily-rewards__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-promotions-daily-rewards__section-title {
    font-size: 2.5em;
    color: #ffffff; /* Default for dark sections */
    text-align: center;
    margin-bottom: 20px;
}

.page-promotions-daily-rewards__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

/* Dark Section */
.page-promotions-daily-rewards__dark-section {
    background-color: #0d0d0d; /* Slightly lighter dark for contrast */
    color: #ffffff;
}

/* Intro Section */
.page-promotions-daily-rewards__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-daily-rewards__benefit-item {
    background: rgba(255, 255, 255, 0.05); /* Semi-transparent white card */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.page-promotions-daily-rewards__benefit-title {
    font-size: 1.8em;
    color: #017439; /* Brand color for emphasis */
    margin-bottom: 15px;
}

.page-promotions-daily-rewards__benefit-description {
    color: #f0f0f0;
}

/* How-To Section */
.page-promotions-daily-rewards__how-to-section {
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-promotions-daily-rewards__how-to-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-promotions-daily-rewards__how-to-steps {
    flex: 1;
    min-width: 300px;
}

.page-promotions-daily-rewards__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.page-promotions-daily-rewards__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #017439;
    min-width: 50px;
    text-align: center;
    line-height: 1;
}

.page-promotions-daily-rewards__step-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 5px;
}

.page-promotions-daily-rewards__step-description {
    color: #f0f0f0;
}

.page-promotions-daily-rewards__how-to-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-rewards__how-to-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Rewards Section */
.page-promotions-daily-rewards__rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-daily-rewards__reward-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.page-promotions-daily-rewards__reward-icon {
    width: 250px; /* Enforce minimum size for images */
    height: 167px; /* Maintain aspect ratio (600x400) */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-promotions-daily-rewards__reward-description {
    color: #f0f0f0;
}

/* Terms Section */
.page-promotions-daily-rewards__terms-section {
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-promotions-daily-rewards__terms-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-promotions-daily-rewards__terms-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-promotions-daily-rewards__terms-item a {
    color: #017439; /* Brand color for links */
    text-decoration: underline;
}

.page-promotions-daily-rewards__terms-item a:hover {
    color: #02a04a; /* Slightly lighter green on hover */
}

/* FAQ Section */
.page-promotions-daily-rewards__faq-section {
    background-color: #0d0d0d;
    color: #ffffff;
}

.page-promotions-daily-rewards__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-promotions-daily-rewards__faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions-daily-rewards__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.03);
    transition: background-color 0.3s ease;
}

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

.page-promotions-daily-rewards__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
}

.page-promotions-daily-rewards__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

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

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

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

/* CTA Section */
.page-promotions-daily-rewards__cta-section {
    background-color: #0a0a0a;
    padding: 60px 20px;
    text-align: center;
    color: #ffffff;
}

.page-promotions-daily-rewards__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Buttons */
.page-promotions-daily-rewards__btn-primary,
.page-promotions-daily-rewards__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;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions-daily-rewards__btn-primary {
    background-color: #C30808; /* Registration/Login color */
    color: #FFFF00; /* Registration/Login font color */
    border: 2px solid #C30808;
}

.page-promotions-daily-rewards__btn-primary:hover {
    background-color: #e00a0a;
    border-color: #e00a0a;
    color: #ffffff;
}

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

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

.page-promotions-daily-rewards__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Links within text */
.page-promotions-daily-rewards__step-description a,
.page-promotions-daily-rewards__terms-item a {
    color: #017439;
    text-decoration: underline;
}
.page-promotions-daily-rewards__step-description a:hover,
.page-promotions-daily-rewards__terms-item a:hover {
    color: #02a04a;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-daily-rewards__hero-title {
        font-size: 3em;
    }
    .page-promotions-daily-rewards__section-title {
        font-size: 2em;
    }
    .page-promotions-daily-rewards__how-to-content {
        flex-direction: column;
    }
    .page-promotions-daily-rewards__how-to-image-wrapper {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-promotions-daily-rewards__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-promotions-daily-rewards__hero-title {
        font-size: 2.2em;
    }
    .page-promotions-daily-rewards__hero-description {
        font-size: 1em;
    }
    .page-promotions-daily-rewards__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions-daily-rewards__btn-primary,
    .page-promotions-daily-rewards__btn-secondary {
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions-daily-rewards__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-promotions-daily-rewards__section-title {
        font-size: 1.8em;
    }
    .page-promotions-daily-rewards__section-intro {
        font-size: 1em;
    }

    .page-promotions-daily-rewards__benefits-grid,
    .page-promotions-daily-rewards__rewards-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions-daily-rewards__how-to-steps {
        min-width: unset;
        width: 100%;
    }

    .page-promotions-daily-rewards__how-to-image-wrapper {
        min-width: unset;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .page-promotions-daily-rewards__how-to-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions-daily-rewards__reward-icon {
        width: 200px !important; /* Minimum size */
        height: 133px !important; /* Maintain aspect ratio (600x400) */
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .page-promotions-daily-rewards__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-promotions-daily-rewards__faq-title {
        font-size: 1.1em;
    }
    .page-promotions-daily-rewards__faq-answer {
        padding: 10px 20px 20px 20px;
    }

    /* Content area image responsive */
    .page-promotions-daily-rewards img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions-daily-rewards__container,
    .page-promotions-daily-rewards__section,
    .page-promotions-daily-rewards__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure content area images are never too small in CSS */
.page-promotions-daily-rewards__how-to-image,
.page-promotions-daily-rewards__reward-icon {
    min-width: 200px;
    min-height: 133px;
}

/* Smart contrast for dark background */
.page-promotions-daily-rewards {
    color: #ffffff;
}
.page-promotions-daily-rewards__dark-bg {
    color: #ffffff;
    background: #017439;
}
.page-promotions-daily-rewards__light-bg {
    color: #333333;
    background: #ffffff;
}
.page-promotions-daily-rewards__medium-bg {
    color: #000000;
    background: #FFFFFF;
}

/* Critical area contrast enforcement for dark body background */
.page-promotions-daily-rewards__content-area,
.page-promotions-daily-rewards__text-block {
    color: #ffffff; /* Light text for dark body */
    background: transparent; /* No specific background, let body handle */
}

.page-promotions-daily-rewards p,
.page-promotions-daily-rewards li {
    color: #f0f0f0; /* Slightly off-white for readability */
}

.page-promotions-daily-rewards__card {
    background: rgba(255, 255, 255, 0.05); /* Semi-transparent white background */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions-daily-rewards__dark-section {
    background: #0d0d0d; /* Slightly different dark */
    color: #ffffff;
}