/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #121212; /* Matching body background from shared.css */
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    background-color: #1a1a1a; /* Slightly lighter dark background for hero */
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    color: #26A9E0; /* Brand primary color for title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7);
}

/* General Section Styles */
.page-slot-games__section-title {
    font-size: 2.8em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 25px;
    padding-top: 40px;
}

.page-slot-games__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-slot-games__btn-link {
    background-color: transparent;
    color: #26A9E0;
    border: none;
    padding: 10px 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-slot-games__btn-link:hover {
    color: #1e87b7;
}

.page-slot-games__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
}

/* Dark Background Sections */
.page-slot-games__dark-bg {
    background-color: #0d0d0d; /* Slightly darker than body for distinction */
    color: #ffffff;
}

/* Intro Section */
.page-slot-games__intro-section {
    padding: 60px 20px;
}

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

.page-slot-games__feature-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__feature-icon {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-slot-games__feature-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-slot-games__feature-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 60px 20px;
    background-color: #121212;
}

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

.page-slot-games__card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-slot-games__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__card-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin: 20px 15px 10px;
}

.page-slot-games__card-text {
    font-size: 0.95em;
    color: #cccccc;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-slot-games__card .page-slot-games__btn-link {
    margin-top: auto;
    margin-bottom: 20px;
    padding-bottom: 0;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 60px 20px;
}

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

.page-slot-games__step-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #26A9E0;
    color: #FFFFFF;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-slot-games__step-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-slot-games__step-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 60px 20px;
    background-color: #121212;
}

.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-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-slot-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__promo-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin: 20px 15px 10px;
}

.page-slot-games__promo-text {
    font-size: 0.95em;
    color: #cccccc;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-slot-games__promo-card .page-slot-games__btn-link {
    margin-top: auto;
    margin-left: 15px;
    margin-bottom: 20px;
    padding-bottom: 0;
    text-align: left;
}

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming-section {
    padding: 60px 20px;
}

.page-slot-games__responsibility-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto;
}

.page-slot-games__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #f0f0f0;
    display: flex;
    align-items: center;
}

.page-slot-games__list-item::before {
    content: "✔️";
    margin-right: 15px;
    color: #26A9E0;
    font-size: 1.2em;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 20px;
    background-color: #121212;
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__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.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
    color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important;
    padding: 20px !important;
}

.page-slot-games__faq-answer p {
    margin: 0;
    padding: 0;
    font-size: 1em;
    color: #f0f0f0;
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
    padding: 60px 20px;
    text-align: center;
}

.page-slot-games__cta-final-section .page-slot-games__cta-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

    .page-slot-games__hero-section {
        padding: 80px 15px 40px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-slot-games__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-slot-games__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-slot-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-link {
        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-slot-games__cta-buttons,
    .page-slot-games__hero-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        flex-wrap: wrap !important;
        gap: 15px;
    }
    
    .page-slot-games__section-title {
        font-size: 1.8em;
        padding-top: 30px;
        margin-bottom: 20px;
    }

    .page-slot-games__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-slot-games__features-grid,
    .page-slot-games__type-cards-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__feature-item,
    .page-slot-games__card,
    .page-slot-games__step-item,
    .page-slot-games__promo-card {
        padding: 20px;
    }

    .page-slot-games__feature-icon {
        width: 100% !important;
        height: auto !important;
    }

    .page-slot-games__card-image,
    .page-slot-games__promo-image {
        height: 180px;
    }

    .page-slot-games__list-item {
        font-size: 1em;
        padding: 12px 15px;
    }

    .page-slot-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-slot-games__faq-answer {
        padding: 0 15px;
    }
    
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px !important;
    }

    /* General image responsiveness for all content images */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

/* Ensure no CSS filter on images */
.page-slot-games img {
    filter: none !important;
}

/* Ensure content area images are not too small */
.page-slot-games__features-grid img,
.page-slot-games__type-cards-grid img,
.page-slot-games__promo-grid img {
    min-width: 200px;
    min-height: 200px;
}

@media (max-width: 768px) {
    .page-slot-games__features-grid img,
    .page-slot-games__type-cards-grid img,
    .page-slot-games__promo-grid img {
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
}