/* Sova Game Studio - Global Styles */

/* Base & Typography */
body {
    background-color: #05080d;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 242, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 136, 255, 0.05) 0%, transparent 40%);
    color: #e5e7eb;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

/* Glassmorphism Utility */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Nav Link Animation */
.nav-link {
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #00f2ff;
    transition: width .3s;
    position: absolute;
    bottom: -4px;
    left: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Game Cards Hover Effect */
.game-card:hover .game-img {
    transform: scale(1.05);
}

/* Utilities */
[data-lang] {
    display: none;
}

/* Language Toggle Button */
.lang-btn {
    cursor: pointer;
    user-select: none;
}

/* Mobile Menu Transitions */
.mobile-menu {
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
    /* Start off-screen right */
}

.mobile-menu.translate-x-0 {
    transform: translateX(0);
    /* On-screen */
}

.mobile-menu.translate-x-full {
    transform: translateX(100%);
    /* Off-screen */
}

/* FAQ Accordion Transitions */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Tab Content Visibility */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-on-scroll {
    opacity: 0;
    /* Start hidden for JS to reveal */
}

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

::-webkit-scrollbar-track {
    background: #05080d;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}