/* style/promotions.css */

:root {
    --plus777-gold: #FFD700;
    --plus777-red: #8B0000;
    --plus777-dark-neutral: #1a1a1a;
    --plus777-light-neutral: #f5f5f5;
    --plus777-text-dark: #333333;
    --plus777-text-light: #ffffff;
}

.page-promotions {
    color: var(--plus777-text-dark);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--plus777-light-neutral);
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 40px;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    position: relative;
}

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

.page-promotions__hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    margin-top: -80px; /* Overlap with image */
    position: relative;
    z-index: 10;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-promotions__main-title {
    font-size: 2.8em;
    color: var(--plus777-red);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-promotions__hero-description {
    font-size: 1.2em;
    color: var(--plus777-text-dark);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__section-title {
    font-size: 2.2em;
    color: var(--plus777-red);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    padding-top: 40px;
}

.page-promotions__section-description {
    font-size: 1.1em;
    color: var(--plus777-text-dark);
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.page-promotions__featured-promotions-section,
.page-promotions__how-to-claim-section,
.page-promotions__exclusive-vip-section,
.page-promotions__terms-conditions-section,
.page-promotions__faq-section,
.page-promotions__cta-bottom-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

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

.page-promotions__promo-card {
    background-color: var(--plus777-light-neutral);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-promotions__promo-card-content {
    padding: 20px;
    text-align: center;
}

.page-promotions__promo-card-title {
    font-size: 1.5em;
    color: var(--plus777-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__promo-card-text {
    font-size: 1em;
    color: var(--plus777-text-dark);
    margin-bottom: 20px;
}

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

.page-promotions__step-item {
    text-align: center;
    padding: 20px;
    background-color: var(--plus777-light-neutral);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-promotions__step-icon {
    font-size: 2.5em;
    color: var(--plus777-red);
    font-weight: bold;
    margin-bottom: 15px;
    background-color: var(--plus777-gold);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--plus777-text-light);
}

.page-promotions__step-title {
    font-size: 1.3em;
    color: var(--plus777-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__step-text {
    font-size: 0.95em;
    color: var(--plus777-text-dark);
}

.page-promotions__claim-cta {
    text-align: center;
    margin-top: 40px;
}

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

.page-promotions__vip-feature-card {
    text-align: center;
    padding: 30px;
    background-color: var(--plus777-light-neutral);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-promotions__vip-feature-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-promotions__vip-feature-title {
    font-size: 1.4em;
    color: var(--plus777-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__vip-feature-text {
    font-size: 1em;
    color: var(--plus777-text-dark);
}

.page-promotions__vip-cta {
    text-align: center;
    margin-top: 40px;
}

.page-promotions__terms-list {
    list-style: disc inside;
    color: var(--plus777-text-dark);
    margin-left: 20px;
    margin-bottom: 30px;
}

.page-promotions__terms-list li {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-promotions__terms-cta {
    text-align: center;
}

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

.page-promotions__faq-item {
    background-color: var(--plus777-light-neutral);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: var(--plus777-gold);
    color: var(--plus777-text-light);
    font-weight: bold;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.page-promotions__faq-question h3 {
    margin: 0;
    color: var(--plus777-text-light);
    font-size: 1.1em;
}

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

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Changes + to x (or -) */
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: var(--plus777-text-dark);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 25px;
}

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

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

.page-promotions__btn-primary {
    background-color: var(--plus777-red);
    color: var(--plus777-text-light);
    border: 2px solid var(--plus777-red);
}

.page-promotions__btn-primary:hover {
    background-color: #a00000;
    border-color: #a00000;
}

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

.page-promotions__btn-secondary:hover {
    background-color: var(--plus777-red);
    color: var(--plus777-text-light);
}

.page-promotions__btn-tertiary {
    background-color: var(--plus777-gold);
    color: var(--plus777-text-light);
    border: 2px solid var(--plus777-gold);
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-promotions__btn-tertiary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 2.2em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-content {
        margin-top: -40px;
    }
    .page-promotions__main-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.6em;
        padding-top: 20px;
    }
    .page-promotions__section-description {
        font-size: 0.95em;
    }
    .page-promotions__hero-cta-buttons,
    .page-promotions__cta-buttons-bottom {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-tertiary {
        width: 100%;
        padding: 12px 20px;
    }

    .page-promotions__promotions-grid,
    .page-promotions__steps-grid,
    .page-promotions__vip-features-grid {
        grid-template-columns: 1fr;
    }
    
    .page-promotions__promo-card-image {
        height: 180px;
    }

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

    /* Mobile image and container responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__promo-card,
    .page-promotions__step-item,
    .page-promotions__vip-feature-card,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__faq-question,
    .page-promotions__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile button responsive */
    .page-promotions__cta-button,
    .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,
    .page-promotions__hero-cta-buttons,
    .page-promotions__cta-buttons-bottom {
        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__hero-cta-buttons,
    .page-promotions__cta-buttons-bottom {
        flex-direction: column !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 1.5em;
    }
    .page-promotions__section-title {
        font-size: 1.4em;
    }
    .page-promotions__hero-description {
        font-size: 0.9em;
    }
}