/* style/slot-games.css */

/* Base styles for the slot games page content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css (#000) */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-slot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-slot-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

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

/* General Section Styling */
.page-slot-games__section {
    padding: 60px 0;
    background-color: #000; /* Dark background for sections, matching body */
    color: #ffffff; /* Light text for dark background */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

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

/* Image Wrapper */
.page-slot-games__image-wrapper {
    margin: 40px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-slot-games__section-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block; /* Ensures proper spacing and max-width behavior */
    margin: 0 auto;
}

/* Lists Styling */
.page-slot-games__steps-list,
.page-slot-games__strategy-list,
.page-slot-games__promotion-list,
.page-slot-games__security-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-slot-games__list-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for list items */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__list-item p {
    color: #f0f0f0;
}

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

.page-slot-games__card {
    background: rgba(255, 255, 255, 0.08); /* Dark background with slight transparency */
    color: #ffffff; /* Light text */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

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

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

/* Call to Action Section */
.page-slot-games__cta-section .page-slot-games__container {
    background-color: #26A9E0; /* Brand color background for CTA */
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    color: #ffffff;
}

.page-slot-games__cta-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__cta-section .page-slot-games__section-title::after {
    background-color: #ffffff;
}

.page-slot-games__cta-section .page-slot-games__section-text {
    color: #f0f0f0;
}

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

.page-slot-games__btn-primary {
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

.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;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: #000; /* Dark background */
    color: #ffffff;
}

.page-slot-games__faq-list {
    margin-top: 40px;
}

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-title {
    font-size: 1.3em;
    color: #ffffff;
    margin: 0;
}

.page-slot-games__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Plus to X (minus) */
}

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

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large for content */
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 2.8em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* Mobile specific image adaptation */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

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

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

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

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

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

    .page-slot-games__list-item {
        padding: 20px;
    }

    .page-slot-games__list-title {
        font-size: 1.4em;
    }

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

    .page-slot-games__card-title {
        font-size: 1.5em;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        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-bottom: 10px; /* Add space between stacked buttons */
    }

    .page-slot-games__cta-section .page-slot-games__container {
        padding: 30px 15px;
    }
    
    /* Ensure content area images are not smaller than 200px */
    .page-slot-games__section-image {
        min-width: 200px;
        min-height: 200px;
   }}