:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;

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

/* style/promotions.css */

/* --- Base Styles --- */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-secondary); /* Default text color, will be #A7D9B8 on dark background */
    background-color: var(--background-color); /* #08160F */
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--text-main); /* Default for dark sections */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-promotions__section-title--light {
    color: var(--text-main); /* Ensure light text on dark background */
}

.page-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-secondary); /* Default for dark sections */
    text-align: justify;
}

.page-promotions__text-block--light {
    color: var(--text-secondary); /* Ensure light text on dark background */
}

.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;
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

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

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--glow); /* #57E38D */
    border: 2px solid var(--glow); /* #57E38D */
}

.page-promotions__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background-color: var(--background-color); /* #08160F */
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

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

.page-promotions__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
    color: var(--gold); /* #F2C14E */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__description {
    font-size: 1.2em;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* --- Intro Section --- */
.page-promotions__intro-section {
    background-color: var(--card-bg); /* #11271B */
    padding: 60px 0;
    color: var(--text-secondary);
}

/* --- Types Section --- */
.page-promotions__types-section {
    background-color: var(--background-color); /* #08160F */
    padding: 60px 0;
}

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

.page-promotions__promotion-card {
    background-color: var(--card-bg); /* #11271B */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-promotions__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__card-title {
    font-size: 1.5em;
    color: var(--text-main); /* #F2FFF6 */
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-promotions__card-description {
    font-size: 1em;
    color: var(--text-secondary); /* #A7D9B8 */
    padding: 0 20px 20px;
    flex-grow: 1; /* Pushes button to bottom */
}

.page-promotions__card-button {
    margin: 0 20px 20px;
}

/* --- Terms Section --- */
.page-promotions__terms-section {
    background-color: var(--card-bg); /* #11271B */
    padding: 60px 0;
    color: var(--text-secondary);
}

.page-promotions__terms-list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-promotions__terms-list li {
    margin-bottom: 10px;
}

/* --- How to Join Section --- */
.page-promotions__how-to-join-section {
    background-color: var(--background-color); /* #08160F */
    padding: 60px 0;
}

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

.page-promotions__step-card {
    background-color: var(--card-bg); /* #11271B */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    color: var(--text-secondary);
    border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-promotions__step-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    display: block;
}

.page-promotions__step-title {
    font-size: 1.3em;
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 10px;
    padding: 0 15px;
    font-weight: bold;
}

.page-promotions__step-description {
    font-size: 0.95em;
    color: var(--text-secondary); /* #A7D9B8 */
    padding: 0 15px;
}

.page-promotions__cta-bottom {
    text-align: center;
}

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

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

.page-promotions__faq-item {
    background-color: var(--deep-green); /* #0A4B2C */
    border: 1px solid var(--divider); /* #1E3A2A */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-promotions__faq-item[open] {
    background-color: var(--deep-green); /* #0A4B2C */
    border-color: var(--glow); /* #57E38D */
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--text-main); /* #F2FFF6 */
    cursor: pointer;
    list-style: none; /* Remove default marker */
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--glow); /* #57E38D */
    transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: var(--text-secondary); /* #A7D9B8 */
}

.page-promotions__faq-answer p {
    margin-bottom: 10px;
}

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

.page-promotions__cta-container {
    max-width: 900px;
}

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

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

    .page-promotions__promotions-grid,
    .page-promotions__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .page-promotions__container {
        padding: 0 15px; /* Add padding for content containers */
    }

    .page-promotions__hero-section {
        padding-bottom: 30px;
    }

    .page-promotions__hero-content {
        padding: 0 15px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em) !important; /* Ensure smaller H1 on mobile */
        margin-bottom: 15px;
    }

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

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Ensure buttons have side padding */
    }

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

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

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

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

    .page-promotions__promotion-card,
    .page-promotions__step-card {
        padding-bottom: 15px;
    }

    .page-promotions__card-title,
    .page-promotions__step-title {
        font-size: 1.3em;
    }

    .page-promotions__card-description,
    .page-promotions__step-description {
        font-size: 0.95em;
    }

    .page-promotions__card-image,
    .page-promotions__step-image {
        height: 160px; /* Adjust height for mobile */
    }

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

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

    /* All images responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important; /* Ensure image takes full width of container */
        height: auto !important;
        display: block !important;
    }
    
    /* All containing elements for images/videos/buttons */
    .page-promotions__hero-image-wrapper,
    .page-promotions__intro-section,
    .page-promotions__types-section,
    .page-promotions__terms-section,
    .page-promotions__how-to-join-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section,
    .page-promotions__promotion-card,
    .page-promotions__step-card,
    .page-promotions__cta-buttons,
    .page-promotions__button-group, /* If exists */
    .page-promotions__btn-container /* If exists */
    {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent overflow */
        /* Padding handled by .page-promotions__container for main content */
    }

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