/* style/slot-games.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Dark Blue */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #121212;
    --card-bg-dark: rgba(255, 255, 255, 0.08);
    --border-color-light: #e0e0e0;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherited from body */
}

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

.page-slot-games__text-center {
    text-align: center;
}

.page-slot-games__section-title {
    font-size: 2.8em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__section-subtitle {
    font-size: 1.3em;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.8;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
    opacity: 0.9;
}

.page-slot-games__list-icon {
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
}

.page-slot-games__list-icon + * {
    color: var(--text-light);
}

.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;
    cursor: pointer;
    margin: 10px;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color); /* Dark blue text on gold button */
    border: 2px solid var(--primary-color);
}

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

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

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

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

.page-slot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), var(--bg-dark));
    z-index: 2;
}

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

.page-slot-games__hero-title {
    font-size: 4em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.5em;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Intro Section */
.page-slot-games__intro-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* Games Showcase Section */
.page-slot-games__games-showcase {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

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

.page-slot-games__game-card {
    background-color: var(--card-bg-dark);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-slot-games__game-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__game-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__game-title a:hover {
    color: var(--text-light);
}

.page-slot-games__game-description {
    font-size: 1em;
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.6;
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
    background-color: #000050; /* Slightly lighter dark blue for contrast */
    color: var(--text-light);
}

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

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

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

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

.page-slot-games__step-description {
    font-size: 1em;
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.6;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

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

.page-slot-games__promotion-card {
    background-color: var(--card-bg-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-slot-games__promotion-card:hover {
    transform: translateY(-8px);
}

.page-slot-games__promotion-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-slot-games__promotion-title {
    font-size: 1.6em;
    color: var(--primary-color);
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-slot-games__promotion-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__promotion-title a:hover {
    color: var(--text-light);
}

.page-slot-games__promotion-description {
    font-size: 1em;
    color: var(--text-light);
    opacity: 0.8;
    padding: 0 20px 20px;
    line-height: 1.6;
}

/* Mobile App Section */
.page-slot-games__mobile-app-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-slot-games__mobile-app-section .page-slot-games__container {
    display: flex;
    align-items: center;
    gap: 50px;
}

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

.page-slot-games__mobile-app-image-wrapper {
    flex: 1;
    text-align: center;
}

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

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

.page-slot-games__feature-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

/* Safety Section */
.page-slot-games__safety-section {
    padding: 80px 0;
    background-color: #000050; /* Slightly lighter dark blue for contrast */
    color: var(--text-light);
}

.page-slot-games__safety-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.page-slot-games__safety-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

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

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

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

.page-slot-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    width: 30px;
    text-align: center;
    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; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-slot-games__faq-answer p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-light);
    opacity: 0.8;
}

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

.page-slot-games__cta-final .page-slot-games__section-title {
    color: var(--secondary-color);
}

.page-slot-games__cta-final .page-slot-games__text-block {
    color: var(--secondary-color);
    opacity: 0.9;
}

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

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

.page-slot-games__cta-final .page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

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

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

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

    .page-slot-games__section-subtitle {
        font-size: 1.1em;
    }

    .page-slot-games__mobile-app-section .page-slot-games__container {
        flex-direction: column;
        text-align: center;
    }

    .page-slot-games__mobile-app-image-wrapper {
        margin-top: 40px;
    }

    .page-slot-games__safety-list {
        grid-template-columns: 1fr;
    }
}

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

    .page-slot-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile specific padding */
    }

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

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

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

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 5px 0;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-slot-games__container,
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__game-card,
    .page-slot-games__promotion-card,
    .page-slot-games__step-item,
    .page-slot-games__faq-item,
    .page-slot-games__mobile-app-content,
    .page-slot-games__mobile-app-image-wrapper,
    .page-slot-games__video-section,
    .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-x: hidden !important;
    }

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

    .page-slot-games__game-image,
    .page-slot-games__promotion-image,
    .page-slot-games__mobile-app-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-slot-games__safety-list {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .page-slot-games__faq-question {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 2em;
    }

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

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