@import url('https://fonts.googleapis.com/css2?family=Bitcount+Single:wght@100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


:where([class^="ri-"])::before {
    content: "\f3c2";
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.logo {
    font-family: 'Bitcount Single', cursive;
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.hero-bg {
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.card-glow {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.text-glow {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.floating-coin {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Mobile Menu Styles */
#mobile-nav {
    transition: all 0.3s ease-in-out;
    transform-origin: top;
}

#mobile-nav.hidden {
    transform: scaleY(0);
    opacity: 0;
}

#mobile-nav:not(.hidden) {
    transform: scaleY(1);
    opacity: 1;
}

#mobile-menu-button {
    transition: all 0.2s ease;
}

#mobile-menu-button:hover {
    transform: scale(1.1);
}

/* Mobile menu links animation */
#mobile-nav a {
    transition: all 0.2s ease;
    position: relative;
}

#mobile-nav a:hover {
    transform: translateX(5px);
}

#mobile-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

#mobile-nav a:hover::after {
    width: 100%;
}

/* Game Modal Styles */
#game-modal {
    transition: all 0.3s ease-in-out;
}

#game-modal.hidden {
    opacity: 0;
    visibility: hidden;
}

#game-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

#game-modal .relative {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

#close-game-modal {
    transition: all 0.2s ease;
}

#close-game-modal:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* Responsive adjustments for game modal */
@media (max-width: 768px) {
    #game-modal .relative {
        padding: 1rem;
    }

    #game-modal .w-full.h-full.max-w-6xl.max-h-\[90vh\] {
        max-height: 95vh;
    }

    #close-game-modal {
        top: 1rem;
        right: 1rem;
        width: 3rem;
        height: 3rem;
    }
}