
    /* ==============================
       PROFESSIONAL HERO DESIGN
    ============================== */
    .hero-pro {
        position: relative;
        min-height: 50vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
        color: #ffffff;
        overflow: hidden;
    }

    .hero-pro-overlay {
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(94,114,228,0.45), transparent 45%),
                    radial-gradient(circle at bottom left, rgba(34,197,94,0.25), transparent 40%);
        pointer-events: none;
    }

    .hero-pro-content {
        position: relative;
        z-index: 2;
        max-width: 850px;
        text-align: center;
        padding: 3rem 1rem;
    }

    .hero-pro-badge {
        display: inline-block;
        background: rgba(94, 114, 228, 0.15);
        border: 1px solid rgba(94, 114, 228, 0.35);
        padding: 0.4rem 0.9rem;
        color: #93c5fd;
        font-size: 0.75rem;
        font-weight: 600;
        border-radius: 999px;
        letter-spacing: 0.08em;
        margin-bottom: 1rem;
        text-transform: uppercase;
    }

    .hero-pro h1 {
        font-size: clamp(2rem, 5vw, 3.2rem);
        font-weight: 700;
        line-height: 1.15;
        margin-bottom: 1rem;
        letter-spacing: -0.5px;
    }

    .hero-pro p {
        font-size: 1.05rem;
        color: rgba(255, 255, 255, 0.85);
        max-width: 680px;
        margin: 0 auto 1.6rem;
        line-height: 1.7;
    }

    .hero-pro-actions {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .hero-pro-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        padding: 0.65rem 1.6rem;
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
        letter-spacing: 0.04em;
        transition: all 0.2s ease;
    }

    /* Primary Button */
    .hero-pro-btn.primary {
        background: linear-gradient(310deg,#22c55e,#16a34a);
        color: #ffffff;
        box-shadow: 0 15px 35px rgba(22, 163, 74, 0.35);
    }

    .hero-pro-btn.primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 42px rgba(22, 163, 74, 0.5);
    }

    /* Secondary Button */
    .hero-pro-btn.secondary {
        border: 1px solid rgba(148,163,184,0.3);
        color: #e5e7eb;
        background: transparent;
    }

    .hero-pro-btn.secondary:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    /* ==============================
       PROFESSIONAL GAMES SECTION
    ============================== */
    .games-section-pro {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        color: #f5f5f5;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        position: relative;
        overflow: hidden;
    }

    .games-container-pro {
        max-width: 1400px;
        margin: 0 auto;
        padding: 3rem 1rem;
    }

    /* Search Bar */
    .search-container-pro {
        position: relative;
        max-width: 600px;
        margin: 0 auto 2rem;
    }

    .search-bar-pro {
        width: 100%;
        padding: 1rem 1.5rem;
        padding-left: 3rem;
        background: rgba(255, 255, 255, 0.05);
        border: 2px solid rgba(255, 255, 255, 0.1);
        border-radius: 50px;
        color: #ffffff;
        font-size: 1rem;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .search-bar-pro:focus {
        outline: none;
        border-color: #ffbf00;
        background: rgba(255, 255, 255, 0.08);
        box-shadow: 0 4px 20px rgba(255, 191, 0, 0.2);
    }

    .search-bar-pro::placeholder {
        color: #94a3b8;
    }

    .search-icon-pro {
        position: absolute;
        left: 1.2rem;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 1.2rem;
    }

    .search-results-pro {
        color: #94a3b8;
        font-size: 0.9rem;
        text-align: center;
        margin-top: 0.5rem;
        display: none;
    }

    .search-results-pro.show {
        display: block;
    }

    /* Section Header */
    .section-header-pro {
        text-align: center;
        margin-bottom: 3rem;
    }

    .section-header-pro h1 {
        font-size: clamp(2rem, 4vw, 3rem);
        background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 1rem;
        font-weight: 800;
    }

    .section-subtitle-pro {
        font-size: 1.1rem;
        color: #94a3b8;
        max-width: 600px;
        margin: 0 auto 2rem;
        line-height: 1.6;
    }

    /* Stats Bar */
    .stats-bar-pro {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
        margin-bottom: 2rem;
    }

    .stat-item-pro {
        text-align: center;
        padding: 1rem 1.5rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        min-width: 120px;
        backdrop-filter: blur(10px);
        transition: transform 0.3s ease;
    }

    .stat-item-pro:hover {
        transform: translateY(-3px);
    }

    .stat-number-pro {
        display: block;
        font-size: 1.8rem;
        font-weight: 700;
        color: #ffbf00;
        margin-bottom: 0.25rem;
    }

    .stat-label-pro {
        font-size: 0.9rem;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    /* Filter Tabs */
    .filter-tabs-pro {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 3rem;
        padding-bottom: 1.5rem;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        position: sticky;
        top: 0;
        background: rgba(15, 23, 42, 0.95);
        z-index: 100;
        padding: 1rem;
        backdrop-filter: blur(10px);
    }

    .filter-tab-pro {
        background: rgba(255, 255, 255, 0.05);
        border: 2px solid transparent;
        border-radius: 50px;
        padding: 0.75rem 1.5rem;
        color: #cbd5e1;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.95rem;
    }

    .filter-tab-pro:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

    .filter-tab-pro.active {
        background: rgba(255, 191, 0, 0.15);
        border-color: #ffbf00;
        color: #ffbf00;
        box-shadow: 0 4px 20px rgba(255, 191, 0, 0.2);
    }

    .tab-count-pro {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 0.15rem 0.5rem;
        font-size: 0.8rem;
        min-width: 24px;
        text-align: center;
    }

    .filter-tab-pro.active .tab-count-pro {
        background: rgba(255, 191, 0, 0.2);
        color: #ffd700;
    }

    /* Game Groups */
    .game-group-pro {
        margin-bottom: 4rem;
        scroll-margin-top: 100px;
    }

    .group-header-pro {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid rgba(255, 191, 0, 0.3);
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .group-icon-pro {
        font-size: 1.8rem;
    }

    .group-title-pro {
        font-size: 1.8rem;
        color: #fff;
        font-weight: 700;
        flex-grow: 1;
    }

    .group-count-pro {
        background: rgba(255, 191, 0, 0.15);
        color: #ffbf00;
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
    }

    /* Games Grid */
    .games-grid-pro {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    /* Game Card */
    .game-card-pro {
        background: linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
        border-radius: 16px;
        padding: 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
    }

    .game-card-pro:hover {
        transform: translateY(-5px);
        border-color: rgba(255, 191, 0, 0.3);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }

    .game-card-pro.premium {
        background: linear-gradient(145deg, rgba(42, 26, 46, 0.9) 0%, rgba(26, 21, 37, 0.9) 100%);
        border-color: rgba(255, 191, 0, 0.4);
    }

    .game-rank-pro {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: rgba(255, 191, 0, 0.2);
        color: #ffbf00;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.9rem;
    }

    .game-header-pro {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .game-icon-pro {
        font-size: 2rem;
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .game-title-pro {
        font-size: 1.4rem;
        font-weight: 700;
        color: #fff;
        line-height: 1.3;
    }

    .game-description-pro {
        color: #94a3b8;
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        min-height: 60px;
    }

    .game-meta-pro {
        display: flex;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
    }

    .game-type-pro {
        background: rgba(255, 255, 255, 0.05);
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.8rem;
        color: #cbd5e1;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
    }

    .game-type-pro.day {
        background: rgba(59, 130, 246, 0.15);
        color: #60a5fa;
    }

    .game-type-pro.night {
        background: rgba(124, 58, 237, 0.15);
        color: #a78bfa;
    }

    .game-type-pro.weekly {
        background: rgba(34, 197, 94, 0.15);
        color: #4ade80;
    }

    .game-stats-pro {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 1.5rem;
        background: rgba(255, 255, 255, 0.03);
        padding: 1rem;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .game-stat-pro {
        text-align: center;
    }

    .stat-value-pro {
        display: block;
        font-size: 1rem;
        color: #fff;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .stat-label-pro {
        font-size: 0.75rem;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .game-actions-pro {
        display: flex;
        gap: 0.75rem;
    }

    .game-btn-pro {
        flex: 1;
        text-align: center;
        padding: 0.75rem 1rem;
        border-radius: 10px;
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .btn-details-pro {
        background: rgba(255, 255, 255, 0.1);
        color: #e2e8f0;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .btn-details-pro:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .btn-charts-pro {
        background: linear-gradient(135deg, #ffbf00 0%, #ff9500 100%);
        color: #1a1a1a;
        border: none;
        font-weight: 700;
    }

    .btn-charts-pro:hover {
        background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 191, 0, 0.4);
    }

    /* No Results Message */
    .no-results-pro {
        text-align: center;
        padding: 3rem 1rem;
        color: #94a3b8;
        font-size: 1.1rem;
        display: none;
        grid-column: 1 / -1;
    }

    .no-results-pro.show {
        display: block;
    }

    /* Footer Stats */
    .footer-stats-pro {
        margin-top: 4rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stats-grid-pro {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        max-width: 800px;
        margin: 0 auto;
    }

    .footer-stat-pro {
        text-align: center;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        transition: transform 0.3s ease;
    }

    .footer-stat-pro:hover {
        transform: translateY(-3px);
    }

    .footer-stat-icon-pro {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .footer-stat-number-pro {
        display: block;
        font-size: 1.8rem;
        font-weight: 700;
        color: #ffbf00;
        margin-bottom: 0.25rem;
    }

    .footer-stat-text-pro {
        font-size: 0.9rem;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .games-grid-pro {
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        }
    }

    @media (max-width: 768px) {
        .games-grid-pro {
            grid-template-columns: repeat(2, 1fr);
        }
        
        /* Mobile: Keep buttons in one row */
        .game-actions-pro {
            flex-direction: row !important; /* Override any previous column setting */
        }
        
        .game-btn-pro {
            padding: 0.6rem 0.8rem;
            font-size: 0.85rem;
        }
        
        .stats-bar-pro {
            gap: 1rem;
        }
        
        .stat-item-pro {
            min-width: calc(50% - 0.5rem);
        }
        
        .filter-tabs-pro {
            gap: 0.5rem;
            padding: 0.75rem;
        }
        
        .filter-tab-pro {
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
        }
        
        .game-card-pro {
            padding: 1.25rem;
        }
        
        .game-icon-pro {
            width: 50px;
            height: 50px;
            font-size: 1.5rem;
        }
        
        .game-title-pro {
            font-size: 1.2rem;
        }
        
        .game-stats-pro {
            padding: 0.75rem;
            gap: 0.75rem;
        }
        
        .stat-value-pro {
            font-size: 0.9rem;
        }
        
        .search-bar-pro {
            padding: 0.9rem 1.2rem;
            padding-left: 2.8rem;
            font-size: 0.95rem;
        }
    }

    @media (max-width: 640px) {
        .games-grid-pro {
            grid-template-columns: 1fr;
        }
        
        .game-header-pro {
            flex-direction: column;
            text-align: center;
        }
        
        .game-title-pro {
            text-align: center;
            font-size: 1.3rem;
        }
        
        .stat-item-pro {
            min-width: 100%;
        }
        
        .filter-tabs-pro {
            position: relative;
            top: 0;
        }
        
        .group-header-pro {
            flex-direction: column;
            text-align: center;
            gap: 0.5rem;
        }
        
        .game-icon-pro {
            width: 50px;
            height: 50px;
            font-size: 1.5rem;
        }
    }

    @media (max-width: 480px) {
        .game-actions-pro {
            gap: 0.5rem;
        }
        
        .game-btn-pro {
            padding: 0.6rem 0.75rem;
            font-size: 0.8rem;
        }
        
        .search-bar-pro {
            padding: 0.8rem 1rem;
            padding-left: 2.5rem;
            font-size: 0.9rem;
        }
        
        .search-icon-pro {
            left: 1rem;
            font-size: 1rem;
        }
    }

    /* Animation */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .game-card-pro {
        animation: fadeInUp 0.5s ease forwards;
    }

    .game-card-pro:nth-child(odd) {
        animation-delay: 0.1s;
    }

    .game-card-pro:nth-child(even) {
        animation-delay: 0.2s;
    }
    
    .stats-bar-pro {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Desktop */
    gap: 14px;
    margin-top: 20px;
}

/* Tablet: 2 per row */
@media (max-width: 768px) {
    .stats-bar-pro {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 2 per row */
@media (max-width: 480px) {
    .stats-bar-pro {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.stat-item-pro {
    text-align: center;
    padding: 12px 10px;
    border-radius: 10px;
}
* {
    box-sizing: border-box;
}

img, iframe, video, table {
    max-width: 100%;
}




