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

.page-promotions {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for the page, suitable for dark body bg */
    background-color: var(--body-bg);
}

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

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 30px;
    position: relative;
}

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

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

.page-promotions__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gold-color);
    margin-bottom: 20px;
    max-width: 100%;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__description {
    font-size: 1.125rem; /* 18px */
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

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

.page-promotions__cta-buttons--center {
    margin-top: 40px;
}

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

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(34, 199, 104, 0.2);
}

.page-promotions__btn-secondary:hover {
    background: rgba(34, 199, 104, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

.page-promotions__why-choose-section,
.page-promotions__guide-section,
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-promotions__highlight-promotions-section,
.page-promotions__terms-section,
.page-promotions__conclusion-section {
    padding: 80px 0;
    background-color: var(--body-bg); /* Dark background */
    color: var(--text-main); /* Light text */
}

.page-promotions__section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold-color);
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-promotions__why-choose-section .page-promotions__section-title,
.page-promotions__guide-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-title {
    color: var(--primary-color);
    text-shadow: none;
}

.page-promotions__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: inherit;
}

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

.page-promotions__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__why-choose-section .page-promotions__card,
.page-promotions__guide-section .page-promotions__card,
.page-promotions__faq-section .page-promotions__card {
    background-color: #f5f5f5;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-promotions__why-choose-section .page-promotions__card-title,
.page-promotions__guide-section .page-promotions__card-title {
    color: var(--primary-color);
}

.page-promotions__card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    flex-grow: 1;
}

.page-promotions__why-choose-section .page-promotions__card p,
.page-promotions__guide-section .page-promotions__card p {
    color: #555555;
}

.page-promotions__promotion-card .page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.page-promotions__promotion-card .page-promotions__btn-primary {
    margin-top: 20px;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.page-promotions__terms-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.page-promotions__terms-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2em;
    top: 0;
}

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

.page-promotions__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    outline: none;
    transition: background-color 0.3s ease;
}

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

.page-promotions__faq-item summary:hover {
    background-color: #f0f0f0;
}

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

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

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

.page-promotions__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: #555555;
}

.page-promotions__faq-answer p {
    margin-bottom: 10px;
}

.page-promotions__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions__faq-answer a:hover {
    color: var(--deep-green);
}

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

/* Image and Button Responsiveness */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-promotions__hero-image-wrapper,
.page-promotions__promotion-card,
.page-promotions__features-grid,
.page-promotions__promotion-cards-grid,
.page-promotions__steps-grid,
.page-promotions__cta-buttons,
.page-promotions__terms-list,
.page-promotions__faq-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

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

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem); /* Clamp for H1 on mobile */
        margin-bottom: 15px;
    }

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

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

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

    .page-promotions__why-choose-section,
    .page-promotions__highlight-promotions-section,
    .page-promotions__guide-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__conclusion-section {
        padding: 50px 0;
    }

    .page-promotions__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-promotions__text-block {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-promotions__features-grid,
    .page-promotions__promotion-cards-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-promotions__card {
        padding: 25px;
    }

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

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

    .page-promotions__terms-list {
        font-size: 0.95rem;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .page-promotions__terms-list li {
        padding-left: 25px;
    }

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

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

    .page-promotions__faq-toggle {
        font-size: 1.5rem;
    }

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

    /* Forced mobile image responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__hero-image-wrapper,
    .page-promotions__promotion-card,
    .page-promotions__features-grid,
    .page-promotions__promotion-cards-grid,
    .page-promotions__steps-grid,
    .page-promotions__cta-buttons,
    .page-promotions__terms-list,
    .page-promotions__faq-list,
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container {
        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__hero-content {
        padding: 0 15px;
    }
    
    .page-promotions__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

/* Specific dark/light background classes for contrast enforcement */
.page-promotions__dark-bg {
    color: var(--text-main); /* Light text */
    background-color: var(--body-bg);
}

.page-promotions__light-bg {
    color: #333333; /* Dark text */
    background-color: #ffffff;
}

/* Ensure no filter is used on images */
.page-promotions img {
    filter: none; /* Explicitly reset any potential filter */
}