/* NapNet — shared styles.
   Live app look: pure black, white ink, monospaced headings/labels,
   sharp 2px corners, hairline borders. Napster attitude: ON AIR,
   equalizers, monospace track rows, the real fish mark. */

:root {
  --bg: #000000;
  --surface: #0c0c0c;
  --overlay: #141414;
  --raised: #1a1a1a;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.70);
  --ink-3: rgba(255, 255, 255, 0.44);
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.20);
  --line-strong: rgba(255, 255, 255, 0.55);
  --live: #ff2f78;
  --radius: 2px;
  --radius-soft: 8px;
  --maxw: 1120px;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* faint scanlines for the retro feel */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.013) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
}
main, .nav, .footer { position: relative; z-index: 2; }

/* ---- Type ---- */
.mono { font-family: var(--mono); }
.label { font-family: var(--mono); font-weight: 700; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
h1, h2, h3 { font-family: var(--mono); font-weight: 700; margin: 0; }
p { margin: 0 0 1rem; color: var(--ink-2); }
.section .intro { max-width: 540px; }

/* ---- Fish mark (exact app icon vector) ---- */
.fish { display: inline-block; vertical-align: middle; color: var(--ink); }
.fish .b { fill: currentColor; }
.fish .e { fill: #000; }

/* ---- ON AIR + equalizer ---- */
.onair { display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  border: 0.75px solid var(--live); color: var(--live);
  padding: 5px 11px; border-radius: 999px; }
.onair .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 10px var(--live); animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.eq span { width: 3px; background: currentColor; border-radius: 1px; animation: bounce 1s ease-in-out infinite; }
.eq span:nth-child(1){height:40%;animation-delay:-0.9s}
.eq span:nth-child(2){height:90%;animation-delay:-0.5s}
.eq span:nth-child(3){height:60%;animation-delay:-0.2s}
.eq span:nth-child(4){height:100%;animation-delay:-0.7s}
.eq span:nth-child(5){height:50%;animation-delay:-0.3s}
@keyframes bounce { 0%,100%{transform:scaleY(0.35)} 50%{transform:scaleY(1)} }
@media (prefers-reduced-motion: reduce){ .eq span,.onair .dot,.wave{animation:none} }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 30;
  background: rgba(0,0,0,0.70); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 0.75px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--mono);
  font-weight: 700; font-size: 18px; letter-spacing: 0.02em; }
.brand .fish { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; font-family: var(--mono); font-weight: 700;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--radius); cursor: pointer; border: 0.75px solid transparent;
  transition: transform .14s ease, opacity .14s ease, background .14s ease, border-color .14s ease; }
.btn:active { transform: scale(0.985); }
.btn-primary { background: var(--ink); color: #000; }
.btn-primary:hover { opacity: 0.86; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--overlay); border-color: var(--line-strong); }

/* ---- Hero ---- */
.hero { padding: 84px 0 76px; border-bottom: 0.75px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
.hero .chips { display: flex; gap: 12px; align-items: center; margin-bottom: 26px; flex-wrap: wrap; }
.hero h1 { font-size: clamp(42px, 7.6vw, 78px); line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero h1 .u { box-shadow: inset 0 -0.22em 0 var(--live); }
.hero .lede { font-size: clamp(16px, 2vw, 19px); max-width: 480px; color: var(--ink-2); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-art .glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 68%); filter: blur(10px); }
.hero-fish { width: min(300px, 66vw); height: auto; position: relative; }
.hero-art .wave { position: absolute; right: 4%; stroke: var(--live); stroke-width: 3; fill: none;
  stroke-dasharray: 4 8; animation: dash 6s linear infinite; opacity: .9; }
@keyframes dash { to { stroke-dashoffset: -120; } }

/* ---- Sections ---- */
.section { padding: 92px 0; border-bottom: 0.75px solid var(--line); }
.section h2 { font-size: clamp(27px, 4.2vw, 40px); letter-spacing: -0.02em; margin-bottom: 16px; }
.section .intro { margin-bottom: 48px; }
.section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }

/* ---- The 4 real tabs ---- */
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tab { background: var(--surface); border: 0.75px solid var(--line); border-radius: var(--radius-soft);
  padding: 28px 24px; min-height: 216px; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.tab:hover { transform: translateY(-3px); border-color: var(--line-2); background: var(--overlay); }
.tab .ico { width: 28px; height: 28px; color: var(--ink); margin-bottom: 20px; }
.tab .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.tab h3 { font-size: 19px; margin-bottom: 9px; }
.tab p { font-size: 14px; margin: 0; color: var(--ink-2); line-height: 1.55; }

/* ---- Split (detail + phone) ---- */
.split { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: center; }
.split.rev { grid-template-columns: 320px 1fr; }
.feat-list { list-style: none; padding: 0; margin: 26px 0 0; }
.feat-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 0.75px solid var(--line); }
.feat-list li:last-child { border-bottom: 0.75px solid var(--line); }
.feat-list .n { color: var(--live); font-family: var(--mono); font-size: 13px; min-width: 18px; }
.feat-list .t strong { display: block; font-family: var(--mono); font-size: 14px; margin-bottom: 4px; }
.feat-list .t span { font-size: 14px; color: var(--ink-2); }

/* ---- Phone mock ---- */
.phone { width: 300px; margin: 0 auto; border: 1.5px solid var(--line-2); border-radius: 38px;
  padding: 13px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(255,255,255,0.04); }
.phone .screen { border: 0.75px solid var(--line); border-radius: 26px; overflow: hidden; background: #000; }
.ph-bar { display: flex; align-items: center; justify-content: space-between; padding: 11px 18px 8px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.ph-title { font-family: var(--mono); font-weight: 700; font-size: 18px; padding: 8px 18px 2px; }
.ph-sub { font-size: 12px; color: var(--ink-3); padding: 0 18px 14px; }

/* home grid mock */
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 0 14px 14px; }
.ph-grid .cellimg { aspect-ratio: 3/4; border: 0.75px solid var(--line); border-radius: 5px;
  background: repeating-linear-gradient(45deg, #111 0 7px, #0a0a0a 7px 14px); position: relative; }
.ph-grid .cellimg::after { content: "@user"; position: absolute; left: 7px; bottom: 6px;
  font-family: var(--mono); font-size: 8px; color: var(--ink-3); }
.ph-dock { display: flex; justify-content: space-around; padding: 13px 10px; border-top: 0.75px solid var(--line); color: var(--ink-3); }
.ph-dock .d { width: 20px; height: 20px; }
.ph-dock .d.on { color: var(--ink); }

/* music room mock */
.ph-now { padding: 16px 18px; }
.ph-cover { width: 100%; aspect-ratio: 1; border: 0.75px solid var(--line); border-radius: 8px;
  background: radial-gradient(circle at 50% 38%, #1c1c1c, #000 72%); display: flex;
  align-items: center; justify-content: center; margin-bottom: 15px; }
.ph-cover .fish { width: 52px; height: 52px; }
.ph-track { font-family: var(--mono); font-weight: 700; font-size: 15px; }
.ph-artist { font-size: 12px; color: var(--ink-3); margin-bottom: 15px; }
.ph-controls { display: flex; align-items: center; justify-content: center; gap: 24px; color: var(--ink); margin-bottom: 15px; }
.ph-controls .play { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #000;
  display: flex; align-items: center; justify-content: center; font-size: 15px; }
.ph-seg { display: flex; border: 0.75px solid var(--line); border-radius: var(--radius); overflow: hidden; font-family: var(--mono); font-size: 11px; }
.ph-seg div { flex: 1; text-align: center; padding: 8px; color: var(--ink-3); }
.ph-seg div.on { background: var(--raised); color: var(--ink); }
.ph-chat { padding: 12px 0 2px; }
.ph-msg { font-size: 11px; color: var(--ink-2); padding: 4px 0; }
.ph-msg b { font-family: var(--mono); color: var(--ink); }

/* profile mock */
.ph-prof { padding: 16px 18px 6px; }
.ph-id { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.ph-av { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-2);
  background: radial-gradient(circle at 40% 35%, #2a2a2a, #0a0a0a); flex: 0 0 auto; }
.ph-id .name { font-family: var(--mono); font-weight: 700; font-size: 16px; }
.ph-id .space { font-size: 11px; color: var(--ink-3); }
.ph-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-bottom: 10px; }
.ph-stat { border: 0.75px solid var(--line); border-radius: 5px; padding: 9px 4px; text-align: center; }
.ph-stat b { font-family: var(--mono); font-size: 14px; display: block; }
.ph-stat span { font-size: 9px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.ph-note { border: 0.75px solid var(--line); border-radius: 5px; padding: 10px; margin-bottom: 12px; }
.ph-note .h { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--ink-3); margin-bottom: 6px; }
.ph-note .txt { font-size: 12px; color: var(--ink-2); }
.ph-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ph-chip { font-family: var(--mono); font-size: 10px; color: var(--ink-2); border: 0.75px solid var(--line);
  border-radius: 999px; padding: 4px 9px; }

/* ---- Napster-style track list ---- */
.tracklist { border: 0.75px solid var(--line); border-radius: var(--radius-soft); overflow: hidden; }
.trackrow { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 16px; align-items: center;
  padding: 15px 18px; border-top: 0.75px solid var(--line); font-family: var(--mono); font-size: 13px;
  transition: background .14s; }
.trackrow:first-child { border-top: none; }
.trackrow .idx { color: var(--ink-3); }
.trackrow .meta b { font-weight: 700; } .trackrow .meta span { color: var(--ink-3); }
.trackrow .who { color: var(--ink-3); font-size: 12px; }
.trackrow:hover { background: var(--surface); }

/* ---- Coming soon tiles ---- */
.soon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.soon { background: var(--surface); border: 0.75px solid var(--line); border-radius: var(--radius-soft);
  padding: 30px 28px; transition: border-color .16s, transform .16s; }
.soon:hover { border-color: var(--line-2); transform: translateY(-3px); }
.soon .badge { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3); border: 0.75px solid var(--line-2); padding: 3px 9px; border-radius: 999px; margin-bottom: 18px; }
.soon h3 { font-size: 20px; margin-bottom: 8px; }
.soon p { font-size: 14px; margin: 0; color: var(--ink-2); }

/* ---- Legal/prose ---- */
.prose { padding: 60px 0 84px; }
.prose .back { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.panel { margin-top: 32px; background: var(--surface); border: 0.75px solid var(--line); border-radius: var(--radius-soft); padding: 34px clamp(22px,5vw,46px); }

/* ---- Footer ---- */
.footer { padding: 52px 0; border-top: 0.75px solid var(--line); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 30px; align-items: center; justify-content: space-between; }
.footer .brand { margin-right: auto; }
.footer .links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); transition: color .15s; }
.footer a:hover { color: var(--ink); }
.footer .copy { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; }
  .tabs { grid-template-columns: 1fr 1fr; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 40px; }
  .split .phone, .split.rev .phone { order: -1; }
  .section { padding: 72px 0; }
}
@media (max-width: 760px) { .nav-links { display: none; } }
@media (max-width: 460px) {
  .tabs { grid-template-columns: 1fr; }
  .soon-grid { grid-template-columns: 1fr; }
  .trackrow { grid-template-columns: 22px 1fr auto; }
  .trackrow .who { display: none; }
}
