/* style/slot-games.css */
:root {
    --primary-color: #0A2647;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #1a1a2e;
    --bg-light: #f8f8f8;
    --border-color: #e0e0e0;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default to light text for dark body background */
    background-color: var(--bg-dark); /* Ensure consistency if body background changes */
}

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below 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);
    z-index: 2;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: var(--text-light);
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: var(--secondary-color);
}

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

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

.page-slot-games__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-slot-games__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.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;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-slot-games__btn-primary:hover {
    background-color: darken(var(--secondary-color), 10%);
    border-color: darken(var(--secondary-color), 10%);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* About Section */
.page-slot-games__about-section .page-slot-games__section-title,
.page-slot-games__about-section .page-slot-games__section-description {
    color: var(--text-dark);
}

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

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

.page-slot-games__feature-item img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Game Types Section */
.page-slot-games__game-types-section .page-slot-games__section-title,
.page-slot-games__game-types-section .page-slot-games__section-description {
    color: var(--text-light);
}

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

.page-slot-games__game-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.page-slot-games__game-card img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__game-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-slot-games__card-link {
    color: inherit;
    text-decoration: none;
}

.page-slot-games__card-link:hover {
    text-decoration: underline;
}

/* How to Play Section */
.page-slot-games__how-to-play-section .page-slot-games__section-title,
.page-slot-games__how-to-play-section .page-slot-games__section-description {
    color: var(--text-dark);
}

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

.page-slot-games__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
}

.page-slot-games__step-number {
    font-size: 2em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-right: 20px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
}

.page-slot-games__step-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-slot-games__step-item p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-slot-games__step-item p a:hover {
    text-decoration: underline;
}

/* Promotions Section */
.page-slot-games__promotions-section .page-slot-games__section-title,
.page-slot-games__promotions-section .page-slot-games__section-description {
    color: var(--text-light);
}

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

.page-slot-games__promotion-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.page-slot-games__promotion-card img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__promotion-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-slot-games__cta-buttons--center {
    text-align: center;
    margin-top: 40px;
}

/* Tips Section */
.page-slot-games__tips-section .page-slot-games__section-title,
.page-slot-games__tips-section .page-slot-games__section-description {
    color: var(--text-dark);
}

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

.page-slot-games__tip-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-slot-games__tip-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

/* Mobile App Section */
.page-slot-games__mobile-app-content {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.page-slot-games__mobile-text-content {
    flex: 1;
}

.page-slot-games__mobile-text-content .page-slot-games__section-title,
.page-slot-games__mobile-text-content .page-slot-games__section-description {
    text-align: left;
    color: var(--text-light);
}

.page-slot-games__mobile-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__mobile-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__cta-buttons--left {
    justify-content: flex-start;
    margin-top: 30px;
}

/* FAQ Section */
.page-slot-games__faq-section .page-slot-games__section-title,
.page-slot-games__faq-section .page-slot-games__section-description {
    color: var(--text-dark);
}

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

.page-slot-games__faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-dark);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f0f0f0;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
}

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

.page-slot-games__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
}

/* Final CTA Section */
.page-slot-games__cta-final-content {
    text-align: center;
}

.page-slot-games__cta-final-content .page-slot-games__section-title,
.page-slot-games__cta-final-content .page-slot-games__section-description {
    color: var(--text-light);
}

.page-slot-games__cta-final-content .page-slot-games__section-description a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-slot-games__cta-final-content .page-slot-games__section-description a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__mobile-app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-slot-games__mobile-text-content .page-slot-games__section-title,
    .page-slot-games__mobile-text-content .page-slot-games__section-description {
        text-align: center;
    }
    .page-slot-games__cta-buttons--left {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .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: 12px 20px;
    }

    .page-slot-games__container {
        padding: 40px 15px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-slot-games__features-grid,
    .page-slot-games__game-cards-grid,
    .page-slot-games__promotion-cards-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__feature-item img,
    .page-slot-games__game-card img,
    .page-slot-games__promotion-card img,
    .page-slot-games__mobile-image-wrapper img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px;
        min-height: 200px;
    }

    .page-slot-games__feature-item,
    .page-slot-games__game-card,
    .page-slot-games__promotion-card,
    .page-slot-games__step-item,
    .page-slot-games__tip-item,
    .page-slot-games__faq-item {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-slot-games__mobile-app-content {
        gap: 30px;
    }

    .page-slot-games__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-slot-games__faq-answer {
        padding: 0 15px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px;
    }

    .page-slot-games__cta-buttons {
        flex-wrap: wrap !important;
        gap: 15px;
    }
    .page-slot-games__cta-buttons--center,
    .page-slot-games__cta-buttons--left {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-title {
        font-size: 1.5em;
    }
    .page-slot-games__step-number {
        font-size: 1.5em;
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    .page-slot-games__step-title {
        font-size: 1.2em;
    }
}