/* style/slot-games.css */

/* Base styles for the page content, assuming body has a dark background */
.page-slot-games {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for overall page, as body is dark */
    background-color: transparent; /* Main content area will inherit body's dark background or define its own */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* --- Hero Section --- */
.page-slot-games__hero-section {
    position: relative;
    background: linear-gradient(135deg, #CC0000 0%, #800000 100%); /* Brand colors */
    color: #ffffff;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* For responsiveness */
    overflow: hidden;
}

.page-slot-games__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: left;
    padding: 20px;
    z-index: 1;
}

.page-slot-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFD700; /* Gold for emphasis */
}

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

.page-slot-games__hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-slot-games__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 0;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
}

/* --- General Section Styles --- */
.page-slot-games__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-slot-games__text-block a {
    color: #FFD700;
    text-decoration: none;
}

.page-slot-games__text-block a:hover {
    text-decoration: underline;
}

/* Dark background sections */
.page-slot-games__dark-section {
    background-color: rgba(0, 0, 0, 0.7); /* Slightly transparent dark background */
    padding: 60px 0;
    color: #f0f0f0;
}

/* --- Intro Section --- */
.page-slot-games__intro-section .page-slot-games__section-title {
    color: #FFD700;
}

/* --- Features Section --- */
.page-slot-games__features-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background */
    color: #f0f0f0;
}

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

.page-slot-games__feature-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark card */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    min-height: 450px; /* Ensure cards have some height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__feature-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
}

.page-slot-games__card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-slot-games__card-description {
    font-size: 1em;
    color: #cccccc;
    flex-grow: 1;
}

/* --- How To Play Section --- */
.page-slot-games__how-to-play-section {
    padding: 60px 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #f0f0f0;
}

.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-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-slot-games__step-title {
    font-size: 1.4em;
    color: #CC0000;
    margin-bottom: 10px;
}

.page-slot-games__step-description {
    font-size: 0.95em;
    color: #cccccc;
}

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

/* --- Popular Games Section --- */
.page-slot-games__popular-games-section {
    padding: 60px 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
}

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

.page-slot-games__game-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__game-image {
    width: 100%;
    height: 180px; /* Fixed height for game images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__game-card .page-slot-games__card-title a {
    color: #FFD700;
    text-decoration: none;
    font-size: 1.4em;
    display: block;
    margin-bottom: 10px;
}

.page-slot-games__game-card .page-slot-games__card-title a:hover {
    text-decoration: underline;
}

/* --- Tips Section --- */
.page-slot-games__tips-section {
    padding: 60px 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #f0f0f0;
}

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

.page-slot-games__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    padding: 20px;
    border-left: 5px solid #CC0000;
    border-radius: 5px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-slot-games__list-item strong {
    color: #FFD700;
}

/* --- Promotions Section --- */
.page-slot-games__promotions-section {
    padding: 60px 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
}

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

.page-slot-games__promo-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
}

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

/* --- Video Section --- */
.page-slot-games__video-section {
    padding: 60px 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: #f0f0f0;
    text-align: center;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 40px auto;
    background-color: #000; /* Placeholder background */
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* --- FAQ Section --- */
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
}

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

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

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

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* '+' to 'x' or '-' */
    color: #ffffff;
}

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

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

.page-slot-games__faq-answer p {
    margin-bottom: 10px;
    color: #cccccc;
}

.page-slot-games__faq-answer a {
    color: #FFD700;
    text-decoration: none;
}

.page-slot-games__faq-answer a:hover {
    text-decoration: underline;
}

/* --- CTA Section --- */
.page-slot-games__cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #CC0000 0%, #800000 100%);
    color: #ffffff;
}

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

/* --- Buttons --- */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    max-width: 100%; /* For mobile responsiveness */
}

.page-slot-games__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #CC0000; /* Red text for contrast */
    border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
    background-color: #CC0000; /* Red on hover */
    color: #FFD700;
    border-color: #CC0000;
}

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

.page-slot-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #CC0000;
}

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

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

    .page-slot-games__container {
        padding: 0 15px; /* Add padding for mobile */
    }

    .page-slot-games__hero-section {
        flex-direction: column;
        padding: 40px 0;
    }

    .page-slot-games__hero-content {
        text-align: center;
        max-width: 100%;
        padding: 15px;
    }

    .page-slot-games__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-slot-games__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-slot-games__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__hero-image-wrapper {
        min-width: 100%;
        max-width: 100%;
        padding: 15px;
    }

    .page-slot-games__hero-image,
    .page-slot-games__feature-image,
    .page-slot-games__game-image,
    .page-slot-games__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px;
        min-height: 200px;
    }

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

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

    .page-slot-games__feature-card,
    .page-slot-games__game-card,
    .page-slot-games__promo-card {
        padding: 20px;
        min-height: auto;
    }

    /* Video responsiveness */
    .page-slot-games__video-wrapper {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Button responsiveness */
    .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 {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-slot-games__list-item {
        font-size: 1em;
        padding: 15px;
    }
}