/* Site 2 - Dark Neon Gaming Theme */

* {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #06b6d4, #8b5cf6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #22d3ee, #a78bfa);
}

/* Selection */
::selection {
    background: #06b6d4;
    color: white;
}

/* Gradient text animation */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.animate-gradient {
    background-size: 200% auto;
    animation: gradient-shift 4s ease infinite;
}

/* Header scroll effect */
.header-scrolled .header-bg {
    background: rgba(10, 10, 26, 0.95) !important;
    backdrop-filter: blur(20px);
}

/* Game Modal */
#gameModal.active {
    display: flex !important;
}

#gameModal.fullscreen {
    background: #000;
}

#gameModal.fullscreen > div:first-child {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

#gameModal.fullscreen:hover > div:first-child {
    opacity: 1;
}

/* Game Cards */
.game-card-v2 {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card-v2:hover {
    transform: translateY(-8px);
}

/* Focus styles */
a:focus, button:focus {
    outline: 2px solid #06b6d4;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Glow effects */
.glow-cyan {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

.glow-purple {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

/* Neon border animation */
@keyframes neon-pulse {
    0%, 100% { border-color: rgba(6, 182, 212, 0.3); }
    50% { border-color: rgba(6, 182, 212, 0.6); }
}

.neon-border {
    animation: neon-pulse 2s ease-in-out infinite;
}

/* Loading animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Float animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}
