/* R-SITE-LIVE (0.66): motion layer over Site/index.html, variant «Живой клуб». Only transform/opacity animations; off with prefers-reduced-motion. */
/* ---- shared: reveal on scroll, PC flash, card lift ---- */
body.fx .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
body.fx .reveal.in { opacity: 1; transform: none; }
.fx .pc.flip { animation: pc-flip .7s ease; }
@keyframes pc-flip { 0% { transform: scale(1); } 35% { transform: scale(1.12); box-shadow: 0 0 18px currentColor; } 100% { transform: scale(1); } }
.fx .pc.free { color: #bbf7d0; } .fx .pc.busy { color: #ddd6fe; } .fx .pc.soon { color: #fde68a; } .fx .pc.book { color: #bfdbfe; }
.fx .pc span { color: var(--muted); }
.fx .feat, .fx .step { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.fx .feat:hover { transform: translateY(-4px); border-color: #4c3d75; }

/* ---- «Живой клуб» (R-SITE-LIVE): on-air badge, event feed, running strip, screens play by themselves ---- */
.fx .onair { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #fca5a5; margin-left: 14px; vertical-align: 2px; }
.fx .onair::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .7); } 100% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } }
.fx .feed { display: grid; gap: 6px; height: 118px; overflow: hidden; mask-image: linear-gradient(180deg, #000 60%, transparent); }
.fx .feed div { display: flex; justify-content: space-between; gap: 10px; background: var(--panel-2); border-radius: 10px; padding: 8px 12px; font-size: 13px; animation: feed-in .5s cubic-bezier(.2, .7, .2, 1); }
.fx .feed b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fx .feed .plus { color: var(--free); } .fx .feed .warn { color: var(--soon); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
.fx .till b.bump { animation: bump .6s ease; }
@keyframes bump { 40% { transform: translateY(-3px); color: var(--free); } }
.fx .strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); overflow: hidden; padding: 14px 0; }
.fx .strip-row { display: flex; gap: 14px; width: max-content; animation: run 40s linear infinite; }
.fx .strip:hover .strip-row { animation-play-state: paused; }
.fx .strip span { white-space: nowrap; font-weight: 700; font-size: 15px; color: var(--muted); display: inline-flex; align-items: center; gap: 14px; }
.fx .strip span::after { content: "◆"; color: var(--accent); font-size: 10px; }
@keyframes run { to { transform: translateX(-50%); } }
.fx .tabs-bar { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin: -8px 0 16px; }
.fx .tabs-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.fx .tabs-bar i.go { animation: bar 5.5s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.fx #shot-img.swap { animation: swap .6s ease; }
@keyframes swap { from { opacity: 0; transform: scale(1.02); } }
.fx .step { border-top-color: var(--line); position: relative; }
.fx .step::after { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1s ease var(--d, 0s); }
.fx .step.in::after, .fx .step.shown::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .fx *, .fx *::before, .fx *::after { animation: none !important; transition: none !important; }
  body.fx .reveal { opacity: 1; transform: none; }
}
