/* style/promotions.css */
/* Base styles for the promotions page */
.page-promotions {
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Inherit from body or shared, ensuring text contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Fixed Header Spacing */
/* Apply padding-top to the first content section or main if not handled by shared body padding */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    padding-bottom: 60px;
    background-color: #0a0a0a; /* Ensure hero section has a background for contrast */
    text-align: center;
    overflow: hidden; /* For responsive images */
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3; /* Make it a background image, ensure text readability */
    /* No filter allowed */
}

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

.page-promotions__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-promotions__hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure responsiveness */
}

.page-promotions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #0a0a0a; /* Dark background from body */
    color: #ffffff; /* Light text for contrast */
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for readability */
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-promotions__btn-primary {
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-promotions__btn-primary:hover {
    background-color: #1e87c0; /* Darker shade for hover */
    border-color: #1e87c0;
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Brand color */
    border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-promotions__btn-large {
    font-size: 1.2em;
    padding: 18px 35px;
}

.page-promotions__btn-full-width {
    width: 100%;
    max-width: 400px; /* Limit max width on desktop */
    margin: 20px auto;
    display: block;
}

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

.page-promotions__promo-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff; /* Light text */
}

.page-promotions__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    /* No filter allowed */
}

.page-promotions__promo-card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions__promo-card-title a {
    color: inherit;
    text-decoration: none;
}

.page-promotions__promo-card-title a:hover {
    text-decoration: underline;
}

.page-promotions__promo-card-description {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Game Specific Promos */
.page-promotions__game-promo-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-promotions__game-promo-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #26A9E0;
    padding: 20px;
    border-radius: 8px;
    flex: 1 1 calc(50% - 20px); /* Two columns on desktop */
    max-width: calc(50% - 10px);
    box-sizing: border-box;
    color: #ffffff;
}

.page-promotions__game-promo-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-promotions__game-promo-description {
    font-size: 0.95em;
    color: #e0e0e0;
    margin-bottom: 15px;
}

/* VIP Program */
.page-promotions__vip-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-promotions__vip-text {
    flex: 1;
    min-width: 300px;
    color: #ffffff;
}

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

.page-promotions__vip-benefits-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.page-promotions__vip-benefits-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #26A9E0;
}

.page-promotions__vip-image {
    flex: 1;
    min-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    /* No filter allowed */
}

/* Terms and Conditions */
.page-promotions__terms-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-promotions__term-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-promotions__term-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-promotions__term-description {
    font-size: 0.95em;
    color: #e0e0e0;
}

.page-promotions__term-description a {
    color: #26A9E0;
    text-decoration: none;
}

.page-promotions__term-description a:hover {
    text-decoration: underline;
}

/* Maximize Promos */
.page-promotions__tips-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.page-promotions__tips-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-promotions__tips-list li::before {
    content: '💡';
    position: absolute;
    left: 0;
    top: 0;
}

/* Final CTA */
.page-promotions__final-cta .page-promotions__cta-group {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 30px;
}

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-promotions__faq-question::marker, /* For Firefox */
.page-promotions__faq-question::-webkit-details-marker { /* For Chrome/Safari */
    display: none;
}

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

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

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

.page-promotions__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }

    .page-promotions__section-title {
        font-size: 2em;
    }

    .page-promotions__vip-content {
        flex-direction: column;
    }

    .page-promotions__vip-image,
    .page-promotions__vip-text {
        min-width: unset;
        width: 100%;
    }
}

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

    .page-promotions__hero-title {
        font-size: 2em;
    }

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

    .page-promotions__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .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__section-title {
        font-size: 1.8em;
    }

    .page-promotions__content-area {
        padding: 30px 15px;
    }

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

    .page-promotions__game-promo-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .page-promotions__terms-list {
        grid-template-columns: 1fr;
    }

    /* 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__game-promo-item,
    .page-promotions__vip-content,
    .page-promotions__term-item,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure video elements are also responsive if they were added */
    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    /* Video section padding top for mobile */
    .page-promotions__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .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-group {
        flex-direction: column;
    }
}