/* style/promotions.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color-page: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-promotions {
    color: var(--text-main); /* Default text color for dark background */
    background-color: var(--background-color-page);
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--deep-green-color);
    overflow: hidden;
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 30px 20px;
    margin-top: -150px; /* Pull content up over image slightly for visual flow */
    background: rgba(17, 40, 27, 0.85); /* Semi-transparent dark background */
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__hero-description {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* Always white text for primary button */
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 15px;
}

.page-promotions__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-promotions__intro-section,
.page-promotions__how-to-claim-section,
.page-promotions__why-choose-section,
.page-promotions__conclusion-section {
    padding: 60px 20px;
    text-align: center;
}

.page-promotions__types-section,
.page-promotions__terms-section,
.page-promotions__faq-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--card-bg); /* Use card background for these sections */
}

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

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

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--gold-color);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-promotions__text-block {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

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

.page-promotions__promotion-card,
.page-promotions__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
}

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

.page-promotions__card-title {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

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

.page-promotions__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-promotions__step-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    position: relative;
    padding-left: 70px;
}

.page-promotions__step-number {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 35px;
    height: 35px;
    background: var(--button-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(42, 209, 111, 0.4);
}

.page-promotions__step-title {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions__step-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.page-promotions__image-right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 40%;
    height: auto;
    display: block;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

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

.page-promotions__terms-subtitle,
.page-promotions__terms-title {
    font-size: clamp(1rem, 1.7vw, 1.3rem);
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 600;
}

.page-promotions__terms-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page-promotions__benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    text-align: left;
}

.page-promotions__benefit-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-promotions__benefit-title {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions__benefit-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page-promotions__faq-list {
    margin-top: 40px;
    text-align: left;
}

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-promotions__faq-question:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

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

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

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

.page-promotions__conclusion-section {
    padding-bottom: 80px;
}

/* General image, video, button responsiveness */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-promotions video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.page-promotions__video-container,
.page-promotions__video-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions__hero-content {
        margin-top: -80px;
        padding: 20px;
        max-width: 95%;
    }

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

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

    .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: 12px 20px;
        margin-left: 0;
        margin-bottom: 10px;
    }

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

    .page-promotions__intro-section,
    .page-promotions__types-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__why-choose-section,
    .page-promotions__faq-section,
    .page-promotions__conclusion-section {
        padding: 40px 15px;
    }

    .page-promotions__section-title {
        font-size: 2rem;
    }

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

    .page-promotions__promotion-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__step-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__image-right {
        float: none;
        margin: 20px auto;
        max-width: 100%;
    }

    .page-promotions img,
    .page-promotions video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__container,
    .page-promotions__card,
    .page-promotions__promotion-card,
    .page-promotions__step-item,
    .page-promotions__terms-item,
    .page-promotions__benefit-item,
    .page-promotions__faq-item,
    .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;
    }

    .page-promotions__hero-section {
        padding-left: 0;
        padding-right: 0;
    }

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

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

    .page-promotions__hero-section {
        padding-top: 10px !important;
    }

    .page-promotions__video-section {
        padding-top: 10px !important;
    }
}

/* Clearfix for floated image */
.page-promotions__terms-section::after {
    content: "";
    display: table;
    clear: both;
}