/* style/slot-games.css */

/* --- Base Styles and Global Overrides within page-slot-games scope --- */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Text Main for dark background */
    background-color: transparent; /* Body handles actual background */
    line-height: 1.6;
}

/* Ensure all images are responsive by default */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* --- Section Styling --- */
.page-slot-games__section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Added for mobile padding consistency */
    box-sizing: border-box;
}

.page-slot-games__section-title {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 25px;
    color: #F2C14E; /* Gold for main titles */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Hero Section --- */
.page-slot-games__hero-section {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 10px; /* Small top padding */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    object-fit: cover;
    max-height: 600px;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(0deg, #08160F 0%, rgba(8, 22, 15, 0.8) 50%, rgba(8, 22, 15, 0) 100%); /* Fade from bottom to top */
    margin-top: -100px;
    padding-top: 100px;
}

.page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
    font-weight: 800;
    margin-bottom: 15px;
    color: #F2C14E;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.page-slot-games__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #A7D9B8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* --- Buttons --- */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: #2AD16F;
    border: 2px solid #2AD16F;
}

.page-slot-games__btn-secondary:hover {
    background: #2AD16F;
    color: #F2FFF6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* --- Game Types Section --- */
.page-slot-games__game-types-section .page-slot-games__container {
    padding-top: 40px;
    padding-bottom: 40px;
}

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

.page-slot-games__card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #F2FFF6; /* Text Main for dark card background */
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #1E3A2A; /* Divider */
}

.page-slot-games__card-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #F2C14E; /* Gold */
}

.page-slot-games__card-description {
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
}

/* --- Benefits Section & Dark Sections --- */
.page-slot-games__dark-section {
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
    padding: 80px 20px;
}

.page-slot-games__dark-section .page-slot-games__section-title {
    color: #F2C14E; /* Gold */
}

.page-slot-games__list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 900px;
    text-align: left;
}

.page-slot-games__list-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #2AD16F; /* Bright green checkmark */
    font-size: 1.2em;
    line-height: 1.2;
}

.page-slot-games__ordered-list {
    list-style: decimal;
    padding-left: 40px;
    margin: 30px auto;
    max-width: 900px;
    text-align: left;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__ordered-list .page-slot-games__list-item {
    padding-left: 0; /* Remove custom padding for ordered list */
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__ordered-list .page-slot-games__list-item::before {
    content: none; /* Remove custom checkmark for ordered list */
}

.page-slot-games__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* --- Guide Section --- */
.page-slot-games__image-inline {
    margin: 40px auto;
    max-width: 600px;
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
}

/* --- Promotions Section --- */
.page-slot-games__image-full-width {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    margin: 40px auto;
    border-radius: 8px;
    border: 1px solid #2E7A4E; /* Border */
}

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

/* --- FAQ Section --- */
.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-slot-games__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    background-color: #0A4B2C; /* Deep Green */
    color: #F2C14E; /* Gold */
    border-bottom: 1px solid #1E3A2A; /* Divider */
}

/* 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;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #57E38D; /* Glow */
}

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

.page-slot-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.7;
}

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

/* --- Conclusion Section --- */
.page-slot-games__conclusion-section {
    padding-bottom: 80px;
}

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

    .page-slot-games__section {
        padding: 40px 10px;
    }

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

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

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
        margin-top: 0;
    }

    .page-slot-games__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

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

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

    .page-slot-games__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__card {
        padding: 20px;
    }

    .page-slot-games__card-image {
        height: 180px;
    }

    .page-slot-games__card-title {
        font-size: 1.3em;
    }

    .page-slot-games__list {
        margin: 20px auto;
    }

    .page-slot-games__list-item {
        font-size: 1em;
        margin-bottom: 10px;
        padding-left: 25px;
    }
    
    .page-slot-games__list-item::before {
        font-size: 1em;
    }

    .page-slot-games__ordered-list {
        margin: 20px auto;
        padding-left: 25px;
    }

    .page-slot-games__ordered-list .page-slot-games__list-item {
        font-size: 1em;
    }

    .page-slot-games__button-group {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }

    .page-slot-games__image-inline,
    .page-slot-games__image-full-width {
        margin: 30px auto;
        border-radius: 6px;
    }

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

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

    /* Mobile image and video force responsive */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__container,
    .page-slot-games__grid,
    .page-slot-games__card,
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__cta-container,
    .page-slot-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden; /* Ensure no overflow */
    }

    /* Specific for hero section to prevent extra top padding */
    .page-slot-games__hero-section {
        padding-top: 10px !important;
    }

    .page-slot-games__hero-content {
        margin-top: -50px; /* Adjust for smaller screens */
        padding-top: 50px;
    }
}