/* style/slot-games.css */
/* BEM Naming: .page-slot-games__element-name */

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

.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--fcb8-text-main); /* Default text color for the page */
    background-color: var(--fcb8-bg-primary); /* Default background for the page */
}

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

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

.page-slot-games__light-bg {
    background-color: #f8f9fa; /* Using a light background for contrast */
    color: #333333; /* Dark text for light background */
}

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

.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    text-align: center;
    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 {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 30px 20px;
    margin-top: -150px; /* Pull content slightly up over the image bottom */
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text readability */
    border-radius: 10px;
}

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

.page-slot-games__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--fcb8-text-main);
    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 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: var(--fcb8-btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--fcb8-green-main);
    border: 2px solid var(--fcb8-green-main);
    box-shadow: none;
}

.page-slot-games__btn-secondary:hover {
    background: rgba(var(--fcb8-green-main), 0.1);
    transform: translateY(-2px);
}

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

.page-slot-games__intro-section,
.page-slot-games__features-section,
.page-slot-games__strategy-section,
.page-slot-games__faq-section {
    padding: 60px 0;
}

.page-slot-games__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
    color: #333333; /* Dark text for light background */
}

.page-slot-games__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__game-card,
.page-slot-games__promo-card,
.page-slot-games__card {
    background-color: var(--fcb8-card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--fcb8-border);
    color: var(--fcb8-text-main);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-slot-games__card-description {
    font-size: 0.95rem;
    color: var(--fcb8-text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-slot-games__card-button {
    margin-top: auto;
    width: 100%;
}

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

.page-slot-games__feature-item,
.page-slot-games__step-item,
.page-slot-games__tip-item {
    background-color: #ffffff; /* Light background for list items */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #333333; /* Dark text for light background */
    border-left: 5px solid var(--fcb8-green-main);
}

.page-slot-games__feature-title,
.page-slot-games__step-title,
.page-slot-games__tip-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--fcb8-green-main);
}

.page-slot-games__feature-description,
.page-slot-games__step-description,
.page-slot-games__tip-description {
    font-size: 1rem;
    color: #555555;
}

.page-slot-games__steps-list .page-slot-games__step-item {
    counter-increment: step-counter;
    position: relative;
    padding-left: 50px;
}

.page-slot-games__steps-list .page-slot-games__step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 10px;
    top: 25px;
    width: 30px;
    height: 30px;
    background-color: var(--fcb8-green-main);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.page-slot-games__view-all-promos {
    display: block;
    margin: 50px auto 0 auto;
    text-align: center;
    width: fit-content;
}

.page-slot-games__faq-list {
    margin-top: 40px;
    display: grid;
    gap: 20px;
}

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

.page-slot-games__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--fcb8-text-main);
    background-color: var(--fcb8-deep-green);
    border-bottom: 1px solid var(--fcb8-divider);
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.page-slot-games__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--fcb8-text-secondary);
    text-align: justify;
}

.page-slot-games__faq-answer p {
    margin-bottom: 15px;
    color: var(--fcb8-text-secondary);
}

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

.page-slot-games__cta-final-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-slot-games__cta-final-section .page-slot-games__text-block {
    color: var(--fcb8-text-secondary);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Text colors based on custom palette */
.page-slot-games__text-main {
    color: var(--fcb8-text-main);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        margin-top: -100px;
        padding: 20px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-slot-games__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-slot-games__feature-list,
    .page-slot-games__steps-list,
    .page-slot-games__tips-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-content {
        margin-top: -50px;
        padding: 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-slot-games__hero-description {
        font-size: 1rem;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
    }
    .page-slot-games__intro-section,
    .page-slot-games__features-section,
    .page-slot-games__strategy-section,
    .page-slot-games__faq-section,
    .page-slot-games__dark-section,
    .page-slot-games__cta-final-section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 20px;
    }
    .page-slot-games__text-block {
        font-size: 1rem;
    }
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-slot-games__feature-list,
    .page-slot-games__steps-list,
    .page-slot-games__tips-list {
        grid-template-columns: 1fr;
    }
    .page-slot-games__feature-item,
    .page-slot-games__step-item,
    .page-slot-games__tip-item {
        padding: 20px;
    }
    .page-slot-games__card-title {
        font-size: 1.3rem;
    }
    .page-slot-games__faq-item summary {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-slot-games img {
        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__hero-section,
    .page-slot-games__intro-section,
    .page-slot-games__game-types-section,
    .page-slot-games__features-section,
    .page-slot-games__guide-section,
    .page-slot-games__strategy-section,
    .page-slot-games__promotions-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: hidden !important;
    }
    
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Button responsiveness for multiple buttons */
    .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: 0px; /* Buttons themselves have padding */
        padding-right: 0px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
    }
}