:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --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;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--color-deep-green);
    border-bottom: 2px solid var(--color-border);
}

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

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

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

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Use clamp for h1 */
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-text-link {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Important for button responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main); /* White-ish text on green gradient */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

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

.page-promotions__btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-background);
    transform: translateY(-2px);
}

.page-promotions__btn-text-link {
    background: none;
    border: none;
    color: var(--color-gold);
    padding: 0;
    margin: 0;
    text-decoration: underline;
    font-size: 1rem;
    font-weight: normal;
}

.page-promotions__btn-text-link:hover {
    color: var(--color-secondary);
}

.page-promotions__btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* General Sections */
.page-promotions__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px dashed var(--color-divider);
}

.page-promotions__section:last-of-type {
    border-bottom: none;
}

.page-promotions__section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(34, 199, 104, 0.3);
}

.page-promotions__text-block {
    margin-bottom: 30px;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
}

.page-promotions__text-block p {
    margin-bottom: 15px;
}

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

.page-promotions__text-block a:hover {
    color: var(--color-glow);
}

.page-promotions__feature-list,
.page-promotions__info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-promotions__feature-list li,
.page-promotions__info-list li {
    background-color: var(--color-card-bg); /* Darker card background */
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__feature-list li::before,
.page-promotions__info-list li::before {
    content: '✅';
    margin-right: 10px;
    font-size: 1.2em;
}

.page-promotions__list-highlight {
    color: var(--color-gold);
}

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

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

.page-promotions__promotion-card:hover {
    transform: translateY(-5px);
}

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

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

.page-promotions__card-title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

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

/* How to Claim Section */
.page-promotions__step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-promotions__step-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--color-border);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    min-width: 40px; /* Ensure number doesn't shrink */
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: bold;
    margin-right: 20px;
    box-shadow: 0 2px 8px rgba(34, 199, 104, 0.3);
}

.page-promotions__step-content {
    flex-grow: 1;
}

.page-promotions__step-title {
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 8px;
    font-weight: bold;
}

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

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

.page-promotions__step-description a:hover {
    color: var(--color-glow);
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container does not overflow */
    box-sizing: border-box;
    overflow: hidden;
}

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

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-gold);
    cursor: pointer;
    background-color: var(--color-deep-green); /* Slightly darker for contrast */
    border-bottom: 1px solid var(--color-border);
    list-style: none; /* For details/summary */
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom: 1px solid var(--color-divider);
}

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

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

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Change + to X or rotate */
}

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

/* Join Us CTA */
.page-promotions__join-us-cta {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive Design */
/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        padding: 0 15px;
    }

    .page-promotions__main-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .page-promotions__description {
        font-size: 1.05rem;
    }

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

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .page-promotions__btn-large {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
}

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

    /* HERO Section */
    .page-promotions__hero-section {
        padding-top: 10px !important; /* Small top padding, no var(--header-offset) */
        padding-bottom: 40px;
    }

    .page-promotions__hero-image-wrapper {
        max-height: 300px; /* Adjust image height for mobile */
        margin-bottom: 30px;
    }
    
    .page-promotions__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem); /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }

    .page-promotions__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    /* General Sections */
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

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

    /* Promotion Cards */
    .page-promotions__promotions-grid {
        grid-template-columns: 1fr; /* Single column for cards */
        gap: 20px;
    }

    .page-promotions__promotion-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left: 15px; */ /* Removed as content padding handles this for card */
        /* padding-right: 15px; */
    }
    
    .page-promotions__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: 180px !important; /* Adjust height */
    }

    .page-promotions__card-content {
        padding: 20px;
    }

    .page-promotions__card-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .page-promotions__card-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    /* How to Claim Steps */
    .page-promotions__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .page-promotions__step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .page-promotions__step-title {
        font-size: 1.2rem;
    }

    .page-promotions__step-description {
        font-size: 0.9rem;
    }

    /* CTA Buttons (Mobile) */
    .page-promotions__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .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;
        margin-left: 0 !important; /* Remove margin for stacked buttons */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__btn-large {
        font-size: 1.1rem;
        padding: 15px 25px;
    }

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

    .page-promotions__faq-answer {
        font-size: 0.95rem;
        padding: 15px 20px;
    }
}