/* style/slot-games.css */

/* Base styles for the page content, considering body background is #000 */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark body background */
    line-height: 1.6;
    background-color: transparent; /* Main content background is transparent to show body background */
}

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

.page-slot-games__dark-bg {
    background-color: #0A2463; /* Primary brand color for dark sections */
    color: #ffffff;
    padding: 60px 0;
}

.page-slot-games__light-bg {
    background-color: #f8f9fa; /* Light background for contrast sections */
    color: #333333;
    padding: 60px 0;
}

.page-slot-games__text-center {
    text-align: center;
}

/* Header offset for the first section */
.page-slot-games__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Prevent content overflow */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Slightly dim the background image */
}

.page-slot-games__main-title {
    font-size: 3.2em;
    color: #E3B505; /* Accent color for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    font-weight: bold;
}

.page-slot-games__dark-bg .page-slot-games__section-title {
    color: #E3B505;
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: #0A2463;
}

/* Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap 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;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure buttons adapt to container width */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background-color: #E3B505; /* Accent color */
    color: #0A2463; /* Primary color text */
    border: 2px solid #E3B505;
}

.page-slot-games__btn-primary:hover {
    background-color: #ffc933;
    border-color: #ffc933;
    transform: translateY(-3px);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #E3B505; /* Accent color */
    border: 2px solid #E3B505;
}

.page-slot-games__btn-secondary:hover {
    background-color: #E3B505;
    color: #0A2463;
    transform: translateY(-3px);
}

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

.page-slot-games__grid--2-cols {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-slot-games__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #ffffff; /* Default text color for cards on dark background */
}

.page-slot-games__light-bg .page-slot-games__card {
    background-color: #ffffff; /* White background for cards on light background */
    color: #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__card-image {
    width: 100%;
    height: 250px; /* Fixed height for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure image takes full width */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: #E3B505; /* Accent color for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__light-bg .page-slot-games__card-title {
    color: #0A2463;
}

.page-slot-games__card p {
    font-size: 1em;
    flex-grow: 1; /* Allow paragraph to take available space */
}

.page-slot-games__image-content {
    display: block;
    margin: 40px auto 0;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* Lists */
.page-slot-games__ordered-list,
.page-slot-games__unordered-list {
    max-width: 800px;
    margin: 30px auto;
    padding-left: 25px;
    text-align: left;
}

.page-slot-games__ordered-list li,
.page-slot-games__unordered-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-slot-games__ordered-list strong,
.page-slot-games__unordered-list strong {
    color: #E3B505;
}

/* Video Section */
.page-slot-games__video-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    padding-bottom: 60px;
    background-color: #0A2463;
    color: #ffffff;
    text-align: center;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px; /* Max width for the video container */
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 100%; /* Ensure wrapper takes full width */
    box-sizing: border-box;
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    max-width: 100%; /* Ensure video adapts to container width */
    height: auto;
    cursor: pointer; /* Indicate clickable */
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__faq-item {
    background-color: #ffffff; /* White background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: #333333; /* Dark text for FAQ items */
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f0f0f0;
    font-weight: bold;
    font-size: 1.1em;
    color: #0A2463; /* Primary color for question text */
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: #e0e0e0;
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #E3B505; /* Accent color for toggle icon */
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Rotate to form a minus sign */
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #ffffff;
    color: #333333;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 25px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 2.8em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__grid--2-cols {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-bottom: 40px;
    }

    .page-slot-games__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-slot-games__intro-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to container to prevent overflow */
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__dark-bg,
    .page-slot-games__light-bg {
        padding: 40px 0;
    }

    .page-slot-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-slot-games__image-content,
    .page-slot-games__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        box-sizing: border-box !important;
    }

    /* Ensure all image containers also adapt */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video section mobile adaptation */
    .page-slot-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 20px auto;
        padding-left: 0;
        padding-right: 0;
    }

    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

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

    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 10px 20px 20px;
    }
}

/* General image rules for content area - enforce minimum size and no filter */
.page-slot-games img {
    filter: none !important; /* Absolutely no CSS filter on images */
    min-width: 200px;
    min-height: 200px;
}