/* style/slot-games.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-dark: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    background-color: var(--background-dark);
}

.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;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* body already handles padding-top */
    background-color: var(--background-dark);
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-slot-games__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly for visual effect, but not text on image */
    position: relative;
    z-index: 1;
    background-color: var(--background-dark);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__main-title {
    color: var(--gold-color);
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__tagline {
    color: var(--text-secondary);
    font-size: clamp(1em, 1.5vw, 1.3em);
    line-height: 1.6;
    margin-bottom: 30px;
}

.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 {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-slot-games__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(var(--primary-color), 0.1);
}

/* General Section Styles */
.page-slot-games__intro-section,
.page-slot-games__why-choose-section,
.page-slot-games__types-section,
.page-slot-games__guide-section,
.page-slot-games__strategies-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__conclusion-section,
.page-slot-games__related-games {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-main);
}

.page-slot-games__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

.page-slot-games__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 40px auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

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

.page-slot-games__feature-card,
.page-slot-games__promo-card,
.page-slot-games__game-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
    text-decoration: none;
}

.page-slot-games__feature-card:hover,
.page-slot-games__promo-card:hover,
.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-slot-games__feature-image,
.page-slot-games__promo-image,
.page-slot-games__game-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-slot-games__card-title,
.page-slot-games__list-title,
.page-slot-games__step-title,
.page-slot-games__game-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-slot-games__card-text,
.page-slot-games__list-text,
.page-slot-games__step-text,
.page-slot-games__game-description {
    font-size: 0.95em;
    line-height: 1.7;
    color: var(--text-secondary);
    flex-grow: 1;
}

/* List Styles */
.page-slot-games__list,
.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-slot-games__list-item,
.page-slot-games__step-item {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__list-item:last-child,
.page-slot-games__step-item:last-child {
    margin-bottom: 0;
}

/* CTA Center */
.page-slot-games__cta-center {
    text-align: center;
    margin-top: 60px;
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-slot-games__faq-question:hover .page-slot-games__faq-toggle {
    color: #ffffff;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: 1px solid var(--border-color);
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

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

.page-slot-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

/* For <details> tag, hide default marker */
.page-slot-games__faq-item summary {
    list-style: none;
}

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

/* Related Games Section */
.page-slot-games__game-card {
    text-align: left;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        margin-top: -60px;
        padding: 30px 20px;
    }

    .page-slot-games__main-title {
        font-size: 2.8em;
    }

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

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

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 10px 0 40px 0;
    }

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

    .page-slot-games__main-title {
        font-size: 2em; /* clamp will handle this, but for explicit override */
    }

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

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

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

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

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

    .page-slot-games__feature-card,
    .page-slot-games__promo-card,
    .page-slot-games__game-card,
    .page-slot-games__list-item,
    .page-slot-games__step-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 !important;
        padding-right: 15px !important;
        overflow: hidden !important; /* Ensure no overflow */
    }

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

    .page-slot-games__feature-image,
    .page-slot-games__promo-image,
    .page-slot-games__game-thumbnail {
        height: auto;
        max-height: 250px; /* Limit height for smaller screens */
    }

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

    .page-slot-games__faq-answer {
        padding: 10px 20px 15px;
    }

    .page-slot-games__faq-toggle {
        font-size: 1.2em;
    }

    .page-slot-games__intro-section,
    .page-slot-games__why-choose-section,
    .page-slot-games__types-section,
    .page-slot-games__guide-section,
    .page-slot-games__strategies-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__conclusion-section,
    .page-slot-games__related-games {
        padding: 40px 0;
    }

    .page-slot-games__cta-center {
        margin-top: 40px;
    }
}

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

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

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}