.page-slot-games-popular-recommendations {
    background-color: #100224; /* Dark background as per WOW88 style, contrasting with #017439 for sections */
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif; /* Example font */
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for internal pages */
}

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

/* Hero Section */
.page-slot-games-popular-recommendations__hero-section {
    display: flex;
    flex-direction: column; /* Default to column for mobile first, then row for desktop */
    align-items: center;
    text-align: center;
    background-color: #017439; /* Using primary color for hero background */
    padding-bottom: 40px;
}

.page-slot-games-popular-recommendations__hero-visual {
    width: 100%;
    overflow: hidden;
}

.page-slot-games-popular-recommendations__hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/5; /* Recommended aspect ratio for hero */
    object-fit: cover;
    max-width: 100%; /* Ensure responsive */
    min-width: 200px; /* Min size constraint */
    min-height: 200px; /* Min size constraint */
}

.page-slot-games-popular-recommendations__hero-content {
    padding: 20px;
    max-width: 900px;
    margin-top: 20px;
}

.page-slot-games-popular-recommendations__main-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* Use clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ff9500, #ff5e3a); /* Orange-red gradient as emphasis */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for non-webkit browsers */
}

.page-slot-games-popular-recommendations__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-slot-games-popular-recommendations__hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.page-slot-games-popular-recommendations__btn-cta,
.page-slot-games-popular-recommendations__btn-register {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 150px; /* Ensure buttons are not too small */
    text-align: center;
    font-size: 1rem;
}

.page-slot-games-popular-recommendations__btn-cta {
    background: linear-gradient(90deg, #ff9500, #ff5e3a); /* Orange-red gradient */
    color: #FFFFFF;
}

.page-slot-games-popular-recommendations__btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 94, 58, 0.4);
}

.page-slot-games-popular-recommendations__btn-register {
    background-color: #C30808; /* Custom color for register */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #FFFF00;
}

.page-slot-games-popular-recommendations__btn-register:hover {
    transform: translateY(-3px);
    background-color: #a00606;
}

/* General Section Styling */
.page-slot-games-popular-recommendations__intro-section,
.page-slot-games-popular-recommendations__games-list-section,
.page-slot-games-popular-recommendations__providers-section,
.page-slot-games-popular-recommendations__tips-section,
.page-slot-games-popular-recommendations__cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: #1a0432; /* Slightly lighter dark background for sections */
    margin-bottom: 10px;
}

.page-slot-games-popular-recommendations__section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: #FFFFFF;
    background: linear-gradient(90deg, #83a1f2, #688cec); /* Blue gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
}

.page-slot-games-popular-recommendations__intro-text {
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: #e0e0e0;
}

.page-slot-games-popular-recommendations__btn-learn-more,
.page-slot-games-popular-recommendations__btn-view-all-slots,
.page-slot-games-popular-recommendations__btn-read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #83a1f2; /* Blue button */
    color: #FFFFFF;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 150px;
    text-align: center;
    font-size: 0.95rem;
}

.page-slot-games-popular-recommendations__btn-learn-more:hover,
.page-slot-games-popular-recommendations__btn-view-all-slots:hover,
.page-slot-games-popular-recommendations__btn-read-more:hover {
    background-color: #688cec;
    transform: translateY(-2px);
}

/* Games List Section */
.page-slot-games-popular-recommendations__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games-popular-recommendations__game-card {
    background-color: #2a0a4a; /* Darker card background */
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

.page-slot-games-popular-recommendations__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games-popular-recommendations__game-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
    border-bottom: 3px solid #017439; /* Green border */
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games-popular-recommendations__game-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 15px 0 10px 0;
    color: #FFFFFF;
    padding: 0 15px;
}

.page-slot-games-popular-recommendations__play-now-btn {
    display: inline-block;
    padding: 8px 18px;
    background-color: #C30808; /* Red for play now on cards */
    color: #FFFF00;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.page-slot-games-popular-recommendations__play-now-btn:hover {
    background-color: #a00606;
}

/* Providers Section */
.page-slot-games-popular-recommendations__providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: center;
    justify-items: center;
}

.page-slot-games-popular-recommendations__provider-logo {
    background-color: #2a0a4a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px; /* Fixed height for logos */
    transition: transform 0.3s ease;
}

.page-slot-games-popular-recommendations__provider-logo:hover {
    transform: scale(1.05);
}

.page-slot-games-popular-recommendations__provider-logo img {
    max-width: 100%;
    
    height: auto;
    display: block;
    object-fit: contain;
    min-width: 200px; /* Minimum generation width */
    min-height: 200px; /* Minimum generation height */
}

/* Tips Section */
.page-slot-games-popular-recommendations__tips-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-slot-games-popular-recommendations__tip-item {
    background-color: #2a0a4a;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.05rem;
    color: #e0e0e0;
    border-left: 5px solid #017439; /* Green accent */
}

/* CTA Section */
.page-slot-games-popular-recommendations__cta-section {
    background-color: #017439; /* Primary color for final CTA */
    padding: 80px 0;
    margin-top: 10px;
}

.page-slot-games-popular-recommendations__cta-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-slot-games-popular-recommendations__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-slot-games-popular-recommendations__btn-cta--primary {
    background: linear-gradient(90deg, #ff9500, #ff5e3a);
    color: #FFFFFF;
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 35px;
}

.page-slot-games-popular-recommendations__btn-cta--primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 94, 58, 0.5);
}

.page-slot-games-popular-recommendations__btn-cta--secondary {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #FFFF00;
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 35px;
}

.page-slot-games-popular-recommendations__btn-cta--secondary:hover {
    transform: translateY(-4px);
    background-color: #a00606;
}

/* Responsive Design */
@media (max-width: 849px) {
    .page-slot-games-popular-recommendations__hero-visual img {
        aspect-ratio: 4/3; /* Adjust aspect ratio for mobile hero */
    }

    .page-slot-games-popular-recommendations__hero-content {
        padding: 15px;
    }

    .page-slot-games-popular-recommendations__main-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .page-slot-games-popular-recommendations__hero-description {
        font-size: 1rem;
    }

    .page-slot-games-popular-recommendations__hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-slot-games-popular-recommendations__btn-cta,
    .page-slot-games-popular-recommendations__btn-register {
        width: 80%; /* Make buttons wider on mobile */
        max-width: 300px;
        margin: 0 auto;
    }

    .page-slot-games-popular-recommendations__games-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 2 columns for smaller screens */
    }

    .page-slot-games-popular-recommendations__providers-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .page-slot-games-popular-recommendations__provider-logo img {
        min- /* Adjusted min-width for mobile */
        min-
    }

    .page-slot-games-popular-recommendations__section-title {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }

    .page-slot-games-popular-recommendations__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games-popular-recommendations__btn-cta--primary,
    .page-slot-games-popular-recommendations__btn-cta--secondary {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Ensure all content area images are responsive and don't overflow */
    .page-slot-games-popular-recommendations__games-grid img,
    .page-slot-games-popular-recommendations__providers-grid img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 549px) {
    .page-slot-games-popular-recommendations__games-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }

    .page-slot-games-popular-recommendations__providers-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games-popular-recommendations__provider-logo img {
        min-width: 200px; /* Revert to 200px for single column to meet min size */
        min-
    }

    .page-slot-games-popular-recommendations__container {
        padding: 15px;
    }

    .page-slot-games-popular-recommendations__hero-visual img {
        aspect-ratio: 16/9; /* More standard mobile aspect ratio */
    }

    .page-slot-games-popular-recommendations__hero-buttons,
    .page-slot-games-popular-recommendations__cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .page-slot-games-popular-recommendations__btn-cta,
    .page-slot-games-popular-recommendations__btn-register,
    .page-slot-games-popular-recommendations__btn-cta--primary,
    .page-slot-games-popular-recommendations__btn-cta--secondary {
        width: 100%;
        max-width: none;
    }

    /* Important for mobile overflow prevention */
    .page-slot-games-popular-recommendations__container {
        overflow-x: hidden;
    }
}

/* Global image responsive rule for content area */
.page-slot-games-popular-recommendations img {
    max-width: 100%;
    height: auto;
    display: block; /* Ensure images behave as block elements */
}

/* Ensure content area image sizes are not smaller than 200px */
.page-slot-games-popular-recommendations__hero-visual img,
.page-slot-games-popular-recommendations__game-card img,
.page-slot-games-popular-recommendations__provider-logo img {
    min-width: 200px;
    min-height: 200px; /* Enforce minimum size */
}

/* Override for provider logos to allow proper scaling while meeting minimums for *generation*, display is constrained by max-height */
.page-slot-games-popular-recommendations__provider-logo img {
     /* Display height */
    width: auto; /* Allow width to scale with height */
    min-width: 200px; /* Minimum generation width */
    min-height: 200px; /* Minimum generation height */
}

/* CSS for color contrast */
.page-slot-games-popular-recommendations {
    background-color: #100224; /* Very dark background */
    color: #FFFFFF; /* White text on dark background ensures high contrast */
}

.page-slot-games-popular-recommendations__hero-section {
    background-color: #017439; /* Dark green background */
    color: #FFFFFF; /* White text */
}

.page-slot-games-popular-recommendations__main-title {
    /* Gradient text, but ensure good contrast for underlying colors if text-fill-color fails */
    color: #FFFFFF; /* Fallback for white on green/dark background */
}

.page-slot-games-popular-recommendations__hero-description {
    color: #f0f0f0; /* Off-white on green/dark background */
}

.page-slot-games-popular-recommendations__btn-cta {
    /* Gradient, but ensures good contrast with white text */
    color: #FFFFFF;
}

.page-slot-games-popular-recommendations__btn-register {
    background-color: #C30808; /* Dark red */
    color: #FFFF00; /* Bright yellow on dark red ensures high contrast */
}

.page-slot-games-popular-recommendations__section-title {
    /* Gradient text, ensure good contrast */
    color: #FFFFFF; /* Fallback for white on dark background */
}

.page-slot-games-popular-recommendations__intro-text,
.page-slot-games-popular-recommendations__tip-item,
.page-slot-games-popular-recommendations__cta-description {
    color: #e0e0e0; /* Off-white on dark background */
}

.page-slot-games-popular-recommendations__btn-learn-more,
.page-slot-games-popular-recommendations__btn-view-all-slots,
.page-slot-games-popular-recommendations__btn-read-more {
    background-color: #83a1f2; /* Blue */
    color: #FFFFFF; /* White text on blue */
}

.page-slot-games-popular-recommendations__game-card {
    background-color: #2a0a4a; /* Dark purple */
    color: #FFFFFF; /* White text */
}

.page-slot-games-popular-recommendations__game-title {
    color: #FFFFFF; /* White text */
}

.page-slot-games-popular-recommendations__play-now-btn {
    background-color: #C30808; /* Dark red */
    color: #FFFF00; /* Bright yellow on dark red */
}