/* style/promotions-daily-rebate-rescue-fund.css */

/* Variables from custom color palette */
:root {
    --big777-primary-color: #11A84E;
    --big777-secondary-color: #22C768;
    --big777-button-gradient-start: #2AD16F;
    --big777-button-gradient-end: #13994A;
    --big777-card-bg: #11271B;
    --big777-background: #08160F;
    --big777-text-main: #F2FFF6;
    --big777-text-secondary: #A7D9B8;
    --big777-border-color: #2E7A4E;
    --big777-glow-color: #57E38D;
    --big777-gold-color: #F2C14E;
    --big777-divider-color: #1E3A2A;
    --big777-deep-green: #0A4B2C;
}

/* Base styles for the page content, assuming body has a dark background from shared.css */
.page-promotions-daily-rebate-rescue-fund {
    color: var(--big777-text-main); /* Light text on dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--big777-background); /* Override if specific background needed */
}

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

.page-promotions-daily-rebate-rescue-fund__section-title {
    font-size: 2.5em;
    color: var(--big777-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-promotions-daily-rebate-rescue-fund__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--big777-text-secondary);
    text-align: justify;
}

/* Hero Section */
.page-promotions-daily-rebate-rescue-fund__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--big777-background);
    overflow: hidden;
}

.page-promotions-daily-rebate-rescue-fund__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-promotions-daily-rebate-rescue-fund__hero-content {
    padding: 40px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--big777-text-main);
}

.page-promotions-daily-rebate-rescue-fund__main-title {
    font-weight: bold;
    color: var(--big777-gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
    /* Using clamp for H1 font size control */
    font-size: clamp(2em, 5vw, 3.2em);
}

.page-promotions-daily-rebate-rescue-fund__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--big777-text-secondary);
}

.page-promotions-daily-rebate-rescue-fund__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-promotions-daily-rebate-rescue-fund__btn-primary,
.page-promotions-daily-rebate-rescue-fund__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions-daily-rebate-rescue-fund__btn-primary {
    background: linear-gradient(180deg, var(--big777-button-gradient-start) 0%, var(--big777-button-gradient-end) 100%);
    color: #ffffff;
    border: none;
}

.page-promotions-daily-rebate-rescue-fund__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-promotions-daily-rebate-rescue-fund__btn-secondary {
    background: transparent;
    color: var(--big777-primary-color);
    border: 2px solid var(--big777-primary-color);
}

.page-promotions-daily-rebate-rescue-fund__btn-secondary:hover {
    background: var(--big777-primary-color);
    color: #ffffff;
}

.page-promotions-daily-rebate-rescue-fund__small-btn {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Section Backgrounds */
.page-promotions-daily-rebate-rescue-fund__light-bg {
    background-color: var(--big777-background);
    color: var(--big777-text-main);
    padding: 60px 0;
}

.page-promotions-daily-rebate-rescue-fund__card-bg {
    background-color: var(--big777-card-bg);
    color: var(--big777-text-main);
    padding: 60px 0;
}

/* Card Styles */
.page-promotions-daily-rebate-rescue-fund__card {
    background-color: var(--big777-card-bg);
    border: 1px solid var(--big777-border-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--big777-text-main);
}

.page-promotions-daily-rebate-rescue-fund__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-promotions-daily-rebate-rescue-fund__card-content {
    width: 100%;
}

.page-promotions-daily-rebate-rescue-fund__card-title {
    font-size: 1.8em;
    color: var(--big777-gold-color);
    margin-bottom: 15px;
}

.page-promotions-daily-rebate-rescue-fund__card p,
.page-promotions-daily-rebate-rescue-fund__card li {
    color: var(--big777-text-secondary);
    text-align: justify;
}

.page-promotions-daily-rebate-rescue-fund__card ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
    text-align: left;
}

.page-promotions-daily-rebate-rescue-fund__card li {
    margin-bottom: 8px;
}

/* Step Cards */
.page-promotions-daily-rebate-rescue-fund__step-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Benefits Grid */
.page-promotions-daily-rebate-rescue-fund__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* List styles */
.page-promotions-daily-rebate-rescue-fund__list {
    list-style-type: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions-daily-rebate-rescue-fund__list li {
    background-color: var(--big777-card-bg);
    border: 1px solid var(--big777-border-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--big777-text-secondary);
}

.page-promotions-daily-rebate-rescue-fund__list-item-title {
    font-weight: bold;
    color: var(--big777-gold-color);
    margin-right: 10px;
    min-width: 120px;
}

/* FAQ Section */
.page-promotions-daily-rebate-rescue-fund__faq-list {
    margin-top: 40px;
}

.page-promotions-daily-rebate-rescue-fund__faq-item {
    background-color: var(--big777-card-bg);
    border: 1px solid var(--big777-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--big777-text-main);
}

.page-promotions-daily-rebate-rescue-fund__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--big777-gold-color);
    user-select: none;
    background-color: var(--big777-deep-green);
    border-bottom: 1px solid var(--big777-border-color);
}

.page-promotions-daily-rebate-rescue-fund__faq-question::-webkit-details-marker {
    display: none;
}

.page-promotions-daily-rebate-rescue-fund__faq-question::marker {
    display: none;
}

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

.page-promotions-daily-rebate-rescue-fund__faq-item[open] .page-promotions-daily-rebate-rescue-fund__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-promotions-daily-rebate-rescue-fund__faq-answer {
    padding: 20px 25px;
    font-size: 1.1em;
    color: var(--big777-text-secondary);
    text-align: justify;
}

/* Conclusion CTA */
.page-promotions-daily-rebate-rescue-fund__conclusion-cta {
    text-align: center;
    padding: 80px 0;
}

.page-promotions-daily-rebate-rescue-fund__conclusion-cta .page-promotions-daily-rebate-rescue-fund__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Image styles - ensure no filter */
.page-promotions-daily-rebate-rescue-fund img {
    filter: none; /* Absolutely no filter effects */
}

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

    .page-promotions-daily-rebate-rescue-fund__main-title {
        font-size: clamp(1.8em, 6vw, 2.8em);
    }
}

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

    .page-promotions-daily-rebate-rescue-fund__hero-content,
    .page-promotions-daily-rebate-rescue-fund__container,
    .page-promotions-daily-rebate-rescue-fund__daily-rebate-section,
    .page-promotions-daily-rebate-rescue-fund__rescue-fund-section,
    .page-promotions-daily-rebate-rescue-fund__how-to-participate,
    .page-promotions-daily-rebate-rescue-fund__terms-conditions,
    .page-promotions-daily-rebate-rescue-fund__benefits-section,
    .page-promotions-daily-rebate-rescue-fund__faq-section,
    .page-promotions-daily-rebate-rescue-fund__conclusion-cta {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions-daily-rebate-rescue-fund__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 40px;
    }

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

    .page-promotions-daily-rebate-rescue-fund__main-title {
        font-size: clamp(1.5em, 7vw, 2.5em);
    }

    .page-promotions-daily-rebate-rescue-fund__hero-description {
        font-size: 1em;
    }

    .page-promotions-daily-rebate-rescue-fund__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions-daily-rebate-rescue-fund__btn-primary,
    .page-promotions-daily-rebate-rescue-fund__btn-secondary {
        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;
    }

    .page-promotions-daily-rebate-rescue-fund__card {
        padding: 20px;
    }

    .page-promotions-daily-rebate-rescue-fund__card-title {
        font-size: 1.5em;
    }

    .page-promotions-daily-rebate-rescue-fund__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-promotions-daily-rebate-rescue-fund img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        filter: none !important; /* Ensure no filter */
    }

    /* All containers with images/videos */
    .page-promotions-daily-rebate-rescue-fund__hero-section,
    .page-promotions-daily-rebate-rescue-fund__daily-rebate-section,
    .page-promotions-daily-rebate-rescue-fund__rescue-fund-section,
    .page-promotions-daily-rebate-rescue-fund__how-to-participate,
    .page-promotions-daily-rebate-rescue-fund__benefits-section,
    .page-promotions-daily-rebate-rescue-fund__card {
        overflow: hidden !important;
    }

    .page-promotions-daily-rebate-rescue-fund__list li {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .page-promotions-daily-rebate-rescue-fund__list-item-title {
        margin-bottom: 5px;
        min-width: unset;
    }
}