/* style/slot-games.css */

/* Root variables for consistent spacing */
:root {
    --page-slot-games-spacing-md: 20px;
    --page-slot-games-spacing-lg: 40px;
    --page-slot-games-max-width: 1200px;
}

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

/* Section common styles */
.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: var(--page-slot-games-spacing-lg);
    color: #F2FFF6; /* Text Main */
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__container {
    max-width: var(--page-slot-games-max-width);
    margin: 0 auto;
    padding: 0 var(--page-slot-games-spacing-md);
    box-sizing: border-box;
}

.page-slot-games__text-block {
    text-align: center;
    margin-bottom: var(--page-slot-games-spacing-lg);
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
}

/* Dark background sections */
.page-slot-games__dark-section {
    background-color: #11271B; /* Card BG, but used for section */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.page-slot-games__hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
    padding: 0 15px;
}

.page-slot-games__hero-title {
    font-weight: 700;
    color: #F2FFF6;
    margin-bottom: 15px;
    line-height: 1.2;
    font-size: clamp(2em, 4vw, 3.2em); /* H1 font size constraint */
}

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

/* CTA Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 180px; /* Ensure buttons are not too small */
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
}

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

.page-slot-games__btn-secondary {
    background: transparent;
    color: #2AD16F; /* Lighter green for contrast */
    border: 2px solid #2AD16F;
}

.page-slot-games__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1);
    color: #F2FFF6;
    transform: translateY(-2px);
}

/* Intro Section */
.page-slot-games__intro-section {
    padding: var(--page-slot-games-spacing-lg) 0;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
    padding: var(--page-slot-games-spacing-lg) 0;
}

.page-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--page-slot-games-spacing-md);
}

.page-slot-games__feature-card {
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    padding: var(--page-slot-games-spacing-md);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__feature-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
    display: block;
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #F2FFF6;
    margin-bottom: 10px;
}

.page-slot-games__feature-description {
    font-size: 0.95em;
    color: #A7D9B8;
}

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: var(--page-slot-games-spacing-lg) 0;
}

.page-slot-games__game-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--page-slot-games-spacing-md);
}

.page-slot-games__game-type-card {
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    padding: var(--page-slot-games-spacing-md);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__game-type-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
    display: block;
}

.page-slot-games__game-type-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #F2FFF6;
    margin-bottom: 10px;
}

.page-slot-games__game-type-description {
    font-size: 0.95em;
    color: #A7D9B8;
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
    padding: var(--page-slot-games-spacing-lg) 0;
}

.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--page-slot-games-spacing-md);
}

.page-slot-games__step-card {
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    padding: var(--page-slot-games-spacing-md);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__step-number {
    background-color: #2AD16F; /* Button color */
    color: #F2FFF6;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
}

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

.page-slot-games__step-description {
    font-size: 0.95em;
    color: #A7D9B8;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Strategy Section */
.page-slot-games__strategy-section {
    padding: var(--page-slot-games-spacing-lg) 0;
}

.page-slot-games__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--page-slot-games-spacing-md);
}

.page-slot-games__strategy-item {
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    padding: var(--page-slot-games-spacing-md);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__strategy-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
    display: block;
}

.page-slot-games__strategy-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #F2FFF6;
    margin-bottom: 10px;
}

.page-slot-games__strategy-description {
    font-size: 0.95em;
    color: #A7D9B8;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: var(--page-slot-games-spacing-lg) 0;
    text-align: center;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: var(--page-slot-games-spacing-lg) 0;
}

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

.page-slot-games__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    margin-bottom: 10px;
    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: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #F2FFF6;
    font-size: 1.1em;
    background-color: #11271B;
    border-bottom: 1px solid #2E7A4E; /* Border color */
    list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-question:hover {
    background-color: #0A4B2C; /* Deep Green */
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    color: #2AD16F;
}

.page-slot-games__faq-answer {
    padding: 15px 20px;
    background-color: #08160F; /* Background */
    color: #A7D9B8;
    font-size: 0.95em;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
    padding: var(--page-slot-games-spacing-lg) 0;
    text-align: center;
}

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

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

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

    .page-slot-games__hero-title {
        font-size: clamp(1.6em, 6vw, 2.5em);
    }

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

    .page-slot-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset;
        padding: 12px 20px;
    }

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

    /* Containers for images and content */
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__feature-card,
    .page-slot-games__game-type-card,
    .page-slot-games__step-card,
    .page-slot-games__strategy-item,
    .page-slot-games__faq-item,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-slot-games__hero-content {
        padding: 0;
    }

    .page-slot-games__text-block {
        font-size: 1em;
    }

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

    .page-slot-games__faq-answer {
        font-size: 0.9em;
    }

    .page-slot-games__features-grid,
    .page-slot-games__game-types-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__strategy-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__why-choose-section,
    .page-slot-games__game-types-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__strategy-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__conclusion-section {
        padding: var(--page-slot-games-spacing-md) 0;
    }
}

/* Ensure images don't have filter property */
.page-slot-games img {
    filter: none;
}