/* Custom styles for Wii Menu */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

* {
    font-family: 'Nunito', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    cursor: none;
}

.wii-title {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }
    to {
        text-shadow: 2px 2px 20px rgba(255,255,255,0.3), 2px 2px 4px rgba(0,0,0,0.3);
    }
}

.glow {
    box-shadow: 0 0 20px rgba(255,255,255,0.4), 0 8px 32px rgba(0,0,0,0.2);
}

.wii-cursor {
    font-size: 24px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
    transition: transform 0.1s ease;
    z-index: 1000;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Channel grid animations */
.grid > div {
    animation: channelAppear 0.6s ease-out forwards;
    opacity: 0;
    transform: scale(0.5) translateY(20px);
}

@keyframes channelAppear {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Hover effects */
.cursor-pointer:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wii-cursor {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    .cursor-none {
        cursor: auto;
    }
}

/* Background particle effects */
.absolute.w-2.h-2 {
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.2) 70%, transparent 100%);
}

/* Button hover effects */
button {
    transition: all 0.2s ease;
}

button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

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

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

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

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