/* Importación de Fuente */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background-color: #f8fafc; 
    overflow-x: hidden;
}

/* Estética de App */
.app-card { 
    border-radius: 2rem; 
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-app { 
    transition: all 0.2s ease-in-out; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-app:active { transform: scale(0.95); }

/* --- CONTENEDOR DEL LOGO --- */
.infinite-logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.4rem;
    gap: 12px;
}

.logo-container {
    width: 38px;  /* Ancho estricto */
    height: 38px; /* Alto estricto */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Impide que el menú lo aplaste */
}

/* Tamaño especial para el footer */
.footer-size {
    width: 48px;
    height: 48px;
}

.logo-img {
    /* ESTO ES LO QUE CORRIGE EL TAMAÑO GIGANTE */
    width: 100% !important;
    height: 100% !important;
    max-width: 38px; 
    max-height: 38px;
    
    object-fit: contain; /* Mantiene la proporción del logo sin estirarlo */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 4px rgba(79, 70, 229, 0.1));
}

/* Ajuste de imagen en footer */
.footer-size .logo-img {
    max-width: 48px;
    max-height: 48px;
}

/* Efecto Hover Dinámico */
.infinite-logo:hover .logo-img {
    transform: scale(1.2) rotate(8deg);
    filter: drop-shadow(0 5px 15px rgba(79, 70, 229, 0.4));
}

/* Glassmorphism Navigation */
.nav-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}