/* "Play anything" -> Statusong -> friends see it live. Plain CSS animation, light on phones (no blur, no big shadows there). */
.flow-sec { --c1: #4ff08a; --c2: #46dfe0; padding-top: clamp(40px, 7vw, 90px); }
.flow-anim { position: relative; max-width: 1000px; margin: 0 auto; padding: 38px 34px 30px; display: flex; align-items: center; justify-content: space-between; border-radius: 28px; overflow: hidden;
  background: radial-gradient(520px 200px at 18% 50%, rgba(43, 240, 138, 0.1), transparent 70%), radial-gradient(520px 200px at 88% 50%, rgba(88, 101, 242, 0.14), transparent 70%), rgba(10, 10, 16, 0.72);
  border: 1px solid var(--glass-line, rgba(255, 255, 255, 0.12)); }
.fa-node { display: flex; flex-direction: column; align-items: center; gap: 16px; flex: none; }
.fa-cap { font-weight: 700; font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); text-align: center; }

.fa-src { display: flex; gap: 12px; padding: 16px 18px; border-radius: 24px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.fa-src i { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); opacity: 0.45; animation: faPick 6s infinite; }
.fa-src i:nth-child(2) { animation-delay: 2s; }
.fa-src i:nth-child(3) { animation-delay: 4s; }
.fa-src svg { width: 32px; height: 32px; }
@keyframes faPick { 0%, 100% { opacity: 0.4; transform: scale(1); } 8%, 30% { opacity: 1; transform: scale(1.14); box-shadow: 0 0 28px rgba(43, 240, 138, 0.5); background: rgba(255, 255, 255, 0.14); } 38% { opacity: 0.4; transform: scale(1); } }

.fa-mid { position: relative; width: 128px; height: 128px; }
.fa-mid img { position: absolute; inset: 12px; width: 104px; height: 104px; border-radius: 28px; box-shadow: 0 0 46px rgba(43, 240, 138, 0.5), 0 0 84px rgba(244, 114, 182, 0.3); animation: faGlow 3s ease-in-out infinite; }
.fa-mid::before, .fa-mid::after { content: ""; position: absolute; inset: 6px; border-radius: 34px; border: 2px solid #2bf08a; opacity: 0; animation: faRing 3s ease-out infinite; }
.fa-mid::after { animation-delay: 1.5s; }
@keyframes faRing { 0% { transform: scale(0.8); opacity: 0.7; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes faGlow { 50% { box-shadow: 0 0 66px rgba(43, 240, 138, 0.8), 0 0 104px rgba(244, 114, 182, 0.5); } }

.fa-arr { position: relative; flex: 1; min-width: 40px; height: 6px; margin: 0 12px 34px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.fa-arr::after { content: ""; position: absolute; top: 0; bottom: 0; left: -90px; width: 90px; border-radius: 3px; background: linear-gradient(90deg, transparent, #2bf08a, #19e8d6, transparent); animation: faRun 1.8s linear infinite; }
.fa-arr.b::after { animation-delay: 0.6s; background: linear-gradient(90deg, transparent, #8b95ff, #f472b6, transparent); }
@keyframes faRun { from { left: -90px; } to { left: 100%; } }

.fa-card { width: 290px; max-width: 100%; border-radius: 20px; background: #111214; border: 1px solid rgba(255, 255, 255, 0.12); padding: 16px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); }
.fa-top { display: flex; align-items: center; gap: 12px; }
.fa-av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #8ee7e1, #fcd3e8, #b39bff); }
.fa-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; background: rgba(88, 101, 242, 0.16); border: 1px solid rgba(88, 101, 242, 0.5); }
.fa-pill svg { width: 18px; height: 18px; }
.fa-dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; animation: faPulse 1.8s ease-out infinite; }
@keyframes faPulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.7); } 100% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } }
.fa-bub { position: relative; margin-top: 14px; height: 46px; border-radius: 14px; background: #1e1f22; border: 1px solid #2b2d31; overflow: hidden; }
.fa-bub span { position: absolute; left: 14px; right: 14px; top: 13px; font-weight: 700; font-size: 0.95rem; opacity: 0; white-space: nowrap; animation: faLy 6s infinite; }
.fa-bub span:nth-child(2) { animation-delay: 1.5s; }
.fa-bub span:nth-child(3) { animation-delay: 3s; }
.fa-bub span:nth-child(4) { animation-delay: 4.5s; }
@keyframes faLy { 0% { opacity: 0; transform: translateY(14px); } 4%, 22% { opacity: 1; transform: none; } 26% { opacity: 0; transform: translateY(-12px); } 100% { opacity: 0; } }

/* phones and narrow windows: top to bottom */
@media (max-width: 960px) {
  .flow-anim { flex-direction: column; padding: 30px 18px 26px; gap: 4px; }
  .fa-arr { flex: none; width: 6px; height: 56px; min-width: 0; margin: 14px 0; }
  .fa-arr::after { left: 0; right: 0; top: -90px; bottom: auto; width: auto; height: 90px; background: linear-gradient(180deg, transparent, #2bf08a, #19e8d6, transparent); animation-name: faRunY; }
  .fa-arr.b::after { background: linear-gradient(180deg, transparent, #8b95ff, #f472b6, transparent); }
  @keyframes faRunY { from { top: -90px; } to { top: 100%; } }
  .fa-mid img { box-shadow: 0 0 30px rgba(43, 240, 138, 0.45); }
  .fa-src i { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .fa-src i, .fa-mid img, .fa-mid::before, .fa-mid::after, .fa-arr::after, .fa-dot, .fa-bub span { animation: none; }
  .fa-src i { opacity: 1; }
  .fa-bub span:first-child { opacity: 1; }
  .fa-arr::after { left: 0; width: 100%; opacity: 0.6; }
}
