/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: var(--accent-color, #FFFFFF); /* Inherit from shared, fallback to white */
}

.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #26A9E0; /* Primary color for titles */
}

.page-slot-games__section-title--white {
    color: #FFFFFF;
}

.page-slot-games__subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-slot-games__paragraph {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__paragraph--white {
    color: #f0f0f0;
}

.page-slot-games__list {
    list-style: disc;
    text-align: left;
    max-width: 800px;
    margin: 20px auto;
    padding-left: 40px;
    font-size: 17px;
    color: #333333;
}

.page-slot-games__list li {
    margin-bottom: 10px;
}

.page-slot-games__list-highlight {
    color: #26A9E0;
}

/* Color contrast classes */
.page-slot-games__dark-bg {
    background-color: #26A9E0; /* Primary color as dark background */
    color: #FFFFFF;
}

.page-slot-games__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-slot-games__card {
    background: #ffffff;
    color: #333333;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-slot-games__card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 6px;
    margin-bottom: 15px;
    object-fit: cover;
    min-height: 200px; /* Enforce minimum image size */
}

/* Hero Section */
.page-slot-games__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); /* Fixed header offset */
    overflow: hidden; /* Prevent content overflow */
}

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

.page-slot-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-height: 400px; /* Ensure hero image is large */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-slot-games__main-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-primary {
    background: #EA7C07; /* Custom color for Login/Primary CTA */
    color: #ffffff;
    border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
    background: #d46b00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary {
    background: #FFFFFF;
    color: #26A9E0; /* Primary color for text */
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
    background: #e0f2f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Feature Section */
.page-slot-games__intro-section {
    padding-top: 40px; /* Adjust padding to avoid double offset if main already has it */
}

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

.page-slot-games__feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    color: #26A9E0;
}

/* Popular Games Section */
.page-slot-games__popular-games {
    background-color: #26A9E0;
}

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

.page-slot-games__game-card {
    background: #FFFFFF;
    color: #333333;
    padding: 20px;
    text-align: center;
}

.page-slot-games__game-card img {
    min-height: 200px; /* Enforce minimum image size */
}

.page-slot-games__game-title {
    font-size: 20px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-slot-games__btn-play {
    display: inline-block;
    padding: 10px 25px;
    background: #EA7C07;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-play:hover {
    background: #d46b00;
}

.page-slot-games__view-all-games,
.page-slot-games__view-all-promos {
    margin-top: 50px;
}

/* How to Play Section */
.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__step-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.page-slot-games__step-title {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    color: #26A9E0;
}

/* Promotions Section */
.page-slot-games__promotions {
    background-color: #26A9E0;
}

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

.page-slot-games__promo-card {
    background: #FFFFFF;
    color: #333333;
    padding: 20px;
    text-align: center;
}

.page-slot-games__promo-card img {
    min-height: 200px; /* Enforce minimum image size */
}

.page-slot-games__promo-title {
    font-size: 20px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-slot-games__btn-promo {
    display: inline-block;
    padding: 10px 25px;
    background: #EA7C07;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-promo:hover {
    background: #d46b00;
}

/* Security and Support Section */
.page-slot-games__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__info-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.page-slot-games__info-title {
    font-size: 22px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-slot-games__btn-support {
    display: inline-block;
    padding: 10px 25px;
    background: #26A9E0;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-support:hover {
    background: #1e87bb;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: #26A9E0;
}

.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-slot-games__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 15px;
    opacity: 0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #333333;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #333333;
}

.page-slot-games__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-slot-games__faq-question:active {
    background: #eeeeee;
}

.page-slot-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #333333;
}

.page-slot-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    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: 28px;
    height: 28px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    color: #333;
    transform: rotate(180deg); /* Rotate for minus sign visual */
}

/* Final CTA Section */
.page-slot-games__final-cta {
    padding-bottom: 80px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__container {
        padding: 15px;
    }

    .page-slot-games__section {
        padding: 40px 0;
    }

    .page-slot-games__section-title {
        font-size: 28px;
    }

    .page-slot-games__subtitle {
        font-size: 20px;
    }

    .page-slot-games__paragraph {
        font-size: 16px;
    }

    .page-slot-games__list {
        padding-left: 20px;
        font-size: 16px;
    }

    /* Hero Section Mobile */
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__hero-image img {
        border-radius: 4px;
        min-height: 250px;
    }

    .page-slot-games__main-title {
        font-size: 32px;
    }

    .page-slot-games__hero-description {
        font-size: 16px;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%; /* Ensure full width */
        padding-left: 0;
        padding-right: 0;
    }

    .page-slot-games__cta-button,
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"],
    .page-slot-games__btn-play,
    .page-slot-games__btn-promo,
    .page-slot-games__btn-support {
        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;
        margin-left: auto;
        margin-right: auto;
    }

    .page-slot-games__feature-grid,
    .page-slot-games__game-carousel,
    .page-slot-games__steps-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__card {
        padding: 15px;
    }

    .page-slot-games__card img {
        min-
    }

    .page-slot-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-slot-games__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-slot-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-slot-games__faq-answer {
        padding: 0 15px;
    }
    
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px !important;
    }

    /* All images in content area must be responsive */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__promo-card,
    .page-slot-games__game-card,
    .page-slot-games__step-item,
    .page-slot-games__info-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}