
*{box-sizing:border-box}html,body{margin:0}body{font-family:Inter,system-ui,Arial,sans-serif;background:#050b1a;color:#fff;min-height:100vh}
:root{--grad:linear-gradient(135deg,#3bc7ff 0%,#8457ff 40%,#ff4fd8 68%,#ffb347 100%);--card:rgba(255,255,255,.07);--border:rgba(255,255,255,.12);--muted:rgba(255,255,255,.72)}
body::before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 15% 5%, rgba(59,199,255,.2), transparent 25%),radial-gradient(circle at 85% 5%, rgba(132,87,255,.2), transparent 25%),radial-gradient(circle at 70% 90%, rgba(255,79,216,.12), transparent 28%);filter:blur(40px);z-index:-1}
.bg .orb{position:fixed;border-radius:999px;filter:blur(56px);opacity:.22;background:var(--grad);pointer-events:none}.orb-a{width:220px;height:220px;left:-60px;top:70px}.orb-b{width:200px;height:200px;right:-40px;top:260px}
.glass{background:var(--card);border:1px solid var(--border);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 20px 60px rgba(0,0,0,.35)}
.topbar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;padding:14px 14px 10px;background:rgba(5,11,26,.78);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.08)}
.brand{display:flex;align-items:center;gap:12px}.brand-logo{width:48px;height:48px;object-fit:contain}.eyebrow{font-size:11px;letter-spacing:.25em;text-transform:uppercase;color:#9fdbff}.brand-name{font-size:18px;font-weight:800}
.install-btn{padding:10px 14px;border:0;border-radius:999px;background:var(--grad);color:#fff;font-weight:700}.hidden{display:none}
.app{padding:14px 14px 24px;max-width:760px;margin:0 auto}
.hero{padding:18px;border-radius:24px;display:grid;gap:16px}
.hero h1{white-space:pre-line;margin:8px 0 0;font-size:38px;line-height:.95;letter-spacing:-.04em}
.hero p{margin:0;color:var(--muted);line-height:1.7}
.tv-btn{display:inline-flex;align-items:center;justify-content:center;padding:16px 18px;border-radius:18px;background:var(--grad);color:#fff;font-weight:800;text-decoration:none;font-size:18px}
.player{padding:16px;border-radius:24px;margin-top:14px}
.player-top{display:grid;grid-template-columns:auto auto 1fr;gap:12px;align-items:center}
.play-btn{width:56px;height:56px;border:0;border-radius:999px;background:var(--grad);color:#fff;font-size:20px;font-weight:700}
.art{width:76px;height:76px;object-fit:contain;border-radius:16px;background:rgba(255,255,255,.04);padding:6px}
.player-copy h2{margin:8px 0 0;font-size:28px;line-height:1}.status-row{display:flex;gap:8px;flex-wrap:wrap}.badge,.status{display:inline-flex;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:700;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}.genre{margin-top:4px;color:var(--muted)}
.marquee-wrap{margin-top:8px;overflow:hidden;white-space:nowrap}.marquee{display:inline-block;min-width:100%;padding-right:40px;font-weight:700;animation:marquee 16s linear infinite}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}
.switchers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.station-card{position:relative;text-align:left;padding:14px;border-radius:20px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#fff}
.station-card.active{background:rgba(255,255,255,.10);box-shadow:0 0 0 1px rgba(255,255,255,.05),0 0 22px rgba(132,87,255,.25)}
.line{display:block;height:6px;border-radius:999px;margin-bottom:12px}.line.flagship{background:linear-gradient(135deg,#3bc7ff 0%,#8457ff 40%,#ff4fd8 68%,#ffb347 100%)}.line.english{background:linear-gradient(135deg,#3bc7ff 0%,#4fa2ff 40%,#8457ff 100%)}.line.zen{background:linear-gradient(135deg,#11d7b3 0%,#3bc7ff 50%,#8457ff 100%)}.line.ipc{background:linear-gradient(135deg,#ffb347 0%,#ff4fd8 45%,#8457ff 100%)}
.station-logo{width:56px;height:56px;object-fit:contain;border-radius:12px;background:rgba(255,255,255,.04);padding:4px}
.station-card strong{display:block;margin-top:10px;font-size:18px}.station-card span{display:block;margin-top:4px;color:var(--muted);font-size:13px}
.fullsite{display:flex;align-items:center;justify-content:center;margin-top:14px;padding:16px;border-radius:18px;text-decoration:none;color:#fff;font-weight:800}
@media (max-width:560px){.switchers{grid-template-columns:1fr}.hero h1{font-size:34px}.player-top{grid-template-columns:auto 1fr}.art{display:none}}


/* v3 layout tweaks */
.hero{
  gap:14px;
}
.hero h1{
  white-space:normal;
  font-size:42px;
}
.hero p{
  max-width:520px;
}
.tv-testing{
  margin-top:14px;
  padding:16px 18px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.tv-testing-copy{
  display:grid;
  gap:4px;
}
.tv-testing-copy strong{
  font-size:18px;
}
.tv-testing-copy span{
  color:var(--muted);
  font-size:14px;
}
.tv-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  white-space:nowrap;
}
@media (max-width:560px){
  .hero h1{
    font-size:36px;
  }
  .tv-testing{
    flex-direction:column;
    align-items:flex-start;
  }
  .tv-link{
    width:100%;
  }
}


/* v4 upgrades */
.player{
  position:relative;
  overflow:hidden;
}
.player::before{
  content:"";
  position:absolute;
  inset:-30% auto auto -10%;
  width:180px;
  height:180px;
  border-radius:999px;
  background:var(--grad);
  filter:blur(60px);
  opacity:.12;
  pointer-events:none;
}
.eq-bars{
  display:flex;
  gap:4px;
  margin-top:8px;
  height:24px;
  align-items:flex-end;
}
.eq-bars span{
  width:4px;
  height:12px;
  background:linear-gradient(180deg,#3bc7ff,#8457ff);
  border-radius:2px;
  animation:eq 1s infinite ease-in-out;
}
.eq-bars span:nth-child(2){animation-delay:.15s}
.eq-bars span:nth-child(3){animation-delay:.3s}
.eq-bars span:nth-child(4){animation-delay:.45s}
.eq-bars span:nth-child(5){animation-delay:.6s}

@keyframes eq{
  0%,100%{height:10px;opacity:.8}
  50%{height:24px;opacity:1}
}

.tv-live{
  margin-top:14px;
  padding:16px 18px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.tv-live-left{
  display:flex;
  align-items:center;
  gap:12px;
}
.tv-live-copy{
  display:grid;
  gap:4px;
}
.tv-live-copy strong{
  font-size:18px;
}
.tv-live-copy span{
  color:var(--muted);
  font-size:14px;
}
.live-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#ff3b3b;
  box-shadow:0 0 10px #ff3b3b,0 0 20px #ff3b3b;
  animation:pulse 1.2s infinite;
}
@keyframes pulse{
  0%{opacity:1; transform:scale(1)}
  50%{opacity:.6; transform:scale(1.3)}
  100%{opacity:1; transform:scale(1)}
}
.tv-live-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  background:var(--grad);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  white-space:nowrap;
  box-shadow:0 12px 28px rgba(0,0,0,.24);
}
@media (max-width:560px){
  .tv-live{
    flex-direction:column;
    align-items:flex-start;
  }
  .tv-live-btn{
    width:100%;
  }
}


/* v5 TV embed + install polish */
.topbar{
  gap:12px;
}
.install-btn{
  box-shadow:0 10px 24px rgba(0,0,0,.24), 0 0 18px rgba(132,87,255,.18);
  white-space:nowrap;
}
.tv-live{
  margin-top:14px;
  padding:16px 18px;
  border-radius:20px;
  display:grid;
  gap:14px;
}
.tv-live-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.tv-live-left{
  display:flex;
  align-items:center;
  gap:12px;
}
.tv-logo{
  width:74px;
  height:74px;
  object-fit:contain;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  padding:4px;
}
.tv-live-copy{
  display:grid;
  gap:5px;
}
.tv-title-row{
  display:flex;
  align-items:center;
  gap:8px;
}
.tv-live-copy strong{
  font-size:19px;
}
.tv-live-copy span{
  color:var(--muted);
  font-size:14px;
}
.live-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#ff3b3b;
  box-shadow:0 0 10px #ff3b3b,0 0 20px #ff3b3b;
  animation:pulse 1.2s infinite;
}
@keyframes pulse{
  0%{opacity:1; transform:scale(1)}
  50%{opacity:.6; transform:scale(1.3)}
  100%{opacity:1; transform:scale(1)}
}
.tv-player-shell{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:#081224;
  aspect-ratio:16/9;
}
.tv-video{
  width:100%;
  height:100%;
  display:block;
  background:#081224;
}
.tv-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(circle at center, rgba(255,255,255,.06), rgba(8,18,36,.92));
}
.tv-overlay-copy{
  display:grid;
  gap:6px;
  text-align:center;
  padding:20px;
}
.tv-overlay-copy strong{
  font-size:20px;
}
.tv-overlay-copy span{
  color:var(--muted);
}
.tv-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.tv-unmute-btn,
.tv-live-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  white-space:nowrap;
}
.tv-unmute-btn{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
}
.tv-live-btn{
  background:var(--grad);
  box-shadow:0 12px 28px rgba(0,0,0,.24);
}
@media (max-width:560px){
  .topbar{
    align-items:flex-start;
  }
  .tv-live-left{
    align-items:flex-start;
  }
  .tv-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .tv-unmute-btn,
  .tv-live-btn{
    width:100%;
  }
}
