/* FAR Landing — plain CSS (states, keyframes, responsive) */
* { box-sizing: border-box; }
body { margin: 0; background: #121830; color: #F2EFF8; font-family: 'Chakra Petch', sans-serif; min-height: 100vh; overflow-x: hidden; }
::selection { background: #FF3D55; color: #121830; }
a { color: #F2EFF8; text-decoration: none; }
a:hover { color: #FF3D55; }
nav a, footer a { color: #C5C4DC; }

@keyframes meterPulse { 0%, 100% { transform: scaleY(0.2); } 50% { transform: scaleY(1); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes neonFlicker { 0%, 100% { opacity: 1; } 92% { opacity: 1; } 93% { opacity: 0.6; } 94% { opacity: 1; } 97% { opacity: 0.8; } 98% { opacity: 1; } }
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(255,61,85,0.7), 0 0 46px rgba(255,61,85,0.35); }
  50% { box-shadow: 0 0 28px rgba(255,61,85,0.95), 0 0 70px rgba(255,61,85,0.5); }
}

.neon-script { animation: neonFlicker 7s linear infinite; }
.ticker-track { animation: marquee 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* route cards */
.route-card { border: 1px solid #2B3560; border-radius: 8px; padding: 28px; background: #1A2140; display: block; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.route-card:hover { border-color: #FF3D55; transform: translateY(-4px); box-shadow: 0 8px 26px rgba(0,0,0,0.35), 0 0 16px rgba(255,61,85,0.15); color: inherit; }

/* players */
.play-btn { border: 1.5px solid #FF3D55; border-radius: 50%; background: rgba(255,61,85,0.12); color: #FF9DA6; cursor: pointer; flex-shrink: 0; }
.playing .play-btn, .play-btn.playing { background: #FF3D55; color: #121830; }
.hero-player .play-btn { width: 40px; height: 40px; font-size: 13px; }
.hero-player.playing .play-btn { animation: glowPulse 1.8s ease-in-out infinite; }
.hero-player.playing .live-dot { animation: neonFlicker 4s linear infinite; }
.hero-player .meter i { display: block; width: 100%; height: 100%; background: linear-gradient(to top, #FF3D55, #E084A8); transform-origin: bottom; transform: scaleY(0.2); border-radius: 2px; }
.card-player .meter i { display: block; width: 100%; background: #2B3560; border-radius: 1px; transform-origin: bottom; transition: background 0.2s; }
.card-player.playing .meter i { background: #FF3D55; }
.playing .meter i:nth-child(1) { animation: meterPulse 0.8s ease-in-out infinite; }
.playing .meter i:nth-child(2) { animation: meterPulse 1.05s ease-in-out infinite; }
.playing .meter i:nth-child(3) { animation: meterPulse 0.9s ease-in-out infinite; }
.playing .meter i:nth-child(4) { animation: meterPulse 1.2s ease-in-out infinite; }
.playing .meter i:nth-child(5) { animation: meterPulse 0.7s ease-in-out infinite; }
.playing .meter i:nth-child(6) { animation: meterPulse 1.1s ease-in-out infinite; }

/* mood pills */
.mood { padding: 6px 12px; font-size: 11px; font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.08em; border: 1px solid #3E4B84; background: transparent; color: #C5C4DC; cursor: pointer; border-radius: 4px; }
.mood.active { border-color: #FF3D55; background: #FF3D55; color: #121830; box-shadow: 0 0 16px rgba(255,61,85,0.6); }

/* copy button */
.copy-btn { margin-top: auto; border: 1px solid rgba(224,132,168,0.5); background: transparent; color: #F4D7E3; padding: 12px; font-size: 12px; font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.12em; cursor: pointer; border-radius: 4px; }
.copy-btn.copied { border-color: #E084A8; background: #E084A8; color: #121830; }

/* tables hover */
.shift-row, .rights-row { transition: background 0.15s; }
.shift-row:hover, .rights-row:hover { background: rgba(224,132,168,0.07); }

/* subscribe form */
.email-input { flex: 1; background: rgba(14,19,40,0.75); border: 1px solid rgba(255,61,85,0.5); border-radius: 4px; padding: 15px 18px; color: #F2EFF8; font-size: 15px; font-family: 'Chakra Petch', sans-serif; outline: none; backdrop-filter: blur(8px); transition: border-color 0.15s, box-shadow 0.15s; }
.email-input:focus { border-color: #FF3D55; box-shadow: 0 0 14px rgba(255,61,85,0.45); }

/* scanline grain */
.grain { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0.5; mix-blend-mode: overlay;
  background: repeating-linear-gradient(to bottom, rgba(244,215,227,0.028) 0px, rgba(244,215,227,0.028) 1px, transparent 1px, transparent 4px); }

/* mobile */
@media (max-width: 760px) {
  header.nav { padding: 14px 18px !important; }
  header.nav nav { display: none !important; }
  #radio { aspect-ratio: auto !important; }
  .hero-scene { position: relative !important; inset: auto !important; width: 100%; aspect-ratio: 1672/941; }
  .hero-content { position: relative !important; height: auto !important; padding: 22px 18px 36px !important; margin-top: -44px; }
  .hero-text { max-width: 100% !important; }
  section.routes { padding: 48px 18px !important; }
  #prompt-lab { padding: 12px 18px 64px !important; }
  #shift { padding: 0 18px 64px !important; }
  #rights { padding: 0 18px 72px !important; }
  #shift > div, #rights > div { grid-template-columns: 1fr !important; gap: 28px !important; }
  .shift-row { grid-template-columns: 64px 1fr 86px !important; gap: 12px !important; }
  .fail-note { grid-template-columns: 1fr !important; gap: 10px !important; }
  .sub-content { max-width: 100% !important; padding: 24px 18px 56px !important; }
  #subscribe { min-height: auto !important; display: block !important; }
  #subscribe fts-scene { position: relative !important; inset: auto !important; width: 100%; aspect-ratio: 16 / 10; }
  #subscribe fts-scene canvas { object-position: 10% center !important; }
  section h2 { font-size: 30px !important; }
  footer.footer { padding: 22px 18px !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
