: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);
    color: var(--color-text-main); /* Default text color for the page */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--color-deep-green); /* A darker green for hero section background */
    overflow: hidden; /* Ensure no overflow from images */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit hero image height */
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    color: var(--color-text-main);
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-main);
    line-height: 1.2;
}

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

.page-promotions__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container takes full width */
    max-width: 500px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    flex-grow: 1; /* Allow buttons to grow */
    max-width: 220px; /* Max width for individual buttons */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff; /* White text on dark button */
    border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--color-primary); /* Primary color text on transparent button */
    border: 2px solid var(--color-primary);
}

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

.page-promotions__small-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    max-width: none; /* Remove max-width for smaller buttons in cards */
}

/* Intro Section */
.page-promotions__intro-section {
    padding: 60px 0;
    background-color: var(--color-background);
    text-align: center;
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.page-promotions__section-description {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    margin-bottom: 40px;
    color: var(--color-text-secondary);
}

.page-promotions__text-block {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Promotions Grid */
.page-promotions__promotions-grid {
    padding: 80px 0;
    background-color: var(--color-deep-green); /* Darker background for promotion grid */
    color: var(--color-text-main);
    text-align: center;
}

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

.page-promotions__promo-card {
    background-color: var(--color-card-bg); /* Dark card background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    transition: transform 0.3s ease;
    border: 1px solid var(--color-border);
}

.page-promotions__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

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

.page-promotions__card-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
    padding: 80px 0;
    background-color: var(--color-background);
    text-align: center;
}

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

.page-promotions__step-item {
    background-color: var(--color-card-bg); /* Dark card background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-promotions__step-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: var(--color-deep-green); /* Darker background for FAQ */
    color: var(--color-text-main);
    text-align: center;
}

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

.page-promotions__faq-item {
    background-color: var(--color-card-bg); /* Dark card background */
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-promotions__faq-item[open] {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-main);
    list-style: none; /* Hide default marker for details summary */
}
.page-promotions__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-promotions__faq-qtext {
    flex-grow: 1;
}

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

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

/* CTA Download Section */
.page-promotions__cta-download {
    padding: 80px 0;
    background-color: var(--color-background);
    text-align: center;
}

/* General text colors for contrast */
.page-promotions p {
    color: var(--color-text-secondary);
}

.page-promotions h1, .page-promotions h2, .page-promotions h3 {
    color: var(--color-text-main);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__hero-image {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important; /* body handles --header-offset, small top padding for this section */
    }

    .page-promotions__hero-image {
        max-height: 400px;
        margin-bottom: 20px;
    }

    .page-promotions__main-title {
        font-size: 2.5rem;
    }

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

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 90%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .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__section-title {
        font-size: 2rem;
    }

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

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

    .page-promotions__grid-wrapper,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__promo-card,
    .page-promotions__step-item {
        margin: 0 15px; /* Add horizontal margin for cards/steps */
    }

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

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

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

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

    /* Mobile image 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__grid-wrapper,
    .page-promotions__steps-grid,
    .page-promotions__faq-list,
    .page-promotions__cta-buttons {
        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__video-section {
        padding-top: 10px !important;
    }

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