/* style/promotions.css */

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

.page-promotions {
    background-color: var(--n66-bg-dark);
    color: var(--n66-text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure space above footer */
}

/* Typography */
.page-promotions h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive H1 font size */
    color: var(--n66-text-main);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.page-promotions h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--n66-text-main);
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.3;
}

.page-promotions h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--n66-text-main);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.page-promotions p,
.page-promotions li {
    font-size: 1rem;
    color: var(--n66-text-secondary);
    margin-bottom: 1rem;
}

.page-promotions a {
    color: var(--n66-gold); /* Links in content */
    text-decoration: none;
}

.page-promotions a:hover {
    text-decoration: underline;
    color: var(--n66-glow);
}

/* Sections & Containers */
.page-promotions__hero-section {
    position: relative;
    padding: 10px 20px 60px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

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

.page-promotions__hero-content {
    max-width: 900px;
    position: relative; /* Ensure content is above any potential background elements */
    z-index: 2;
}

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

/* Buttons */
.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px; /* Minimum button width */
    max-width: 100%; /* Ensure button adapts to container */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-promotions__btn-primary {
    background: var(--n66-button-gradient);
    color: var(--n66-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 255, 100, 0.3);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 100, 0.4);
    opacity: 0.9;
}

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

.page-promotions__btn-secondary:hover {
    background-color: var(--n66-gold);
    color: var(--n66-bg-dark); /* Dark text on gold hover */
    transform: translateY(-3px);
}

/* Promotions Grid */
.page-promotions__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.page-promotions__promotion-card {
    background-color: var(--n66-card-bg);
    border: 1px solid var(--n66-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promotion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Minimum image size */
    min-height: 200px;
}

.page-promotions__card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions__card-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--n66-text-main);
}

.page-promotions__card-content p {
    font-size: 0.95rem;
    color: var(--n66-text-secondary);
    flex-grow: 1;
}

.page-promotions__card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--n66-gold);
    font-weight: 600;
    text-decoration: none;
}

.page-promotions__card-link:hover {
    text-decoration: underline;
    color: var(--n66-glow);
}

/* VIP Section */
.page-promotions__vip-section {
    background-color: var(--n66-deep-green); /* A slightly different dark background */
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 1200px;
    box-sizing: border-box;
}

.page-promotions__vip-section h2 {
    color: var(--n66-text-main);
    margin-top: 0;
}

.page-promotions__vip-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--n66-text-secondary);
}

.page-promotions__vip-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

/* Terms Section */
.page-promotions__terms-section ul {
    list-style: disc;
    padding-left: 25px;
    color: var(--n66-text-secondary);
}

.page-promotions__terms-section li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--n66-text-secondary);
}

/* FAQ Section */
.page-promotions__faq-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

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

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--n66-text-main);
    font-size: 1.1rem;
}

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

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

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-promotions__faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--n66-text-secondary);
}

/* Divider for visual separation */
.page-promotions__divider {
    height: 1px;
    background-color: var(--n66-divider);
    margin: 4rem auto;
    max-width: 800px;
}

/* Conclusion Section */
.page-promotions__conclusion-section {
    text-align: center;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-promotions__conclusion-section h2 {
    margin-top: 0;
}

.page-promotions__conclusion-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .page-promotions__section,
    .page-promotions__vip-section,
    .page-promotions__faq-section,
    .page-promotions__conclusion-section {
        padding: 30px 15px;
    }

    /* Mobile image adaptation */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__hero-image-wrapper,
    .page-promotions__promotions-grid,
    .page-promotions__promotion-card,
    .page-promotions__vip-section,
    .page-promotions__faq-section,
    .page-promotions__faq-item,
    .page-promotions__cta-buttons,
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__section,
    .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add padding to prevent content from touching edges */
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-promotions__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .page-promotions__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        padding: 0.8rem 1rem;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions h1 {
        font-size: 2rem;
    }

    .page-promotions h2 {
        font-size: 1.8rem;
    }

    .page-promotions h3 {
        font-size: 1.3rem;
    }

    .page-promotions p,
    .page-promotions li {
        font-size: 0.95rem;
    }

    .page-promotions__faq-question {
        font-size: 1rem;
    }
}