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

.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--text-color-main); /* Default text color for the page */
    background-color: var(--bg-color-primary); /* Base background for main content */
    line-height: 1.6;
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--text-color-main);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-promotions__section-description {
    font-size: 1.1em;
    color: var(--text-color-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background-color: var(--deep-green-color);
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-promotions__hero-content {
    position: relative; /* Ensure content is above any potential background elements */
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

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

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

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%;
}

.page-promotions__cta-button--primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__cta-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-promotions__cta-button--secondary {
    background: transparent;
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
    margin-left: 15px;
}

.page-promotions__cta-button--secondary:hover {
    background: var(--glow-color);
    color: var(--bg-color-primary);
}

/* Why Choose Section */
.page-promotions__why-choose-section {
    padding: 80px 0;
    background-color: var(--card-bg-color);
}

.page-promotions__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__feature-item {
    background-color: var(--deep-green-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-promotions__feature-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-promotions__feature-text {
    font-size: 1em;
    color: var(--text-color-secondary);
}

/* Current Offers Section */
.page-promotions__current-offers-section {
    padding: 80px 0;
    background-color: var(--bg-color-primary);
}

.page-promotions__offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__offer-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.page-promotions__offer-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promotions__offer-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__offer-title {
    font-size: 1.4em;
    color: var(--text-color-main);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__offer-description {
    font-size: 0.95em;
    color: var(--text-color-secondary);
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
    background-color: var(--deep-green-color);
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions__step-item {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-promotions__step-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-promotions__step-text {
    font-size: 0.95em;
    color: var(--text-color-secondary);
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions-section {
    padding: 80px 0;
    background-color: var(--bg-color-primary);
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions__term-item {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-promotions__term-title {
    font-size: 1.3em;
    color: var(--text-color-main);
    margin-bottom: 10px;
}

.page-promotions__term-text {
    font-size: 0.95em;
    color: var(--text-color-secondary);
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: var(--card-bg-color);
}

.page-promotions__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--text-color-main);
    cursor: pointer;
    background-color: var(--deep-green-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none;
}

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an 'x' or minus */
}

.page-promotions__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--text-color-secondary);
    line-height: 1.6;
    max-height: 0; /* For custom JS accordion */
    overflow: hidden; /* For custom JS accordion */
    transition: max-height 0.3s ease-out; /* For custom JS accordion */
}

/* For <details> native behavior, override max-height */
.page-promotions__faq-item[open] .page-promotions__faq-answer {
    max-height: 1000px; /* Sufficiently large to show content */
    padding-top: 10px;
}


/* Download App CTA Section */
.page-promotions__download-app-cta {
    padding: 80px 0;
    background-color: var(--deep-green-color);
    text-align: center;
}

.page-promotions__download-app-cta .page-promotions__container {
    display: flex;
    flex-direction: row; /* Desktop: image left, content right */
    align-items: center;
    gap: 40px;
    background-color: var(--card-bg-color);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-promotions__download-image {
    width: 40%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    display: block;
}

.page-promotions__download-content {
    width: 60%;
    text-align: left;
}

.page-promotions__download-content .page-promotions__section-title {
    text-align: left;
    font-size: 2em;
    margin-bottom: 15px;
}

.page-promotions__download-content .page-promotions__section-description {
    text-align: left;
    margin-bottom: 30px;
    max-width: none;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-promotions__section-title {
        font-size: 2em;
    }

    .page-promotions__download-app-cta .page-promotions__container {
        flex-direction: column;
        text-align: center;
    }

    .page-promotions__download-image {
        width: 60%;
        margin-bottom: 30px;
    }

    .page-promotions__download-content {
        width: 100%;
        text-align: center;
    }

    .page-promotions__download-content .page-promotions__section-title,
    .page-promotions__download-content .page-promotions__section-description {
        text-align: center;
    }
}

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

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

    .page-promotions__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-promotions__hero-section {
        padding: 10px 0 40px 0;
    }

    .page-promotions__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }

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

    .page-promotions__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-promotions__cta-button {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important; /* Remove margin for single column */
        margin-bottom: 10px; /* Add vertical space between buttons */
    }
    .page-promotions__cta-button:last-child {
        margin-bottom: 0;
    }

    .page-promotions__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px;
    }
    .page-promotions__cta-buttons .page-promotions__cta-button {
        margin: 0 !important; /* Reset specific button margins */
    }


    .page-promotions__why-choose-section,
    .page-promotions__current-offers-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-conditions-section,
    .page-promotions__faq-section,
    .page-promotions__download-app-cta {
        padding: 40px 0;
    }

    .page-promotions__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-promotions__features-grid,
    .page-promotions__offers-grid,
    .page-promotions__steps-list,
    .page-promotions__terms-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    .page-promotions__faq-answer {
        padding: 0 20px 15px 20px;
    }

    .page-promotions__download-app-cta .page-promotions__container {
        padding: 30px 15px;
    }

    .page-promotions__download-image {
        width: 80%;
        margin-bottom: 20px;
    }

    .page-promotions__download-content .page-promotions__section-title {
        font-size: 1.8em;
    }

    /* All images must be responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-promotions__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}