*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }

body {
  min-height: 100dvh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  background-image: var(--glow);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* K/DA: black, gold, magenta */
.theme-kda {
  --bg: #0b0910;
  --fg: #f6f1ff;
  --muted: #b4a9c9;
  --accent: #e8b94a;
  --accent-2: #d63cff;
  --card: rgba(255, 255, 255, .06);
  --border: rgba(232, 185, 74, .35);
  --glow: radial-gradient(circle at 20% 0%, rgba(214, 60, 255, .28), transparent 55%),
          radial-gradient(circle at 90% 100%, rgba(232, 185, 74, .22), transparent 55%);
}

/* HEARTSTEEL: deep navy, steel, hot pink */
.theme-heartsteel {
  --bg: #0a0d18;
  --fg: #eef2ff;
  --muted: #a3acc9;
  --accent: #ff4f8b;
  --accent-2: #8fa8ff;
  --card: rgba(255, 255, 255, .06);
  --border: rgba(255, 79, 139, .35);
  --glow: radial-gradient(circle at 80% 0%, rgba(255, 79, 139, .26), transparent 55%),
          radial-gradient(circle at 10% 100%, rgba(143, 168, 255, .22), transparent 55%);
}

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}

.title {
  margin: 0;
  font-size: clamp(40px, 13vw, 64px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1;
  text-align: center;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: -8px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.player {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.player iframe { display: block; width: 100%; border: 0; }

.section-label {
  margin: 0 0 -12px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.links { display: flex; flex-direction: column; gap: 10px; }

.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover, .btn:focus-visible { background: rgba(255, 255, 255, .12); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn span { color: var(--muted); font-weight: 400; font-size: 14px; }

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #0b0910;
  border: 0;
}
.btn-primary span { color: rgba(11, 9, 16, .7); }

.tracks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tracks li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 15px;
}
.tracks li span { color: var(--muted); font-size: 13px; white-space: nowrap; }

.footer {
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.footer a { color: var(--fg); }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
