:root {
    /* Custom Colors */
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-card-bg: #11271B;
    --color-background: #08160F; /* This will be applied to body via 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;

    /* Main brand colors for general use if specific custom color is not defined */
    --color-primary: #11A84E;
    --color-secondary: #22C768;
}

.page-promotions {
    background-color: var(--color-background); /* Ensure consistent background, though body handles it */
    color: var(--color-text-main); /* Default text color for the page */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-promotions a {
    color: var(--color-gold); /* Links use gold for visibility */
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--color-deep-green); /* Use a deep green for the hero section background */
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 30px; /* Space between image and text */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1; /* Ensure content is above any background elements */
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
    max-width: 100%;
    width: auto;
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-promotions__btn-secondary:hover {
    background-color: var(--color-glow);
    color: var(--color-background);
}

.page-promotions__section {
    padding: 60px 20px;
    background-color: var(--color-background); /* Dark background */
    color: var(--color-text-main); /* Light text */
}

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

.page-promotions__section-title {
    font-size: 2.2rem;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

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

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

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

.page-promotions__card {
    background-color: var(--color-card-bg); /* Darker green card background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 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__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.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;
}

.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: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-promotions__btn--small {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 6px;
    width: fit-content; /* Adjust button width to content */
    margin-top: auto; /* Push button to bottom if card content varies */
}

.page-promotions__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions__guide-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__guide-item p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.page-promotions__terms-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 30px;
}

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

.page-promotions__terms-item strong {
    color: var(--color-gold);
}

.page-promotions__faq-list {
    margin-top: 30px;
}

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    color: var(--color-gold);
    font-weight: bold;
    user-select: none;
    list-style: none; /* For details/summary */
}

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

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

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or similar for open state */
}

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

.page-promotions__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin inside answer */
}

.page-promotions__section--cta {
    text-align: center;
    padding-bottom: 80px;
}

.page-promotions__cta-buttons--bottom {
    margin-top: 40px;
}

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

/* Ensure no filter is used for images */
.page-promotions img {
    filter: none;
}

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

    .page-promotions__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-promotions__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-promotions__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Constrain buttons on mobile */
        margin: 0 auto;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 0.95rem;
    }
    
    .page-promotions__btn--large {
        font-size: 1rem;
    }

    .page-promotions__section {
        padding: 30px 15px;
    }

    .page-promotions__container {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

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

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

    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__hero-image-wrapper,
    .page-promotions__promotion-grid,
    .page-promotions__card,
    .page-promotions__guide-item,
    .page-promotions__faq-item,
    .page-promotions__cta-buttons--bottom {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }

    .page-promotions__card-image {
        height: auto; /* Allow height to adjust on mobile */
    }

    .page-promotions__card-title {
        font-size: 1.3rem;
    }

    .page-promotions__guide-step-title {
        font-size: 1.15rem;
    }

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

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

    .page-promotions__card {
        padding: 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

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