/* WWO Radio TV — 1920x1080 "10-foot" UI. Blue & silver, streaming-app style. */
:root {
  --ink: #04070f;
  --navy: #071328;
  --blue: #1f8bff;
  --cyan: #38c8ff;
  --silver: #d5dce6;
  --silver-dim: #9aa6b8;
  --white: #ffffff;
  --live: #ff3b4e;
  --card: rgba(255,255,255,.06);
  --card-line: rgba(213,220,230,.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 1920px; height: 1080px; overflow: hidden; background: var(--ink); color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.hidden { display: none !important; }
.app { position: relative; width: 1920px; height: 1080px; overflow: hidden; }

/* ---------- Ambient background ---------- */
.ambient { position: absolute; inset: 0; z-index: 0; background: radial-gradient(1200px 800px at 25% 40%, #0d2a5c 0%, var(--navy) 45%, var(--ink) 100%); }
.ambient-img { position: absolute; left: -10%; top: -20%; width: 70%; height: 140%; object-fit: cover; filter: blur(90px) saturate(1.4); opacity: .55; transform: scale(1.1); }
.ambient-shade { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,7,15,.15) 0%, rgba(4,7,15,.55) 45%, rgba(4,7,15,.92) 100%),
              linear-gradient(180deg, rgba(4,7,15,0) 45%, rgba(4,7,15,.95) 100%); }
.nav, .hero, .rails { position: relative; z-index: 1; }

/* ---------- Logo disc (crops the square logo art to its circular badge) ---------- */
.disc { position: relative; border-radius: 50%; overflow: hidden; background: #2b2c30; flex: none;
  box-shadow: 0 0 0 3px rgba(213,220,230,.55), 0 0 40px rgba(56,200,255,.35); }
.disc .logo-img { position: absolute; width: 112.4%; height: 112.4%; left: -5.3%; top: -6.5%; display: block; }
.disc.fallback .logo-img { width: 100%; height: 100%; left: 0; top: 0; }
.disc-sm { width: 76px; height: 76px; }
.disc-md { width: 180px; height: 180px; }
.disc-xl { width: 500px; height: 500px; box-shadow: 0 0 0 6px rgba(213,220,230,.6), 0 40px 120px rgba(0,0,0,.7), 0 0 120px rgba(31,139,255,.45); }

/* ---------- Top nav ---------- */
.nav { height: 150px; padding: 0 96px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 22px; }
.nav-name { font-size: 40px; font-weight: 800; letter-spacing: 4px; color: var(--white); }
.nav-name .thin { font-weight: 300; color: var(--silver); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.pill { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px; border-radius: 24px; font-size: 22px; font-weight: 800; letter-spacing: 3px; }
.pill.live { background: rgba(255,59,78,.15); color: #ff6b7a; border: 2px solid rgba(255,59,78,.6); }
.pill.dj { background: var(--live); color: #fff; }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255,59,78,.7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(255,59,78,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,78,0); } }
.clock { font-size: 34px; font-weight: 300; color: var(--silver); min-width: 150px; text-align: right; }

/* ---------- Hero ---------- */
.hero { height: 560px; padding: 0 96px; display: flex; align-items: center; gap: 88px; transition: opacity .35s, transform .35s; }
.browse .hero { opacity: .12; transform: translateY(-60px) scale(.96); }
.rails::before { content: ''; position: absolute; left: 0; right: 0; top: -60px; height: 1200px; z-index: -1; opacity: 0; transition: opacity .35s;
  background: linear-gradient(180deg, rgba(4,7,15,0) 0, rgba(4,7,15,.85) 120px, rgba(4,7,15,.95) 100%); }
.browse .rails::before { opacity: 1; }
.hero-art { position: relative; width: 540px; height: 540px; flex: none; display: flex; align-items: center; justify-content: center; }
.ring { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(56,200,255,0) 0deg, rgba(56,200,255,.95) 90deg, rgba(213,220,230,.7) 140deg, rgba(56,200,255,0) 220deg);
  -webkit-mask: radial-gradient(circle, transparent 262px, #000 264px, #000 270px, transparent 271px);
  mask: radial-gradient(circle, transparent 262px, #000 264px, #000 270px, transparent 271px);
  opacity: 0; transition: opacity .6s; }
.playing-state .ring { opacity: 1; animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.track-art { position: absolute; width: 500px; height: 500px; border-radius: 24px; object-fit: cover;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 2px rgba(213,220,230,.25); }

.hero-meta { flex: 1; min-width: 0; }
.eyebrow { font-size: 22px; font-weight: 800; letter-spacing: 5px; color: var(--cyan); }
.title { margin-top: 18px; font-size: 92px; line-height: 1.02; font-weight: 800; letter-spacing: -1px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.artist { margin-top: 14px; font-size: 42px; font-weight: 400; color: var(--silver); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.genres { margin-top: 18px; font-size: 24px; color: var(--silver-dim); letter-spacing: .5px; }

.actions { margin-top: 44px; display: flex; gap: 24px; }
button { font: inherit; border: none; outline: none; cursor: pointer; white-space: nowrap; }
.btn-play, .btn-ghost { height: 96px; border-radius: 48px; display: inline-flex; align-items: center; gap: 20px;
  font-size: 34px; font-weight: 800; letter-spacing: .5px; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-play { padding: 0 52px 0 40px; background: var(--white); color: #06122a; }
.btn-ghost { padding: 0 44px 0 32px; background: rgba(255,255,255,.12); color: var(--white); border: 2px solid rgba(255,255,255,.22); }
.focused.btn-play { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(56,200,255,.85), 0 18px 50px rgba(31,139,255,.55); }
.focused.btn-ghost { transform: scale(1.08); background: rgba(255,255,255,.95); color: #06122a; box-shadow: 0 0 0 6px rgba(56,200,255,.85); }
.ico { display: inline-block; flex: none; }
.ico-play { width: 0; height: 0; border-left: 30px solid currentColor; border-top: 18px solid transparent; border-bottom: 18px solid transparent; margin-left: 6px; }
.playing-state .ico-play { width: 28px; height: 36px; border: none; border-left: 10px solid currentColor; border-right: 10px solid currentColor; margin-left: 0; }
.ico-info { width: 40px; height: 40px; border-radius: 50%; border: 3px solid currentColor; font-size: 24px; line-height: 34px; text-align: center; font-family: Georgia, serif; font-weight: 700; }
.status { margin-top: 26px; font-size: 24px; color: var(--silver-dim); letter-spacing: 1px; min-height: 30px; }
.status.ok { color: var(--cyan); }
.status.warn { color: #ff8a96; }

/* ---------- Rails ---------- */
.rails { position: absolute; left: 0; right: 0; top: 720px; padding: 0 96px; transition: transform .35s ease; }
.rails.shift-1 { transform: translateY(-150px); }
.rails.shift-2 { transform: translateY(-400px); }
.rail { margin-bottom: 34px; }
.rail-title { font-size: 30px; font-weight: 800; margin-bottom: 18px; color: var(--white); letter-spacing: .3px; }
.rail-row { display: flex; gap: 28px; transition: transform .3s ease; }
.card { position: relative; flex: none; width: 380px; height: 214px; border-radius: 18px; overflow: hidden; background: var(--card);
  border: 2px solid var(--card-line); transition: transform .15s, box-shadow .15s, border-color .15s; }
.card.focused { transform: scale(1.08); border-color: #fff; box-shadow: 0 0 0 5px rgba(56,200,255,.85), 0 24px 60px rgba(0,0,0,.6); z-index: 2; }

/* Show cards (poster style with host photos) */
.show-card { width: 300px; height: 340px; padding: 22px 22px; display: flex; flex-direction: column; justify-content: flex-end; }
.show-card .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.show-card .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,7,15,0) 30%, rgba(4,7,15,.7) 55%, rgba(4,7,15,.97) 100%); }
.show-card.has-photo { background: #0b1324; }
.show-card.has-photo .bg-disc { display: none; }
.show-card .s-host { position: relative; margin-top: 6px; font-size: 22px; font-weight: 600; color: var(--cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.show-card .bg-disc { position: absolute; right: -50px; top: -50px; width: 230px; height: 230px; opacity: .28; box-shadow: none; }
.show-card .tag { position: absolute; z-index: 1; left: 20px; top: 20px; font-size: 18px; font-weight: 800; letter-spacing: 3px; padding: 6px 12px; border-radius: 8px; background: rgba(0,0,0,.35); color: var(--silver); }
.show-card .s-name { position: relative; font-size: 30px; font-weight: 800; line-height: 1.05; }
.show-card .s-when { position: relative; margin-top: 4px; font-size: 20px; color: rgba(255,255,255,.82); }
.grad-0 { background: linear-gradient(135deg, #0c3d8f, #1f8bff); }
.grad-1 { background: linear-gradient(135deg, #2b2f3a, #8a96a8); }
.grad-2 { background: linear-gradient(135deg, #052a4a, #11a7d6); }
.grad-3 { background: linear-gradient(135deg, #1b1f5e, #4a6bff); }
.grad-4 { background: linear-gradient(135deg, #20262f, #4d5a6e); }
.grad-5 { background: linear-gradient(135deg, #0a1f3d, #2f6fd1); }

/* Recent cards */
.recent-card { display: flex; align-items: center; gap: 22px; padding: 0 22px; }
.recent-card img { width: 150px; height: 150px; border-radius: 12px; object-fit: cover; flex: none; background: #1a2333; }
.recent-card .r-title { font-size: 28px; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recent-card .r-artist { margin-top: 8px; font-size: 22px; color: var(--silver-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-card .r-text { min-width: 0; }

/* Founder block in About */
.founder { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 24px; text-align: left; }
.founder img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: center 15%; box-shadow: 0 0 0 3px rgba(213,220,230,.55); }
.founder b { display: block; font-size: 30px; }
.founder span { font-size: 22px; color: var(--cyan); letter-spacing: 2px; text-transform: uppercase; font-weight: 800; }

/* ---------- Overlay & toast ---------- */
.overlay { position: absolute; inset: 0; z-index: 10; background: rgba(4,7,15,.82); display: flex; align-items: center; justify-content: center; }
.panel { width: 1100px; padding: 64px 72px; border-radius: 32px; text-align: center; background: linear-gradient(160deg, #0d1f40, #060b18); border: 2px solid var(--card-line); box-shadow: 0 40px 120px rgba(0,0,0,.7); }
.panel .disc { margin: 0 auto 28px; }
.panel h2 { font-size: 56px; font-weight: 800; }
.panel p { margin-top: 20px; font-size: 30px; line-height: 1.45; color: var(--silver); }
.panel-grid { margin-top: 36px; display: flex; justify-content: center; gap: 48px; font-size: 26px; white-space: nowrap; }
.panel-grid span { display: block; font-size: 18px; letter-spacing: 3px; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; font-weight: 800; }
.hint { margin-top: 40px; font-size: 22px; color: var(--silver-dim); }
.toast { position: absolute; z-index: 11; left: 50%; bottom: 60px; transform: translateX(-50%); padding: 22px 40px; border-radius: 40px;
  background: rgba(255,255,255,.95); color: #06122a; font-size: 28px; font-weight: 700; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* ---------- Idle (burn-in protection) ---------- */
.idle .nav, .idle .rails, .idle .actions, .idle .status { opacity: .25; transition: opacity 2s; }
