:root {
  --bg: #0b0b10;
  --ink: #f5f4f8;
  --muted: #a7a5b4;
  --panel: rgba(18, 17, 26, 0.72);
  --row: rgba(255, 255, 255, 0.06);
  --row-hover: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.10);
  --accent: #ff3d6e;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- landing ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.backdrop-img { width: 100%; height: 100%; object-fit: cover; }
.backdrop-img.blur { filter: blur(48px) saturate(1.4); transform: scale(1.25); opacity: 0.75; }
.backdrop-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 16, 0.25) 0%, rgba(11, 11, 16, 0.85) 70%, var(--bg) 100%);
}

.card {
  width: min(460px, calc(100% - 32px));
  margin: 32px auto 16px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.cover {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.heading { text-align: center; padding: 18px 4px 6px; }
.heading h1 { margin: 0; font-size: clamp(1.6rem, 6vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.artist { margin: 6px 0 0; font-size: 1.05rem; color: var(--muted); font-weight: 500; }
.tagline {
  display: inline-block; margin: 12px 0 0; padding: 4px 12px;
  border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.video { margin: 14px 0 4px; }
.video-poster, .video iframe {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 0; border-radius: 14px; overflow: hidden; padding: 0;
  background: #000; cursor: pointer;
}
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity .2s; }
.video-poster:hover img { opacity: 1; }
.play-btn {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; padding-left: 4px;
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--accent) 60%, transparent);
  transition: scale .15s;
}
.video-poster:hover .play-btn { scale: 1.08; }
.video-label {
  position: absolute; left: 12px; bottom: 10px;
  font: 600 0.8rem "Outfit", sans-serif; color: #fff;
  background: rgba(0, 0, 0, 0.55); padding: 4px 10px; border-radius: 999px;
}

.links { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.link-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 12px 12px 14px; min-height: 60px;
  border-radius: 14px; background: var(--row);
  text-decoration: none; transition: background .15s, transform .15s;
}
.link-row:hover, .link-row:focus-visible { background: var(--row-hover); transform: translateY(-1px); }
.link-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.link-icon { width: 30px; height: 30px; display: grid; place-items: center; flex: none; }
.link-icon img { width: 26px; height: 26px; filter: invert(1); }
.letter {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); font-weight: 800; font-size: 0.95rem;
}
.link-name { flex: 1; font-weight: 600; font-size: 1.02rem; }
.link-action {
  flex: none; padding: 8px 16px; border-radius: 999px;
  font-weight: 700; font-size: 0.85rem;
  background: var(--accent); color: #fff;
}

/* Desktop: cover + video on the left, title + platform buttons on the right.
   Grid areas only, so the HTML (and phone layout) keeps the order cover, title, video, links. */
@media (min-width: 900px) {
  .card {
    width: min(1040px, calc(100% - 48px));
    margin-top: max(32px, 6vh);
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    /* Only the last row stretches, so the video always sits right under the cover when the links run long. */
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "cover heading"
      "cover links"
      "video links";
    column-gap: 32px;
    align-items: start;
  }
  .cover   { grid-area: cover; }
  .heading { grid-area: heading; text-align: left; padding: 8px 0 18px; }
  .heading h1 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
  .artist  { font-size: 1.2rem; }
  .video   { grid-area: video; margin: 20px 0 0; }
  .links   { grid-area: links; margin: 0; }
  /* No artwork and no video: the title and links fill the full width. */
  .card:not(:has(.cover)):not(:has(.video)) { grid-template-columns: 1fr; width: min(560px, calc(100% - 48px)); }
  .card:not(:has(.cover)):not(:has(.video)) .heading { text-align: center; }
}

.site-footer { text-align: center; padding: 8px 16px 28px; font-size: 0.8rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- home ---------- */
.home-wrap { width: min(960px, calc(100% - 32px)); margin: 48px auto 24px; }
.home-title { font-size: clamp(2rem, 7vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 28px; }
.release-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.release-tile { display: grid; gap: 4px; text-decoration: none; }
.release-tile img, .tile-blank { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--row); transition: transform .2s; }
.release-tile:hover img { transform: translateY(-3px); }
.tile-title { font-weight: 700; margin-top: 8px; }
.tile-artist, .muted { color: var(--muted); }

/* ---------- privacy ---------- */
.prose { width: min(680px, calc(100% - 32px)); margin: 48px auto 16px; line-height: 1.6; color: #dcdbe4; }
.prose h1 { color: var(--ink); font-size: 2rem; }
.prose h2 { color: var(--ink); font-size: 1.15rem; margin-top: 28px; }
.prose code { background: var(--row); padding: 1px 6px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
