/* ==========================================================================
   RESET & BASES (Estilo Frutiger Aero / Wii)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Fondo Frutiger Aero clásico: Azul cielo, agua y toques verdes */
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 50%, #d4fc79 100%);
    overflow: hidden;
    position: relative;
}

/* Burbujas y Luces de fondo (Típico Frutiger Aero) */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.6;
    animation: float 10s infinite ease-in-out;
}
.blob-1 { width: 400px; height: 400px; background: #4facfe; top: -10%; left: -10%; }
.blob-2 { width: 500px; height: 500px; background: #00f2fe; bottom: -20%; right: -10%; animation-delay: -3s; }
.blob-3 { width: 300px; height: 300px; background: #7fde76; bottom: 20%; left: 10%; animation-delay: -5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

/* ==========================================================================
   CONTENEDOR GLASSMORPHISM (Estilo Interfaz Wii)
   ========================================================================== */
.wii-container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 950px;
    background: rgba(255, 255, 255, 0.25); /* Transparencia */
    backdrop-filter: blur(15px); /* Efecto Cristal */
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px; /* Bordes muy redondeados tipo Wii */
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1),
                inset 0 0 20px rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Cabecera */
.wii-header {
    margin-bottom: 40px;
}
.logo {
    font-size: 3rem;
    color: #1d4ed8;
    text-shadow: 0 2px 4px rgba(255,255,255,0.8);
    font-weight: 800;
    letter-spacing: 1px;
}
.logo span {
    color: #0284c7;
    font-weight: 300;
}
.subtitle {
    color: #334155;
    font-size: 1.1rem;
    margin-top: 5px;
    font-weight: 500;
}

/* Grid de Canales estilo Wii */
.wii-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

/* Tarjetas (Canales Wii) */
.wii-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animación elástica Wii */
    box-shadow: 0 8px 16px rgba(0,0,0,0.04), 
                inset 0 4px 6px rgba(255,255,255,0.6);
}

/* Efecto Hover Elástico y Brillo */
.wii-card:hover {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.7);
    border-color: #38bdf8;
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.25),
                inset 0 0 10px rgba(255,255,255,1);
}

/* Efecto Click */
.wii-card:active {
    transform: scale(0.98);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.wii-card h3 {
    color: #0f172a;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.wii-card p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ==========================================================================
   BOTONES Y DETALLES INTERACTIVOS
   ========================================================================== */
.wii-footer {
    display: flex;
    justify-content: center;
}

.wii-btn {
    background: linear-gradient(to bottom, #ffffff, #e2e8f0);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.wii-btn:hover {
    background: linear-gradient(to bottom, #ef4444, #dc2626);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

.wii-btn:active {
    transform: translateY(1px);
}