.page-slot-games {
    background-color: #0D0E12;
    color: #FFF3E6;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-slot-games__hero-section {
    background-color: #17191F; /* Card BG */
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding for first section */
}

.page-slot-games__hero-image-wrapper {
    order: 1; /* Image first in DOM for '上图下文' */
    width: 100%;
    max-width: 1000px;
    margin: 0;
    padding: 0;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #A84F0C; /* Border */
}

.page-slot-games__hero-content {
    order: 2; /* Content after image in DOM */
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.page-slot-games__hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: #FFB04D; /* Glow for title */
    margin-bottom: 20px;
    background: linear-gradient(90deg, #FFB04D 0%, #FF8C1A 100%); /* Gradient for H1 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.page-slot-games__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #FFF3E6;
}

.page-slot-games__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #FFF3E6;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 44px; /* Touch target */
    line-height: 1.2; /* Ensure text fits */
    border: none;
    cursor: pointer;
}

.page-slot-games__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.4);
}

.page-slot-games__about-section,
.page-slot-games__game-grid-section,
.page-slot-games__promotion-section,
.page-slot-games__faq-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-slot-games__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FF8C1A;
}

.page-slot-games__section-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #FFF3E6;
}

.page-slot-games__highlight {
    color: #FFA53A;
    font-weight: bold;
}

.page-slot-games__features-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: left;
    max-width: 900px;
}

.page-slot-games__features-item {
    background-color: #17191F; /* Card BG */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-left: 5px solid #FF8C1A;
    font-size: 1.05rem;
}

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

.page-slot-games__game-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background-color: #17191F; /* Card BG */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    position: relative;
    border: 1px solid #A84F0C;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 140, 26, 0.6);
}

.page-slot-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency in grid, will be overridden by responsive rules */
    object-fit: cover;
    display: block;
    border-radius: 10px 10px 0 0;
}

.page-slot-games__more-games {
    margin-top: 40px;
}

.page-slot-games__promotion-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    background-color: #17191F; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #A84F0C;
}

.page-slot-games__promotion-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__promotion-text {
    text-align: left;
}

.page-slot-games__promotion-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #FFF3E6;
}

.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: #17191F; /* Card BG */
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #A84F0C;
}

.page-slot-games__faq-question {
    font-size: 1.25rem;
    color: #FFA53A;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px; /* Ensure touch target for FAQ questions */
}

.page-slot-games__faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-question.is-active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-slot-games__faq-answer {
    font-size: 1rem;
    color: #FFF3E6;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none; /* Controlled by JS */
    overflow: hidden; /* For smooth transition */
    max-height: 0; /* For smooth transition */
    transition: max-height 0.3s ease-out;
}

.page-slot-games__faq-answer.is-active {
    max-height: 500px; /* Arbitrary large value to allow content to expand */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slot-games__hero-section {
        padding: 40px 15px;
    }

    .page-slot-games__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-slot-games__section-title {
        font-size: 2rem;
    }

    .page-slot-games__about-section,
    .page-slot-games__game-grid-section,
    .page-slot-games__promotion-section,
    .page-slot-games__faq-section {
        padding: 40px 15px;
    }

    .page-slot-games__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .page-slot-games__game-image {
        height: 180px; /* Adjust height for tablet */
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 30px 10px;
        flex-direction: column; /* Ensure column layout for hero */
    }

    .page-slot-games__hero-image-wrapper {
        order: 1; /* Image first */
        width: 100%;
    }

    .page-slot-games__hero-content {
        order: 2; /* Content after image */
        padding-top: 20px; /* Add some space between image and text */
    }

    .page-slot-games__hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-slot-games__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-slot-games__cta-button {
        width: 100%;
        max-width: 300px; /* Constrain button width on small screens */
        margin: 0 auto;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-slot-games__about-section,
    .page-slot-games__game-grid-section,
    .page-slot-games__promotion-section,
    .page-slot-games__faq-section {
        padding: 30px 10px;
    }

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

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

    .page-slot-games__features-list {
        grid-template-columns: 1fr;
    }

    .page-slot-games__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* 2 columns on mobile */
        gap: 15px;
    }

    .page-slot-games__game-image {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto; /* Maintain aspect ratio */
        min-height: 200px; /* Enforce min height for content images */
        object-fit: cover;
    }

    .page-slot-games__promotion-content {
        flex-direction: column;
        padding: 20px;
    }

    .page-slot-games__promotion-text {
        text-align: center;
    }

    .page-slot-games__promotion-text p {
        font-size: 1rem;
    }

    .page-slot-games__faq-question {
        font-size: 1.1rem;
    }

    .page-slot-games__faq-answer {
        font-size: 0.95rem;
    }
}

@media (max-width: 549px) {
    .page-slot-games__game-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
    .page-slot-games__game-image {
        height: auto; /* Allow height to adjust naturally */
        min-height: 250px; /* Ensure sufficient size for single column */
    }
    .page-slot-games__hero-title {
        font-size: clamp(1.5rem, 9vw, 2.2rem);
    }
    .page-slot-games__section-title {
        font-size: 1.6rem;
    }
}

/* Global image rules for content area to meet min 200px requirement */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Enforce minimum width for all content images */
    min-height: 200px; /* Enforce minimum height for all content images */
    object-fit: cover; /* Ensure image covers the area without distortion */
}

/* Specific override for hero image if needed, though general rule should cover */
.page-slot-games__hero-image {
    min-width: 200px;
    min-height: 200px;
}

/* Ensure no filter is used on images */
.page-slot-games img {
    filter: none; /* Explicitly remove any potential filters */
}