/* style/slot-games.css */

/* Base styles */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #FFB04D; /* Glow */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #FFF3E6; /* Text Main */
}

.page-slot-games__list-item {
    margin-bottom: 15px;
    list-style: none;
}

.page-slot-games__list-item-title {
    font-size: 1.4em;
    color: #FFA53A; /* Auxiliary */
    margin-bottom: 5px;
}

.page-slot-games__list-item-text {
    color: #FFF3E6; /* Text Main */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    padding-top: 10px; /* Small top padding */
    box-sizing: border-box;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(13, 14, 18, 0.8) 0%, #0D0E12 100%); /* Fade from semi-transparent to solid background */
    margin-top: -100px; /* Overlap image slightly for visual effect */
    width: 100%;
    box-sizing: border-box;
}

.page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 3.5em);
    color: #FFB04D; /* Glow */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-slot-games__lead-text {
    font-size: 1.2em;
    color: #FFF3E6; /* Text Main */
    max-width: 800px;
    margin: 0 auto 30px auto;
}

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

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

.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.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    color: #FFF3E6; /* Text Main */
    border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #FFA53A; /* Auxiliary */
    border: 2px solid #FFA53A;
}

.page-slot-games__btn-secondary:hover {
    background-color: #FFA53A;
    color: #0D0E12; /* Background */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

/* Section backgrounds */
.page-slot-games__dark-bg {
    background-color: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
    padding: 60px 0;
}

.page-slot-games__light-bg {
    background-color: #17191F; /* Card BG */
    color: #FFF3E6; /* Text Main */
    padding: 60px 0;
}

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

.page-slot-games__feature-card {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__feature-card .page-slot-games__card-title {
    font-size: 1.5em;
    color: #FFB04D; /* Glow */
    margin-bottom: 15px;
}

.page-slot-games__feature-card .page-slot-games__card-text {
    color: #FFF3E6; /* Text Main */
}

/* Image content */
.page-slot-games__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

/* List styles */
.page-slot-games__type-list,
.page-slot-games__tips-list,
.page-slot-games__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-slot-games__type-list .page-slot-games__list-item,
.page-slot-games__tips-list .page-slot-games__list-item,
.page-slot-games__promo-list .page-slot-games__list-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__faq-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFA53A; /* Auxiliary */
    background-color: #0D0E12; /* Background */
    border-bottom: 1px solid #A84F0C;
    list-style: none;
    -webkit-tap-highlight-color: transparent; /* Prevent blue highlight on mobile */
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: 1px solid #A84F0C;
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
    padding: 20px;
    background-color: #17191F; /* Card BG */
    color: #FFF3E6; /* Text Main */
    border-top: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 6vw, 3em);
    }
    .page-slot-games__lead-text {
        font-size: 1.1em;
    }
    .page-slot-games__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 15px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.5em, 7vw, 2.5em);
    }
    .page-slot-games__lead-text {
        font-size: 1em;
    }
    .page-slot-games__hero-content {
        margin-top: -60px; /* Adjust overlap for mobile */
        padding: 30px 15px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__hero-section,
    .page-slot-games__overview-section,
    .page-slot-games__why-choose-section,
    .page-slot-games__types-section,
    .page-slot-games__tips-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-bottom-section {
        padding: 40px 0;
    }

    /* Mobile image adaptation */
    .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__features-grid,
    .page-slot-games__feature-card,
    .page-slot-games__type-list,
    .page-slot-games__tips-list,
    .page-slot-games__promo-list,
    .page-slot-games__faq-list,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure content doesn't overflow */
    }
    .page-slot-games__hero-section {
        padding-top: 10px !important;
    }
    .page-slot-games__overview-section .page-slot-games__container,
    .page-slot-games__why-choose-section .page-slot-games__container,
    .page-slot-games__types-section .page-slot-games__container,
    .page-slot-games__tips-section .page-slot-games__container,
    .page-slot-games__promotions-section .page-slot-games__container,
    .page-slot-games__faq-section .page-slot-games__container,
    .page-slot-games__cta-bottom-section .page-slot-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }

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

@media (max-width: 480px) {
    .page-slot-games__section-title {
        font-size: 1.5em;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.2em, 8vw, 2em);
    }
    .page-slot-games__lead-text {
        font-size: 0.95em;
    }
    .page-slot-games__hero-content {
        margin-top: -40px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-slot-games__feature-card {
        padding: 20px;
    }
    .page-slot-games__feature-card .page-slot-games__card-title {
        font-size: 1.3em;
    }
    .page-slot-games__list-item-title {
        font-size: 1.2em;
    }
    .page-slot-games__faq-question {
        font-size: 1em;
    }
}