/* style/slot-games.css */
.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); /* Fallback to white if var not set */
}

.page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first section */
}

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

.page-slot-games__dark-bg {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff; /* White text for dark background */
}

.page-slot-games__light-bg {
    background-color: #ffffff; /* Auxiliary color / White background */
    color: #333333; /* Dark text for light background */
}

.page-slot-games__hero-section {
    position: relative;
    text-align: center;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff; /* White text on dark blue background */
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    line-height: 1.8;
    color: #ffffff; /* White text on dark blue background */
}

.page-slot-games__hero-cta-buttons,
.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping for buttons */
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    min-width: 180px; /* Ensure buttons are not too small */
    text-align: center;
}

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

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

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

.page-slot-games__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1e87c0;
}

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

.page-slot-games__intro-section,
.page-slot-games__popular-games,
.page-slot-games__tips-section,
.page-slot-games__cta-section {
    padding: 80px 0;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    text-align: center;
    line-height: 1.7;
}

.page-slot-games__text-block a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-slot-games__text-block a:hover {
    color: #1e87c0;
}

.page-slot-games__content-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

.page-slot-games__features-section {
    padding: 80px 0;
}

.page-slot-games__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark blue */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #ffffff; /* White text on dark blue background */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-slot-games__feature-card .page-slot-games__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff; /* White text */
}

.page-slot-games__feature-card .page-slot-games__card-text {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0; /* Slightly off-white for contrast */
    flex-grow: 1; /* Allow text to grow */
}

.page-slot-games__feature-card .page-slot-games__card-text a {
    color: #FFD700; /* Gold for links on dark background */
    text-decoration: underline;
}

.page-slot-games__feature-card .page-slot-games__card-text a:hover {
    color: #f0c000;
}

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

.page-slot-games__game-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333; /* Dark text for light background */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__game-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

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

.page-slot-games__game-card .page-slot-games__card-text {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__how-to-play {
    padding: 80px 0;
}

.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__step-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark blue */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__step-icon {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFD700; /* Gold for icons */
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFD700;
    border-radius: 50%;
}

.page-slot-games__step-card .page-slot-games__card-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-slot-games__step-card .page-slot-games__card-text {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
}

.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-slot-games__list-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    color: #333333;
}

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

.page-slot-games__list-text {
    font-size: 1em;
    line-height: 1.7;
}

.page-slot-games__faq-section {
    padding: 80px 0;
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Lighter transparent white on dark blue */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #26A9E0; /* Brand primary for question background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    list-style: none; /* Remove default marker for summary */
}

/* Hide default marker for details summary */
.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: #ffffff;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Rotate to form an 'X' or '-' */
}

.page-slot-games__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    background-color: rgba(255, 255, 255, 0.05); /* Even lighter background for answer */
    color: #f0f0f0;
}

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

    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

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

    .page-slot-games__intro-section,
    .page-slot-games__popular-games,
    .page-slot-games__tips-section,
    .page-slot-games__cta-section,
    .page-slot-games__features-section,
    .page-slot-games__how-to-play,
    .page-slot-games__faq-section {
        padding: 40px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__container {
        padding: 0; /* Remove horizontal padding as section already has it */
    }

    /* All images must be responsive */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Allow smaller images on mobile if needed, but min 200px is global */
        min-height: unset !important;
    }

    /* All image/video containers must be responsive */
    .page-slot-games__hero-section,
    .page-slot-games__intro-section,
    .page-slot-games__popular-games,
    .page-slot-games__tips-section,
    .page-slot-games__cta-section,
    .page-slot-games__features-section,
    .page-slot-games__how-to-play,
    .page-slot-games__faq-section,
    .page-slot-games__game-card,
    .page-slot-games__feature-card,
    .page-slot-games__step-card,
    .page-slot-games__list-item,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by section already */
    }

    /* All buttons must be responsive */
    .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;
        min-width: unset !important;
    }

    .page-slot-games__hero-cta-buttons,
    .page-slot-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        padding: 0 15px; /* Add padding to button group */
    }

    .page-slot-games__feature-grid,
    .page-slot-games__game-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__tips-list {
        grid-template-columns: 1fr; /* Single column layout for grids */
        gap: 20px;
    }

    .page-slot-games__text-block {
        margin-left: 0;
        margin-right: 0;
    }

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

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