/* style/slot-games.css */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark, so text is light */
    background-color: #000000; /* Ensure main content background matches body */
}

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

.page-slot-games__section-title {
    color: #26A9E0;
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

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

.page-slot-games__text-block a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

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

/* Hero Section */
.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: 60px 20px;
    box-sizing: border-box;
    background-color: #000000; /* Fallback */
}

.page-slot-games__hero-background-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: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

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

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

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

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

.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;
    text-align: center;
}

.page-slot-games__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

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

/* Intro Section */
.page-slot-games__intro-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Darker background for contrast with body */
    color: #f0f0f0;
}

/* Features Section */
.page-slot-games__features-section {
    padding: 80px 0;
    background-color: #0d0d0d;
}

.page-slot-games__feature-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.08);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    color: #f0f0f0;
}

.page-slot-games__feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__feature-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-slot-games__feature-description {
    font-size: 1em;
    line-height: 1.6;
}

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

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

.page-slot-games__game-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    color: #f0f0f0;
}

.page-slot-games__game-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.page-slot-games__game-title {
    font-size: 1.6em;
    color: #26A9E0;
    padding: 15px 20px 5px;
}

.page-slot-games__game-title a {
    color: #26A9E0;
    text-decoration: none;
}

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

.page-slot-games__game-description {
    padding: 0 20px 20px;
    font-size: 0.95em;
    line-height: 1.5;
}

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

/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
    background-color: #0d0d0d;
    color: #f0f0f0;
}

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

.page-slot-games__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #26A9E0;
}

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

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

/* Tips Section */
.page-slot-games__tips-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
}

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

.page-slot-games__tip-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #EA7C07; /* Use login color for emphasis */
}

.page-slot-games__tip-title {
    font-size: 1.8em;
    color: #EA7C07;
    margin-bottom: 10px;
}

.page-slot-games__tip-item p {
    font-size: 1.1em;
    line-height: 1.6;
}

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

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

.page-slot-games__promotion-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    color: #f0f0f0;
}

.page-slot-games__promotion-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__promotion-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.page-slot-games__promotion-title {
    font-size: 1.6em;
    color: #26A9E0;
    padding: 15px 20px 5px;
}

.page-slot-games__promotion-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-slot-games__promotion-title a:hover {
    text-decoration: underline;
}

.page-slot-games__promotion-description {
    padding: 0 20px 20px;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Security Section */
.page-slot-games__security-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
}

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

.page-slot-games__security-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #26A9E0;
}

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

.page-slot-games__security-item p {
    font-size: 1.1em;
    line-height: 1.6;
}

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

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.3em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__faq-qtext {
    color: #26A9E0;
}

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

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

.page-slot-games__faq-answer {
    padding: 20px 30px;
    background-color: rgba(255, 255, 255, 0.05);
    font-size: 1.1em;
    line-height: 1.6;
    color: #f0f0f0;
}

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

.page-slot-games__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

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

summary::-webkit-details-marker {
    display: none;
}
summary {
    list-style: none;
}

/* Call to Action Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    background-color: #26A9E0;
    text-align: center;
    color: #ffffff;
}

.page-slot-games__cta-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__cta-section .page-slot-games__section-title::after {
    background-color: #ffffff;
}

.page-slot-games__cta-section .page-slot-games__text-block {
    color: #ffffff;
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

/* Responsive Styles */
@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;
    }
    .page-slot-games__feature-grid, .page-slot-games__game-grid, .page-slot-games__promotion-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

    .page-slot-games__hero-section {
        min-height: 450px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-slot-games__intro-section, .page-slot-games__features-section, .page-slot-games__popular-games-section,
    .page-slot-games__how-to-play-section, .page-slot-games__tips-section, .page-slot-games__promotions-section,
    .page-slot-games__security-section, .page-slot-games__faq-section, .page-slot-games__cta-section {
        padding: 40px 0;
    }

    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__feature-card, .page-slot-games__game-card, .page-slot-games__promotion-card {
        padding: 20px;
    }

    .page-slot-games__feature-icon {
        max-width: 200px;
    }

    .page-slot-games__game-image {
        height: 180px;
    }

    .page-slot-games__promotion-image {
        height: 160px;
    }

    .page-slot-games__feature-title, .page-slot-games__game-title, .page-slot-games__promotion-title,
    .page-slot-games__step-title, .page-slot-games__tip-title, .page-slot-games__security-title {
        font-size: 1.3em;
    }

    .page-slot-games__text-block, .page-slot-games__feature-description, .page-slot-games__game-description,
    .page-slot-games__promotion-description, .page-slot-games__step-item p, .page-slot-games__tip-item p,
    .page-slot-games__security-item p, .page-slot-games__faq-answer p {
        font-size: 0.95em;
    }

    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-slot-games__faq-toggle {
        font-size: 1.3em;
    }
    .page-slot-games__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image/video/button container overrides */
    .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,
    .page-slot-games__hero-section,
    .page-slot-games__intro-section,
    .page-slot-games__features-section,
    .page-slot-games__popular-games-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__tips-section,
    .page-slot-games__promotions-section,
    .page-slot-games__security-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section,
    .page-slot-games__feature-card,
    .page-slot-games__game-card,
    .page-slot-games__promotion-card,
    .page-slot-games__step-item,
    .page-slot-games__tip-item,
    .page-slot-games__security-item,
    .page-slot-games__faq-item,
    .page-slot-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}