/* style/promotions.css */
.page-promotions {
    --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__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
    background-color: var(--color-background);
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for image */
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__hero-content {
    width: 100%;
    max-width: 900px;
    text-align: center;
    color: var(--color-text-main);
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text-main);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.page-promotions__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    min-width: 200px; /* Ensure buttons are not too small */
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    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(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 2px 10px rgba(17, 168, 78, 0.2);
}

.page-promotions__btn-secondary:hover {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions__section {
    padding: 80px 0;
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-promotions__dark-section {
    background-color: var(--color-deep-green);
}

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

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__text-block strong {
    color: var(--color-text-main);
}

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

.page-promotions__promo-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 500px; /* Ensure cards have a consistent height */
    border: 1px solid var(--color-border);
}

.page-promotions__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--color-divider);
}

.page-promotions__card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 15px;
    line-height: 1.3;
}

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

.page-promotions__promo-card .page-promotions__btn-primary {
    margin-top: auto; /* Push button to the bottom */
}

.page-promotions__vip-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-promotions__vip-text {
    flex: 1;
    min-width: 300px;
}

.page-promotions__vip-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
    margin-bottom: 25px;
}

.page-promotions__vip-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23F2C14E"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
    background-size: 18px;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.page-promotions__list-item-title {
    color: var(--color-text-main);
}

.page-promotions__vip-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-promotions__vip-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
    margin-bottom: 25px;
}

.page-promotions__terms-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%2357E38D"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>') no-repeat left top 5px;
    background-size: 18px;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.page-promotions__steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 25px;
    margin-bottom: 25px;
}

.page-promotions__steps-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.page-promotions__steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--color-primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

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

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

.page-promotions__faq-item[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

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

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

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

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

.page-promotions__faq-all-btn {
    display: block;
    margin: 40px auto 0;
    width: fit-content;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        max-width: 700px;
    }
    .page-promotions__vip-content {
        flex-direction: column;
    }
    .page-promotions__vip-image-wrapper {
        order: -1; /* Image above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 10px 15px 40px;
    }
    .page-promotions__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-promotions__description {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }
    .page-promotions__section {
        padding: 50px 0;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-promotions__text-block,
    .page-promotions__vip-list li,
    .page-promotions__terms-list li,
    .page-promotions__steps-list li,
    .page-promotions__faq-answer {
        font-size: 0.95rem;
    }
    .page-promotions__card-grid {
        gap: 20px;
    }
    .page-promotions__promo-card {
        padding: 20px;
        min-height: auto;
    }
    .page-promotions__card-image {
        height: 180px;
    }
    .page-promotions__card-title {
        font-size: 1.4rem;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-promotions__faq-toggle {
        font-size: 1.5rem;
    }

    /* Mobile image responsiveness */
    .page-promotions img {
        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__hero-image-wrapper,
    .page-promotions__hero-content,
    .page-promotions__cta-buttons,
    .page-promotions__vip-content,
    .page-promotions__vip-text,
    .page-promotions__vip-image-wrapper,
    .page-promotions__terms-list,
    .page-promotions__steps-list,
    .page-promotions__faq-list,
    .page-promotions__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-promotions__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }
    .page-promotions__description {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }
    .page-promotions__text-block,
    .page-promotions__vip-list li,
    .page-promotions__terms-list li,
    .page-promotions__steps-list li,
    .page-promotions__faq-answer {
        font-size: 0.9rem;
    }
    .page-promotions__faq-question {
        font-size: 0.95rem;
    }
    .page-promotions__faq-toggle {
        font-size: 1.3rem;
    }
}