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

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

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

.page-slot-games__section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__text-block {
    font-size: 18px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-secondary-color);
}

.page-slot-games__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-link {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(17, 168, 78, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--background-color);
    transform: translateY(-2px);
}

.page-slot-games__btn-play {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 20px;
    box-shadow: 0 3px 8px rgba(17, 168, 78, 0.3);
}

.page-slot-games__btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(17, 168, 78, 0.5);
}

.page-slot-games__btn-link {
    background-color: transparent;
    color: var(--gold-color);
    border: 1px solid var(--gold-color);
    padding: 8px 15px;
    font-size: 14px;
    margin-top: 15px;
    border-radius: 5px;
}

.page-slot-games__btn-link:hover {
    background-color: var(--gold-color);
    color: var(--background-color);
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0;
    background-color: var(--deep-green-color);
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.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;
    text-align: center;
    padding: 30px 20px 0;
    max-width: 1000px;
    margin-top: -80px; /* Pull content up slightly over the image, but not on top of it */
}

.page-slot-games__main-title {
    font-size: clamp(36px, 5vw, 60px);
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__description {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-secondary-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

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

.page-slot-games__feature-item {
    text-align: center;
    background-color: var(--card-bg);
    padding: 30px;
}

.page-slot-games__feature-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__feature-title {
    font-size: 24px;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-slot-games__feature-description {
    font-size: 16px;
    color: var(--text-secondary-color);
}

/* Game Showcase Section */
.page-slot-games__game-showcase {
    padding: 80px 0;
    background-color: var(--deep-green-color);
}

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

.page-slot-games__game-card {
    text-align: center;
    background-color: var(--card-bg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-slot-games__game-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-slot-games__game-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-slot-games__game-description {
    font-size: 15px;
    color: var(--text-secondary-color);
    flex-grow: 1;
}

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

/* How To Play Section */
.page-slot-games__how-to-play {
    padding: 80px 0;
    background-color: var(--background-color);
}

.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin: 50px 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__step-item {
    text-align: center;
    background-color: var(--card-bg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-slot-games__step-item p {
    font-size: 16px;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Tips & Tricks Section */
.page-slot-games__tips-tricks {
    padding: 80px 0;
    background-color: var(--deep-green-color);
}

.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 50px 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__tip-item {
    background-color: var(--card-bg);
    padding: 30px;
}

.page-slot-games__tip-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-slot-games__tip-item p {
    font-size: 16px;
    color: var(--text-secondary-color);
}

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

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

.page-slot-games__promo-card {
    text-align: center;
    background-color: var(--card-bg);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__promo-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-slot-games__promo-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-slot-games__promo-description {
    font-size: 16px;
    color: var(--text-secondary-color);
    flex-grow: 1;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-slot-games__faq {
    padding: 80px 0;
    background-color: var(--deep-green-color);
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-slot-games__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-main-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: 24px;
    line-height: 1;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 16px;
    color: var(--text-secondary-color);
}

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

.page-slot-games__faq-answer .page-slot-games__btn-link {
    margin-top: 10px;
}

/* Call to Action Banner */
.page-slot-games__cta-banner {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    background-image: linear-gradient(to right, var(--deep-green-color), var(--primary-color));
    margin-top: 0;
}

.page-slot-games__banner-title {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__banner-description {
    font-size: 20px;
    color: var(--text-main-color);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

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

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

    .page-slot-games__section-title {
        font-size: clamp(24px, 7vw, 36px);
    }

    .page-slot-games__text-block {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-slot-games__hero-section {
        padding: 10px 0 40px 0;
    }

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

    .page-slot-games__main-title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .page-slot-games__description {
        font-size: clamp(16px, 4vw, 20px);
        margin-bottom: 30px;
    }

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-play,
    .page-slot-games__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 12px 20px;
        font-size: 16px;
    }

    .page-slot-games__introduction-section,
    .page-slot-games__game-showcase,
    .page-slot-games__how-to-play,
    .page-slot-games__tips-tricks,
    .page-slot-games__promotions,
    .page-slot-games__faq,
    .page-slot-games__cta-banner {
        padding: 50px 0;
    }

    .page-slot-games__features-grid,
    .page-slot-games__game-grid,
    .page-slot-games__steps-list,
    .page-slot-games__tips-list,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-slot-games__feature-title,
    .page-slot-games__game-title,
    .page-slot-games__step-title,
    .page-slot-games__tip-title,
    .page-slot-games__promo-title {
        font-size: 20px;
    }

    .page-slot-games__feature-description,
    .page-slot-games__game-description,
    .page-slot-games__step-item p,
    .page-slot-games__tip-item p,
    .page-slot-games__promo-description {
        font-size: 15px;
    }

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

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

    .page-slot-games__banner-title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .page-slot-games__banner-description {
        font-size: 18px;
        margin-bottom: 30px;
    }

    /* Image, Video, Button Responsive Overrides */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games video,
    .page-slot-games__video {
        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__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper,
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
    }

    .page-slot-games__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-content {
        margin-top: -20px;
    }
    .page-slot-games__main-title {
        font-size: clamp(24px, 10vw, 36px);
    }
    .page-slot-games__description {
        font-size: clamp(14px, 5vw, 18px);
    }
    .page-slot-games__cta-buttons {
        gap: 10px;
    }
    .page-slot-games__section-title {
        font-size: clamp(22px, 8vw, 32px);
    }
    .page-slot-games__banner-title {
        font-size: clamp(26px, 9vw, 38px);
    }
}