/* Wii-inspired custom styles */

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    cursor: none !important;
}

.bg-wii-gradient {
    background: linear-gradient(135deg, #87CEEB 0%, #E0F6FF 50%, #FFFFFF 100%);
    min-height: 100vh;
}

.wii-text-gradient {
    background: linear-gradient(135deg, #4A90E2 0%, #87CEEB 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wii-shadow {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.05);
}

.wii-button {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F8FF 100%);
    border: 2px solid #87CEEB;
    color: #4A90E2;
    font-weight: bold;
}

.wii-button:hover {
    background: linear-gradient(135deg, #E0F6FF 0%, #FFFFFF 100%);
    transform: translateY(-2px);
}

.wii-cursor {
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    font-size: 16px;
    z-index: 9999;
    transition: all 0.1s ease;
}

/* Floating animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes floatDelayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wii-float {
    animation: float 3s ease-in-out infinite;
}

.wii-float-delayed {
    animation: floatDelayed 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.wii-remote-rotate {
    animation: float 4s ease-in-out infinite, rotate 20s linear infinite;
}

/* Sparkle effects */
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

.wii-sparkle {
    animation: sparkle 2s ease-in-out infinite;
}

/* Channel hover effects */
.wii-channel:hover {
    transform: translateY(-5px) scale(1.05);
    filter: brightness(1.1);
}

/* Rounded everything */
* {
    border-radius: inherit;
}

button, input, div {
    border-radius: 12px;
}

/* Mii creator styles */
.mii-customizer input[type="color"] {
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

/* Background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(135, 206, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 70%, rgba(135, 206, 235, 0.05) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
}

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

/* Loading spinner for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Easter egg styles */
.konami-activated {
    filter: hue-rotate(180deg);
    animation: rainbow 2s linear infinite;
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Achievement notification */
.achievement {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
    z-index: 1000;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}