/* page-slot-games.css */
.page-slot-games {
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    text-align: center;
    overflow: hidden;
    padding-bottom: 40px;
    background-color: #2F6BFF; /* Primary color for hero background */
    color: #FFFFFF;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit image height for visual balance */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

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

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

.page-slot-games__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #E0E0E0; /* Lighter text for contrast on dark background */
}

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

.page-slot-games__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Section Titles */
.page-slot-games__section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main */
    font-weight: bold;
    padding-top: 40px;
}

.page-slot-games__section-description {
    text-align: center;
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Popular Games Grid */
.page-slot-games__popular-games-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

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

.page-slot-games__game-card {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid #D6E2FF; /* Border */
}

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

.page-slot-games__game-card-image {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    aspect-ratio: 4/3; /* Enforce 4:3 ratio based on HTML width="400" height="300" */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-slot-games__game-card-title {
    font-size: 1.4em;
    font-weight: bold;
    margin: 20px 15px 10px;
    color: #1F2D3D; /* Text Main */
}

.page-slot-games__game-card-title a {
    color: #1F2D3D; /* Text Main */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__game-card-title a:hover {
    color: #2F6BFF; /* Primary color on hover */
}

.page-slot-games__game-card-text {
    font-size: 0.95em;
    color: #1F2D3D; /* Text Main */
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-slot-games__game-card-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 15px 20px;
    border-radius: 6px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.page-slot-games__view-all-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 12px 25px;
    border-radius: 8px;
    background-color: #6FA3FF; /* Secondary color */
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.page-slot-games__view-all-button:hover {
    background-color: #2F6BFF; /* Primary color on hover */
}

/* Features Section */
.page-slot-games__features-section {
    padding: 60px 0;
    background-color: #2F6BFF; /* Primary color */
    color: #FFFFFF;
}

.page-slot-games__features-section .page-slot-games__section-title {
    color: #FFFFFF;
    margin-bottom: 40px;
}

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

.page-slot-games__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-slot-games__feature-description {
    font-size: 1em;
    color: #E0E0E0;
}

/* Call to Action Section */
.page-slot-games__call-to-action-section {
    padding: 60px 0;
    text-align: center;
    background-color: #F4F7FB; /* Background */
}

.page-slot-games__cta-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main */
}

.page-slot-games__cta-description {
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-button--secondary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
}

/* Responsive design */
@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-bottom: 20px;
    }

    .page-slot-games__hero-image-wrapper {
        max-height: 300px; /* Adjust max height for smaller screens */
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em); /* Use clamp for H1 */
        margin-bottom: 10px;
    }

    .page-slot-games__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

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

    .page-slot-games__section-title {
        font-size: clamp(1.8em, 5vw, 2.2em);
        padding-top: 30px;
    }

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

    .page-slot-games__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Mobile content area images must use max-width: 100%; height: auto; */
    .page-slot-games img {
        max-width: 100%;
        height: auto;
    }

    /* Ensure minimum display dimensions for all content images, even on mobile */
    .page-slot-games__hero-image,
    .page-slot-games__game-card-image {
        min-width: 200px;
        min-height: 200px;
    }
}

/* Global content image size floor (not header/footer shared icons) */
.page-slot-games img:not(.shared-header__logo):not(.shared-footer__icon) {
    min-width: 200px;
    min-height: 200px;
}