/* style/slot-games.css */

/* Custom Colors */
:root {
    --page-slot-games-card-bg: #11271B;
    --page-slot-games-background: #08160F;
    --page-slot-games-text-main: #F2FFF6;
    --page-slot-games-text-secondary: #A7D9B8;
    --page-slot-games-border: #2E7A4E;
    --page-slot-games-glow: #57E38D;
    --page-slot-games-gold: #F2C14E;
    --page-slot-games-divider: #1E3A2A;
    --page-slot-games-deep-green: #0A4B2C;
    --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page content */
.page-slot-games {
    background-color: var(--page-slot-games-background); /* Dark background */
    color: var(--page-slot-games-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-slot-games__section-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H2 */
    color: var(--page-slot-games-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-slot-games__description,
.page-slot-games__text-block {
    font-size: 1.1em;
    color: var(--page-slot-games-text-secondary);
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__highlight {
    color: var(--page-slot-games-text-main);
    font-weight: bold;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, more at bottom */
    overflow: hidden;
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    max-width: 1920px;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 40px; /* Space between image and content */
}

.page-slot-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-slot-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
    color: var(--page-slot-games-text-main);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-slot-games__hero-content .page-slot-games__description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--page-slot-games-text-secondary);
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--page-slot-games-text-main);
    border: 2px solid var(--page-slot-games-border);
    box-shadow: 0 4px 10px rgba(46, 122, 78, 0.3);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--page-slot-games-border);
    color: var(--page-slot-games-text-main);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 122, 78, 0.5);
}

.page-slot-games__full-width-btn {
    width: 100%;
    max-width: 400px; /* Limit max width for aesthetic */
    margin: 40px auto 0 auto;
}

.page-slot-games__inline-link {
    color: var(--page-slot-games-glow);
    text-decoration: underline;
}

.page-slot-games__inline-link:hover {
    color: var(--page-slot-games-gold);
}

/* About Section */
.page-slot-games__about-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-background);
}

.page-slot-games__about-section .page-slot-games__text-block {
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05em;
    color: var(--page-slot-games-text-secondary);
}

/* Features Section (Game Types) */
.page-slot-games__features-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-slot-games-text-main);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-slot-games__card-image {
    width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: var(--page-slot-games-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__card-text {
    font-size: 0.95em;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 20px;
}

/* How to Play Section */
.page-slot-games__how-to-play {
    padding: 80px 0;
    background-color: var(--page-slot-games-background);
}

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

.page-slot-games__step-card {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-main);
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(42, 209, 111, 0.5);
}

.page-slot-games__step-title {
    font-size: 1.4em;
    color: var(--page-slot-games-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__step-text {
    font-size: 0.95em;
    color: var(--page-slot-games-text-secondary);
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-deep-green);
}

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

/* Tips Section */
.page-slot-games__tips-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-background);
}

.page-slot-games__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__tip-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__tip-heading {
    font-size: 1.3em;
    color: var(--page-slot-games-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__tip-text {
    font-size: 1em;
    color: var(--page-slot-games-text-secondary);
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--page-slot-games-card-bg);
    color: var(--page-slot-games-text-main);
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    list-style: none; /* For <details> summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-question:hover {
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
    color: var(--page-slot-games-gold);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--page-slot-games-glow);
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--page-slot-games-text-secondary);
    font-size: 1em;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding-top: 10px;
}

/* Final CTA Section */
.page-slot-games__cta-final {
    padding: 80px 0;
    text-align: center;
    background-color: var(--page-slot-games-background);
}

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

/* --- Responsive Design --- */

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

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

    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
        padding-bottom: 40px;
    }

    .page-slot-games__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }

    .page-slot-games__section-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
    }

    .page-slot-games__hero-content .page-slot-games__description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 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: 12px 20px;
    }

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

    .page-slot-games__card,
    .page-slot-games__step-card,
    .page-slot-games__tip-item,
    .page-slot-games__faq-item {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

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

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

    .page-slot-games__video-section {
        padding-top: 10px !important;
    }

    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

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