.page-slot-games {
    font-family: Arial, sans-serif;
    color: var(--text-main, #1F2D3D);
    background-color: var(--background, #F4F7FB);
    line-height: 1.6;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    background-color: var(--primary-color, #2F6BFF);
    padding-top: 10px; /* Small padding-top, relying on body for --header-offset */
    padding-bottom: 40px;
    color: #FFFFFF;
    text-align: center;
    overflow: hidden; /* Ensure no image overflow */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 20px;
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 1; /* Ensure content is above any potential background elements */
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-slot-games__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 15px;
    max-width: 100%; /* Ensure H1 doesn't cause overflow */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    /* No fixed font-size, rely on clamp if needed, but not here by default */
}

.page-slot-games__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-slot-games__description--centered {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-main, #1F2D3D);
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure button is not too small */
}

.page-slot-games__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-slot-games__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color, #D6E2FF);
}

.page-slot-games__section:last-of-type {
    border-bottom: none;
}

.page-slot-games__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--text-main, #1F2D3D);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
    background-color: var(--card-bg, #FFFFFF);
}

.page-slot-games__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-slot-games__text-content {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__text-content p {
    margin-bottom: 20px;
    color: var(--text-main, #1F2D3D);
}

.page-slot-games__features-list {
    list-style: none;
    padding: 0;
}

.page-slot-games__feature-item {
    background-color: #F8F8F8; /* Lighter background for list items */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--primary-color, #2F6BFF);
    border-radius: 4px;
    font-size: 1.05em;
    color: var(--text-main, #1F2D3D);
}

.page-slot-games__feature-item strong {
    color: var(--custom-color-1776249996415, #000000); /* Use specific text color */
}

.page-slot-games__image-content {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-slot-games__section-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

/* Game Types Section */
.page-slot-games__game-types-section {
    background-color: var(--background, #F4F7FB);
}

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

.page-slot-games__game-card {
    background-color: var(--card-bg, #FFFFFF);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-slot-games__game-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

.page-slot-games__game-card-title {
    font-size: 1.4em;
    color: var(--custom-color-1776249996415, #000000); /* Use specific text color */
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__game-card-text {
    font-size: 0.95em;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-slot-games__game-card-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    min-width: 120px; /* Ensure button is not too small */
}

.page-slot-games__game-card-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-slot-games__view-all-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-slot-games__view-all-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    border: 2px solid var(--primary-color, #2F6BFF);
    color: var(--primary-color, #2F6BFF);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-slot-games__view-all-button:hover {
    background-color: var(--primary-color, #2F6BFF);
    color: #FFFFFF;
}


/* Responsible Gaming Section */
.page-slot-games__responsible-gaming-section {
    background-color: var(--primary-color, #2F6BFF);
    color: #FFFFFF;
    text-align: center;
    padding: 50px 0;
}

.page-slot-games__responsible-gaming-section .page-slot-games__section-title {
    color: #FFFFFF;
    margin-bottom: 20px;
}

.page-slot-games__responsible-gaming-section .page-slot-games__description--centered {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-slot-games__responsible-gaming-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    background-color: #FFFFFF;
    color: var(--primary-color, #2F6BFF);
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-slot-games__responsible-gaming-link:hover {
    background-color: var(--secondary-color, #6FA3FF);
    color: #FFFFFF;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-slot-games__hero-content {
        padding: 0 15px;
    }

    .page-slot-games__main-title {
        font-size: 2.5em;
    }

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

    .page-slot-games__content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-slot-games__image-content {
        order: -1; /* Image above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-bottom: 30px;
    }

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

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

    .page-slot-games__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-slot-games__section {
        padding: 40px 0;
    }

    .page-slot-games__section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }

    .page-slot-games__game-cards {
        grid-template-columns: 1fr; /* Single column for game cards */
    }

    /* Enforce mobile image size */
    .page-slot-games img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Still ensure minimum size */
        min-height: 200px;
    }
    .page-slot-games__hero-image {
        max-height: 400px;
    }
    .page-slot-games__section-image {
        max-width: 100%;
        height: auto;
    }
    .page-slot-games__game-card-image {
        height: auto; /* Allow height to adjust */
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-section {
        padding-bottom: 20px;
    }
    .page-slot-games__main-title {
        font-size: 1.8em;
    }
    .page-slot-games__container {
        padding: 15px;
    }
    .page-slot-games__feature-item {
        padding: 10px 15px;
        font-size: 0.95em;
    }
}