:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-color: #08160F;
    --card-bg-color: #11271B;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --divider-color: #1E3A2A;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-latest-promotions {
    background-color: var(--bg-color);
    color: var(--text-main-color);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

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

.page-latest-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-latest-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-latest-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-main-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-latest-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-latest-promotions__btn-primary,
.page-latest-promotions__btn-secondary,
.page-latest-promotions__btn-tertiary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
}

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

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

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

.page-latest-promotions__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

.page-latest-promotions__btn-tertiary {
    background-color: var(--primary-color);
    color: var(--text-main-color);
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-latest-promotions__btn-tertiary:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.page-latest-promotions__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-latest-promotions__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text-main-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-latest-promotions__section-intro {
    font-size: 1.1rem;
    color: var(--text-secondary-color);
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-latest-promotions__card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: 1px solid var(--border-color);
}

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

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

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

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

.page-latest-promotions__step {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-latest-promotions__step-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
}

.page-latest-promotions__step-title {
    font-size: 1.3rem;
    color: var(--text-main-color);
    margin-bottom: 10px;
    font-weight: bold;
}

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

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

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

.page-latest-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-main-color);
    cursor: pointer;
    user-select: none;
    background-color: var(--card-bg-color);
    border-bottom: 1px solid var(--divider-color);
}

.page-latest-promotions__faq-question:hover {
    background-color: #1a362a;
}

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

.page-latest-promotions__faq-question .page-latest-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-latest-promotions__faq-item[open] .page-latest-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-latest-promotions__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary-color);
    line-height: 1.7;
    background-color: #0f2018;
}

.page-latest-promotions__feature-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-latest-promotions__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

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

.page-latest-promotions__feature-text {
    font-size: 0.95rem;
    color: var(--text-secondary-color);
}

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

/* Color Contrast Classes */
.page-latest-promotions__dark-bg {
    background-color: var(--bg-color);
    color: var(--text-main-color);
}

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

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

    .page-latest-promotions__hero-section {
        padding: 10px 15px 40px 15px;
    }

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

    .page-latest-promotions__description {
        font-size: 1rem;
    }

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

    .page-latest-promotions__btn-primary,
    .page-latest-promotions__btn-secondary,
    .page-latest-promotions__btn-tertiary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-latest-promotions__section {
        padding: 40px 0;
    }

    .page-latest-promotions__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

    .page-latest-promotions__grid,
    .page-latest-promotions__how-to-steps,
    .page-latest-promotions__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-latest-promotions__card,
    .page-latest-promotions__step,
    .page-latest-promotions__feature-card {
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .page-latest-promotions__card-image,
    .page-latest-promotions__step-icon,
    .page-latest-promotions__feature-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

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

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

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

    .page-latest-promotions__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

    .page-latest-promotions__video-section {
        padding-top: 10px !important;
    }
    
    .page-latest-promotions__cta-final-section .page-latest-promotions__description {
        font-size: 1rem;
    }
}