/* style/promotions.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-dark: #1a1a1a; /* Body background from shared.css */
    --login-color: #EA7C07;
}

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

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

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

.page-promotions__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-promotions__hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.page-promotions__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.3;
}

.page-promotions__section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

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

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

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

.page-promotions__grid--two-columns {
    grid-template-columns: 1fr 1fr;
}

.page-promotions__card {
    background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
}

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

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

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

.page-promotions__card-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

.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: #1e87c0;
    transform: translateY(-2px);
}

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

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

.page-promotions__btn-primary--large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.page-promotions__promo-card {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__promo-card--reverse {
    flex-direction: row-reverse;
}

.page-promotions__promo-image {
    flex: 1;
    min-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.page-promotions__promo-details {
    flex: 2;
    text-align: left;
}

.page-promotions__promo-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions__promo-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-light);
}

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

.page-promotions__promo-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-light);
}

.page-promotions__promo-features li::before {
    content: '✅';
    margin-right: 10px;
    font-size: 1.2em;
}

.page-promotions__vip-content {
    text-align: center;
    background-color: var(--primary-color);
    padding: 60px 40px;
    border-radius: 12px;
    color: var(--secondary-color);
}

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

.page-promotions__vip-content .page-promotions__section-description {
    color: var(--secondary-color);
}

.page-promotions__how-to-claim-section .page-promotions__section-title,
.page-promotions__how-to-claim-section .page-promotions__section-description {
    color: var(--text-light);
}

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

.page-promotions__step-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.page-promotions__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-promotions__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-promotions__step-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

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

.page-promotions__terms-section .page-promotions__section-title,
.page-promotions__terms-section .page-promotions__section-description {
    color: var(--text-dark);
}

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

.page-promotions__terms-list li {
    background: #f0f0f0;
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-promotions__faq-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-description {
    color: var(--text-light);
}

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

.page-promotions__faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-light);
}

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

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

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

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

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

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

.page-promotions__faq-item[open] .page-promotions__faq-question {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-promotions__cta-section .page-promotions__section-title,
.page-promotions__cta-section .page-promotions__section-description {
    color: var(--secondary-color);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__grid--two-columns {
        grid-template-columns: 1fr;
    }

    .page-promotions__card--horizontal {
        flex-direction: column;
        text-align: center;
    }

    .page-promotions__card--horizontal .page-promotions__card-image {
        height: 250px;
    }

    .page-promotions__card--horizontal .page-promotions__card-content {
        padding: 0;
    }
}

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

    .page-promotions__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

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

    .page-promotions__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }

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

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

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

    .page-promotions__card {
        padding: 20px;
    }

    .page-promotions__promo-card {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        margin-bottom: 40px;
    }

    .page-promotions__promo-card--reverse {
        flex-direction: column;
    }

    .page-promotions__promo-image {
        min-width: unset;
        width: 100%;
        height: auto;
    }

    .page-promotions__promo-title {
        font-size: 1.5rem;
    }

    .page-promotions__promo-text {
        font-size: 0.95rem;
    }

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

    .page-promotions__step-item {
        padding: 25px;
    }

    .page-promotions__step-title {
        font-size: 1.2rem;
    }

    .page-promotions__terms-list li {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

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

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

    /* 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__promo-card,
    .page-promotions__vip-content,
    .page-promotions__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile button responsiveness */
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 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;
    }

    .page-promotions__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 769px) {
    /* Ensure desktop video container has width: 100% */
    .page-promotions__video-container {
        width: 100%;
    }
}