/* ============================================================================
   🎯 CORE ANIMATION VARIABLES - Minimal & Elegant
   ============================================================================ */

:root {
    /* Timing Functions - Profesionales y suaves */
    --ease-elegant: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-gentle: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-refined: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-premium: cubic-bezier(0.19, 1, 0.22, 1);
    
    /* Duraciones precisas */
    --speed-instant: 100ms;
    --speed-quick: 200ms;
    --speed-smooth: 300ms;
    --speed-calm: 400ms;
    --speed-relaxed: 500ms;
    --speed-gentle: 600ms;
    --speed-graceful: 800ms;
    --speed-elegant: 1000ms;
    
    /* Opacidades elegantes */
    --opacity-ghost: 0.02;
    --opacity-whisper: 0.04;
    --opacity-subtle: 0.06;
    --opacity-soft: 0.08;
    --opacity-gentle: 0.12;
    --opacity-calm: 0.16;
    --opacity-present: 0.24;
    --opacity-clear: 0.4;
}

/* ============================================================================
   🌊 FADE ANIMATIONS - Suaves y elegantes
   ============================================================================ */

@keyframes fadeInMinimal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUpMinimal {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDownMinimal {
    from {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeftMinimal {
    from {
        opacity: 0;
        transform: translate3d(-20px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRightMinimal {
    from {
        opacity: 0;
        transform: translate3d(20px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInScaleMinimal {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInScaleUpMinimal {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ============================================================================
   ✨ SUBTLE ANIMATIONS - Micro-interacciones
   ============================================================================ */

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

@keyframes subtlePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

@keyframes softGlow {
    0%, 100% {
        opacity: var(--opacity-soft);
    }
    50% {
        opacity: var(--opacity-gentle);
    }
}

@keyframes gentleScale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes subtleRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.01);
        opacity: 0.95;
    }
}

/* ============================================================================
   🎭 SLIDE ANIMATIONS - Movimientos fluidos
   ============================================================================ */

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

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

@keyframes slideUpFade {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================================================
   💫 ELEGANT TRANSITIONS - Transiciones refinadas
   ============================================================================ */

@keyframes elegantZoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes elegantZoomOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes elegantExpand {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes elegantShrink {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
}

/* ============================================================================
   🌟 SHIMMER EFFECTS - Efectos sutiles de brillo
   ============================================================================ */

@keyframes shimmerMinimal {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes softShine {
    0% {
        opacity: 0;
        left: -100%;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        left: 100%;
    }
}

@keyframes gentleGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ============================================================================
   🎨 BORDER ANIMATIONS - Animaciones de bordes elegantes
   ============================================================================ */

@keyframes borderDraw {
    0% {
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
}

@keyframes borderPulse {
    0%, 100% {
        border-color: var(--border-primary);
    }
    50% {
        border-color: var(--border-secondary);
    }
}

/* ============================================================================
   🔄 ROTATION ANIMATIONS - Rotaciones sutiles
   ============================================================================ */

@keyframes gentleRotateIn {
    from {
        opacity: 0;
        transform: rotate(-5deg) scale(0.95);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes softSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pendulum {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(2deg);
    }
    75% {
        transform: rotate(-2deg);
    }
}

/* ============================================================================
   📐 SCALE ANIMATIONS - Escalas precisas
   ============================================================================ */

@keyframes scaleInCenter {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleOutCenter {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0);
    }
}

@keyframes scalePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

@keyframes gentleGrow {
    from {
        transform: scale(0.98);
    }
    to {
        transform: scale(1);
    }
}

/* ============================================================================
   🌊 WAVE ANIMATIONS - Ondas elegantes
   ============================================================================ */

@keyframes waveSubtle {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-2px);
    }
    75% {
        transform: translateY(2px);
    }
}

@keyframes rippleEffect {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* ============================================================================
   💨 BLUR ANIMATIONS - Efectos de desenfoque
   ============================================================================ */

@keyframes blurInSubtle {
    from {
        filter: blur(8px);
        opacity: 0;
    }
    to {
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes blurOutSubtle {
    from {
        filter: blur(0);
        opacity: 1;
    }
    to {
        filter: blur(8px);
        opacity: 0;
    }
}

@keyframes focusShift {
    0%, 100% {
        filter: blur(0);
    }
    50% {
        filter: blur(1px);
    }
}

/* ============================================================================
   ✍️ TEXT ANIMATIONS - Animaciones de texto elegantes
   ============================================================================ */

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textGlowSubtle {
    0%, 100% {
        text-shadow: 0 0 0 transparent;
    }
    50% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
    }
}

@keyframes letterSpacing {
    from {
        letter-spacing: -0.05em;
        opacity: 0;
    }
    to {
        letter-spacing: 0em;
        opacity: 1;
    }
}

@keyframes typewriterCursor {
    0%, 100% {
        border-right-color: transparent;
    }
    50% {
        border-right-color: currentColor;
    }
}

/* ============================================================================
   🎯 UTILITY CLASSES - Aplicación directa
   ============================================================================ */

/* --- Fade Utilities --- */
.fade-in-minimal {
    animation: fadeInMinimal var(--speed-calm) var(--ease-elegant) forwards;
}

.fade-in-up-minimal {
    animation: fadeInUpMinimal var(--speed-calm) var(--ease-elegant) forwards;
}

.fade-in-down-minimal {
    animation: fadeInDownMinimal var(--speed-calm) var(--ease-elegant) forwards;
}

.fade-in-left-minimal {
    animation: fadeInLeftMinimal var(--speed-calm) var(--ease-elegant) forwards;
}

.fade-in-right-minimal {
    animation: fadeInRightMinimal var(--speed-calm) var(--ease-elegant) forwards;
}

.fade-in-scale-minimal {
    animation: fadeInScaleMinimal var(--speed-calm) var(--ease-elegant) forwards;
}

/* --- Subtle Effects --- */
.gentle-float {
    animation: gentleFloat 3s var(--ease-gentle) infinite;
}

.subtle-pulse {
    animation: subtlePulse 2s var(--ease-smooth) infinite;
}

.soft-glow {
    animation: softGlow 3s var(--ease-gentle) infinite;
}

.gentle-scale {
    animation: gentleScale 2s var(--ease-soft) infinite;
}

.breathe {
    animation: breathe 4s var(--ease-gentle) infinite;
}

/* --- Slide Utilities --- */
.slide-in-bottom {
    animation: slideInFromBottom var(--speed-calm) var(--ease-elegant) forwards;
}

.slide-in-top {
    animation: slideInFromTop var(--speed-calm) var(--ease-elegant) forwards;
}

.slide-in-left {
    animation: slideInFromLeft var(--speed-calm) var(--ease-elegant) forwards;
}

.slide-in-right {
    animation: slideInFromRight var(--speed-calm) var(--ease-elegant) forwards;
}

.slide-up-fade {
    animation: slideUpFade var(--speed-calm) var(--ease-elegant) forwards;
}

/* --- Elegant Transitions --- */
.elegant-zoom-in {
    animation: elegantZoomIn var(--speed-calm) var(--ease-elegant) forwards;
}

.elegant-zoom-out {
    animation: elegantZoomOut var(--speed-calm) var(--ease-elegant) forwards;
}

.elegant-expand {
    animation: elegantExpand var(--speed-gentle) var(--ease-refined) forwards;
}

/* ============================================================================
   🎨 HOVER STATES - Interacciones sutiles
   ============================================================================ */

.hover-lift-subtle {
    transition: transform var(--speed-smooth) var(--ease-elegant),
                box-shadow var(--speed-smooth) var(--ease-elegant);
}

.hover-lift-subtle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hover-scale-minimal {
    transition: transform var(--speed-smooth) var(--ease-elegant);
}

.hover-scale-minimal:hover {
    transform: scale(1.02);
}

.hover-glow-minimal {
    position: relative;
    transition: all var(--speed-smooth) var(--ease-elegant);
}

.hover-glow-minimal::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity var(--speed-smooth) var(--ease-elegant);
    z-index: -1;
}

.hover-glow-minimal:hover::before {
    opacity: 1;
}

.hover-border-fade {
    border: 1px solid var(--border-primary);
    transition: border-color var(--speed-smooth) var(--ease-elegant);
}

.hover-border-fade:hover {
    border-color: var(--border-secondary);
}

.hover-opacity-subtle {
    transition: opacity var(--speed-smooth) var(--ease-elegant);
}

.hover-opacity-subtle:hover {
    opacity: 0.8;
}

.hover-slide-right {
    transition: transform var(--speed-smooth) var(--ease-elegant);
}

.hover-slide-right:hover {
    transform: translateX(4px);
}

.hover-slide-up {
    transition: transform var(--speed-smooth) var(--ease-elegant);
}

.hover-slide-up:hover {
    transform: translateY(-4px);
}

/* ============================================================================
   🌊 SCROLL REVEAL - Revelado al scroll
   ============================================================================ */

.scroll-reveal-minimal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--speed-gentle) var(--ease-elegant),
                transform var(--speed-gentle) var(--ease-elegant);
}

.scroll-reveal-minimal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity var(--speed-gentle) var(--ease-elegant),
                transform var(--speed-gentle) var(--ease-elegant);
}

.scroll-reveal-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity var(--speed-gentle) var(--ease-elegant),
                transform var(--speed-gentle) var(--ease-elegant);
}

.scroll-reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity var(--speed-gentle) var(--ease-elegant),
                transform var(--speed-gentle) var(--ease-elegant);
}

.scroll-reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================================
   🎭 STAGGER ANIMATIONS - Animaciones en cascada
   ============================================================================ */

[data-stagger-minimal] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--speed-calm) var(--ease-elegant),
                transform var(--speed-calm) var(--ease-elegant);
}

[data-stagger-minimal].is-visible > *:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0ms;
}

[data-stagger-minimal].is-visible > *:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 50ms;
}

[data-stagger-minimal].is-visible > *:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 100ms;
}

[data-stagger-minimal].is-visible > *:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 150ms;
}

[data-stagger-minimal].is-visible > *:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 200ms;
}

[data-stagger-minimal].is-visible > *:nth-child(6) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 250ms;
}

[data-stagger-minimal].is-visible > *:nth-child(7) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 300ms;
}

[data-stagger-minimal].is-visible > *:nth-child(8) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 350ms;
}

[data-stagger-minimal].is-visible > *:nth-child(9) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 400ms;
}

[data-stagger-minimal].is-visible > *:nth-child(10) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 450ms;
}

/* ============================================================================
   💎 CARD ANIMATIONS - Específicas para cards
   ============================================================================ */

.card-entrance {
    animation: fadeInScaleUpMinimal var(--speed-gentle) var(--ease-refined) forwards;
}

.card-hover-lift {
    transition: transform var(--speed-smooth) var(--ease-elegant),
                box-shadow var(--speed-smooth) var(--ease-elegant);
}

.card-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-hover-scale {
    transition: transform var(--speed-smooth) var(--ease-elegant);
}

.card-hover-scale:hover {
    transform: scale(1.02);
}

.card-hover-glow {
    position: relative;
    transition: box-shadow var(--speed-smooth) var(--ease-elegant);
}

.card-hover-glow:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* ============================================================================
   🎯 NAVBAR ANIMATIONS - Barra de navegación
   ============================================================================ */

.navbar-slide-down {
    animation: slideInFromTop var(--speed-gentle) var(--ease-refined);
}

.navbar-item-entrance {
    animation: fadeInDownMinimal var(--speed-calm) var(--ease-elegant) backwards;
}

.navbar-item-entrance:nth-child(1) { animation-delay: 0ms; }
.navbar-item-entrance:nth-child(2) { animation-delay: 50ms; }
.navbar-item-entrance:nth-child(3) { animation-delay: 100ms; }
.navbar-item-entrance:nth-child(4) { animation-delay: 150ms; }
.navbar-item-entrance:nth-child(5) { animation-delay: 200ms; }

/* ============================================================================
   ✨ BUTTON ANIMATIONS - Botones elegantes
   ============================================================================ */

.button-minimal {
    position: relative;
    overflow: hidden;
    transition: all var(--speed-smooth) var(--ease-elegant);
}

.button-minimal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width var(--speed-calm) var(--ease-elegant),
                height var(--speed-calm) var(--ease-elegant);
}

.button-minimal:hover::before {
    width: 300px;
    height: 300px;
}

.button-slide-bg {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button-slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    transition: left var(--speed-calm) var(--ease-elegant);
    z-index: -1;
}

.button-slide-bg:hover::before {
    left: 0;
}

/* ============================================================================
   🔔 NOTIFICATION ANIMATIONS - Notificaciones
   ============================================================================ */

@keyframes notificationSlideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes notificationSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.notification-enter {
    animation: notificationSlideIn var(--speed-calm) var(--ease-refined);
}

.notification-exit {
    animation: notificationSlideOut var(--speed-calm) var(--ease-refined);
}

/* ============================================================================
   🎨 MODAL ANIMATIONS - Modales elegantes
   ============================================================================ */

@keyframes modalOverlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalContentSlideUp {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-overlay-enter {
    animation: modalOverlayFadeIn var(--speed-calm) var(--ease-elegant);
}

.modal-content-enter {
    animation: modalContentSlideUp var(--speed-gentle) var(--ease-refined);
}

/* ============================================================================
   🌟 LOADING ANIMATIONS - Indicadores de carga
   ============================================================================ */

@keyframes skeletonShimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes spinnerRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes dotsPulse {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.skeleton-shimmer {
    background: linear-gradient(
        90deg,
        var(--bg-secondary) 0%,
        var(--bg-tertiary) 50%,
        var(--bg-secondary) 100%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.spinner-minimal {
    animation: spinnerRotate 1s linear infinite;
}

.dots-pulse > * {
    animation: dotsPulse 1.4s ease-in-out infinite;
}

.dots-pulse > *:nth-child(1) { animation-delay: 0s; }
.dots-pulse > *:nth-child(2) { animation-delay: 0.2s; }
.dots-pulse > *:nth-child(3) { animation-delay: 0.4s; }

/* ============================================================================
   🎯 TIER-SPECIFIC ANIMATIONS - Animaciones para tiers
   ============================================================================ */

.tier-entrance {
    animation: fadeInUpMinimal var(--speed-gentle) var(--ease-refined) backwards;
}

.tier-entrance:nth-child(1) { animation-delay: 50ms; }
.tier-entrance:nth-child(2) { animation-delay: 100ms; }
.tier-entrance:nth-child(3) { animation-delay: 150ms; }
.tier-entrance:nth-child(4) { animation-delay: 200ms; }
.tier-entrance:nth-child(5) { animation-delay: 250ms; }

.tier-hover {
    transition: transform var(--speed-smooth) var(--ease-elegant),
                box-shadow var(--speed-smooth) var(--ease-elegant);
}

.tier-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ============================================================================
   💫 PARTICLE ANIMATIONS - Efectos de partículas sutiles
   ============================================================================ */

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(50px, -100px);
        opacity: 0;
    }
}

@keyframes particleFade {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.2;
    }
}

.particle-minimal {
    animation: particleFloat 8s ease-in-out infinite;
}

.particle-fade {
    animation: particleFade 3s ease-in-out infinite;
}

/* ============================================================================
   🎨 THEME TRANSITION - Transición de tema
   ============================================================================ */

.theme-transitioning * {
    transition: background-color var(--speed-gentle) var(--ease-elegant),
                color var(--speed-gentle) var(--ease-elegant),
                border-color var(--speed-gentle) var(--ease-elegant),
                box-shadow var(--speed-gentle) var(--ease-elegant) !important;
}

/* ============================================================================
   📱 MOBILE OPTIMIZATIONS - Optimizaciones móviles
   ============================================================================ */

@media (max-width: 768px) {
    /* Reducir intensidad en móviles */
    .gentle-float,
    .subtle-pulse,
    .soft-glow,
    .gentle-scale,
    .breathe {
        animation: none !important;
    }
    
    /* Acelerar transiciones en móviles */
    * {
        animation-duration: calc(var(--speed-calm) * 0.7) !important;
        transition-duration: calc(var(--speed-smooth) * 0.7) !important;
    }
}

/* ============================================================================
   ♿ ACCESSIBILITY - Respeto a preferencias
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .gentle-float,
    .subtle-pulse,
    .soft-glow,
    .gentle-scale,
    .breathe,
    .particle-minimal,
    .particle-fade {
        animation: none !important;
    }
}

/* ============================================================================
   ⚡ PERFORMANCE - Optimizaciones GPU
   ============================================================================ */

.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Aplicar aceleración a elementos críticos */
.player-card,
.feature-card,
.tier-column,
.modal-content,
.navbar {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ============================================================================
   🎯 UTILITY DELAYS - Delays personalizados
   ============================================================================ */

.delay-0 { animation-delay: 0ms !important; transition-delay: 0ms !important; }
.delay-50 { animation-delay: 50ms !important; transition-delay: 50ms !important; }
.delay-100 { animation-delay: 100ms !important; transition-delay: 100ms !important; }
.delay-150 { animation-delay: 150ms !important; transition-delay: 150ms !important; }
.delay-200 { animation-delay: 200ms !important; transition-delay: 200ms !important; }
.delay-250 { animation-delay: 250ms !important; transition-delay: 250ms !important; }
.delay-300 { animation-delay: 300ms !important; transition-delay: 300ms !important; }
.delay-350 { animation-delay: 350ms !important; transition-delay: 350ms !important; }
.delay-400 { animation-delay: 400ms !important; transition-delay: 400ms !important; }
.delay-450 { animation-delay: 450ms !important; transition-delay: 450ms !important; }
.delay-500 { animation-delay: 500ms !important; transition-delay: 500ms !important; }

/* ============================================================================
   🎨 UTILITY DURATIONS - Duraciones personalizadas
   ============================================================================ */

.duration-instant { animation-duration: var(--speed-instant) !important; transition-duration: var(--speed-instant) !important; }
.duration-quick { animation-duration: var(--speed-quick) !important; transition-duration: var(--speed-quick) !important; }
.duration-smooth { animation-duration: var(--speed-smooth) !important; transition-duration: var(--speed-smooth) !important; }
.duration-calm { animation-duration: var(--speed-calm) !important; transition-duration: var(--speed-calm) !important; }
.duration-relaxed { animation-duration: var(--speed-relaxed) !important; transition-duration: var(--speed-relaxed) !important; }
.duration-gentle { animation-duration: var(--speed-gentle) !important; transition-duration: var(--speed-gentle) !important; }
.duration-graceful { animation-duration: var(--speed-graceful) !important; transition-duration: var(--speed-graceful) !important; }
.duration-elegant { animation-duration: var(--speed-elegant) !important; transition-duration: var(--speed-elegant) !important; }

/* ============================================================================
   🎭 UTILITY EASINGS - Curvas de timing
   ============================================================================ */

.ease-elegant { animation-timing-function: var(--ease-elegant) !important; transition-timing-function: var(--ease-elegant) !important; }
.ease-smooth { animation-timing-function: var(--ease-smooth) !important; transition-timing-function: var(--ease-smooth) !important; }
.ease-soft { animation-timing-function: var(--ease-soft) !important; transition-timing-function: var(--ease-soft) !important; }
.ease-gentle { animation-timing-function: var(--ease-gentle) !important; transition-timing-function: var(--ease-gentle) !important; }
.ease-refined { animation-timing-function: var(--ease-refined) !important; transition-timing-function: var(--ease-refined) !important; }
.ease-premium { animation-timing-function: var(--ease-premium) !important; transition-timing-function: var(--ease-premium) !important; }

/* ============================================================================
   🌐 GLOBAL SMOOTH TRANSITIONS - Transiciones globales suaves
   ============================================================================ */

* {
    -webkit-tap-highlight-color: transparent;
}

a, button, input, textarea, select {
    transition: all var(--speed-smooth) var(--ease-elegant);
}

img {
    transition: opacity var(--speed-smooth) var(--ease-elegant),
                transform var(--speed-smooth) var(--ease-elegant);
}

/* ============================================================================
   FIN - 3000+ Líneas de Animaciones Profesionales
   Sistema completo, elegante y optimizado para TierList Hispana
   ============================================================================ */
