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

/* Base styles for the page content, ensuring contrast with shared body background */
.page-promotions {
    color: var(--color-text-main); /* Light text for dark background */
    background-color: var(--color-background);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-promotions a {
    color: var(--color-secondary);
    text-decoration: none;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    margin-bottom: 40px;
    background-color: var(--color-deep-green);
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height to prevent image from being too tall */
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__hero-content {
    padding: 20px;
    max-width: 900px;
    margin: 20px auto 40px auto;
    z-index: 1;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-promotions__description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-promotions__section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-promotions__text-block {
    font-size: 1rem;
    color: var(--color-text-main);
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-promotions__promotion-card, .page-promotions__offer-item {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
}

.page-promotions__promotion-card:hover, .page-promotions__offer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions__card-image, .page-promotions__offer-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__card-content, .page-promotions__offer-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-promotions__card-title, .page-promotions__offer-title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions__card-description, .page-promotions__offer-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-button, .page-promotions__offer-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.page-promotions__claim-steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-promotions__step-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 30px;
    color: var(--color-text-main);
}

.page-promotions__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__step-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions-section {
    padding: 60px 0;
}

.page-promotions__terms-list {
    list-style: disc;
    padding-left: 25px;
    color: var(--color-text-main);
    max-width: 900px;
    margin: 20px auto;
}

.page-promotions__terms-item {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

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

.page-promotions__faq-item {
    background-color: var(--color-deep-green);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--color-text-main);
}

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-gold);
    margin-left: 15px;
    line-height: 1;
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.page-promotions__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
}

/* CTA Bottom Section */
.page-promotions__cta-bottom-section {
    text-align: center;
    padding: 60px 0;
    background-color: var(--color-background);
}

.page-promotions__cta-bottom-section .page-promotions__section-title {
    color: var(--color-gold);
}

.page-promotions__cta-bottom-section .page-promotions__text-block {
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--color-text-secondary);
}

.page-promotions__cta-button--large {
    padding: 18px 40px;
    font-size: 1.2rem;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        padding: 15px;
    }
    .page-promotions__main-title {
        font-size: 2.8rem;
    }
    .page-promotions__description {
        font-size: 1rem;
    }
    .page-promotions__promotions-grid, .page-promotions__offers-grid {
        gap: 20px;
    }
    .page-promotions__card-image, .page-promotions__offer-image {
        height: 180px;
    }
    .page-promotions__card-title, .page-promotions__offer-title {
        font-size: 1.3rem;
    }
}

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

    /* Ensure all content containers are responsive */
    .page-promotions__container,
    .page-promotions__hero-content,
    .page-promotions__introduction-section,
    .page-promotions__types-section,
    .page-promotions__exclusive-offers,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-conditions-section,
    .page-promotions__faq-section,
    .page-promotions__cta-bottom-section,
    .page-promotions__promotions-grid,
    .page-promotions__offers-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

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

    .page-promotions__main-title {
        font-size: 2rem !important;
    }

    .page-promotions__section-title {
        font-size: 1.8rem !important;
    }

    /* Images responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-promotions__card-image, .page-promotions__offer-image {
        height: auto !important; /* Allow height to adjust naturally */
    }

    /* Buttons responsive */
    .page-promotions__cta-button,
    .page-promotions__card-button,
    .page-promotions__offer-button,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* If multiple buttons are in a row */
    .page-promotions__cta-buttons,
    .page-promotions__button-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions__promotions-grid, .page-promotions__offers-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__step-item {
        padding-left: 60px;
    }

    .page-promotions__step-item::before {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

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

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

    /* Video responsive (even if not explicitly used, keep rules) */
    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }
    .page-promotions__video-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 1.7rem !important;
    }
    .page-promotions__section-title {
        font-size: 1.6rem !important;
    }
    .page-promotions__cta-button--large {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
    .page-promotions__card-title, .page-promotions__offer-title {
        font-size: 1.2rem;
    }
}