/* ───────────── Unbound RP · Animaciones ───────────── */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes rot { to { --ang: 360deg; } }
@keyframes rise { from { opacity: 0; translate: 0 28px; filter: blur(8px); } to { opacity: 1; translate: none; filter: none; } }
@keyframes riseSm { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideL { from { opacity: 0; translate: -40px 0; filter: blur(6px); } to { opacity: 1; translate: none; filter: none; } }
@keyframes slideR { from { opacity: 0; translate: 40px 0; filter: blur(6px); } to { opacity: 1; translate: none; filter: none; } }
@keyframes pop { 0% { scale: 1; } 40% { scale: 1.35; } 100% { scale: 1; } }
@keyframes popIn { 0% { opacity: 0; scale: .6; } 70% { opacity: 1; scale: 1.08; } 100% { scale: 1; } }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -10px; rotate: 3deg; } }
@keyframes shimmer { to { background-position: -200% center; } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(124, 108, 255, .55); } 100% { box-shadow: 0 0 0 14px rgba(124, 108, 255, 0); } }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .7); } 100% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } }
@keyframes glowTag { 0%, 100% { box-shadow: 0 4px 14px rgba(0, 0, 0, .4); } 50% { box-shadow: 0 4px 22px color-mix(in srgb, var(--c, var(--accent)) 90%, transparent); } }
@keyframes wiggle { 0%, 86%, 100% { rotate: 0; } 89% { rotate: -8deg; } 92% { rotate: 7deg; } 95% { rotate: -4deg; } }
@keyframes sweep { from { translate: -120% 0; } to { translate: 220% 0; } }
@keyframes marquee { to { translate: -50% 0; } }
@keyframes bump { 0% { scale: 1; } 30% { scale: 1.25; rotate: -10deg; } 60% { scale: .92; rotate: 6deg; } 100% { scale: 1; rotate: 0; } }
@keyframes draw { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@keyframes waitRing { 0% { box-shadow: 0 0 0 0 rgba(124, 108, 255, .5), 0 0 0 0 rgba(124, 108, 255, .3); } 100% { box-shadow: 0 0 0 22px rgba(124, 108, 255, 0), 0 0 0 44px rgba(124, 108, 255, 0); } }
@keyframes flash { 0% { background: rgba(61, 220, 151, .25); } 100% { background: transparent; } }
@keyframes softPulse { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }
@keyframes avatarGlow { 0%, 100% { box-shadow: 0 0 0 3px rgba(124, 108, 255, .6), 0 0 30px rgba(124, 108, 255, .45); } 50% { box-shadow: 0 0 0 3px rgba(255, 79, 177, .6), 0 0 34px rgba(255, 79, 177, .45); } }
@keyframes orb { 0% { translate: 0 0; } 33% { translate: 8vw -6vh; } 66% { translate: -6vw 5vh; } 100% { translate: 0 0; } }
@keyframes underline { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes toastIn { 0% { opacity: 0; transform: translate(-50%, 30px) scale(.9); } 60% { opacity: 1; transform: translate(-50%, -6px) scale(1.02); } 100% { transform: translate(-50%, 0) scale(1); } }
@keyframes toastBar { from { scale: 1 1; } to { scale: 0 1; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(30px) scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes barUp { from { scale: 1 0; } to { scale: 1 1; } }
@keyframes splashLogo { 0% { opacity: 0; scale: .4; rotate: -20deg; filter: blur(10px); } 60% { opacity: 1; scale: 1.1; rotate: 4deg; filter: none; } 100% { scale: 1; rotate: 0; } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); } }
@keyframes splashBar { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes twinkle { 0%, 100% { opacity: 0; scale: .4; } 50% { opacity: 1; scale: 1; } }
@keyframes floatUp { from { translate: 0 0; } to { translate: 0 -120px; } }
@keyframes announce { from { translate: 0 -100%; opacity: 0; } to { translate: none; opacity: 1; } }

/* ───────── Fondo vivo ───────── */
.fx-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fx-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-orb { position: absolute; width: 46vw; height: 46vw; border-radius: 50%; filter: blur(90px); opacity: .16; animation: orb 28s ease-in-out infinite; }
.fx-orb.a { background: var(--accent); top: -14vw; left: -10vw; }
.fx-orb.b { background: var(--pink); bottom: -18vw; right: -12vw; animation-duration: 34s; animation-direction: reverse; opacity: .09; }
.fx-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); }
.fx-spot { position: absolute; width: 560px; height: 560px; left: 0; top: 0; border-radius: 50%; background: radial-gradient(circle, rgba(124, 108, 255, .13), transparent 65%); translate: calc(var(--mx, -999px) - 280px) calc(var(--my, -999px) - 280px); transition: translate .18s ease-out; }
.fx-progress { position: fixed; left: 0; top: 0; z-index: 80; height: 3px; width: 100%; transform-origin: 0 50%; scale: var(--p, 0) 1; background: linear-gradient(90deg, var(--accent), var(--pink)); box-shadow: 0 0 12px var(--accent); pointer-events: none; }

/* ───────── Pantalla de entrada ───────── */
.fx-splash { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg); animation: splashOut .6s cubic-bezier(.7, 0, .3, 1) 1.25s forwards; }
.fx-splash > div { display: grid; justify-items: center; gap: 18px; }
.fx-splash img { width: 96px; height: 96px; border-radius: 26px; box-shadow: 0 0 60px rgba(124, 108, 255, .7); animation: splashLogo .8s cubic-bezier(.2, 1, .3, 1) both; }
.fx-splash b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 26px; letter-spacing: .02em; animation: rise .6s .25s both; }
.fx-splash b i { color: var(--accent); }
.fx-splash span { width: 160px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--pink)); transform-origin: 0 50%; animation: splashBar 1s .2s cubic-bezier(.6, 0, .2, 1) both; }

/* ───────── Navegación ───────── */
.nav { transition: box-shadow .3s, background .3s, border-color .3s; }
.nav.scrolled { background: rgba(7, 8, 13, .92); box-shadow: 0 10px 40px rgba(0, 0, 0, .45); border-bottom-color: rgba(124, 108, 255, .25); }
.brand img { transition: rotate .5s cubic-bezier(.3, 1.6, .5, 1), scale .3s; animation: avatarGlow 5s ease-in-out infinite; }
.brand:hover img { rotate: -12deg; scale: 1.1; }
.links a { position: relative; }
.links a.on::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--pink)); transform-origin: 0 50%; animation: underline .45s cubic-bezier(.2, 1, .3, 1); }
.cart-btn { transition: border-color .2s, background .2s; }
.cart-btn:hover { background: rgba(124, 108, 255, .15); }
.cart-btn.bump svg { animation: bump .6s cubic-bezier(.3, 1.6, .5, 1); }
.badge.pop { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
.badge:not([hidden]) { animation: popIn .4s cubic-bezier(.3, 1.6, .5, 1); }
.user { animation: slideR .5s both; }
.announce { position: relative; overflow: hidden; background: linear-gradient(90deg, var(--accent), var(--pink), var(--accent)); background-size: 200% auto; animation: announce .5s both, shimmer 6s linear infinite; }

/* ───────── Página ───────── */
#view.page-in > * { animation: rise .55s cubic-bezier(.2, .9, .3, 1) both; }
.rv { opacity: 0; translate: 0 34px; scale: .97; filter: blur(6px); transition: opacity .7s cubic-bezier(.2, .9, .3, 1) var(--d, 0ms), translate .8s cubic-bezier(.2, .9, .3, 1) var(--d, 0ms), scale .8s cubic-bezier(.2, .9, .3, 1) var(--d, 0ms), filter .7s var(--d, 0ms), transform .2s, border-color .2s, box-shadow .25s, background .2s; }
.rv.in { opacity: 1; translate: none; scale: none; filter: none; }
.eyebrow::before { transform-origin: 0 50%; animation: underline .7s .15s cubic-bezier(.2, 1, .3, 1) both; }
.h2 i, .detail h1 { background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 25%, var(--pink) 50%, var(--accent-2) 75%, var(--accent) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; padding-right: .08em; }
.detail h1 { background-image: linear-gradient(100deg, #fff 0%, #fff 30%, var(--accent-2) 50%, #fff 70%, #fff 100%); }

/* ───────── Botones ───────── */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn .rip { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, .35); translate: -50% -50%; animation: ripple .65s ease-out forwards; }
@keyframes ripple { from { width: 0; height: 0; opacity: .7; } to { width: 420px; height: 420px; opacity: 0; } }
.btn.primary::after, .btn.discord::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); translate: -120% 0; }
.btn.primary:hover::after, .btn.discord:hover::after { animation: sweep .8s ease; }
.btn.primary:hover, .btn.discord:hover { transform: translateY(-2px); }
.btn.magnet { transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s, filter .15s; }
#pay::after { animation: sweep 2.6s ease-in-out infinite; }
.btn svg { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.btn:hover svg { transform: scale(1.15) rotate(-6deg); }

/* ───────── Portada ───────── */
.hero-bg { translate: 0 var(--sy, 0px); }
.hero-in { translate: var(--hx, 0px) var(--hy, 0px); transition: translate .4s ease-out; }
.hero-in > * { animation: rise .8s cubic-bezier(.2, .9, .3, 1) both; }
.hero-in > :nth-child(1) { animation-delay: .1s; }
.hero-in > :nth-child(2) { animation: none; }
.hero-in > :nth-child(3) { animation-delay: .55s; }
.hero-in > :nth-child(4) { animation-delay: .7s; }
.hero-in > :nth-child(5) { animation-delay: .85s; }
.hero h1 .w, .hero h1 span { display: block; animation: rise .9s cubic-bezier(.2, .9, .3, 1) both; }
.hero h1 .w { animation-delay: .2s; }
.hero h1 span { animation: rise .9s .35s cubic-bezier(.2, .9, .3, 1) both, shimmer 5s 1.2s linear infinite; background-image: linear-gradient(100deg, #fff 0%, var(--accent-2) 25%, var(--pink) 50%, var(--accent-2) 75%, #fff 100%); background-size: 200% auto; }
.hero-stats > div { animation: rise .7s both; }
.hero-stats > div:nth-child(2) { animation-delay: .1s; }
.hero-stats > div:nth-child(3) { animation-delay: .2s; }
.hero-stats b { background: linear-gradient(180deg, #fff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spark { position: absolute; z-index: 0; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px var(--accent-2); pointer-events: none; animation: twinkle var(--t, 3s) var(--dl, 0s) ease-in-out infinite, floatUp var(--f, 9s) var(--dl, 0s) linear infinite alternate; }

/* Cinta */
body { overflow-x: clip; }
.marquee { position: relative; width: 100vw; margin: 46px 0 0 calc(50% - 50vw); rotate: -1.6deg; overflow: hidden; background: linear-gradient(90deg, var(--accent), var(--pink)); box-shadow: 0 20px 50px -20px rgba(124, 108, 255, .7); }
.marquee + .marquee-b { position: relative; z-index: -1; width: 100vw; margin: -38px 0 0 calc(50% - 50vw); rotate: 1.4deg; overflow: hidden; background: #151627; opacity: .9; }
.marquee > div, .marquee-b > div { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee-b > div { animation-direction: reverse; animation-duration: 34s; }
.marquee span, .marquee-b span { padding: 13px 22px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.marquee-b span { color: var(--muted); }
.marquee span::after, .marquee-b span::after { content: '✦'; margin-left: 44px; opacity: .7; }

/* Pasos */
.step, .kpi.acc, .pay-opt.on, .profile, .thanks .panel { position: relative; }
.step::before, .kpi.acc::before, .pay-opt.on::before, .profile::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: conic-gradient(from var(--ang), transparent 0 55%, var(--accent) 72%, var(--pink) 84%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rot 5s linear infinite; opacity: .55; transition: opacity .3s; }
.step:hover::before { opacity: 1; animation-duration: 2s; }
.step { transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), box-shadow .3s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(124, 108, 255, .7); }
.step .n { animation: pulseRing 2.2s ease-out infinite; transition: rotate .5s cubic-bezier(.3, 1.6, .5, 1), background .3s; }
.step:nth-child(2) .n { animation-delay: .7s; }
.step:nth-child(3) .n { animation-delay: 1.4s; }
.step:hover .n { rotate: 360deg; background: var(--accent); color: #fff; }

/* ───────── Tarjetas de producto ───────── */
.prod { transform-style: preserve-3d; will-change: transform; }
.prod.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px); transition: transform .12s, border-color .2s, box-shadow .25s; }
.prod::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .14), transparent 42%); opacity: 0; transition: opacity .3s; }
.prod:hover::after { opacity: 1; }
.prod .pic::before { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); translate: -120% 0; pointer-events: none; }
.prod:hover .pic::before { animation: sweep .9s ease; }
.prod .pic .ph { animation: bob 4.5s ease-in-out infinite; transition: scale .4s cubic-bezier(.3, 1.6, .5, 1); filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); }
.prod:nth-child(2n) .pic .ph { animation-delay: -1.5s; }
.prod:nth-child(3n) .pic .ph { animation-delay: -3s; }
.prod:hover .pic .ph { scale: 1.25; }
.prod .tag { animation: glowTag 2.4s ease-in-out infinite, wiggle 5s ease-in-out infinite; }
.prod .price, .detail .price { background: linear-gradient(100deg, #fff 0%, #fff 40%, var(--accent-2) 50%, #fff 60%, #fff 100%); background-size: 250% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 4s linear infinite; }
.prod .price s, .detail .price s { -webkit-text-fill-color: var(--faint); }
.prod .chip { transition: translate .25s cubic-bezier(.3, 1.6, .5, 1), background .2s; }
.prod:hover .chip { translate: 0 -2px; background: rgba(124, 108, 255, .2); }
.prod:hover .chip:nth-child(2) { transition-delay: .04s; }
.prod:hover .chip:nth-child(3) { transition-delay: .08s; }
.cat { transition: .2s, scale .25s cubic-bezier(.3, 1.6, .5, 1); animation: riseSm .45s both; animation-delay: calc(var(--i, 0) * 60ms); }
.cat:hover { scale: 1.05; }
.cat.on { box-shadow: 0 0 22px rgba(124, 108, 255, .4); }
.fly { position: fixed; z-index: 90; width: 18px; height: 18px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, #fff, var(--accent) 60%); box-shadow: 0 0 20px 6px var(--accent); }

/* Ficha de producto */
.detail > .pic { animation: slideL .8s cubic-bezier(.2, .9, .3, 1) both; position: relative; }
.detail > div:last-child { animation: slideR .8s .1s cubic-bezier(.2, .9, .3, 1) both; }
.detail .pic .ph-float { display: inline-block; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); }
.perks li { animation: riseSm .5s both; animation-delay: calc(.3s + var(--i, 0) * 80ms); }
.perks li::before { animation: popIn .5s both; animation-delay: calc(.4s + var(--i, 0) * 80ms); }
.qty span.pop, .qty #qn.pop { display: inline-block; animation: pop .35s cubic-bezier(.3, 1.6, .5, 1); }
.qty button { transition: color .15s, scale .2s cubic-bezier(.3, 1.6, .5, 1); }
.qty button:active { scale: .8; }
.back svg { transition: translate .25s; }
.back:hover svg { translate: -4px 0; }

/* ───────── Carrito ───────── */
.cart > .panel:first-child { animation: slideL .6s both; }
.cart > .panel:last-child { animation: slideR .6s .08s both; }
.line { animation: riseSm .45s both; animation-delay: calc(var(--i, 0) * 70ms); }
.line .thumb { transition: rotate .4s cubic-bezier(.3, 1.6, .5, 1), scale .3s; }
.line:hover .thumb { rotate: -6deg; scale: 1.08; }
.line .rm { transition: color .15s, rotate .3s, scale .3s; }
.line .rm:hover { rotate: 12deg; scale: 1.2; }
.sum-row { animation: riseSm .4s both; }
.sum-row[style*="ok"] { animation: riseSm .4s both, flash 1.4s ease-out; border-radius: 8px; }
.sum-row.total span:last-child { display: inline-block; }
.pay-opt { position: relative; transition: border-color .2s, background .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.pay-opt:hover { transform: translateX(4px); }
.pay-opt .logo { transition: rotate .4s cubic-bezier(.3, 1.6, .5, 1); }
.pay-opt.on .logo { rotate: -8deg; }
.secure svg { animation: softPulse 2s ease-in-out infinite; }

/* ───────── Gracias / cuenta ───────── */
.thanks > * { animation: rise .7s both; }
.thanks > :nth-child(2) { animation-delay: .1s; }
.thanks > :nth-child(3) { animation-delay: .2s; }
.thanks > :nth-child(4) { animation-delay: .3s; }
.thanks > :nth-child(5) { animation-delay: .4s; }
.thanks .big { animation: popIn .7s cubic-bezier(.3, 1.6, .5, 1) both; }
.thanks .big:not(.wait) { box-shadow: 0 0 60px rgba(61, 220, 151, .35); }
.thanks .big:not(.wait) path { stroke-dasharray: 40; animation: draw .7s .35s ease-out both; }
.thanks .big.wait { animation: popIn .7s both, waitRing 1.8s ease-out infinite; }
.fx-confetti { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.profile { animation: rise .6s both; }
.profile img { animation: avatarGlow 4s ease-in-out infinite; transition: rotate .5s cubic-bezier(.3, 1.6, .5, 1); }
.profile:hover img { rotate: -8deg; }
.order { transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), border-color .2s, box-shadow .3s; }
.order:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 18px 40px -22px rgba(124, 108, 255, .6); }
.chip.warn { animation: softPulse 1.8s ease-in-out infinite; }
.empty b { animation: rise .6s both; }
.empty::before { content: '✦'; display: block; font-size: 40px; color: var(--accent); margin-bottom: 10px; animation: bob 3.5s ease-in-out infinite; text-shadow: 0 0 24px var(--accent); }

/* FAQ */
.faq details { transition: border-color .25s, background .25s, box-shadow .25s; overflow: hidden; }
.faq details:hover { border-color: var(--line-2); }
.faq details[open] { border-color: rgba(124, 108, 255, .45); background: linear-gradient(140deg, rgba(124, 108, 255, .1), transparent 60%), var(--card); box-shadow: 0 16px 40px -24px rgba(124, 108, 255, .7); }
.faq summary::after { content: '+' !important; transition: rotate .35s cubic-bezier(.3, 1.6, .5, 1); }
.faq details[open] summary::after { rotate: 135deg; }

/* ───────── Administración ───────── */
.aside button { animation: slideL .45s both; animation-delay: calc(var(--i, 0) * 50ms); transition: background .2s, color .2s, padding-left .25s; }
.aside button:hover { padding-left: 20px; }
.aside button.on { box-shadow: inset 3px 0 0 var(--accent); }
#apanel > * { animation: rise .5s both; }
#apanel > :nth-child(2) { animation-delay: .06s; }
#apanel > :nth-child(3) { animation-delay: .12s; }
#apanel > :nth-child(4) { animation-delay: .18s; }
.kpi { animation: popIn .55s both; animation-delay: calc(var(--i, 0) * 80ms); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.kpi:hover { transform: translateY(-4px); }
.kpi.acc { background: linear-gradient(140deg, rgba(124, 108, 255, .4), rgba(255, 79, 177, .1), rgba(124, 108, 255, .05)), var(--card); background-size: 200% 200%; }
.chart div { transform-origin: 50% 100%; animation: barUp .8s cubic-bezier(.2, 1, .3, 1) both; animation-delay: calc(.2s + var(--i, 0) * 22ms); transition: opacity .2s, filter .2s; }
.chart div:hover { filter: brightness(1.3) drop-shadow(0 0 8px var(--accent)); }
.tbl tbody tr { animation: riseSm .4s both; animation-delay: calc(var(--i, 0) * 35ms); }
.tbl tr.click td { transition: background .2s; }
.tbl .mini img, .tbl .mini .ph { transition: scale .3s cubic-bezier(.3, 1.6, .5, 1); }
.tbl tr:hover .mini img, .tbl tr:hover .mini .ph { scale: 1.12; }
.status-dot.on { animation: pulseDot 1.8s ease-out infinite; }
.action { animation: slideL .4s both; }
.toggle i, .toggle i::after { transition: background .25s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.toggle input:checked + i { box-shadow: 0 0 14px rgba(124, 108, 255, .6); }
.input, .select, .textarea { transition: border-color .2s, box-shadow .2s, background .2s; }
.input:focus, .select:focus, .textarea:focus { background: #11121c; }
.uploader .prev { transition: border-color .2s, scale .3s; }
.uploader .prev:hover { border-color: var(--accent); scale: 1.03; }

/* ───────── Modal y avisos ───────── */
.modal.show { animation: fadeIn .25s both; }
.modal.show .sheet { animation: sheetIn .45s cubic-bezier(.2, 1, .3, 1) both; }
.sheet .form > div { animation: riseSm .4s both; animation-delay: calc(.1s + var(--i, 0) * 30ms); }
.toast { overflow: hidden; display: flex; align-items: center; gap: 10px; }
.toast.show { animation: toastIn .55s cubic-bezier(.2, 1, .3, 1) both; }
.toast::before { content: '✦'; color: var(--accent); }
.toast.ok::before { content: '✓'; color: var(--ok); font-weight: 900; }
.toast.error::before { content: '!'; color: var(--danger); font-weight: 900; }
.toast::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: 0 50%; background: currentColor; opacity: .5; }
.toast.ok::after { background: var(--ok); }
.toast.error::after { background: var(--danger); }
.toast.show::after { animation: toastBar 3.2s linear forwards; }

/* ───────── Pie ───────── */
.foot { position: relative; }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), var(--pink), transparent); background-size: 200% auto; animation: shimmer 5s linear infinite; }
.foot .brand img { animation: bob 6s ease-in-out infinite, avatarGlow 5s ease-in-out infinite; }
.foot-links a { position: relative; transition: color .2s; }
.foot-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); scale: 0 1; transform-origin: 100% 50%; transition: scale .3s; }
.foot-links a:hover::after { scale: 1 1; transform-origin: 0 50%; }

/* ───────── Iconos ───────── */
@keyframes icoDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes icoFill { from { fill-opacity: 0; } }
@keyframes icoJump { 0% { translate: 0 0; rotate: 0; } 30% { translate: 0 -4px; rotate: -14deg; scale: 1.15; } 60% { translate: 0 1px; rotate: 8deg; } 100% { translate: 0 0; rotate: 0; scale: 1; } }
@keyframes icoGlow { 0%, 100% { box-shadow: 0 0 10px color-mix(in srgb, var(--ic) 60%, transparent); } 50% { box-shadow: 0 0 22px color-mix(in srgb, var(--ic) 100%, transparent); } }
.ico { position: relative; overflow: hidden; }
.ico svg path { stroke-dasharray: 1; animation: icoDraw 1.1s cubic-bezier(.6, 0, .2, 1) both; }
.ico .f { animation: icoDraw 1.1s cubic-bezier(.6, 0, .2, 1) both, icoFill .6s .7s both; }
.ico.xs svg path { animation: none; }
.ico::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); translate: -120% 0; pointer-events: none; }
.ico.xl::after, .ico.xxl::after, .cat.on .ico::after, .aside button.on .ico::after { animation: sweep 3.2s ease-in-out infinite; }
.cat:hover .ico svg, .aside button:hover .ico svg, .icon-grid button:hover .ico svg, .icon-pick:hover .ico svg, .prod:hover .chip .ico svg, .detail .chip:hover .ico svg { animation: icoJump .55s cubic-bezier(.3, 1.6, .5, 1); }
.cat.on .ico, .aside button.on .ico { animation: icoGlow 2.2s ease-in-out infinite; }
.prod:hover .ico.xl { rotate: -6deg; }
.ico.xl { transition: rotate .5s cubic-bezier(.3, 1.6, .5, 1); }
.icon-grid button { animation: popIn .4s both; }
.icon-grid button:nth-child(3n) { animation-delay: .05s; }
.icon-grid button:nth-child(3n+1) { animation-delay: .1s; }

/* ───────── Menos movimiento: versión suave (sigue animada, sin efectos bruscos) ───────── */
@media (prefers-reduced-motion: reduce) {
    .fx-orb, .hero-bg, .marquee > div, .marquee-b > div, .prod .pic .ph, .ph-float, .empty::before, .foot .brand img { animation-duration: 60s !important; }
    .spark { display: none !important; }
}
@media (max-width: 900px) {
    .fx-spot { display: none; }
    .marquee span, .marquee-b span { font-size: 12px; padding: 10px 16px; }
    .fx-orb { filter: blur(60px); }
}
