:root {
    --color-primary: #11A84E; /* Main */
    --color-secondary: #22C768; /* Auxiliary */
    --color-button-gradient-top: #2AD16F;
    --color-button-gradient-bottom: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F; /* Body background from shared.css */
    --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 {
    background-color: var(--color-background); /* Ensure consistency with body background */
    color: var(--color-text-main); /* Light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Base styles for all sections */
.page-promotions__section-title {
    font-size: clamp(2em, 5vw, 2.5em); /* H1 font size constraint, apply to H2 for consistency */
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

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

.page-promotions__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--color-text-secondary);
}

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

.page-promotions__highlight {
    color: var(--color-gold);
    font-weight: bold;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent; /* Base border */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-top) 0%, var(--color-button-gradient-bottom) 100%);
    color: var(--color-text-main); /* Light text on dark button */
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
}

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

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

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
    background-color: var(--color-deep-green); /* Fallback background */
}

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

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

.page-promotions__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-promotions__main-title {
    font-size: clamp(2.5em, 6vw, 3.5em); /* H1 font size with clamp */
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-promotions__hero-description {
    font-size: 1.2em;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Overview Section */
.page-promotions__overview-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

/* Categories Section */
.page-promotions__categories-section {
    padding: 80px 0;
    background-color: var(--color-deep-green);
}

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

.page-promotions__promotion-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__card-image {
    width: 100%; /* Card images must be large */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space */
}

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

.page-promotions__card-description {
    color: var(--color-text-secondary);
    font-size: 1em;
    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(--color-background);
}

.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-promotions__step-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--color-border);
}

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

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

.page-promotions__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

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

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-promotions__faq-item[open] {
    background-color: var(--color-deep-green); /* Slightly darker when open */
    border-color: var(--color-primary);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-card-bg);
    border-radius: 8px; /* For summary, ensure it has rounded corners */
}
.page-promotions__faq-question:hover {
    color: var(--color-gold);
}

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

/* Hide default marker for details/summary */
.page-promotions__faq-item summary {
    list-style: none;
}
.page-promotions__faq-item summary::-webkit-details-marker {
    display: none;
}

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

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

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--color-text-secondary);
    background-color: var(--color-card-bg); /* Match background for answer */
    border-top: 1px solid var(--color-divider);
    border-radius: 0 0 8px 8px;
}
.page-promotions__faq-answer p {
    margin: 0;
}
.page-promotions__faq-answer a {
    color: var(--color-glow);
    text-decoration: none;
}
.page-promotions__faq-answer a:hover {
    text-decoration: underline;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-image-wrapper {
        max-height: 400px;
    }
    .page-promotions__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-bottom: 40px;
    }
    .page-promotions__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 30px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 300px; /* Constrain for better mobile stacking */
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-promotions__section-title {
        font-size: clamp(1.8em, 6vw, 2.2em);
        margin-bottom: 30px;
    }

    .page-promotions__overview-section,
    .page-promotions__categories-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__faq-section {
        padding: 40px 0;
    }

    .page-promotions__promotions-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-promotions__promotion-card,
    .page-promotions__step-card,
    .page-promotions__faq-item {
        padding: 20px;
    }

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

    /* Mobile image responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-section,
    .page-promotions__promotions-grid,
    .page-promotions__steps-grid,
    .page-promotions__faq-list,
    .page-promotions__cta-buttons {
        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__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}