/* style/slot-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-slot-games {
    font-family: Arial, sans-serif;
    color: #F2FFF6; /* Text Main */
    line-height: 1.6;
    background-color: #08160F; /* Background color from custom scheme */
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image then text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    background-color: #08160F; /* Background */
}

.page-slot-games__hero-image {
    width: 100%;
    max-width: 1920px; /* Ensure image is not too small, but responsive */
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and text */
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-slot-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-slot-games__description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

/* Call to Action Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    text-align: center;
    min-width: 180px; /* Give buttons a reasonable min-width */
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: none;
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: #2AD16F; /* Green from button gradient */
    border: 2px solid #2AD16F; /* Border color using a bright green */
}

.page-slot-games__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1);
    transform: translateY(-2px);
}

/* Sections */
.page-slot-games__features-section,
.page-slot-games__game-categories,
.page-slot-games__providers-section,
.page-slot-games__how-to-play,
.page-slot-games__faq-section,
.page-slot-games__call-to-action {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

.page-slot-games__dark-section {
    background-color: #11271B; /* Card BG, used for darker sections */
}

.page-slot-games__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

/* Feature Grid / Category Grid */
.page-slot-games__feature-grid,
.page-slot-games__category-grid,
.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F2FFF6; /* Text Main */
    border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-games__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
    object-fit: cover;
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__card-text {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    flex-grow: 1; /* Push button to bottom */
    margin-bottom: 20px;
}

.page-slot-games__card .page-slot-games__btn-secondary {
    margin-top: auto; /* Push button to bottom */
}

/* Providers Section */
.page-slot-games__providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    justify-items: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-slot-games__provider-logo img {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: grayscale(100%); /* Make logos grayscale */
    min-width: 200px; /* Min size requirement */
    min- /* Min size requirement for logos */
    object-fit: contain; /* Ensure logos fit */
}

.page-slot-games__provider-logo img:hover {
    opacity: 1;
    filter: grayscale(0%); /* Color on hover */
}

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

/* How to Play Steps */
.page-slot-games__step-card {
    padding: 40px;
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
}

.page-slot-games__faq-item {
    margin-bottom: 15px;
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 12px;
    overflow: hidden;
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    user-select: none;
    position: relative;
    list-style: none; /* Hide default marker */
}

.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 20px;
    color: #57E38D; /* Glow color */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-slot-games__faq-answer {
    padding: 0 30px 20px 30px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__faq-answer p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__hero-section {
        padding: 40px 15px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }

    .page-slot-games__description {
        font-size: 1em;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.6em, 4vw, 2.5em);
    }

    .page-slot-games__text-block {
        font-size: 0.95em;
    }

    .page-slot-games__feature-grid,
    .page-slot-games__category-grid,
    .page-slot-games__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

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

    .page-slot-games__faq-item summary {
        padding: 18px 25px;
        font-size: 1.1em;
    }

    .page-slot-games__faq-answer {
        padding: 0 25px 18px 25px;
    }
}

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

    .page-slot-games__hero-section {
        padding: 30px 15px;
    }

    .page-slot-games__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.6em, 6vw, 2.5em);
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games a[class*="button"],
    .page-slot-games 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; /* Ensure padding for text */
        padding-right: 15px; /* Ensure padding for text */
        min-width: unset; /* Remove min-width for mobile */
    }

    .page-slot-games__section-title {
        font-size: clamp(1.4em, 5vw, 2em);
        margin-bottom: 30px;
    }

    .page-slot-games__text-block {
        font-size: 0.9em;
        margin-bottom: 40px;
    }

    .page-slot-games__feature-grid,
    .page-slot-games__category-grid,
    .page-slot-games__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__card {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px; /* Min size requirement */
        min-height: 200px; /* Min size requirement */
    }
    
    .page-slot-games__providers-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .page-slot-games__provider-logo img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min- /* Adjust min-width for mobile logos */
        min-
    }

    .page-slot-games__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-slot-games__faq-answer {
        padding: 0 20px 15px 20px;
    }

    /* Mobile specific padding for all sections to prevent overflow */
    .page-slot-games__features-section .page-slot-games__container,
    .page-slot-games__game-categories .page-slot-games__container,
    .page-slot-games__providers-section .page-slot-games__container,
    .page-slot-games__how-to-play .page-slot-games__container,
    .page-slot-games__faq-section .page-slot-games__container,
    .page-slot-games__call-to-action .page-slot-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure content doesn't overflow */
    }
    
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body already has padding-top */
    }
}

/* Ensure no filter is applied to images */
.page-slot-games img {
    filter: none;
}

/* Ensure content area images are not too small */
.page-slot-games__feature-card img,
.page-slot-games__category-card img,
.page-slot-games__step-card img {
    min-width: 200px;
    min-height: 200px;
}

/* Specific min-width for provider logos if needed, ensuring they are not tiny */
.page-slot-games__provider-logo img {
    min-width: 200px; /* Ensure logos are not tiny, override if needed in media query */
    min-
}

@media (max-width: 768px) {
    .page-slot-games__provider-logo img {
        min- /* Smaller min-width for mobile logos */
        min-
    }
}