:root {
    --color-primary: #11A84E; /* Main */
    --color-secondary: #22C768; /* Auxiliary */
    --color-bg-main: #08160F; /* Background */
    --color-card-bg: #11271B; /* Card BG */
    --color-text-main: #F2FFF6; /* Text Main */
    --color-text-secondary: #A7D9B8; /* Text Secondary */
    --color-border: #2E7A4E; /* Border */
    --color-glow: #57E38D; /* Glow */
    --color-gold: #F2C14E; /* Gold */
    --color-divider: #1E3A2A; /* Divider */
    --color-deep-green: #0A4B2C; /* Deep Green */
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-promotions {
    background-color: var(--color-bg-main); /* Dark background */
    color: var(--color-text-main); /* Light text for readability */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-promotions__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 */
    padding-bottom: 60px;
    background-color: var(--color-deep-green); /* Fallback/base color */
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none; /* Ensure no filter */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly with image for visual flow, but not on top of it */
    background: var(--color-card-bg); /* Darker background for text contrast */
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
}

.page-promotions__main-title {
    color: var(--color-gold); /* Gold for main title */
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-promotions__hero-description {
    color: var(--color-text-main);
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__card-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow word breaking */
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--btn-gradient);
    color: var(--color-text-main); /* Light text on dark gradient */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--color-primary); /* Brand green text */
    border: 2px solid var(--color-primary);
}

.page-promotions__btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-promotions__section-title {
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: bold;
    line-height: 1.3;
}

.page-promotions__intro-section,
.page-promotions__promo-types,
.page-promotions__terms-section,
.page-promotions__how-to-claim,
.page-promotions__faq-section,
.page-promotions__conclusion-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--color-divider);
}

.page-promotions__intro-section:last-of-type,
.page-promotions__conclusion-section:last-of-type {
    border-bottom: none;
}

.page-promotions__text-block {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    filter: none; /* Ensure no filter */
}

/* Promotion Cards */
.page-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__promo-card {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    filter: none; /* Ensure no filter */
}

.page-promotions__card-title {
    color: var(--color-gold);
    font-size: 1.4em;
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-promotions__card-description {
    color: var(--color-text-secondary);
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-promotions__card-button {
    background: var(--btn-gradient);
    color: var(--color-text-main);
    border: none;
    margin: 15px;
    align-self: center;
    width: calc(100% - 30px);
}

.page-promotions__card-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Terms & Conditions List */
.page-promotions__terms-list,
.page-promotions__steps-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-promotions__terms-list li,
.page-promotions__steps-list li {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions__terms-list li strong,
.page-promotions__steps-list li strong {
    color: var(--color-text-main);
}

.page-promotions__terms-list li::before {
    content: '✓';
    color: var(--color-primary);
    position: absolute;
    left: 15px;
    top: 15px;
    font-weight: bold;
}

.page-promotions__steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    color: var(--color-gold);
    position: absolute;
    left: 15px;
    top: 15px;
    font-weight: bold;
    font-size: 1.2em;
}
.page-promotions__steps-list {
    counter-reset: step-counter;
}


/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 30px;
}

.page-promotions__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    color: var(--color-text-main);
    font-weight: bold;
    font-size: 1.1em;
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: var(--color-deep-green);
}

.page-promotions__faq-qtext {
    flex-grow: 1;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
}

/* For <details> tag, hide default marker */
.page-promotions__faq-item summary {
    list-style: none;
}
.page-promotions__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-promotions__faq-answer {
    padding: 0 20px 15px;
    color: var(--color-text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
}
.page-promotions__faq-answer p {
    margin: 0; /* Reset margin for paragraphs inside answer */
    color: var(--color-text-secondary); /* Ensure text color */
}
.page-promotions__faq-answer a {
    color: var(--color-primary);
    text-decoration: underline;
}
.page-promotions__faq-answer a:hover {
    color: var(--color-gold);
}


/* Conclusion Section */
.page-promotions__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

.page-promotions__cta-buttons--center {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        margin-top: -60px;
        padding: 25px 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important; /* body handles --header-offset */
    }

    .page-promotions__hero-image-wrapper {
        max-height: 400px;
    }

    .page-promotions__hero-content {
        margin-top: -40px;
        padding: 20px 15px;
        max-width: calc(100% - 30px); /* Adjust max-width for padding */
    }

    .page-promotions__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-promotions__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__card-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-promotions__intro-section,
    .page-promotions__promo-types,
    .page-promotions__terms-section,
    .page-promotions__how-to-claim,
    .page-promotions__faq-section,
    .page-promotions__conclusion-section {
        padding: 40px 0;
    }

    .page-promotions__text-block {
        font-size: 0.95em;
    }

    .page-promotions__content-image,
    .page-promotions__hero-image,
    .page-promotions__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        filter: none !important;
    }

    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__card-image {
        height: 180px;
    }

    .page-promotions__terms-list li,
    .page-promotions__steps-list li {
        padding: 12px 15px 12px 35px;
        font-size: 0.9em;
    }
    .page-promotions__terms-list li::before,
    .page-promotions__steps-list li::before {
        left: 10px;
        top: 12px;
    }

    .page-promotions__faq-question {
        padding: 15px;
        font-size: 1em;
    }

    .page-promotions__faq-answer {
        padding: 0 15px 10px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-section {
        padding-bottom: 30px;
    }
    .page-promotions__hero-image-wrapper {
        max-height: 300px;
    }
    .page-promotions__hero-content {
        margin-top: -30px;
        padding: 15px 10px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.3em, 7vw, 2em);
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
}