/* style/promotions.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-button-color: #EA7C07;
    --text-dark: #000000;
    --text-light: #ffffff;
    --body-bg: #0a0a0a;
    --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
    --card-bg-light-mode: #ffffff;
}

/* Body background color is dark, so default text color should be light */
.page-promotions {
    color: var(--text-light); /* Light text for dark body background */
    background-color: var(--body-bg); /* Ensure consistency if body background is overridden */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 0; /* body padding-top is handled by shared.css */
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding for content */
    overflow: hidden;
    text-align: center;
    color: var(--text-light);
    background-color: var(--body-bg);
}

.page-promotions__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit hero image height */
}

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

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-promotions__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-promotions__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
}

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

.page-promotions__btn-secondary:hover {
    background-color: lighten(var(--primary-color), 40%);
    transform: translateY(-2px);
}

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

.page-promotions__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-promotions__section-title--white {
    color: var(--secondary-color);
}

.page-promotions__dark-bg {
    background-color: var(--body-bg);
    color: var(--text-light);
}

.page-promotions__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-promotions__text-block {
    max-width: 900px;
    margin: 0 auto 30px;
    font-size: 1.05em;
    text-align: left;
}

.page-promotions__text-block p {
    margin-bottom: 15px;
}

.page-promotions__text-block--white {
    color: var(--text-light);
}

.page-promotions__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__card {
    background-color: var(--card-bg-dark-mode); /* Dark mode card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--text-light); /* Light text on dark card background */
}

.page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-promotions__card-description {
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    color: rgba(255, 255, 255, 0.8);
}

.page-promotions__product-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 800px;
    text-align: left;
}

.page-promotions__product-list li {
    background-color: var(--card-bg-light-mode);
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: var(--text-dark); /* Dark text on light background */
}

.page-promotions__product-list li strong {
    color: var(--primary-color);
}

.page-promotions__vip-program .page-promotions__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.page-promotions__text-block--vip {
    flex: 1 1 55%;
    padding-right: 30px;
    margin-bottom: 0;
}

.page-promotions__image-wrapper--vip {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions__vip-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__sub-title {
    font-size: 1.8em;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.page-promotions__vip-benefits-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.05em;
    color: rgba(255, 255, 255, 0.9);
}

.page-promotions__vip-benefits-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

.page-promotions__terms-list {
    list-style: decimal;
    padding-left: 20px;
    margin: 20px auto;
    max-width: 800px;
    text-align: left;
    color: var(--text-dark); /* Dark text on light background */
}

.page-promotions__terms-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.page-promotions__terms-list li a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 800px;
    text-align: left;
}

.page-promotions__steps-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--text-light);
}

.page-promotions__steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.page-promotions__steps-list li a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-promotions__faq-section {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 60px 20px;
}

.page-promotions__faq-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--primary-color);
    list-style: none; /* For details/summary */
}

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
    padding: 15px 25px 20px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    font-size: 1em;
    line-height: 1.6;
}

.page-promotions__faq-answer p {
    margin: 0;
}

.page-promotions__call-to-action {
    padding: 80px 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-promotions__call-to-action .page-promotions__section-title {
    color: var(--secondary-color);
}

.page-promotions__call-to-action .page-promotions__cta-button {
    background-color: var(--login-button-color);
    border-color: var(--login-button-color);
    color: var(--secondary-color);
}

.page-promotions__call-to-action .page-promotions__cta-button:hover {
    background-color: darken(var(--login-button-color), 10%);
    border-color: darken(var(--login-button-color), 10%);
}

/* Responsive styles */
@media (max-width: 992px) {
    .page-promotions__text-block--vip {
        padding-right: 0;
        margin-bottom: 30px;
    }
    .page-promotions__image-wrapper--vip {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 10px 15px 40px;
    }

    .page-promotions__hero-image {
        max-height: 300px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

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

    .page-promotions__cta-button {
        padding: 10px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 15px;
    }

    .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;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

    .page-promotions__section {
        padding: 40px 15px;
    }

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

    .page-promotions__text-block {
        font-size: 0.95em;
    }

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

    .page-promotions__card-description {
        font-size: 0.9em;
    }

    .page-promotions__product-list li,
    .page-promotions__vip-benefits-list li,
    .page-promotions__terms-list li,
    .page-promotions__steps-list li {
        font-size: 0.95em;
    }

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

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

    /* Mobile image responsive adaptations */
    .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-image-wrapper,
    .page-promotions__content-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-promotions__video-section {
        padding-top: 10px !important; /* body has padding-top from shared, only small decorative padding here */
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-section {
        padding: 10px 10px 30px;
    }
    .page-promotions__hero-content {
        padding: 0 10px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.6em, 8vw, 2.2em);
    }
    .page-promotions__section,
    .page-promotions__faq-section,
    .page-promotions__call-to-action {
        padding: 30px 10px;
    }
    .page-promotions__section-title {
        font-size: clamp(1.3em, 7vw, 1.8em);
    }
    .page-promotions__cta-button {
        font-size: 0.95em;
    }
}