:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-promotions-daily-rebate-rules {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Main text color for dark background */
    background-color: var(--background-color); /* Body background from shared.css, this is for main content area */
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for the first section, body padding-top handles header offset */
}

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

.page-promotions-daily-rebate-rules__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions-daily-rebate-rules__dark-section {
    background-color: var(--deep-green); /* A darker green for contrast */
    color: var(--text-main);
}

.page-promotions-daily-rebate-rules__section-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--gold-color); /* Use gold for prominent titles */
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* subtle glow */
}

.page-promotions-daily-rebate-rules__text-block {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-promotions-daily-rebate-rules__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 60px; /* Ensure space below image content */
    background-color: var(--background-color); /* Match body background */
}

.page-promotions-daily-rebate-rules__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for aesthetic */
    overflow: hidden;
}

.page-promotions-daily-rebate-rules__hero-image {
    width: 1200px; /* Display width */
    height: 675px; /* Display height */
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-promotions-daily-rebate-rules__hero-content {
    max-width: 900px;
    padding: 40px 20px 0;
    text-align: center;
    z-index: 1; /* Ensure content is above any potential background layers */
}

.page-promotions-daily-rebate-rules__main-title {
    font-size: clamp(32px, 4.5vw, 60px); /* H1 title using clamp */
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
}

.page-promotions-daily-rebate-rules__description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-daily-rebate-rules__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width for wrapping */
}

.page-promotions-daily-rebate-rules__btn-primary,
.page-promotions-daily-rebate-rules__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-promotions-daily-rebate-rules__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions-daily-rebate-rules__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

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

.page-promotions-daily-rebate-rules__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Image styles */
.page-promotions-daily-rebate-rules__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions-daily-rebate-rules__benefit-card,
.page-promotions-daily-rebate-rules__tip-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    color: var(--text-main);
}

.page-promotions-daily-rebate-rules__benefit-card:hover,
.page-promotions-daily-rebate-rules__tip-card:hover {
    transform: translateY(-5px);
}

.page-promotions-daily-rebate-rules__card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-promotions-daily-rebate-rules__card-text {
    font-size: 16px;
    color: var(--text-secondary);
}

/* List styles */
.page-promotions-daily-rebate-rules__list,
.page-promotions-daily-rebate-rules__steps-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
}

.page-promotions-daily-rebate-rules__list-item {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    font-size: 17px;
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-daily-rebate-rules__list-item a {
    color: var(--gold-color);
    text-decoration: none;
}
.page-promotions-daily-rebate-rules__list-item a:hover {
    text-decoration: underline;
}

/* How to Claim Section */
.page-promotions-daily-rebate-rules__step-item {
    background-color: var(--card-bg);
    margin-bottom: 25px;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.page-promotions-daily-rebate-rules__step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-promotions-daily-rebate-rules__step-text {
    font-size: 16px;
    color: var(--text-secondary);
}

.page-promotions-daily-rebate-rules__step-text a {
    color: var(--gold-color);
    text-decoration: none;
}
.page-promotions-daily-rebate-rules__step-text a:hover {
    text-decoration: underline;
}

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

.page-promotions-daily-rebate-rules__faq-item {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-main);
}

.page-promotions-daily-rebate-rules__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--gold-color);
    user-select: none;
}

.page-promotions-daily-rebate-rules__faq-question::-webkit-details-marker {
    display: none;
}
.page-promotions-daily-rebate-rules__faq-item summary {
    list-style: none;
}

.page-promotions-daily-rebate-rules__faq-toggle {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-promotions-daily-rebate-rules__faq-item[open] .page-promotions-daily-rebate-rules__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-promotions-daily-rebate-rules__faq-answer {
    padding: 0 20px 20px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.page-promotions-daily-rebate-rules__faq-answer p {
    margin: 0;
}
.page-promotions-daily-rebate-rules__faq-answer a {
    color: var(--gold-color);
    text-decoration: none;
}
.page-promotions-daily-rebate-rules__faq-answer a:hover {
    text-decoration: underline;
}

/* Call to Action Bottom */
.page-promotions-daily-rebate-rules__cta-bottom {
    padding-bottom: 80px;
}

.page-promotions-daily-rebate-rules__text-center {
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions-daily-rebate-rules__hero-image {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-promotions-daily-rebate-rules {
        font-size: 16px;
        line-height: 1.6;
        padding-top: 10px !important; /* body padding-top handles header offset */
    }

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

    .page-promotions-daily-rebate-rules__hero-image {
        max-height: 400px;
    }

    .page-promotions-daily-rebate-rules__hero-content {
        padding: 30px 15px 0;
    }

    .page-promotions-daily-rebate-rules__main-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }

    .page-promotions-daily-rebate-rules__description {
        font-size: 18px;
        margin-bottom: 30px;
    }

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

    .page-promotions-daily-rebate-rules__btn-primary,
    .page-promotions-daily-rebate-rules__btn-secondary {
        width: 100% !important; /* Force full width */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions-daily-rebate-rules__container,
    .page-promotions-daily-rebate-rules__section,
    .page-promotions-daily-rebate-rules__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-promotions-daily-rebate-rules__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-promotions-daily-rebate-rules__benefits-grid,
    .page-promotions-daily-rebate-rules__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions-daily-rebate-rules__card-title {
        font-size: 20px;
    }

    .page-promotions-daily-rebate-rules__list-item,
    .page-promotions-daily-rebate-rules__step-item,
    .page-promotions-daily-rebate-rules__faq-question,
    .page-promotions-daily-rebate-rules__faq-answer {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .page-promotions-daily-rebate-rules__main-title {
        font-size: clamp(24px, 10vw, 36px);
    }
    .page-promotions-daily-rebate-rules__description {
        font-size: 16px;
    }
    .page-promotions-daily-rebate-rules__section-title {
        font-size: clamp(24px, 6vw, 36px);
    }
}