/* style/promotions.css */

:root {
    --page-promotions-bg-dark: #08160F;
    --page-promotions-card-bg: #11271B;
    --page-promotions-text-main: #F2FFF6;
    --page-promotions-text-secondary: #A7D9B8;
    --page-promotions-border: #2E7A4E;
    --page-promotions-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-promotions-glow: #57E38D;
    --page-promotions-gold: #F2C14E;
    --page-promotions-divider: #1E3A2A;
    --page-promotions-deep-green: #0A4B2C;
}

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

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

.page-promotions__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--page-promotions-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-promotions__text-block {
    font-size: 16px;
    line-height: 1.7;
    color: var(--page-promotions-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--page-promotions-btn-gradient);
    color: var(--page-promotions-text-main);
    border: 2px solid transparent;
}

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

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--page-promotions-glow);
    border: 2px solid var(--page-promotions-glow);
}

.page-promotions__btn-secondary:hover {
    background: var(--page-promotions-glow);
    color: var(--page-promotions-bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

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

.page-promotions__light-bg {
    background-color: #0d1e16; /* Slightly lighter dark background for contrast */
    color: var(--page-promotions-text-main);
}

.page-promotions__card {
    background-color: var(--page-promotions-card-bg);
    border: 1px solid var(--page-promotions-border);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--page-promotions-text-main);
    height: 100%;
    box-sizing: border-box;
}

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

.page-promotions__card-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--page-promotions-gold);
    margin-bottom: 15px;
}

.page-promotions__card-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--page-promotions-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    margin-top: auto; /* Pushes button to the bottom */
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 60px;
    overflow: hidden;
    text-align: center;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

.page-promotions__main-title {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--page-promotions-gold);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__description {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--page-promotions-text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Overview Section */
.page-promotions__overview-section {
    padding: 60px 0;
    background-color: var(--page-promotions-light-bg);
}

/* Promo Types Section */
.page-promotions__promo-types-section {
    padding: 60px 0;
}

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

/* Terms Section */
.page-promotions__terms-section {
    padding: 60px 0;
    background-color: var(--page-promotions-light-bg);
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-promotions__terms-item {
    background-color: var(--page-promotions-card-bg);
    border: 1px solid var(--page-promotions-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--page-promotions-text-secondary);
}

.page-promotions__terms-item strong {
    color: var(--page-promotions-text-main);
}

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

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

.page-promotions__step-card .page-promotions__card-image {
    height: 180px;
}

.page-promotions__step-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--page-promotions-gold);
    margin-bottom: 10px;
}

.page-promotions__step-text {
    font-size: 15px;
    color: var(--page-promotions-text-secondary);
    line-height: 1.6;
}

.page-promotions__cta-bottom {
    text-align: center;
}

/* Benefits Section */
.page-promotions__benefits-section {
    padding: 60px 0;
    background-color: var(--page-promotions-light-bg);
}

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

.page-promotions__benefit-item {
    background-color: var(--page-promotions-card-bg);
    border: 1px solid var(--page-promotions-border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    height: 100%;
    box-sizing: border-box;
}

.page-promotions__benefit-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.page-promotions__benefit-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--page-promotions-gold);
    margin-bottom: 10px;
}

.page-promotions__benefit-text {
    font-size: 15px;
    color: var(--page-promotions-text-secondary);
    line-height: 1.6;
}

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

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

.page-promotions__faq-item {
    background-color: var(--page-promotions-card-bg);
    border: 1px solid var(--page-promotions-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-promotions-text-main);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: var(--page-promotions-gold);
    background-color: var(--page-promotions-deep-green);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: #0c5c37; /* Slightly darker deep green */
}

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

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    content: '−';
}

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--page-promotions-text-secondary);
    border-top: 1px solid var(--page-promotions-border);
}

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

.page-promotions__faq-item summary {
    list-style: none;
}

/* Final CTA Section */
.page-promotions__cta-section {
    padding: 60px 0;
    background-color: var(--page-promotions-light-bg);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-image-wrapper {
        max-height: 400px;
    }
    .page-promotions__main-title {
        font-size: clamp(28px, 4.5vw, 48px);
    }
    .page-promotions__description {
        font-size: clamp(15px, 1.8vw, 18px);
    }
}

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

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

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

    .page-promotions__main-title {
        font-size: clamp(28px, 6vw, 40px);
    }

    .page-promotions__description {
        font-size: clamp(14px, 2.5vw, 16px);
        margin-bottom: 20px;
    }

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

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
    }

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

    .page-promotions__text-block {
        font-size: 15px;
        line-height: 1.6;
    }

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

    .page-promotions__card-image {
        height: 180px;
    }

    .page-promotions__card-title {
        font-size: 20px;
    }

    .page-promotions__terms-item,
    .page-promotions__step-title,
    .page-promotions__benefit-title {
        font-size: 18px;
    }

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

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

    /* Mobile image and video responsiveness */
    .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__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-section,
    .page-promotions__overview-section,
    .page-promotions__promo-types-section,
    .page-promotions__terms-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__benefits-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section,
    .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 has header offset */
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(24px, 8vw, 36px);
    }

    .page-promotions__description {
        font-size: clamp(14px, 3vw, 15px);
    }
}