/* T.N.S.V.T Sacred Glass - Animations */

/* Shimmer - texto dorado con brillo en movimiento */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}
.shimmer-text {
    background: linear-gradient(90deg, var(--primary), var(--primary-fixed), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Pulse Gold - indicadores pulsantes */
@keyframes pulse-gold {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}
.pulse-gold {
    animation: pulse-gold 2s ease-in-out infinite;
}

/* Pulse Aura - aura pulsante */
@keyframes pulse-aura {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
        filter: blur(20px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
        filter: blur(35px);
    }
}
.pulse-aura {
    animation: pulse-aura 8s ease-in-out infinite;
}

/* Sacred Geometry Spin - rotación lenta */
@keyframes spin-sacred {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.spin-sacred {
    animation: spin-sacred 120s linear infinite;
}
.spin-sacred-fast {
    animation: spin-sacred 20s linear infinite;
}

/* Scan Sweep - barrido de luz sobre cards */
@keyframes scan-sweep {
    0% {
        left: -100%;
    }
    50% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}
.scan-sweep::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 202, 80, 0.1), transparent);
    transform: skewX(-20deg);
    animation: scan-sweep 4s infinite ease-in-out;
}

/* Fade In Up - entrada suave */
@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}

/* Reveal Path - trazo SVG que se dibuja */
@keyframes reveal-path {
    to {
        stroke-dashoffset: 0;
    }
}
.reveal-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: reveal-path 2.5s ease-out forwards;
}

/* Breathing - barra de progreso que respira */
@keyframes breath {
    0%,
    100% {
        opacity: 0.7;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.3);
    }
}
.breath {
    animation: breath 3s ease-in-out infinite;
}

/* Entrance Slide - entrada con slide */
@keyframes entrance-slide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.entrance-slide {
    animation: entrance-slide 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Glow Pulse - pulso de brillo en botones */
@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 202, 80, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(242, 202, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(242, 202, 80, 0);
    }
}
.glow-pulse {
    animation: glow-pulse 2s infinite;
}

/* Live Indicator - punto rojo pulsante */
.live-indicator::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--error);
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse-gold 1.5s infinite;
}

/* Hover Scale */
.hover-scale {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hover-scale:active {
    transform: scale(0.9);
}
.hover-scale:hover {
    transform: scale(1.02);
}

/* Stagger entrance helper */
.stagger-1 {
    animation-delay: 0.1s;
}
.stagger-2 {
    animation-delay: 0.2s;
}
.stagger-3 {
    animation-delay: 0.3s;
}
.stagger-4 {
    animation-delay: 0.4s;
}
.stagger-5 {
    animation-delay: 0.5s;
}
.stagger-6 {
    animation-delay: 0.6s;
}

/* Countdown pulse */
@keyframes countdown-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}
.countdown-pulse {
    animation: countdown-pulse 2s ease-in-out infinite;
}
