/* style/slot-games.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark-section: #1a1a1a; /* Assuming --neon-dark-bg-1 is dark */
    --bg-light-section: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.1); /* For dark sections */
    --card-bg-light: #ffffff; /* For light sections */
    --border-color: #e0e0e0;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    padding-bottom: 40px;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-dark-section);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

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

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    width: auto;
}

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

.page-slot-games__btn-primary:hover {
    background-color: #1e87c0;
    transform: translateY(-2px);
}

.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);
    transform: translateY(-2px);
}

/* General Section Styles */
.page-slot-games__light-bg {
    background-color: var(--bg-light-section);
    color: var(--text-dark);
    padding: 60px 0;
}

.page-slot-games__dark-bg {
    background-color: var(--bg-dark-section);
    color: var(--text-light);
    padding: 60px 0;
}

.page-slot-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: inherit;
}

.page-slot-games__section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: inherit;
}

.page-slot-games__card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
    height: 100%;
    box-sizing: border-box;
}

.page-slot-games__light-bg .page-slot-games__card {
    background-color: var(--card-bg-light);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

/* Why Choose Section */
.page-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

.page-slot-games__feature-text {
    font-size: 1rem;
    line-height: 1.6;
}

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

.page-slot-games__game-card {
    text-align: center;
    overflow: hidden;
    padding: 0;
    background-color: var(--card-bg);
}

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

.page-slot-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: block;
}

.page-slot-games__game-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 20px 15px 10px 15px;
    color: var(--primary-color);
}

.page-slot-games__game-text {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 15px 20px 15px;
    color: inherit;
}

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

/* How to Play Section */
.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-slot-games__step-item {
    text-align: center;
    padding-bottom: 25px; /* Ensure padding for button */
}

.page-slot-games__step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.page-slot-games__step-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-slot-games__btn-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    width: auto;
}

.page-slot-games__light-bg .page-slot-games__btn-link {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.page-slot-games__dark-bg .page-slot-games__btn-link {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

/* Strategies Section */
.page-slot-games__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__strategy-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-slot-games__strategy-text {
    font-size: 1rem;
    line-height: 1.6;
}

/* Promotions Section */
.page-slot-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__promo-card {
    text-align: center;
    overflow: hidden;
    padding-bottom: 25px;
    background-color: var(--card-bg);
}

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

.page-slot-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

.page-slot-games__promo-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 15px 10px 15px;
    color: var(--primary-color);
}

.page-slot-games__promo-text {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 15px 20px 15px;
    color: inherit;
}

/* Security Section */
.page-slot-games__security-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.page-slot-games__security-text-block {
    flex: 2;
    min-width: 300px;
}

.page-slot-games__security-image-wrapper {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.page-slot-games__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.page-slot-games__security-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-slot-games__security-paragraph {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-slot-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-slot-games__faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--card-bg-light);
    color: var(--text-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

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

.page-slot-games__faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    margin-left: 15px;
    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: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-answer {
    max-height: 1000px; /* Sufficiently large value */
    transition: max-height 0.5s ease-in;
}

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

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

.page-slot-games__cta-final-section .page-slot-games__section-description {
    color: rgba(255, 255, 255, 0.9);
}

/* General Image Styles for content area */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

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

    .page-slot-games__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    .page-slot-games__section-description {
        font-size: 1rem;
    }

    .page-slot-games__games-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-slot-games__security-content {
        flex-direction: column-reverse; /* Image above text on smaller screens */
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-slot-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-slot-games__hero-content {
        margin-top: 15px;
        padding: 15px;
    }

    .page-slot-games__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }

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

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    /* General Images and Containers */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-image-wrapper,
    .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;
    }

    /* Buttons and Button Containers */
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-link,
    .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-wrap: wrap !important;
        gap: 10px;
    }

    /* Product Display (Games Grid) */
    .page-slot-games__games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-slot-games__game-image {
        height: 200px; /* Adjust height for mobile */
    }

    .page-slot-games__game-title {
        font-size: 1.2rem;
        margin: 15px 10px 8px 10px;
    }

    .page-slot-games__game-text {
        font-size: 0.9rem;
        padding: 0 10px 15px 10px;
    }

    /* Other Content Modules */
    .page-slot-games__light-bg, .page-slot-games__dark-bg {
        padding: 40px 0;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 15px;
    }

    .page-slot-games__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

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

    .page-slot-games__feature-title,
    .page-slot-games__step-title,
    .page-slot-games__strategy-title,
    .page-slot-games__promo-title {
        font-size: 1.3rem;
    }

    .page-slot-games__step-number {
        font-size: 2.5rem;
    }

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

    .page-slot-games__faq-toggle {
        font-size: 1.5rem;
    }

    .page-slot-games__faq-answer {
        font-size: 0.95rem;
        padding: 0 20px 15px 20px;
    }

    .page-slot-games__security-text-block,
    .page-slot-games__security-image-wrapper {
        min-width: unset;
        width: 100%;
    }

    .page-slot-games__security-image {
        margin-top: 20px;
    }

    .page-slot-games__cta-final-section {
        padding: 50px 0;
    }
}