@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;600;700;800&family=Geist:wght@400;500;600&display=swap');

@keyframes fadeUpCenter {
    from { opacity: 0; transform: translateY(30px) scale(0.98); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
}
@keyframes blurIn {
    from { opacity: 0; backdrop-filter: blur(0px); }
    to { opacity: 1; backdrop-filter: blur(24px); }
}
@keyframes scaleInModal {
    from { opacity: 0; transform: scale(0.92) translateY(15px); filter: blur(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0px); }
}

.animate-fade-up {
    animation: fadeUpCenter 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}
.animate-blur-in { animation: blurIn 0.6s ease-out forwards; }
.animate-scale-in { animation: scaleInModal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.apple-spring-hover {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease, background 0.3s ease, border-color 0.3s ease;
}
.apple-spring-hover:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06), 0 8px 16px rgba(0,0,0,0.02);
    border-color: rgba(255, 255, 255, 1);
}

.apple-btn-active {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.apple-btn-active:active { transform: scale(0.96); }

/* Fondos Glass Estilo macOS */
.apple-glass {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

.apple-glass-dark {
    background: rgba(26, 28, 29, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

/* Scrollbar premium */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(26, 28, 29, 0.15); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(26, 28, 29, 0.3); }

/* Delay utilidades */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }