.page-slot-games {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --button-register-login: #C30808;
    --text-register-login: #FFFF00;
    --background-color: #FFFFFF;
    color: var(--secondary-color);
    font-family: 'Roboto', sans-serif;
    background-color: #100224; /* Dark background as per WOW88 style */
    padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-slot-games__hero-section {
    display: flex;
    flex-direction: column; /* Default for mobile, will adjust for desktop */
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    background: linear-gradient(180deg, #100224 0%, #000000 100%); /* Dark gradient background */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width on desktop */
    margin-bottom: 20px;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

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

.page-slot-games__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--secondary-color); /* White for visibility */
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* No fixed font-size, rely on clamp for responsiveness if needed */
}

.page-slot-games__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(90deg, #ff9500 0%, #ff5e3a 100%); /* Orange-red gradient */
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 94, 58, 0.4);
    min-width: 200px;
    text-align: center;
}

.page-slot-games__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 94, 58, 0.6);
}

.page-slot-games__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--secondary-color); /* White */
    text-align: center;
    margin-bottom: 25px;
    padding-top: 40px;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
    background-image: linear-gradient(90deg, #FFD700, #FFA500); /* Gold-orange gradient for titles */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.page-slot-games__section-description {
    font-size: 1.05em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__introduction-section,
.page-slot-games__why-choose-us,
.page-slot-games__popular-games,
.page-slot-games__how-to-play,
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: #1a0532; /* Slightly lighter dark background for sections */
    margin-bottom: 20px;
    border-radius: 12px;
}

.page-slot-games__introduction-section .page-slot-games__container,
.page-slot-games__why-choose-us .page-slot-games__container,
.page-slot-games__popular-games .page-slot-games__container,
.page-slot-games__how-to-play .page-slot-games__container,
.page-slot-games__faq-section .page-slot-games__container {
    padding: 20px 40px;
}

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

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

.page-slot-games__feature-item,
.page-slot-games__step-item {
    background-color: #2b0a50; /* Darker card background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-slot-games__feature-item:hover,
.page-slot-games__step-item:hover {
    transform: translateY(-5px);
}

.page-slot-games__feature-title,
.page-slot-games__step-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--text-register-login); /* Yellow for highlight */
    margin-bottom: 15px;
}

.page-slot-games__feature-item p,
.page-slot-games__step-item p {
    font-size: 1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.page-slot-games__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    justify-items: center;
}

.page-slot-games__game-tile {
    display: block;
    width: 200px; /* Fixed width for game tiles */
    height: 200px; /* Fixed height for game tiles */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.page-slot-games__game-tile:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__game-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* No filter allowed */
}

.page-slot-games__view-all-button {
    display: block;
    width: fit-content;
    margin: 50px auto 0 auto;
    padding: 12px 25px;
    background: linear-gradient(90deg, #83a1f2 0%, #688cec 100%); /* Blue pill button */
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(104, 140, 236, 0.4);
}

.page-slot-games__view-all-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, #688cec 0%, #83a1f2 100%);
    box-shadow: 0 4px 12px rgba(104, 140, 236, 0.6);
}

.page-slot-games__cta-button--small {
    margin-top: 40px;
    padding: 12px 25px;
    min-width: 180px;
    font-size: 0.95em;
}

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

.page-slot-games__faq-item {
    background-color: #2b0a50;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 18px 25px;
    cursor: pointer;
    position: relative;
    display: block;
    margin: 0;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
    padding: 0 25px 18px;
    font-size: 1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    display: none; /* Hidden by default */
}

.page-slot-games__faq-question.active + .page-slot-games__faq-answer {
    display: block;
}

/* Responsive adjustments */
@media (min-width: 850px) {
    .page-slot-games__hero-section {
        flex-direction: row; /* Desktop: image on left, content on right */
        text-align: left;
        padding: 60px 0;
        justify-content: center;
        gap: 40px;
    }

    .page-slot-games__hero-image-wrapper {
        width: 50%;
        margin-bottom: 0;
    }

    .page-slot-games__hero-content {
        width: 40%;
        padding: 0;
    }

    .page-slot-games__main-title {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
        text-align: left;
    }

    .page-slot-games__hero-description {
        text-align: left;
    }

    .page-slot-games__cta-button {
        margin-left: 0;
        margin-right: auto;
    }

    .page-slot-games__section-title {
        font-size: 2.8em;
    }

    .page-slot-games__games-grid {
        grid-template-columns: repeat(6, 1fr); /* 6 columns on large desktop */
    }
}

@media (max-width: 849px) {
    .page-slot-games__main-title {
        font-size: clamp(2rem, 6vw, 2.8rem); /* Adjust H1 for smaller screens */
    }

    .page-slot-games__games-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on medium screens */
    }

    .page-slot-games__feature-item,
    .page-slot-games__step-item {
        padding: 25px;
    }
}

@media (max-width: 549px) {
    .page-slot-games__container {
        padding: 20px;
    }

    .page-slot-games__hero-section {
        padding-top: 20px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-slot-games__hero-description {
        font-size: 1em;
    }

    .page-slot-games__cta-button {
        width: 100%;
        max-width: 300px;
    }

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

    .page-slot-games__games-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
    }

    .page-slot-games__game-tile {
        width: 150px;
        height: 150px;
    }

    .page-slot-games__game-tile img {
        max-width: 100%;
        height: auto;
    }

    .page-slot-games__view-all-button {
        width: 100%;
        max-width: 250px;
    }

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

    .page-slot-games__faq-question::after {
        right: 20px;
    }

    .page-slot-games__faq-answer {
        padding: 0 20px 15px;
    }
}

/* Ensure content area images meet minimum size requirements for display */
.page-slot-games img:not(.page-slot-games__game-tile img) {
    min-width: 200px;
    min-height: 200px;
}

/* Override for game tiles which are explicitly 200x200 or smaller on mobile */
.page-slot-games__game-tile img {
    min-width: unset;
    min-height: unset;
}

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

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

/* Content area images CSS size lower bound */
@media (max-width: 768px) {
    .page-slot-games img {
        max-width: 100%;
        height: auto;
    }
    /* Specific override for game tiles to allow smaller display on mobile */
    .page-slot-games__game-tile img {
        width: 100%; /* Ensure it scales within its container */
        height: auto;
    }
}