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

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

.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-slot-games__dark-bg {
    background-color: #0D0E12;
    color: #FFF3E6;
}

.page-slot-games__light-bg {
    background-color: #17191F;
    color: #FFF3E6;
}

.page-slot-games__section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #FFF3E6;
}

.page-slot-games__main-title {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    color: #FFF3E6;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__text-block {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
    padding-top: 10px; /* ~10px top padding for first content section */
    padding-bottom: 60px;
    background-color: #0D0E12;
    position: relative;
    text-align: center;
}

.page-slot-games__hero-image-container {
    width: 100%;
    height: 675px; /* Fixed height for desktop hero image container */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

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

.page-slot-games__hero-content-wrapper {
    position: relative; /* Ensure content is below the image */
    z-index: 1;
}

.page-slot-games__hero-content {
    padding: 0 20px;
}

/* CTA Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    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;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    border: none;
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
    background: #17191F; /* Card BG */
    color: #FFA53A;
    border: 2px solid #FFA53A;
}

.page-slot-games__btn-secondary:hover {
    background: #FFA53A;
    color: #17191F;
    transform: translateY(-2px);
}

/* Features Grid */
.page-slot-games__features-grid {
    background-color: #0D0E12;
}

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

.page-slot-games__feature-card {
    background-color: #17191F; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-slot-games__card-image {
    width: 100%;
    max-width: 400px;
    height: 267px; /* Maintain 3:2 aspect ratio for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-slot-games__card-title {
    font-size: 24px;
    font-weight: bold;
    color: #FFA53A; /* Accent color for titles */
    margin-bottom: 15px;
    text-align: center;
}

.page-slot-games__card-text {
    font-size: 15px;
    line-height: 1.7;
    color: #FFF3E6;
    text-align: center;
    flex-grow: 1;
}

/* How-to-play Section */
.page-slot-games__how-to-play .page-slot-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-slot-games__list-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.6;
    color: #FFF3E6;
    display: flex;
    align-items: center;
}

.page-slot-games__list-item strong {
    color: #FFA53A;
    margin-right: 10px;
    flex-shrink: 0;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: #0D0E12;
}

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

details.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #A84F0C; /* Border */
    overflow: hidden;
    background: #17191F; /* Card BG */
    color: #FFF3E6;
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

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

details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
    background: rgba(255, 165, 58, 0.1);
}

.page-slot-games__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #FFF3E6;
}

.page-slot-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #FFA53A;
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    line-height: 1;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 25px 20px;
    background: rgba(23, 25, 31, 0.8); /* Slightly lighter than Card BG */
    border-radius: 0 0 8px 8px;
    font-size: 16px;
    line-height: 1.7;
    color: #FFF3E6;
}

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

/* Bottom CTA */
.page-slot-games__cta-bottom {
    padding: 80px 0;
    background-color: #17191F; /* Card BG */
    color: #FFF3E6;
}

.page-slot-games__cta-bottom .page-slot-games__section-title {
    color: #FFA53A;
}

/* Universal image responsive styles */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Media Queries --- */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 42px;
    }

    .page-slot-games__section-title {
        font-size: 32px;
    }

    .page-slot-games__description {
        font-size: 17px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 25px;
        font-size: 17px;
    }

    .page-slot-games__hero-image-container {
        height: 500px;
    }

    .page-slot-games__feature-card {
        padding: 25px;
    }

    .page-slot-games__card-title {
        font-size: 22px;
    }

    .page-slot-games__card-text {
        font-size: 14px;
    }

    .page-slot-games__list-item {
        font-size: 16px;
    }

    .page-slot-games__faq-qtext {
        font-size: 17px;
    }

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

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

    .page-slot-games__hero-image-container {
        height: 300px !important;
        margin-bottom: 30px;
    }

    .page-slot-games__hero-content {
        padding: 0 15px !important;
    }

    .page-slot-games__main-title {
        font-size: clamp(28px, 8vw, 36px) !important;
        margin-bottom: 15px;
    }

    .page-slot-games__description {
        font-size: 16px !important;
        margin-bottom: 25px;
    }

    .page-slot-games__section-title {
        font-size: 28px !important;
        margin-bottom: 25px;
    }

    .page-slot-games__text-block {
        font-size: 15px !important;
        margin-bottom: 15px;
    }

    /* Buttons */
    .page-slot-games__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        margin-top: 30px;
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
    }

    /* Features Grid */
    .page-slot-games__grid-wrapper {
        grid-template-columns: 1fr !important;
        gap: 20px;
        margin-top: 30px;
    }

    .page-slot-games__feature-card {
        padding: 20px !important;
    }

    .page-slot-games__card-image {
        height: 200px !important;
        margin-bottom: 15px;
    }

    .page-slot-games__card-title {
        font-size: 20px !important;
        margin-bottom: 10px;
    }

    .page-slot-games__card-text {
        font-size: 14px !important;
    }

    /* How-to-play */
    .page-slot-games__how-to-play .page-slot-games__step-list {
        margin-top: 30px;
    }

    .page-slot-games__list-item {
        padding: 15px 20px !important;
        font-size: 15px !important;
        margin-bottom: 10px;
    }

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

    details.page-slot-games__faq-item summary.page-slot-games__faq-question {
        padding: 15px 20px !important;
    }

    .page-slot-games__faq-qtext {
        font-size: 16px !important;
    }

    .page-slot-games__faq-toggle {
        font-size: 24px !important;
        width: 24px !important;
        margin-left: 10px !important;
    }

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

    /* Bottom CTA */
    .page-slot-games__cta-bottom {
        padding: 50px 0 !important;
    }

    .page-slot-games__cta-content {
        padding: 0 15px !important;
    }

    /* Universal image responsive styles for mobile */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-slot-games__section,
    .page-slot-games__container,
    .page-slot-games__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}