/* style/slot-games.css */

/* Variables from custom palette */
:root {
    --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-slot-games-card-bg: #11271B;
    --page-slot-games-bg: #08160F;
    --page-slot-games-text-main: #F2FFF6;
    --page-slot-games-text-secondary: #A7D9B8;
    --page-slot-games-border: #2E7A4E;
    --page-slot-games-glow: #57E38D;
    --page-slot-games-gold: #F2C14E;
    --page-slot-games-divider: #1E3A2A;
    --page-slot-games-deep-green: #0A4B2C;
}

/* Base styles for the page content, ensuring light text on dark body background */
.page-slot-games {
    color: var(--page-slot-games-text-main); /* Main text color for dark backgrounds */
    background-color: var(--page-slot-games-bg); /* Use specified background color */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background-color: var(--page-slot-games-bg);
    overflow: hidden;
}

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

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

.page-slot-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--page-slot-games-text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 1.25rem;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 40px;
}

.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: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-main);
    border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--page-slot-games-glow); /* Using glow for secondary text */
    border: 2px solid var(--page-slot-games-glow);
}

.page-slot-games__btn-secondary:hover {
    background: var(--page-slot-games-glow);
    color: var(--page-slot-games-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-slot-games__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--page-slot-games-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-slot-games__sub-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--page-slot-games-text-main);
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.page-slot-games__paragraph {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__text-secondary {
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__dark-bg {
    background-color: var(--page-slot-games-bg);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg {
    background-color: #0d2016; /* A slightly lighter green for contrast */
    color: var(--page-slot-games-text-main);
}

/* Intro Section */
.page-slot-games__intro-section {
    padding: 60px 20px;
}

/* Game Showcase Section */
.page-slot-games__game-showcase {
    padding: 60px 20px;
}

.page-slot-games__list {
    list-style: disc inside;
    margin-bottom: 40px;
    padding-left: 20px;
}

.page-slot-games__list-item {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__list-item strong {
    color: var(--page-slot-games-text-main);
}

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

.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(87, 227, 141, 0.5);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__card-title {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__card-title a {
    color: var(--page-slot-games-gold); /* Gold for titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__card-title a:hover {
    color: var(--page-slot-games-glow);
}

.page-slot-games__card-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.page-slot-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 6px;
    margin-top: auto; /* Push button to bottom */
}

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

/* Features Section */
.page-slot-games__features-section {
    padding: 60px 20px;
}

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

.page-slot-games__feature-item {
    text-align: center;
    background-color: var(--page-slot-games-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-slot-games__feature-item:hover {
    transform: translateY(-5px);
}

.page-slot-games__feature-icon {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__feature-title {
    font-size: 1.4rem;
    color: var(--page-slot-games-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__feature-description {
    font-size: 1rem;
    line-height: 1.5;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 60px 20px;
}

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

.page-slot-games__step-item {
    background-color: var(--page-slot-games-card-bg);
    padding: 30px;
    border-radius: 12px;
    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: var(--page-slot-games-deep-green);
    color: var(--page-slot-games-text-main);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 25px;
    border: 3px solid var(--page-slot-games-glow);
}

.page-slot-games__step-title {
    font-size: 1.4rem;
    color: var(--page-slot-games-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__step-description {
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 60px 20px;
}

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

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 20px;
}

.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--page-slot-games-text-main);
    cursor: pointer;
    background-color: var(--page-slot-games-deep-green);
    border-bottom: 1px solid var(--page-slot-games-border);
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: var(--page-slot-games-deep-green);
    filter: brightness(1.2);
}

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

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

.page-slot-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-slot-games-glow);
}

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

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

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

/* Security Section */
.page-slot-games__security-section {
    padding: 60px 20px;
}

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

.page-slot-games__security-item {
    text-align: center;
    background-color: var(--page-slot-games-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__security-icon {
    width: 100%;
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__security-title {
    font-size: 1.4rem;
    color: var(--page-slot-games-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__security-description {
    font-size: 1rem;
    line-height: 1.5;
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
    padding: 60px 20px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slot-games__hero-image-wrapper {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
        padding-bottom: 40px;
    }

    .page-slot-games__main-title {
        font-size: 2.2rem;
    }

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

    .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-left: 15px;
        padding-right: 15px;
    }

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

    .page-slot-games__sub-title {
        font-size: 1.3rem;
    }

    .page-slot-games__paragraph,
    .page-slot-games__list-item,
    .page-slot-games__card-description,
    .page-slot-games__feature-description,
    .page-slot-games__step-description,
    .page-slot-games__security-description,
    .page-slot-games__faq-answer p {
        font-size: 1rem;
    }

    .page-slot-games__game-cards,
    .page-slot-games__feature-grid,
    .page-slot-games__step-by-step,
    .page-slot-games__promo-cards,
    .page-slot-games__security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__card-image,
    .page-slot-games__feature-icon,
    .page-slot-games__security-icon,
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-slot-games__card,
    .page-slot-games__feature-item,
    .page-slot-games__step-item,
    .page-slot-games__security-item,
    .page-slot-games__container,
    .page-slot-games__intro-section,
    .page-slot-games__game-showcase,
    .page-slot-games__features-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__security-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    
    .page-slot-games__card-content {
        padding: 20px;
    }

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

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

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

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

    .page-slot-games__section-title {
        font-size: 1.6rem;
    }
    
    .page-slot-games__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}