/* style/slot-games.css */

/* Base Styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

/* Section Styling */
.page-slot-games__section-title {
    font-size: 2.5em;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-slot-games__dark-bg {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
    padding: 80px 0;
}

.page-slot-games__light-bg {
    background-color: #ffffff; /* White background for light sections */
    color: #333333;
    padding: 80px 0;
}

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__section-description,
.page-slot-games__light-bg .page-slot-games__feature-title,
.page-slot-games__light-bg .page-slot-games__feature-item p,
.page-slot-games__light-bg .page-slot-games__advantage-title,
.page-slot-games__light-bg .page-slot-games__advantage-item p,
.page-slot-games__light-bg .page-slot-games__faq-qtext,
.page-slot-games__light-bg .page-slot-games__faq-answer p,
.page-slot-games__light-bg .page-slot-games__testimonial-text,
.page-slot-games__light-bg .page-slot-games__testimonial-author {
    color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    padding: 100px 20px;
    overflow: hidden;
    background-color: #017439; /* Use brand primary color */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-right: 40px; /* Space for image */
    text-align: left;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    color: #FFFF00; /* Gold-like for emphasis */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 30px;
}

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

.page-slot-games__hero-image-wrapper {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 600px; /* Adjust as needed */
    height: auto;
}

.page-slot-games__hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__btn-primary {
    background-color: #C30808; /* Red for action (Register/Login) */
    color: #FFFF00; /* Yellow text for contrast */
    border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
    background-color: #e02020;
    transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
    transform: translateY(-2px);
}

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

.page-slot-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Intro Section */
.page-slot-games__feature-grid,
.page-slot-games__advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slot-games__feature-item,
.page-slot-games__advantage-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-slot-games__feature-title,
.page-slot-games__advantage-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__feature-item p,
.page-slot-games__advantage-item p {
    font-size: 1em;
    color: #555555;
}

/* Games Showcase */
.page-slot-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slot-games__game-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    filter: brightness(0.9); /* Slightly darken image to make text pop, NOT changing color */
}

.page-slot-games__game-title {
    font-size: 1.8em;
    color: #FFFF00; /* Yellow for emphasis */
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-slot-games__game-title a.page-slot-games__game-link {
    color: #FFFF00;
    text-decoration: none;
}

.page-slot-games__game-title a.page-slot-games__game-link:hover {
    text-decoration: underline;
}

.page-slot-games__game-description {
    font-size: 1em;
    color: #f0f0f0;
    padding: 0 15px 20px;
    flex-grow: 1; /* Allow description to take up available space */
}

.page-slot-games__game-card .page-slot-games__btn-primary {
    margin: 0 15px 20px;
}

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

/* Download App Section */
.page-slot-games__download-app {
    padding: 80px 0;
    background-color: #017439;
    color: #ffffff;
}

.page-slot-games__download-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-slot-games__download-text {
    flex: 1;
}

.page-slot-games__download-app .page-slot-games__section-title {
    text-align: left;
    color: #FFFF00;
}

.page-slot-games__download-app .page-slot-games__section-description {
    text-align: left;
    margin: 0 0 30px 0;
}

.page-slot-games__app-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.page-slot-games__btn-download {
    flex: 1;
    max-width: 250px;
}

.page-slot-games__small-text {
    font-size: 0.9em;
    color: #f0f0f0;
}

.page-slot-games__download-image-wrapper {
    flex-shrink: 0;
    width: 450px; /* Adjust as needed */
    height: auto;
    text-align: center;
}

.page-slot-games__download-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #e0ffe0; /* Light green for FAQ question */
    border-bottom: 1px solid #c0e0c0;
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-question::marker {
    display: none;
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #017439;
}

.page-slot-games__faq-answer {
    padding: 15px 20px;
    font-size: 1em;
    color: #555555;
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: none;
}

/* Final CTA Section */
.page-slot-games__cta-final {
    background-color: #017439;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__cta-final .page-slot-games__cta-title {
    font-size: 3em;
    color: #FFFF00;
    margin-bottom: 20px;
}

.page-slot-games__cta-final .page-slot-games__cta-description {
    font-size: 1.2em;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

/* Testimonials Section */
.page-slot-games__testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slot-games__testimonial-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__testimonial-text {
    font-style: italic;
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-slot-games__testimonial-author {
    font-weight: bold;
    color: #017439;
    text-align: right;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px;
    }

    .page-slot-games__hero-content {
        margin-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .page-slot-games__hero-buttons {
        justify-content: center;
    }

    .page-slot-games__hero-title {
        font-size: 3em;
    }

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

    .page-slot-games__download-content {
        flex-direction: column;
        text-align: center;
    }

    .page-slot-games__download-text {
        order: 2; /* Move text below image on smaller screens */
    }

    .page-slot-games__download-image-wrapper {
        order: 1;
        margin-bottom: 40px;
    }

    .page-slot-games__download-app .page-slot-games__section-title,
    .page-slot-games__download-app .page-slot-games__section-description {
        text-align: center;
    }

    .page-slot-games__app-buttons {
        justify-content: center;
    }
}

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

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

    .page-slot-games__hero-title {
        font-size: 2.5em;
    }

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

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

    .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;
        padding-right: 15px;
    }
    
    .page-slot-games__cta-buttons,
    .page-slot-games__app-buttons,
    .page-slot-games__hero-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

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

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

    .page-slot-games__feature-grid,
    .page-slot-games__advantage-grid,
    .page-slot-games__game-grid,
    .page-slot-games__testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__feature-item,
    .page-slot-games__advantage-item,
    .page-slot-games__game-card,
    .page-slot-games__testimonial-card {
        padding: 20px;
    }

    .page-slot-games__game-image {
        height: 180px;
    }

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

    .page-slot-games__download-image-wrapper {
        width: 100%;
    }

    .page-slot-games__cta-final .page-slot-games__cta-title {
        font-size: 2.2em;
    }

    .page-slot-games__cta-final .page-slot-games__cta-description {
        font-size: 1em;
    }

    /* Images responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__download-image-wrapper,
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__game-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Content area images CSS dimensions lower bound (check all selectors for img) */
    .page-slot-games__game-image { /* This is a content area image */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Ensure it's not smaller than 200px due to fixed height, it will scale */
        min-height: 200px; /* Enforce minimum height */
        object-fit: cover;
    }

    .page-slot-games__hero-image {
        min-height: 200px;
    }

    .page-slot-games__download-image {
        min-height: 200px;
    }

    /* No video section in this page, but if there was, this would apply: */
    .page-slot-games__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile padding-top for video section */
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 2em;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__cta-final .page-slot-games__cta-title {
        font-size: 1.8em;
    }
}

/* Ensure no CSS filter is used on images */
.page-slot-games img {
    filter: none; /* Explicitly reset any potential filter */
}