:root {
  --bg: #0a0d12;
  --bg-soft: #121824;
  --card: rgba(19, 26, 39, 0.88);
  --card-2: rgba(255,255,255,0.04);
  --text: #eef3ff;
  --muted: #9aa7c2;
  --line: rgba(255,255,255,0.08);
  --accent: #ff9d2f;
  --accent-2: #ff5a36;
  --shadow: 0 20px 50px rgba(0,0,0,0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,157,47,0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255,90,54,0.12), transparent 20%),
    linear-gradient(180deg, #090c11 0%, #0c1018 45%, #090c11 100%);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .75rem 1rem; background: #fff; color: #111; border-radius: 12px; }
.skip-link:focus { top: 1rem; }
.topbar { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); background: rgba(10,13,18,.78); border-bottom: 1px solid var(--line); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.brand > span:last-child { display: grid; line-height: 1.2; }
.brand small { color: var(--muted); font-size: .68rem; letter-spacing: .06em; margin-top: 4px; }
.brand-mark { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; color: #111; font-size: .92rem; font-weight: 950; letter-spacing: -.02em; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 14px 28px rgba(255,118,41,.25); }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 650; transition: .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn, .btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 18px; border-radius: 999px; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.btn { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #111; box-shadow: 0 16px 30px rgba(255,118,41,.25); }
.btn-secondary { background: rgba(255,255,255,.05); border-color: var(--line); color: var(--text); }
.btn:hover, .btn-secondary:hover { transform: translateY(-2px); }
.hero { padding: 78px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: stretch; }
.hero-main, .hero-side, .card, .player-card, .lyrics-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-main { padding: 34px; position: relative; overflow: hidden; }
.hero-main::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(255,157,47,.18), transparent 70%); pointer-events: none; }
.eyebrow, .tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(255,157,47,.8); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.045em; max-width: 11ch; margin: 22px 0 18px; }
.accent { color: var(--accent); }
.hero-text { color: var(--muted); font-size: 1.08rem; line-height: 1.75; max-width: 64ch; }
.hero-actions, .download-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 28px; }
.stat-card { padding: 18px; background: var(--card-2); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.stat-card strong { display: block; font-size: 1.35rem; margin-bottom: 4px; }
.stat-card span { color: var(--muted); font-size: .9rem; }
.hero-side { padding: 24px; display: grid; gap: 16px; align-content: start; }
.sdn-panel { min-height: 300px; display: grid; place-items: center; align-content: center; gap: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: radial-gradient(circle at center, rgba(255,157,47,.12), transparent 42%), rgba(255,255,255,.025); text-align: center; overflow: hidden; }
.sdn-symbol { width: 124px; height: 124px; border-radius: 32px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #111; font-size: 2rem; font-weight: 950; letter-spacing: -.06em; box-shadow: 0 18px 40px rgba(255,118,41,.26); }
.equalizer { height: 48px; display: flex; align-items: end; gap: 7px; }
.equalizer i { width: 6px; border-radius: 8px; background: linear-gradient(var(--accent),var(--accent-2)); animation: eq .8s ease-in-out infinite alternate; }
.equalizer i:nth-child(1),.equalizer i:nth-child(6){height:18px}.equalizer i:nth-child(2),.equalizer i:nth-child(8){height:34px}.equalizer i:nth-child(3),.equalizer i:nth-child(7){height:26px}.equalizer i:nth-child(4){height:46px}.equalizer i:nth-child(5),.equalizer i:nth-child(9){height:30px}
.equalizer i:nth-child(2n){animation-delay:-.3s}.equalizer i:nth-child(3n){animation-delay:-.55s}
@keyframes eq { to { height: 12px; opacity: .55; } }
.sdn-panel p { margin: 0; color: var(--muted); line-height: 1.6; }
.sdn-panel strong { color: var(--text); }
.notice { padding: 20px; border-radius: var(--radius-sm); background: linear-gradient(180deg, rgba(255,157,47,.08), rgba(255,255,255,.02)); border: 1px solid var(--line); }
.notice h3 { margin: 12px 0 8px; }
.notice p { margin: 0; color: var(--muted); line-height: 1.65; }
.section { padding: 28px 0; }
.section-last { padding-bottom: 72px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.8rem,3vw,2.8rem); margin: 12px 0 0; }
.section-head p { color: var(--muted); max-width: 55ch; line-height: 1.65; margin: 0; }
.player-card { padding: 26px; }
.track-info { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.track-number { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #111; font-weight: 950; }
.track-info > div { display: grid; gap: 4px; }
.track-info strong { font-size: 1.3rem; }
.track-info span:last-child { color: var(--muted); }
.controls { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.025); }
.play-button { width: 58px; height: 58px; border: 0; border-radius: 50%; cursor: pointer; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 12px 24px rgba(255,118,41,.26); }
.play-button span { display: block; width: 0; height: 0; margin-left: 6px; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 15px solid #111; }
.player-card.is-playing .play-button span { width: 15px; height: 18px; margin: 0 auto; border: 0; border-left: 4px solid #111; border-right: 4px solid #111; }
.timeline { width: 100%; cursor: pointer; accent-color: var(--accent); }
.time-row { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; }
.mute-button { width: 52px; height: 42px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.04); cursor: pointer; font-size: .7rem; font-weight: 900; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.card { padding: 26px; }
.card h2 { margin: 14px 0 12px; font-size: clamp(1.7rem,3vw,2.6rem); line-height: 1.15; }
.card p, .card blockquote { color: var(--muted); line-height: 1.75; }
.quote-card { background: linear-gradient(180deg, rgba(255,157,47,.08), rgba(19,26,39,.88)); }
.quote-card blockquote { margin: 18px 0 0; font-size: 1.18rem; color: var(--text); }
.lyrics-card { overflow: hidden; }
summary { padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-weight: 850; }
summary::-webkit-details-marker { display: none; }
details[open] summary { border-bottom: 1px solid var(--line); }
.lyrics { max-width: 720px; margin: 0 auto; padding: 30px 24px 44px; text-align: center; color: var(--muted); line-height: 1.75; }
.lyrics h3 { color: var(--accent); margin: 28px 0 10px; }
.lyrics h3:first-child { margin-top: 0; }
.lyrics-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer { border-top: 1px solid var(--line); background: rgba(7,9,13,.9); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--muted); }
.footer-inner > div { display: grid; gap: 5px; }
.footer-inner strong { color: var(--text); }
.footer a { color: var(--accent); font-weight: 800; }
@media (max-width: 900px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section-head { align-items: start; flex-direction: column; }
}
@media (max-width: 620px) {
  .brand small, .nav-actions { display: none; }
  .hero { padding-top: 42px; }
  .hero-main, .hero-side, .card, .player-card { padding: 22px; }
  .stats { grid-template-columns: 1fr; }
  .controls { grid-template-columns: auto 1fr; }
  .mute-button { display: none; }
  .footer-inner { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* SDN Playlist 4.0 */
.playlist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: 18px;
  align-items: start;
}

.track-list {
  display: grid;
  gap: 12px;
}

.track-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.track-row:hover {
  transform: translateY(-1px);
  border-color: rgba(255,157,47,.28);
}

.track-row.is-active {
  border-color: rgba(255,157,47,.58);
  background:
    linear-gradient(90deg, rgba(255,157,47,.08), transparent 42%),
    var(--card);
}

.track-row-alt {
  margin-left: 28px;
  border-style: dashed;
  background: rgba(19,26,39,.62);
}

.track-select {
  width: 100%;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  padding: 15px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  text-align: left;
}

.track-select .track-number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: .78rem;
}

.track-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.track-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.02rem;
}

.track-copy small {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
}

.lang-badge {
  display: inline-flex;
  min-width: 34px;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--accent);
  border: 1px solid rgba(255,157,47,.22);
  background: rgba(255,157,47,.08);
}

.track-download {
  min-width: 82px;
  padding: 0 14px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 900;
  border-left: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  transition: color .2s ease, background .2s ease;
}

.track-download:hover {
  color: #111;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.playlist-player {
  position: sticky;
  top: 104px;
}

.now-playing-label {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .12em;
}

.privacy-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .playlist-layout {
    grid-template-columns: 1fr;
  }

  .playlist-player {
    position: static;
    grid-row: 1;
  }
}

@media (max-width: 620px) {
  .track-row {
    grid-template-columns: 1fr;
  }

  .track-select {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .track-meta {
    grid-column: 2;
    justify-content: flex-start;
  }

  .track-download {
    min-height: 44px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .track-row-alt {
    margin-left: 14px;
  }
}
