@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at center, #0f0f15 0%, #000000 100%);
    min-height: 100vh;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #6366f1;
    border-radius: 4px;
    box-shadow: 0 0 10px #6366f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #818cf8;
    box-shadow: 0 0 15px #818cf8;
}

/* Neumorphism effect for cards */
.game-card {
    background: rgba(15, 15, 25, 0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 0 15px rgba(99, 102, 241, 0.1);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 15px rgba(0, 0, 0, 0.2),
        0 0 25px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(99, 102, 241, 0.5);
}

.game-card img {
    transition: transform 0.3s ease;
}

.game-card:hover img {
    transform: scale(1.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6366f1;
}
/* Animation for game cards */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6 }
    50% { opacity: 0.3 }
}

.game-card {
    animation: fadeIn 0.4s ease-out forwards;
    opacity: 0;
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }
.game-card:nth-child(5) { animation-delay: 0.5s; }
.game-card:nth-child(6) { animation-delay: 0.6s; }

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    background: rgba(15, 15, 25, 0.7);
    border-radius: 0.75rem;
}

/* Glow effects */
.glow-text {
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.7);
}

.glow-btn {
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
    transition: all 0.3s ease;
}

.glow-btn:hover {
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.8);
}

/* Search bar styling */
.search-bar {
    background: rgba(15, 15, 25, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.search-bar:focus {
    border: 1px solid rgba(99, 102, 241, 0.7);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}
