:root {
    --primary-color: #017439; /* Main brand green */
    --secondary-color: #FFFFFF; /* Auxiliary white */
    --register-login-bg: #C30808; /* Red for register/login buttons */
    --safe-text-on-dark-bg: #FFFFFF; /* WCAG AA compliant text on dark backgrounds */
    --safe-text-on-light-bg: #333333; /* WCAG AA compliant text on light backgrounds */
    --body-bg-color: #FFFFFF; /* From shared.css */
    --border-color-light: #e0e0e0;
}

.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--safe-text-on-light-bg); /* Default text color for light body background */
    background-color: var(--body-bg-color);
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-promotions__hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-promotions__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 2;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: var(--safe-text-on-dark-bg);
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--safe-text-on-dark-bg);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--safe-text-on-dark-bg);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background-color: var(--register-login-bg); /* Using custom color for main CTA */
    color: var(--safe-text-on-dark-bg); /* Ensuring WCAG AA contrast */
    border: 2px solid var(--register-login-bg);
}

.page-promotions__btn-primary:hover {
    background-color: #a40707; /* Darker red */
    border-color: #a40707;
}

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

.page-promotions__btn-secondary:hover {
    background-color: #016331; /* Darker green */
    color: var(--safe-text-on-dark-bg);
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
}

.page-promotions__section-subtitle {
    font-size: 1.2em;
    color: var(--safe-text-on-light-bg);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Latest Promotions */
.page-promotions__latest-promos {
    padding: 60px 0;
    background-color: var(--body-bg-color);
}

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

.page-promotions__promo-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-promotions__promo-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin: 0 20px 10px;
}

.page-promotions__promo-description {
    font-size: 1em;
    color: var(--safe-text-on-light-bg);
    margin: 0 20px 20px;
    flex-grow: 1;
}

/* How to Claim */
.page-promotions__how-to-claim {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--safe-text-on-dark-bg);
}

.page-promotions__how-to-claim .page-promotions__section-title,
.page-promotions__how-to-claim .page-promotions__section-subtitle {
    color: var(--safe-text-on-dark-bg);
}

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

.page-promotions__step-item {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.page-promotions__step-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    padding: 10px;
}

.page-promotions__step-title {
    font-size: 1.5em;
    color: var(--safe-text-on-dark-bg);
    margin-bottom: 10px;
}

.page-promotions__step-description {
    font-size: 0.95em;
    color: var(--safe-text-on-dark-bg);
}

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

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* For responsiveness */
}

/* Special Events */
.page-promotions__special-events {
    padding: 80px 0;
    background-color: var(--body-bg-color);
}

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

.page-promotions__event-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__event-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-promotions__event-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin: 0 20px 10px;
}

.page-promotions__event-description {
    font-size: 0.95em;
    color: var(--safe-text-on-light-bg);
    margin: 0 20px 20px;
    flex-grow: 1;
}

/* VIP Program */
.page-promotions__vip-program {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--safe-text-on-dark-bg);
}

.page-promotions__vip-program .page-promotions__section-title,
.page-promotions__vip-program .page-promotions__section-subtitle {
    color: var(--safe-text-on-dark-bg);
}

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

.page-promotions__vip-feature {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.page-promotions__vip-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    padding: 10px;
}

.page-promotions__vip-feature-title {
    font-size: 1.4em;
    color: var(--safe-text-on-dark-bg);
    margin-bottom: 10px;
}

.page-promotions__vip-feature-description {
    font-size: 0.9em;
    color: var(--safe-text-on-dark-bg);
}

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

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

.page-promotions__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.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(--primary-color);
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--border-color-light);
}

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

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    padding: 15px 25px;
    font-size: 1em;
    color: var(--safe-text-on-light-bg);
}

/* Final CTA Section */
.page-promotions__cta-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--safe-text-on-dark-bg);
}

.page-promotions__cta-section .page-promotions__section-title,
.page-promotions__cta-section .page-promotions__section-subtitle {
    color: var(--safe-text-on-dark-bg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 3em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__section-subtitle {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-promotions__hero-title {
        font-size: 2.5em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        margin: 10px 0 !important; /* Stack buttons on mobile */
        width: 100% !important; /* Full width buttons */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px; /* Add padding to prevent overflow */
    }

    .page-promotions__promo-grid,
    .page-promotions__steps-grid,
    .page-promotions__event-cards,
    .page-promotions__vip-features {
        grid-template-columns: 1fr;
    }

    .page-promotions__container {
        padding: 20px 15px; /* Add padding to prevent overflow */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    /* Video responsiveness (if any, though none currently) */
    .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;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

/* Ensure content area images are not too small */
.page-promotions__promo-image,
.page-promotions__step-icon,
.page-promotions__event-image,
.page-promotions__vip-icon {
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}