@supports (font-variation-settings: normal) {
  html { font-family: 'Inter var', sans-serif; }
}

html {
    scroll-behavior: smooth; 
}

* {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.aspect-container {
    --aspect-ratio: 1; 
}
@media (min-width: 768px) {
    .aspect-container {
        --aspect-ratio: 0.5625; 
    }
}
.aspect-container::before {
    content: '';
    display: block;
    padding-bottom: calc(100% * var(--aspect-ratio));
}

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

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    #mobile-menu .max-h-[calc(100vh-80px)] {
        -webkit-overflow-scrolling: touch;
    }
    
    #mobile-menu .overflow-y-auto::-webkit-scrollbar {
        width: 4px;
    }
    
    #mobile-menu .overflow-y-auto::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    #mobile-menu .overflow-y-auto::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }
}

#menu-overlay,
#mobile-menu {
    min-height: 100vh;
}

#menu-overlay {
    min-width: 100vw;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s;
}

main a {
    color: #2563eb;
}

main a:hover {
    color: #1d4ed8;
}

nav a, #mobile-menu a {
    color: inherit;
}

nav a:hover, #mobile-menu a:hover {
    text-decoration: none;
}

.scrollbar-hide {
    -ms-overflow-style: none; 
    scrollbar-width: none;    
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;           
}

