:root {
    --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;
}

.page-promotions {
    background-color: var(--color-background); /* #08160F - dark */
    color: var(--color-text-main); /* #F2FFF6 - light */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

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

.page-promotions__container--center {
    text-align: center;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom */
    background-color: var(--color-deep-green); /* Dark green background for hero */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    max-width: 1920px; /* Max width for the image */
    display: block;
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and text */
}

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

.page-promotions__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Using clamp for responsive H1 */
    color: var(--color-gold); /* Gold text for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.page-promotions__hero-description {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

/* General Section Styling */
.page-promotions__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--color-divider);
}

.page-promotions__section:last-of-type {
    border-bottom: none;
}

.page-promotions__section-title {
    font-size: 2.5rem;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

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

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

/* Grid Layout for Cards */
.page-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions__grid--two-columns {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-promotions__card {
    background-color: var(--color-card-bg); /* #11271B - dark */
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-promotions__card:hover {
    transform: translateY(-5px);
}

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

.page-promotions__card-title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__card-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1; /* Make description take available space */
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main); /* Light text on dark button */
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

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

.page-promotions__btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-text-main); /* Light text on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

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

/* How to Claim Section */
.page-promotions__step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

/* Benefits Section */
.page-promotions__feature-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-promotions__feature-title {
    font-size: 1.4rem;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions__feature-description {
    color: var(--color-text-secondary);
}

/* FAQ Section */
.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: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-text-main);
    font-weight: 500;
    background-color: var(--color-deep-green); /* Slightly different background for question */
    border-bottom: 1px solid var(--color-divider);
}

.page-promotions__faq-question:hover {
    background-color: var(--color-deep-green); /* Keep consistent hover */
}

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

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
}

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    text-align: justify;
}
.page-promotions__faq-answer a {
    color: var(--color-secondary);
    text-decoration: underline;
}

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

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

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

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

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-promotions__hero-description {
        font-size: 1rem;
    }

    .page-promotions__section {
        padding: 40px 0;
    }

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

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

    .page-promotions__grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__grid--two-columns {
        grid-template-columns: 1fr;
    }

    .page-promotions__card {
        padding: 20px;
    }

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

    .page-promotions__card-description {
        font-size: 0.95rem;
    }

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

    .page-promotions__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to container for buttons */
    }

    /* Images responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__list-item,
    .page-promotions__feature-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Override padding for hero image container to be full width */
    .page-promotions__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-promotions__hero-image {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-promotions__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* FAQ */
    .page-promotions__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 15px 20px;
        font-size: 1rem;
    }
}