:root {
    /* Custom Colors */
    --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;

    /* Shared values from body padding-top */
    --header-offset: 80px; /* Default value, will be overridden by shared.css if present */
}

.page-promotions {
    background-color: var(--color-background);
    color: var(--color-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--color-deep-green); /* Background for the section behind image */
    overflow: hidden; /* Ensure no overflow from image */
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height to prevent overly tall hero on desktop */
    overflow: hidden;
    position: relative;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Ensure image itself doesn't exceed wrapper height */
}

.page-promotions__hero-content {
    position: relative; /* Ensure content is above any background elements */
    z-index: 2;
    padding: 20px;
    max-width: 800px;
    margin-top: 30px; /* Space between image and content */
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: bold;
    color: var(--color-gold);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-promotions__description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-button {
    display: inline-block;
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-promotions__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-promotions__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2rem;
}

.page-promotions__cta-button--secondary {
    background: var(--color-card-bg);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: none;
}

.page-promotions__cta-button--secondary:hover {
    background: var(--color-primary);
    color: var(--color-text-main);
}


/* General Section Styling */
.page-promotions__introduction-section,
.page-promotions__types-section,
.page-promotions__guide-section,
.page-promotions__faq-section,
.page-promotions__conclusion-section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__dark-section {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--color-gold);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.page-promotions__text {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    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;
    height: 100%; /* Ensure cards are same height */
}

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

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--color-divider);
}

.page-promotions__card-title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    flex-grow: 0; /* Don't grow */
}

.page-promotions__card-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to grow and push button down */
}

.page-promotions__card-button {
    display: inline-block;
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: flex-start; /* Align button to the left */
    border: none;
    cursor: pointer;
    flex-shrink: 0; /* Don't shrink */
}

.page-promotions__card-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Guide List */
.page-promotions__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-promotions__guide-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.page-promotions__guide-item:hover {
    transform: translateY(-3px);
}

.page-promotions__guide-step-title {
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.page-promotions__guide-step-text {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

/* Terms Section */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-promotions__terms-item {
    background-color: rgba(17, 39, 27, 0.8); /* Slightly lighter card bg for contrast */
    border: 1px solid var(--color-divider);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__terms-subtitle {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

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

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.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 8px rgba(0, 0, 0, 0.15);
    overflow: hidden; /* For details tag */
}

.page-promotions__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--color-text-main);
    background-color: var(--color-card-bg);
    border-bottom: 1px solid var(--color-divider);
    list-style: none; /* Remove default marker */
}

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

.page-promotions__faq-item summary:hover {
    background-color: rgba(17, 39, 27, 0.9); /* Slightly darker on hover */
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--color-gold);
}

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

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

.page-promotions__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    background-color: rgba(17, 39, 27, 0.6); /* Lighter background for answer */
    border-top: 1px solid var(--color-divider);
}

/* Conclusion Section */
.page-promotions__conclusion-section .page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-image {
        max-height: 400px;
    }
    .page-promotions__card-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-promotions__container {
        padding: 0 15px;
    }

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

    .page-promotions__hero-image {
        max-height: 300px;
    }

    .page-promotions__hero-content {
        margin-top: 20px;
    }

    .page-promotions__main-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .page-promotions__description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

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

    .page-promotions__text {
        font-size: 1rem;
    }

    .page-promotions__promotion-cards {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .page-promotions__card {
        padding: 20px;
    }

    .page-promotions__card-image {
        height: 150px;
        margin-bottom: 15px;
    }

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

    .page-promotions__card-text {
        font-size: 0.9rem;
    }

    .page-promotions__card-button {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .page-promotions__guide-item {
        padding: 20px;
    }

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

    .page-promotions__guide-step-text {
        font-size: 0.95rem;
    }

    .page-promotions__terms-item {
        padding: 15px;
    }

    .page-promotions__terms-subtitle {
        font-size: 1.2rem;
    }

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

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

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

    .page-promotions__conclusion-section .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions__cta-button--large {
        width: 100% !important; /* Ensure buttons take full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Mobile image and video responsive adaptation */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__hero-image-wrapper,
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper,
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-promotions__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
    }
}