/* style/promotions.css */

/* Custom Colors */
:root {
    --promotions-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --promotions-card-bg: #11271B;
    --promotions-background: #08160F;
    --promotions-text-main: #F2FFF6;
    --promotions-text-secondary: #A7D9B8;
    --promotions-border: #2E7A4E;
    --promotions-glow: #57E38D;
    --promotions-gold: #F2C14E;
    --promotions-divider: #1E3A2A;
    --promotions-deep-green: #0A4B2C;
}

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

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

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum image size */
    min-height: 200px;
}

.page-promotions__hero-content {
    position: relative;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -150px; /* Overlap slightly with image for visual flow */
    background: rgba(8, 22, 15, 0.85); /* Slightly transparent dark background */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
    transform: translateY(50px); /* Lift content slightly */
    color: var(--promotions-text-main);
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--promotions-gold);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__hero-description {
    font-size: 1.1rem;
    color: var(--promotions-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--promotions-button-gradient);
    color: #ffffff; /* White text for contrast */
    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(--promotions-glow);
    border: 2px solid var(--promotions-glow);
}

.page-promotions__btn-secondary:hover {
    background: var(--promotions-glow);
    color: var(--promotions-background); /* Dark text on light background */
    transform: translateY(-2px);
}

.page-promotions__section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--promotions-background);
    color: var(--promotions-text-main);
}

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

.page-promotions__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--promotions-gold);
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-promotions__paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--promotions-text-secondary);
    text-align: left;
}

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

.page-promotions__card {
    background-color: var(--promotions-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--promotions-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px; /* Ensure cards have enough height for content */
}

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

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

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

.page-promotions__card-description {
    font-size: 1rem;
    color: var(--promotions-text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-promotions__btn-primary--small {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.page-promotions__list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    text-align: left;
}

.page-promotions__list-item {
    background-color: var(--promotions-card-bg);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--promotions-text-main);
    border-left: 5px solid var(--promotions-deep-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__list-item strong {
    color: var(--promotions-gold);
}

.page-promotions__grid--vip {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-bottom: 40px;
}

.page-promotions__vip-benefit {
    background-color: var(--promotions-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--promotions-border);
}

.page-promotions__vip-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--promotions-glow));
    min-width: 200px; /* Ensure minimum image size */
    min-height: 200px;
}

.page-promotions__vip-title {
    font-size: 1.4rem;
    color: var(--promotions-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions__vip-description {
    font-size: 1rem;
    color: var(--promotions-text-secondary);
    line-height: 1.6;
}

.page-promotions__numbered-list {
    list-style: none;
    counter-reset: my-counter;
    padding: 0;
    margin: 40px 0;
    text-align: left;
}

.page-promotions__numbered-list .page-promotions__list-item {
    counter-increment: my-counter;
    position: relative;
    padding-left: 50px;
    background-color: var(--promotions-card-bg);
    border-left: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__numbered-list .page-promotions__list-item::before {
    content: counter(my-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--promotions-deep-green);
    color: var(--promotions-text-main);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

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

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

.page-promotions__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--promotions-text-main);
    cursor: pointer;
    list-style: none;
    outline: none;
}

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

.page-promotions__faq-item summary:hover {
    background-color: var(--promotions-deep-green);
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--promotions-text-main);
}

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        margin-top: -100px;
        transform: translateY(30px);
    }
}

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

    .page-promotions__hero-content {
        margin-top: -80px;
        transform: translateY(20px);
        padding: 30px 15px;
    }

    .page-promotions__main-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-promotions__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .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;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

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

    .page-promotions__section-title {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-promotions__paragraph {
        font-size: 1rem;
        text-align: left;
    }

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

    .page-promotions__card {
        min-height: auto;
        padding: 25px;
    }

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

    .page-promotions__list-item {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-promotions__vip-icon {
        width: 80px;
        height: 80px;
        min-width: 200px; /* Ensure minimum image size */
        min-height: 200px;
    }

    .page-promotions__numbered-list .page-promotions__list-item {
        padding-left: 45px;
    }

    .page-promotions__numbered-list .page-promotions__list-item::before {
        width: 28px;
        height: 28px;
        font-size: 1rem;
        left: 10px;
    }

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

    .page-promotions__faq-qtext {
        font-size: 1.1rem;
    }

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

    .page-promotions__faq-answer {
        font-size: 0.95rem;
        padding: 0 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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }

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

    .page-promotions__section-title {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }
}