/* style/promotions.css */
:root {
    --primary-color: #0A1931; /* Deep Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #222;
    --card-background-dark: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark bg */
    --hover-gold: #e6c200;
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--background-dark); /* Ensure consistency if body background is not set by shared */
}

/* Ensure main content is not hidden by fixed header */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Desktop */
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2a46 50%, var(--primary-color) 100%);
    color: var(--text-light);
    overflow: hidden; /* Prevent content overflow */
}

.page-promotions__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-promotions__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Global image styling to prevent small icons */
    min-
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-promotions__hero-title {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.85);
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-promotions__cta-button:hover {
    background: var(--hover-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.page-promotions__section {
    padding: 80px 0;
    text-align: center;
}

.page-promotions__section:nth-of-type(even) {
    background-color: var(--primary-color); /* Dark blue for even sections */
    color: var(--text-light);
}

.page-promotions__section:nth-of-type(odd) {
    background-color: var(--background-dark); /* Dark background for odd sections */
    color: var(--text-light);
}

.page-promotions__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.page-promotions__center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-promotions__section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--secondary-color);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: rgba(255, 255, 255, 0.85);
}

.page-promotions__features-grid,
.page-promotions__promo-grid,
.page-promotions__game-grid,
.page-promotions__vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__card {
    background: var(--card-background-dark); /* Light transparent background for cards on dark body */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--text-light);
}

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

.page-promotions__feature-title,
.page-promotions__promo-title,
.page-promotions__list-title,
.page-promotions__game-title,
.page-promotions__vip-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-promotions__feature-item p,
.page-promotions__promo-text,
.page-promotions__list-item p,
.page-promotions__game-card p,
.page-promotions__vip-item p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

.page-promotions__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(255, 215, 0, 0.2);
}

.page-promotions__btn-primary:hover {
    background: var(--hover-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 215, 0, 0.3);
}

.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--secondary-color);
    text-decoration: none;
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-promotions__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 215, 0, 0.3);
}

.page-promotions__center-button {
    margin-top: 50px;
}

.page-promotions__large-button {
    padding: 18px 45px;
    font-size: 1.2em;
}

.page-promotions__promo-image,
.page-promotions__game-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Global image styling to prevent small icons */
    min-height: 150px;
}

.page-promotions__promo-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-promotions__list-item {
    background: var(--card-background-dark);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-promotions__list-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-promotions__list-item p {
    flex-grow: 1;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.page-promotions__game-card .page-promotions__btn-primary {
    width: fit-content;
    align-self: center;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
}

.page-promotions__terms-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 1em;
}

.page-promotions__terms-list li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1.6;
}

/* FAQ styles */
.page-promotions__faq {
    background-color: var(--background-dark);
    color: var(--text-light);
}

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

.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-background-dark);
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promotions__faq-item.active .page-promotions__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: #1a2a46; /* Slightly lighter dark blue when active */
}

.page-promotions__faq-question:hover {
    background: #1a2a46;
}

.page-promotions__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--secondary-color);
}

.page-promotions__faq-toggle {
    font-size: 2em;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    color: var(--hover-gold);
    transform: rotate(45deg); /* Optional: rotate for 'X' effect */
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    background: var(--card-background-dark);
    border-radius: 0 0 8px 8px;
}

.page-promotions__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}


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

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-promotions__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-promotions__cta-button {
        padding: 15px 35px;
        font-size: 1.1em;
        width: 100% !important; /* Button responsive */
        max-width: 300px !important; /* Limit max width for a single button */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__section {
        padding: 50px 0;
    }

    .page-promotions__container {
        padding: 0 15px;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-promotions__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }

    .page-promotions__features-grid,
    .page-promotions__promo-grid,
    .page-promotions__game-grid,
    .page-promotions__vip-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__card {
        padding: 25px;
    }

    .page-promotions__feature-title,
    .page-promotions__promo-title,
    .page-promotions__list-title,
    .page-promotions__game-title,
    .page-promotions__vip-title {
        font-size: 1.2em;
    }

    .page-promotions__promo-image,
    .page-promotions__game-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Ensure minimum size */
        min-height: 150px !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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
        font-size: 1em;
    }

    .page-promotions__center-button {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-promotions__promo-list {
        margin-top: 20px;
    }

    .page-promotions__list-item {
        padding: 20px;
    }

    .page-promotions__terms-list {
        margin: 30px auto;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__terms-list li {
        padding-left: 20px;
        font-size: 0.95em;
    }

    .page-promotions__terms-list li::before {
        font-size: 1.1em;
    }

    /* FAQ Mobile */
    .page-promotions__faq-question {
        padding: 15px 20px;
    }

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

    .page-promotions__faq-toggle {
        font-size: 1.8em;
        width: 28px;
        height: 28px;
    }

    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px 20px !important;
    }

    .page-promotions__faq-answer p {
        font-size: 0.95em;
    }

    /* Ensure all image containers are responsive */
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Global image styling for content area to prevent small icons, as per requirements */
.page-promotions img {
    min-width: 200px;
    min- /* Example, adjust as needed */
    object-fit: cover;
}

/* Ensure content area images are not smaller than 200px */
.page-promotions__overview img,
.page-promotions__welcome-bonus img,
.page-promotions__daily-weekly img,
.page-promotions__game-specific img,
.page-promotions__vip-cashback img,
.page-promotions__terms-conditions img,
.page-promotions__faq img,
.page-promotions__cta-final img {
    min-width: 200px;
    min-
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .page-promotions__overview img,
    .page-promotions__welcome-bonus img,
    .page-promotions__daily-weekly img,
    .page-promotions__game-specific img,
    .page-promotions__vip-cashback img,
    .page-promotions__terms-conditions img,
    .page-promotions__faq img,
    .page-promotions__cta-final img {
        min-width: 200px !important;
        min-
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}