/* style/slot-games.css */

/* Base styles for the page */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    background-color: #26A9E0; /* Brand color as background */
    color: #FFFFFF; /* White text for brand color background */
    overflow: hidden;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.page-slot-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

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

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-slot-games__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

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

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

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

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

/* General Section Styles */
.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__dark-bg {
    background-color: #26A9E0; /* Brand color */
    color: #FFFFFF;
}

.page-slot-games__light-bg {
    background-color: #FFFFFF; /* White background */
    color: #333333;
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #26A9E0; /* Brand color for titles on light background */
}

.page-slot-games__section-title--white {
    color: #FFFFFF; /* White for titles on dark background */
}

.page-slot-games__content-area {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.1em;
}

.page-slot-games__content-area p {
    margin-bottom: 20px;
}

.page-slot-games__text-block--white p,
.page-slot-games__text-block--white li {
    color: #FFFFFF; /* Ensure white text on dark backgrounds for content */
}

/* Image styles within content */
.page-slot-games__image-full {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    object-fit: cover;
    min-height: 200px; /* Min size constraint */
}

.page-slot-games__image-center {
    display: block;
    margin: 30px auto;
    max-width: 80%; /* Smaller on desktop for aesthetic */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px; /* Min size constraint */
}

.page-slot-games__image-right {
    float: right;
    margin: 15px 0 15px 30px;
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px; /* Min size constraint */
}

.page-slot-games__content-area::after {
    content: "";
    display: table;
    clear: both;
}

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

.page-slot-games__grid-item {
    text-align: left;
}

.page-slot-games__card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards are same height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #333333; /* Dark text for light card background */
}

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

.page-slot-games__card-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for card titles */
}

/* Lists */
.page-slot-games__feature-list,
.page-slot-games__promo-list,
.page-slot-games__strategy-list,
.page-slot-games__steps-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    text-align: left;
}

.page-slot-games__strategy-list {
    list-style-type: decimal;
    color: #FFFFFF; /* White for dark background */
}

.page-slot-games__feature-list li,
.page-slot-games__promo-list li,
.page-slot-games__strategy-list li,
.page-slot-games__steps-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-slot-games__promo-list li strong {
    color: #EA7C07; /* Highlight promo names */
}

.page-slot-games__cta-section {
    padding: 80px 20px;
    background-color: #26A9E0;
    color: #FFFFFF;
}

/* FAQ Section */
.page-slot-games__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.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: #26A9E0;
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0; /* Ensure toggle icon has brand color */
}

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

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

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show 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;
    }

    .page-slot-games__hero-section {
        min-height: 400px;
    }
}

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

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

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

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

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

    .page-slot-games__section {
        padding: 40px 0;
    }

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

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

    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-height: 200px !important; /* Enforce min size */
        box-sizing: border-box !important;
    }
    
    .page-slot-games__image-full,
    .page-slot-games__image-center,
    .page-slot-games__image-right {
        float: none;
        margin: 20px auto !important;
    }
    
    .page-slot-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

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

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

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

    .page-slot-games__feature-list,
    .page-slot-games__promo-list,
    .page-slot-games__strategy-list,
    .page-slot-games__steps-list {
        margin-left: 20px;
    }

    .page-slot-games__feature-list li,
    .page-slot-games__promo-list li,
    .page-slot-games__strategy-list li,
    .page-slot-games__steps-list li {
        font-size: 1em;
    }

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

    .page-slot-games__faq-answer {
        padding: 15px;
    }
    
    /* Ensure all content containers are constrained */
    .page-slot-games__section,
    .page-slot-games__content-area,
    .page-slot-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }
}

/* Ensure anchor tags within content are styled for readability */
.page-slot-games__content-area a,
.page-slot-games__faq-answer a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: underline;
    font-weight: bold;
}

.page-slot-games__content-area a:hover,
.page-slot-games__faq-answer a:hover {
    color: #1a7fb2;
}