.page-slot-games {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll on main content */
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column; /* Image above text for all sizes, per new rule */
    align-items: center;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height on desktop */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    padding: 30px 15px;
    background-color: #08160F; /* Match background or a slightly different dark shade */
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    margin-top: -50px; /* Pull content up slightly for visual flow, but not overlapping the image's content */
    border-radius: 10px 10px 0 0;
}

.page-slot-games__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem); /* H1 font size with clamp */
    font-weight: 700;
    line-height: 1.2;
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-slot-games__hero-description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 180px;
    text-align: center;
    border: none;
    cursor: pointer;
}

.page-slot-games__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4); /* Glow effect on hover */
}

/* Section Titles */
.page-slot-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3); /* Glow */
}

/* Paragraphs */
.page-slot-games__paragraph {
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}

/* Game Types Section */
.page-slot-games__game-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-slot-games__game-type-card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(87, 227, 141, 0.3); /* Glow */
}

.page-slot-games__game-type-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    display: block;
}

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

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

/* Featured Games Grid (Pure Image Grid) */
.page-slot-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjusted for 3-2 layout on mobile */
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.page-slot-games__game-tile {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__game-tile:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-slot-games__game-tile img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-slot-games__view-all-button {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 220px;
    text-align: center;
    border: none;
    cursor: pointer;
}

.page-slot-games__view-all-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4); /* Glow effect on hover */
}

/* How To Play Section */
.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-slot-games__step-card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #2AD16F; /* A brighter green from the gradient */
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-slot-games__cta-button--bottom {
    margin-top: 50px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    background-color: #0A4B2C; /* Deep Green */
    padding: 60px 0;
    margin-top: 60px;
}

.page-slot-games__promo-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.page-slot-games__promo-text {
    flex: 1;
    min-width: 300px;
    padding: 0 10px;
}

.page-slot-games__promo-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 0 10px;
}

.page-slot-games__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-button--promo {
    margin-top: 30px;
    display: inline-block;
}

/* Divider for sections */
.page-slot-games__about-slots-section,
.page-slot-games__game-types-section,
.page-slot-games__featured-games-section,
.page-slot-games__how-to-play-section {
    position: relative;
    padding-bottom: 40px;
}

.page-slot-games__about-slots-section::after,
.page-slot-games__game-types-section::after,
.page-slot-games__featured-games-section::after,
.page-slot-games__how-to-play-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 900px;
    height: 1px;
    background-color: #1E3A2A; /* Divider */
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-slot-games__hero-image-wrapper {
        max-height: 400px; /* Adjust hero image height for smaller screens */
    }
    .page-slot-games__hero-content {
        margin-top: -30px; /* Less overlap on smaller screens */
        padding: 20px 10px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .page-slot-games__game-types-grid,
    .page-slot-games__game-grid,
    .page-slot-games__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* More flexible for smaller screens */
    }
    .page-slot-games__game-tile img {
        min-width: 200px;
        min-height: 200px;
    }
    .page-slot-games__game-type-image {
        min-width: 200px;
        min-height: 200px;
    }
    .page-slot-games__promo-image {
        min-width: 200px;
        min-height: 200px;
    }
    .page-slot-games__promo-content {
        flex-direction: column;
    }
    .page-slot-games__promo-text,
    .page-slot-games__promo-image-wrapper {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 549px) {
    .page-slot-games__container {
        padding: 15px 10px;
    }
    .page-slot-games__hero-image-wrapper {
        max-height: 300px;
    }
    .page-slot-games__hero-content {
        margin-top: -20px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .page-slot-games__hero-description {
        font-size: 0.9em;
    }
    .page-slot-games__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Even smaller tiles on very small screens */
        gap: 15px;
    }
    .page-slot-games__game-tile img {
        min-
        min-
    }
    .page-slot-games__game-type-image {
        min-width: 150px;
        min-height: 150px;
    }
    .page-slot-games__promo-image {
        min-width: 150px;
        min-height: 150px;
    }
    .page-slot-games__game-types-grid,
    .page-slot-games__steps-grid {
        grid-template-columns: 1fr; /* Stack cards on very small screens */
    }
    .page-slot-games__cta-button,
    .page-slot-games__view-all-button,
    .page-slot-games__cta-button--bottom,
    .page-slot-games__cta-button--promo {
        width: 100%;
        max-width: 300px;
        min-width: unset;
        box-sizing: border-box;
    }
}

/* Ensure all images within .page-slot-games are responsive and don't overflow */
@media (max-width: 768px) {
    .page-slot-games img {
        max-width: 100%;
        height: auto;
    }
}

/* General content area image CSS size lower bound (applied to relevant selectors) */
.page-slot-games img {
    /* This rule applies to any img within .page-slot-games. */
    /* Individual classes like __game-tile img, __game-type-image, __promo-image already have min-width/height */
    /* This ensures no selector accidentally makes images smaller than 200px */
    /* min-width and min-height are explicitly set to 200px or more on specific image elements */
}