/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Assuming body handles the main background */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
}

.page-slot-games__section-text {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

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

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

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

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

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

/* Buttons */
.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;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure responsiveness */
}

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

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

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

/* General image styling */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px auto; /* Center images */
}

.page-slot-games__image-full-width {
    width: 100%;
    margin: 40px 0;
}

.page-slot-games__image-center {
    margin: 40px auto;
}

/* Section Backgrounds and text colors for contrast */
.page-slot-games__light-bg {
    background-color: #FFFFFF;
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__card-title,
.page-slot-games__light-bg .page-slot-games__benefit-title,
.page-slot-games__light-bg .page-slot-games__step-title,
.page-slot-games__light-bg .page-slot-games__tip-title,
.page-slot-games__light-bg .page-slot-games__faq-question,
.page-slot-games__light-bg .page-slot-games__faq-title,
.page-slot-games__light-bg a {
    color: #26A9E0; /* Brand color for titles and links on light background */
}

.page-slot-games__dark-bg {
    background-color: #26A9E0; /* Primary brand color as background */
    color: #FFFFFF; /* White text for dark background */
    padding: 60px 0;
}

.page-slot-games__dark-bg .page-slot-games__section-title,
.page-slot-games__dark-bg .page-slot-games__card-title,
.page-slot-games__dark-bg .page-slot-games__benefit-title,
.page-slot-games__dark-bg .page-slot-games__step-title,
.page-slot-games__dark-bg .page-slot-games__tip-title,
.page-slot-games__dark-bg .page-slot-games__faq-question,
.page-slot-games__dark-bg .page-slot-games__faq-title,
.page-slot-games__dark-bg a {
    color: #FFFFFF; /* White for titles and links on dark background */
}

/* Introduction Section */
.page-slot-games__introduction-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-slot-games__game-type-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #FFFFFF;
}

.page-slot-games__game-type-card .page-slot-games__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-slot-games__game-type-card .page-slot-games__card-text {
    font-size: 1em;
    line-height: 1.5;
}

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

.page-slot-games__benefit-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
}

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

.page-slot-games__benefit-item .page-slot-games__benefit-description {
    font-size: 1em;
    line-height: 1.5;
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
}

.page-slot-games__step-item .page-slot-games__step-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.page-slot-games__step-item .page-slot-games__step-description {
    font-size: 1.1em;
    line-height: 1.5;
}

.page-slot-games__step-item a {
    color: #FFD700; /* Highlight links in steps */
    text-decoration: underline;
}

.page-slot-games__step-item a:hover {
    color: #FFFFFF;
}

/* Strategy Tips Section */
.page-slot-games__strategy-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.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__tip-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

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

.page-slot-games__tip-item .page-slot-games__tip-description {
    font-size: 1em;
    line-height: 1.5;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    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;
    margin: 0;
    color: #FFFFFF;
}

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

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

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Important for JS toggle */
    padding: 15px 25px 25px;
}

.page-slot-games__faq-text {
    font-size: 1em;
    line-height: 1.5;
    color: #f0f0f0;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
    padding-top: 60px;
    padding-bottom: 80px;
    text-align: center;
}

.page-slot-games__cta-bottom {
    margin-top: 40px;
}

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

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

    .page-slot-games__container {
        padding: 0 15px !important; /* Ensure padding on mobile */
    }

    .page-slot-games__hero-section {
        height: auto; /* Adjust height for mobile */
        min-height: 600px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-slot-games__hero-cta-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__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-slot-games__game-type-grid,
    .page-slot-games__benefits-grid,
    .page-slot-games__tips-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    .page-slot-games__game-type-card,
    .page-slot-games__benefit-item,
    .page-slot-games__step-item,
    .page-slot-games__tip-item,
    .page-slot-games__faq-item {
        padding: 20px;
    }

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

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

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

    /* Image responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-section,
    .page-slot-games__introduction-section,
    .page-slot-games__game-types-section,
    .page-slot-games__why-choose-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__strategy-section,
    .page-slot-games__faq-section,
    .page-slot-games__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
        padding-left: 15px;
        padding-right: 15px;
    }
}