/* style/promotions.css */
: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 {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-background);
    line-height: 1.6;
}

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

.page-promotions__light-bg {
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    border-radius: 10px;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-gold);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
}

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

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: none;
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-promotions__section-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Promo Grid */
.page-promotions__featured-promos,
.page-promotions__how-to-claim,
.page-promotions__why-choose-us,
.page-promotions__faq-section,
.page-promotions__cta-section {
    padding: 60px 0;
}

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

.page-promotions__promo-card,
.page-promotions__step-card,
.page-promotions__feature-item,
.page-promotions__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-promotions__promo-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-promotions__promo-card-title,
.page-promotions__step-title,
.page-promotions__feature-title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-promotions__promo-card-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: fit-content;
    margin: 0 auto;
}

.page-promotions__btn-secondary {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
    border: 1px solid var(--color-primary);
}

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

/* Terms and Conditions */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-promotions__terms-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

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

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

.page-promotions__terms-footer {
    font-size: 1rem;
    color: var(--color-text-secondary);
    text-align: center;
    margin-top: 30px;
}

/* How to Claim */
.page-promotions__step-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__button-group {
    text-align: center;
    margin-top: 40px;
}

/* Why Choose Us */
.page-promotions__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 30px;
}

.page-promotions__faq-item {
    margin-bottom: 15px;
    text-align: left;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: var(--color-primary);
}

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

.page-promotions__faq-answer {
    padding: 0 20px;
    background-color: var(--color-card-bg);
    border-radius: 0 0 8px 8px;
}

.page-promotions__faq-item[open] .page-promotions__faq-answer {
    padding: 15px 20px;
    border-top: 1px solid var(--color-border);
}

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

/* CTA Section */
.page-promotions__cta-section {
    text-align: center;
}

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

@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__hero-content {
        padding: 15px;
    }

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

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

    .page-promotions__cta-button,
    .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: 12px 15px;
    }

    .page-promotions__button-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__container {
        padding: 0 15px;
    }

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

    .page-promotions__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

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

    .page-promotions__promo-card,
    .page-promotions__step-card,
    .page-promotions__feature-item,
    .page-promotions__faq-item {
        padding: 20px;
    }

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

    .page-promotions__promo-card-title,
    .page-promotions__step-title,
    .page-promotions__feature-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .page-promotions__promo-card-text,
    .page-promotions__step-text,
    .page-promotions__feature-text {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

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

    .page-promotions__terms-heading {
        font-size: 1.1rem;
    }

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

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

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

    .page-promotions__faq-item[open] .page-promotions__faq-answer {
        padding: 12px 15px;
    }

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

    /* Images responsive */
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__promo-card,
    .page-promotions__step-card,
    .page-promotions__feature-item,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }
    
    /* Specific override for hero-image-wrapper to maintain full width */
    .page-promotions__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .page-promotions__promo-card-button {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    .page-promotions__section-title {
        font-size: 1.5rem;
    }
    .page-promotions__cta-button {
        padding: 10px 15px;
    }
}