:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #09090b;
  background: #f4f4f5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html, body, #root { min-height: 100%; margin: 0; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.app-shell {
  min-height: 100vh;
  padding: 28px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.92), rgba(255,255,255,0) 42%),
    linear-gradient(180deg, #f7f7f8 0%, #ececef 100%);
}

.phone-frame {
  width: min(100%, 390px);
  padding: 8px;
  border-radius: 38px;
  border: 1px solid #27272a;
  background: #09090b;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.phone-screen {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-radius: 30px;
  background: white;
}

.background-layer,
.background-gradient {
  position: absolute;
  inset: 0;
}

.background-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
  filter: blur(34px);
  opacity: 0.5;
}

.background-gradient {
  background:
    radial-gradient(circle at 50% 5%, rgba(255,255,255,.9), rgba(255,255,255,0) 32%),
    linear-gradient(to bottom, rgba(254,205,211,.62), rgba(228,228,231,.48), rgba(39,39,42,.36));
}

.content-card {
  position: relative;
  z-index: 1;
  padding: 48px 28px 30px;
  text-align: center;
}

.artist-label {
  margin: 0 0 28px;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .22em;
  color: #3f3f46;
}

.cover {
  display: block;
  width: 210px;
  height: 210px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

h1 {
  margin: 22px 0 0;
  font-size: 32px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.subtitle {
  margin: 7px 0 0;
  font-size: 14px;
  color: #3f3f46;
}

.links-card {
  margin-top: 32px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 55px rgba(0,0,0,.22);
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 18px;
  background: white;
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease, background .14s ease;
}

.link-row + .link-row { margin-top: 8px; }
.link-row:active { transform: scale(.985); }
.link-row:hover {
  border-color: rgba(0,0,0,.2);
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.link-row.featured {
  background: #09090b;
  color: white;
  border-color: #09090b;
}

.link-row.featured .icon-badge {
  background: white;
  color: #1DB954;
}

.link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-badge {
  display: flex;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #09090b;
  color: white;
}

.platform-logo { width: 24px; height: 24px; }
.platform-name {
  font-size: 15px;
  font-weight: 780;
  letter-spacing: -0.01em;
}

.platform-action {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  opacity: .86;
}

.footer-note {
  margin: 20px 0 0;
  font-size: 11px;
  color: #3f3f46;
}

.legal-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  font-size: 10px;
  color: #52525b;
}

.legal-links a { text-decoration: underline; text-underline-offset: 3px; }

.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 20;
  width: min(calc(100% - 24px), 520px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(9,9,11,.94);
  color: white;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
}

.consent-banner p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255,255,255,.78);
}

.consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.consent-actions button {
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 9px 12px;
  color: white;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.consent-actions .primary {
  border-color: white;
  background: white;
  color: #09090b;
}

@media (max-width: 480px) {
  .app-shell { padding: 0; }
  .page-header { display: none; }
  .phone-frame {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .phone-screen {
    min-height: 100vh;
    border-radius: 0;
  }
  .content-card { padding: 42px 22px 26px; }
  .cover { width: min(58vw, 220px); height: min(58vw, 220px); }
  .consent-banner {
    bottom: 10px;
    align-items: stretch;
    flex-direction: column;
  }
  .consent-actions { width: 100%; }
  .consent-actions button { flex: 1; }
}

.legal-page {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 42px 22px 110px;
  color: #111113;
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  font-size: 13px;
  font-weight: 800;
  color: #3f3f46;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  color: #71717a;
}

.legal-page h1 {
  margin: 0;
  font-size: clamp(34px, 8vw, 64px);
  line-height: .92;
  letter-spacing: -.06em;
}

.legal-updated {
  margin: 14px 0 34px;
  font-size: 13px;
  color: #52525b;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-content section {
  padding: 22px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 45px rgba(0,0,0,.06);
}

.legal-content h2 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.legal-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #3f3f46;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-panel {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #09090b;
  color: white;
}

.consent-panel p { color: rgba(255,255,255,.78); }
.consent-panel strong { color: white; }
.consent-actions.inline { margin-top: 12px; }

@media (max-width: 480px) {
  .legal-page { padding: 32px 16px 118px; }
  .legal-content section { padding: 18px; border-radius: 18px; }
  .consent-actions.inline { flex-direction: column; }
}

:root {
  --page-bg-1: #f7f7f8;
  --page-bg-2: #ececef;
  --surface: rgba(255,255,255,.94);
  --surface-solid: #ffffff;
  --surface-soft: rgba(255,255,255,.78);
  --text-main: #09090b;
  --text-muted: #3f3f46;
  --text-soft: #52525b;
  --frame-bg: #09090b;
  --frame-border: #27272a;
  --button-main: #09090b;
  --button-main-text: #ffffff;
  --line-soft: rgba(0,0,0,.1);
  --shadow-heavy: rgba(0,0,0,.28);
  --shadow-card: rgba(0,0,0,.22);
  --glow-top: rgba(255,255,255,.92);
  --hero-overlay: rgba(255,255,255,.9);
}

:root[data-theme="dark"] {
  --page-bg-1: #060608;
  --page-bg-2: #15151a;
  --surface: rgba(16,16,20,.9);
  --surface-solid: #101014;
  --surface-soft: rgba(24,24,29,.82);
  --text-main: #f7f7f8;
  --text-muted: #d4d4d8;
  --text-soft: #a1a1aa;
  --frame-bg: #f7f7f8;
  --frame-border: rgba(255,255,255,.22);
  --button-main: #ffffff;
  --button-main-text: #09090b;
  --line-soft: rgba(255,255,255,.12);
  --shadow-heavy: rgba(0,0,0,.58);
  --shadow-card: rgba(0,0,0,.42);
  --glow-top: rgba(255,255,255,.16);
  --hero-overlay: rgba(9,9,11,.72);
}

body {
  color: var(--text-main);
  background: var(--page-bg-2);
}

.app-shell {
  color: var(--text-main);
  background:
    radial-gradient(circle at 50% 0%, var(--glow-top), rgba(255,255,255,0) 42%),
    linear-gradient(180deg, var(--page-bg-1) 0%, var(--page-bg-2) 100%);
  transition: background .28s ease, color .28s ease;
}

.phone-frame {
  border-color: var(--frame-border);
  background: var(--frame-bg);
  box-shadow: 0 30px 80px var(--shadow-heavy);
}

.phone-screen { background: var(--surface-solid); }

.background-gradient {
  background:
    radial-gradient(circle at 50% 5%, var(--hero-overlay), rgba(255,255,255,0) 32%),
    linear-gradient(to bottom, rgba(254,205,211,.58), rgba(228,228,231,.42), rgba(39,39,42,.46));
}

:root[data-theme="dark"] .background-gradient {
  background:
    radial-gradient(circle at 45% 8%, rgba(255,255,255,.16), rgba(255,255,255,0) 30%),
    linear-gradient(to bottom, rgba(9,9,11,.2), rgba(9,9,11,.52), rgba(9,9,11,.88));
}

.artist-label,
.subtitle,
.footer-note,
.legal-links,
.back-link,
.legal-updated,
.legal-content p { color: var(--text-muted); }

.legal-kicker { color: var(--text-soft); }

.links-card,
.legal-content section {
  background: var(--surface);
  box-shadow: 0 22px 55px var(--shadow-card);
}

.link-row {
  border-color: var(--line-soft);
  background: var(--surface-solid);
  color: var(--text-main);
}

.link-row:hover { border-color: color-mix(in srgb, var(--text-main) 24%, transparent); }

.link-row.featured {
  background: var(--button-main);
  color: var(--button-main-text);
  border-color: var(--button-main);
}

.icon-badge,
.consent-panel {
  background: var(--button-main);
  color: var(--button-main-text);
}

.link-row.featured .icon-badge {
  background: var(--button-main-text);
  color: #1DB954;
}

.theme-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 10px 13px;
  background: color-mix(in srgb, var(--surface-solid) 82%, transparent);
  color: var(--text-main);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  backdrop-filter: blur(18px);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .02em;
}

.theme-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--button-main);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--button-main) 14%, transparent);
}

@media (min-width: 900px) {
  .app-shell { padding: 56px 28px; }

  .phone-frame {
    width: min(100%, 1080px);
    padding: 10px;
    border-radius: 34px;
  }

  .phone-screen {
    min-height: 640px;
    border-radius: 26px;
  }

  .background-cover {
    transform: scale(1.08);
    filter: blur(44px);
    opacity: .42;
  }

  .content-card {
    min-height: 640px;
    padding: 64px clamp(64px, 7vw, 112px);
    display: grid;
    grid-template-columns: minmax(280px, 430px) minmax(340px, 1fr);
    grid-template-areas:
      "cover kicker"
      "cover title"
      "cover subtitle"
      "cover links"
      "cover footer"
      "cover legal";
    column-gap: clamp(42px, 7vw, 96px);
    align-content: center;
    align-items: center;
    text-align: left;
  }

  .artist-label {
    grid-area: kicker;
    margin: 0 0 22px;
    font-size: 12px;
  }

  .cover {
    grid-area: cover;
    width: min(36vw, 420px);
    height: min(36vw, 420px);
    border-radius: 30px;
    margin: 0;
    box-shadow: 0 34px 90px rgba(0,0,0,.42);
  }

  h1 {
    grid-area: title;
    margin: 0;
    font-size: clamp(68px, 8vw, 116px);
    line-height: .82;
    letter-spacing: -.065em;
    max-width: 100%;
  }

  .subtitle {
    grid-area: subtitle;
    margin: 18px 0 0;
    font-size: 18px;
  }

  .links-card {
    grid-area: links;
    width: min(100%, 460px);
    margin-top: 40px;
    padding: 14px;
    border-radius: 28px;
  }

  .link-row {
    padding: 18px;
    border-radius: 20px;
  }

  .footer-note {
    grid-area: footer;
    margin-top: 26px;
    font-size: 12px;
  }

  .legal-links {
    grid-area: legal;
    justify-self: start;
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  .theme-toggle {
    top: 10px;
    right: 10px;
    padding: 8px 10px;
    font-size: 11px;
  }
}
