.page-promotions {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-dark: #08160F; /* Background */
    --card-bg: #11271B; /* Card B G */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */

    color: var(--text-main); /* Default text color for the page */
    background-color: var(--bg-dark); /* Page background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding: 10px 0 60px; /* body handles header-offset, 10px top padding for visual space */
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0; /* Ensure image is behind content */
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay to allow text to stand out */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(17, 39, 27, 0.7); /* Card B G with transparency */
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: var(--gold-color);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-promotions__description {
    font-size: 1.1rem;
    color: var(--text-main);
    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; /* Ensure buttons wrap on smaller screens */
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff; /* White text for contrast */
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
    opacity: 0.9;
}

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-promotions__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.3);
}

.page-promotions__btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

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

.page-promotions__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.4);
}

.page-promotions__text-block {
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Dark Section Styling */
.page-promotions__dark-section {
    background-color: var(--deep-green); /* Use a darker green for contrast */
    padding: 60px 0;
}

.page-promotions__dark-section .page-promotions__section-title,
.page-promotions__dark-section .page-promotions__text-block,
.page-promotions__dark-section .page-promotions__list-item {
    color: var(--text-main);
}


/* Promotion Types Grid */
.page-promotions__types-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

.page-promotions__card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards have equal height */
    box-sizing: border-box;
}

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

.page-promotions__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

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

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

.page-promotions__card .page-promotions__btn-primary {
    width: 100%; /* Make button full width of card */
    max-width: 250px; /* Limit max width for aesthetic */
    margin-top: auto; /* Push button to bottom */
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
}

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

.page-promotions__step-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
}

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

.page-promotions__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--btn-gradient);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 0 15px var(--glow-color);
}

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

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

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

/* Terms and Conditions Section */
.page-promotions__terms-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 30px auto 40px;
    max-width: 900px;
    text-align: left;
}

.page-promotions__list-item {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.page-promotions__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--glow-color);
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
}

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

.page-promotions__faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    background-color: var(--deep-green); /* Darker background for question */
    border-bottom: 1px solid var(--divider-color);
    list-style: none; /* For details/summary */
}

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

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

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

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

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

.page-promotions__faq-answer p {
    margin: 0;
    color: var(--text-secondary); /* Ensure paragraph text color is correct */
}

/* Final CTA Section */
.page-promotions__final-cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--deep-green);
}

.page-promotions__final-cta-section .page-promotions__section-title {
    color: var(--gold-color);
}

.page-promotions__final-cta-section .page-promotions__text-block {
    color: var(--text-main);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        padding: 30px;
    }

    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

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

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

@media (max-width: 768px) {
    /* Mobile General */
    .page-promotions__hero-section {
        padding-bottom: 40px;
    }

    .page-promotions__hero-content {
        padding: 25px 15px;
        max-width: 95%;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

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

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

    /* Mobile Buttons */
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        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,
    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-promotions__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    /* Mobile Images */
    .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__promotion-grid,
    .page-promotions__steps-grid,
    .page-promotions__faq-list,
    .page-promotions__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }

    /* Specific sections padding for mobile */
    .page-promotions__overview-section,
    .page-promotions__types-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__final-cta-section {
        padding: 40px 0;
    }

    .page-promotions__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

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

    .page-promotions__card {
        padding: 20px;
    }

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

    .page-promotions__step-card {
        padding: 25px;
    }

    .page-promotions__step-title {
        font-size: 1.4rem;
    }

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

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