/* music.css
   Roman Ulysses — THE VI EP arcade page. */

:root {
  --bg: #05030a;
  --panel: #0a0612;
  --yellow: #fde047;
  --yellow-strong: #facc15;
  --cyan: #67e8f9;
  --cyan-strong: #22d3ee;
  --red: #f87171;
  --red-strong: #dc2626;
  --rust: #7c2d12;
  --white: #f5f5f5;
  --arcade: "Press Start 2P", ui-monospace, monospace;
  --body: "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  overflow-x: clip;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, p { margin: 0; }

.Arcade {
  position: relative;
  min-height: 100dvh;
  overflow-x: clip;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(30, 58, 138, .35), transparent 55%),
    linear-gradient(180deg, #0b0618 0%, var(--bg) 40%, #12080a 100%);
}

.Arcade, .Arcade .Stat-label, .Arcade .Stat-value, .Hud-player, .Hud-start, .Health-label, .Health-value,
.Days-dial, .Days-label, .Hero-with, .Hero-title, .Release, .Count, .Hero-cta, .Cabinet-tags, .Cabinet-note,
.Tracks-head, .Track, .Tracks-error, .Brief-label, .Continue, .Panel, .Follow, .Footer {
  line-height: 1.4;
}

.Stat-label, .Stat-value, .Hud-player, .Hud-start, .Health-label, .Health-value, .Days-dial, .Days-label,
.Hero-with, .Hero-title, .Release, .Count, .Hero-cta, .Cabinet-tags, .Cabinet-note, .Tracks-head, .Track,
.Tracks-error, .Brief-label, .Continue-title, .Continue-date, .Btn-yes, .Btn-no, .Panel-ready, .Panel-stream,
.Follow h2, .Follow-caret, .Follow-amp, .Footer {
  font-family: var(--arcade);
}

/* ── OVERLAYS ── */

.Scanlines, .Vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.Scanlines {
  z-index: 50;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, .18) 2px, rgba(0, 0, 0, .18) 4px);
  mix-blend-mode: multiply;
  opacity: .45;
}

.Vignette {
  z-index: 40;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, .65) 100%);
}

/* ── HUD ── */

.Hud {
  position: relative;
  z-index: 30;
  border-bottom: 4px solid rgba(250, 204, 21, .8);
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(4px);
}

.Hud-row, .Hud-bars {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
}

.Hud-bars { padding-top: 0; padding-bottom: 12px; }

.Hud-group { display: flex; align-items: center; gap: 12px; }

.Stat { display: flex; flex-direction: column; align-items: center; padding: 0 8px; }

.Stat-label { font-size: 8px; letter-spacing: .1em; color: rgba(103, 232, 249, .9); }

.Stat-value {
  font-size: 14px;
  color: var(--yellow);
  text-shadow: 0 0 8px rgba(250, 204, 21, .7);
  font-variant-numeric: tabular-nums;
}

.Hud-center { display: none; flex-direction: column; align-items: center; }

.Hud-player { font-size: 10px; letter-spacing: .1em; color: var(--red); }

.Hud-start { font-size: 12px; letter-spacing: .2em; color: var(--yellow); }

.Portrait {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  overflow: hidden;
  background: #000;
  border: 2px solid var(--yellow-strong);
  box-shadow: 0 0 12px rgba(250, 204, 21, .5);
}

.Portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.Portrait-cyan { border-color: var(--cyan-strong); box-shadow: 0 0 12px rgba(34, 211, 238, .5); }

.Health { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }

.Health-top { display: flex; align-items: center; gap: 8px; }

.Health-right .Health-top { flex-direction: row-reverse; }

.Health-label {
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--yellow);
  white-space: nowrap;
  text-shadow: 0 0 6px rgba(250, 204, 21, .8);
}

.Health-value { font-size: 10px; color: rgba(255, 255, 255, .9); }

.Health-track {
  position: relative;
  height: 12px;
  overflow: hidden;
  background: #000;
  border: 2px solid rgba(255, 255, 255, .8);
}

.Health-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 6px, rgba(0, 0, 0, .15) 6px, rgba(0, 0, 0, .15) 7px);
}

.Health-fill { height: 100%; }

.Health-green { background: linear-gradient(90deg, #a3e635, #22c55e, #34d399); }

.Health-red { background: linear-gradient(90deg, #dc2626, #f97316, #facc15); }

.Days { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; padding: 0 4px; }

.Days-dial {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 4px solid var(--yellow);
  border-radius: 50%;
  background: linear-gradient(180deg, #1e3a8a, #000);
  box-shadow: 0 0 20px rgba(59, 130, 246, .8);
  color: #a5f3fc;
  font-size: 20px;
  text-shadow: 0 0 10px var(--cyan-strong);
}

.Days-label { margin-top: 4px; font-size: 8px; letter-spacing: .1em; color: #fef08a; }

/* ── HERO ── */

.Hero {
  position: relative;
  min-height: 70dvh;
  display: flex;
  flex-direction: column;
}

.Hero-bg { position: absolute; inset: 0; overflow: hidden; }

.Hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }

.Hero-bg::before, .Hero-bg::after { content: ""; position: absolute; inset: 0; }

.Hero-bg::before { z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent, #000); }

.Hero-bg::after { z-index: 1; background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, .75) 100%); }

.Hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px 40px;
  text-align: center;
}

.Hero-with {
  margin-bottom: 12px;
  font-size: 10px;
  letter-spacing: .35em;
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan-strong);
}

.Hero-title { line-height: 1; font-weight: 400; }

.Hero-artist {
  display: block;
  font-size: 30px;
  letter-spacing: .05em;
  color: var(--yellow);
  text-shadow: 0 4px 0 var(--rust), 0 0 24px rgba(250, 204, 21, .6);
}

.Hero-ep {
  display: block;
  margin-top: 12px;
  font-size: 48px;
  letter-spacing: .03em;
  background: linear-gradient(180deg, #fef08a, #fbbf24, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .25);
  filter: drop-shadow(0 0 18px rgba(250, 204, 21, .55)) drop-shadow(0 4px 0 var(--rust));
}

.Release {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 2px solid var(--yellow-strong);
  background: rgba(0, 0, 0, .7);
  box-shadow: 4px 4px 0 #000;
}

.Release-label { font-size: 10px; letter-spacing: .1em; color: var(--red); }

.Release-date { font-size: 14px; letter-spacing: .1em; }

.Countdown { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

.Count {
  min-width: 4.25rem;
  padding: 8px 12px;
  border: 2px solid rgba(34, 211, 238, .8);
  background: rgba(0, 0, 0, .8);
  box-shadow: 0 0 16px rgba(34, 211, 238, .35);
}

.Count-value {
  font-size: 24px;
  color: #a5f3fc;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px var(--cyan-strong);
}

.Count-label { margin-top: 4px; font-size: 8px; letter-spacing: .1em; color: rgba(253, 224, 71, .9); }

.Hero-cta { margin-top: 24px; font-size: 12px; letter-spacing: .3em; color: var(--yellow); }

/* ── SELECT ── */

.Select {
  position: relative;
  padding: 48px 0;
  background: var(--panel);
  border-top: 4px solid rgba(250, 204, 21, .7);
}

.Select-glow {
  position: absolute;
  inset: 0;
  opacity: .3;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, .25), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(234, 179, 8, .2), transparent 40%);
}

.Select-grid {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  gap: 40px;
  align-items: center;
}

.Cabinet { width: 100%; max-width: 36rem; margin: 0 auto; }

.Cabinet-tags { display: flex; justify-content: space-between; margin-bottom: 12px; padding: 0 4px; }

.Tag-p1 { padding: 4px 8px; border: 1px solid var(--yellow-strong); background: rgba(0, 0, 0, .9); font-size: 9px; letter-spacing: .1em; color: var(--yellow); }

.Tag-new { padding: 4px 8px; border: 2px solid #fff; background: var(--red-strong); box-shadow: 2px 2px 0 #000; font-size: 10px; letter-spacing: .1em; }

.Cabinet-row { display: flex; align-items: center; justify-content: center; gap: 8px; }

.Side-logo { flex-shrink: 0; width: 22%; transition: transform .15s; }

.Side-logo-small { display: flex; justify-content: center; }

.Side-logo-small img { width: 70%; }

.Side-logo:hover, .Panel-side:hover { transform: scale(1.05); }

.Glow-gold { filter: drop-shadow(0 0 12px rgba(250, 204, 21, .45)); }

.Glow-cyan { filter: drop-shadow(0 0 10px rgba(34, 211, 238, .4)); }

.Cover { position: relative; flex: 1; min-width: 0; max-width: 28rem; }

.Cover-halo {
  position: absolute;
  inset: -8px;
  opacity: .7;
  filter: blur(4px);
  background: linear-gradient(135deg, var(--yellow-strong), #3b82f6, #c026d3);
}

.Cover-link {
  position: relative;
  display: block;
  border: 4px solid #fff;
  background: #000;
  box-shadow: 8px 8px 0 #000;
  transition: transform .15s;
}

.Cover-link:hover { transform: scale(1.02); }

.Cabinet-note { margin-top: 16px; text-align: center; font-size: 10px; letter-spacing: .1em; color: rgba(103, 232, 249, .8); }

.Tracks-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(250, 204, 21, .4);
}

.Tracks-head h2 { font-size: 20px; font-weight: 400; letter-spacing: .05em; color: var(--yellow); text-shadow: 0 0 10px rgba(250, 204, 21, .5); }

.Tracks-head span { font-size: 10px; color: rgba(255, 255, 255, .6); }

.Tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }

.Track {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, .15);
  background: rgba(0, 0, 0, .4);
  color: rgba(255, 255, 255, .8);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}

.Track:hover { border-color: rgba(250, 204, 21, .6); background: rgba(250, 204, 21, .05); }

.Track.is-on { border-color: var(--cyan-strong); background: rgba(6, 182, 212, .2); box-shadow: 0 0 16px rgba(34, 211, 238, .35); color: #fff; }

.Track-num { width: 32px; font-size: 12px; color: rgba(234, 179, 8, .8); }

.Track.is-on .Track-num { color: var(--cyan); }

.Track-title { flex: 1; font-size: 12px; letter-spacing: .05em; }

.Track-time { font-size: 10px; color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; }

.Track-state { display: none; font-size: 9px; letter-spacing: .1em; color: rgba(255, 255, 255, .3); }

.Track.is-on .Track-state { color: var(--cyan); }

.Track.is-playing .Track-state { color: #a3e635; }

.Tracks-error { margin-top: 12px; font-size: 9px; letter-spacing: .1em; color: var(--red); }

.Tracks-error[hidden] { display: none; }

.Brief { margin-top: 32px; padding: 16px; border: 2px dashed rgba(250, 204, 21, .5); background: rgba(0, 0, 0, .5); }

.Brief-label { margin-bottom: 8px; font-size: 10px; letter-spacing: .1em; color: var(--yellow); }

.Brief-text { font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .8); }

.Cyan { color: var(--cyan); }

/* ── CONTINUE ── */

.Continue { position: relative; padding: 40px 0; background: #000; border-top: 4px solid var(--red-strong); }

.Continue-inner { max-width: 56rem; margin: 0 auto; padding: 0 16px; text-align: center; }

.Continue-title { margin-bottom: 16px; font-size: 24px; letter-spacing: .1em; color: #ef4444; }

.Continue-date { margin-bottom: 32px; font-size: 12px; letter-spacing: .25em; color: var(--yellow); }

.Continue-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.Btn-yes, .Btn-no { padding: 12px 24px; font-size: 12px; letter-spacing: .1em; border: 2px solid; }

.Btn-yes { background: var(--yellow-strong); color: #000; border-color: #fff; box-shadow: 4px 4px 0 var(--rust); transition: transform .1s, box-shadow .1s; }

.Btn-yes:hover { transform: translateY(1px); box-shadow: 2px 2px 0 var(--rust); }

.Btn-no { background: #000; color: rgba(255, 255, 255, .4); border-color: rgba(255, 255, 255, .3); }

.Panel {
  margin-top: 56px;
  padding: 16px;
  border: 2px solid rgba(250, 204, 21, .6);
  background: rgba(10, 6, 18, .9);
  box-shadow: 6px 6px 0 rgba(124, 45, 18, .7);
}

.Panel-logos { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 28rem; margin: 0 auto; }

.Panel-side { width: 64px; flex-shrink: 0; transition: transform .15s; }

.Panel-side-small { width: 56px; }

.Panel-cover { position: relative; width: 144px; flex-shrink: 0; border: 4px solid #fff; background: #000; box-shadow: 5px 5px 0 #000; }

.Panel-cover::before { content: ""; position: absolute; inset: -4px; border: 1px solid rgba(34, 211, 238, .6); pointer-events: none; }

.Panel-ready { margin-top: 16px; font-size: 9px; letter-spacing: .2em; color: var(--yellow); }

.Panel-stream { margin-top: 8px; font-size: 8px; letter-spacing: .1em; color: rgba(255, 255, 255, .5); }

.Follow { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(250, 204, 21, .3); }

.Follow h2 { font-size: 18px; font-weight: 400; letter-spacing: .1em; color: var(--cyan); text-shadow: 0 0 10px rgba(34, 211, 238, .55); }

.Follow-list { margin-top: 20px; display: grid; gap: 12px; text-align: left; }

.Follow-row { display: flex; flex-direction: column; gap: 12px; }

.Follow-artist { display: flex; align-items: center; gap: 8px; }

.Follow-artist a { display: block; max-width: 9rem; }

.Follow-caret { color: var(--yellow-strong); }

.Follow-services { display: flex; flex-wrap: wrap; gap: 8px; }

.Service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  padding: 0 4px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 2px;
  background: rgba(0, 0, 0, .4);
  transition: transform .15s, border-color .15s, background-color .15s;
}

.Service:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); }

.Service-lime { color: #bef264; }

.Service-cyan { color: var(--cyan); }

.Service-red { color: #fca5a5; }

.Service-white { color: #fff; }

.Service-sky { color: #bae6fd; }

.Follow-amp { margin-top: 20px; text-align: center; font-size: 8px; letter-spacing: .1em; color: rgba(255, 255, 255, .4); }

.Coins { margin-top: 48px; display: flex; justify-content: center; gap: 8px; opacity: .7; }

.Coins span {
  width: 20px;
  height: 20px;
  background: var(--yellow-strong);
  opacity: .85;
  clip-path: polygon(15% 0%, 85% 0%, 100% 35%, 75% 100%, 25% 100%, 0% 35%);
}

.Coins .Coin-alt { clip-path: polygon(20% 0%, 80% 0%, 100% 40%, 70% 100%, 30% 100%, 0% 40%); }

.Footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 9px; letter-spacing: .1em; color: rgba(255, 255, 255, .4); }

/* ── MOTION ── */

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .35; } }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@keyframes pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

.Blink { animation: blink 1.4s linear infinite; }

.Rise { animation: rise .45s ease-out both; }

.Pop { animation: pop .5s ease-out both; }

.Reveal { opacity: 0; transform: translateX(-20px); transition: opacity .5s, transform .5s; }

.Reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .Blink, .Rise, .Pop { animation: none; }
  .Reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── SMALL PHONES ── */

@media (max-width: 480px) {
  .Hud-group { gap: 4px; }
  .Stat { padding: 0 4px; }
  .Stat-value { font-size: 12px; }
  .Hud-bars { gap: 6px; }
  .Health-label { font-size: 7px; letter-spacing: .04em; }
  .Health-value { display: none; }
  .Days-dial { width: 40px; height: 40px; font-size: 16px; }
  .Portrait { width: 32px; height: 32px; }
  .Hero-artist { font-size: 22px; }
  .Hero-ep { font-size: 36px; }
  .Countdown { gap: 6px; }
  .Count { min-width: 0; padding: 8px 6px; }
  .Count-value { font-size: 20px; }
  .Track { gap: 8px; padding: 10px 8px; }
  .Track-num { width: 24px; font-size: 10px; }
  .Track-title { font-size: 10px; }
  .Continue-title { font-size: 20px; }
  .Continue-date { font-size: 10px; letter-spacing: .15em; }
  .Footer { font-size: 8px; line-height: 1.8; }
}

/* ── LARGER SCREENS ── */

@media (min-width: 640px) {
  .Hud-row { padding: 12px 16px; }
  .Hud-bars { gap: 16px; padding: 0 16px 12px; }
  .Hud-group { gap: 24px; }
  .Hud-center { display: flex; }
  .Stat-label { font-size: 10px; }
  .Stat-value { font-size: 18px; }
  .Portrait { width: 56px; height: 56px; }
  .Health-label { font-size: 12px; }
  .Health-track { height: 16px; }
  .Days-dial { width: 64px; height: 64px; font-size: 30px; }
  .Days-label { font-size: 10px; }
  .Hero { min-height: 78dvh; }
  .Hero-content { padding-bottom: 64px; }
  .Hero-with { font-size: 12px; }
  .Hero-artist { font-size: 48px; }
  .Hero-ep { margin-top: 16px; font-size: 72px; }
  .Release { margin-top: 32px; }
  .Release-label { font-size: 12px; }
  .Release-date { font-size: 16px; }
  .Countdown { gap: 12px; }
  .Count { min-width: 5.5rem; padding: 12px 16px; }
  .Count-value { font-size: 36px; }
  .Count-label { font-size: 10px; }
  .Hero-cta { font-size: 14px; }
  .Select { padding: 64px 0; }
  .Cabinet-row { gap: 16px; }
  .Side-logo { width: 112px; }
  .Side-logo-small img { width: 80px; }
  .Tracks-head h2 { font-size: 24px; }
  .Track { gap: 16px; }
  .Track-num, .Track-title { font-size: 14px; }
  .Track-state { display: inline; }
  .Brief-text { font-size: 16px; }
  .Continue { padding: 56px 0; }
  .Continue-title { font-size: 36px; }
  .Continue-date { font-size: 14px; }
  .Btn-yes, .Btn-no { font-size: 14px; }
  .Panel { padding: 24px; }
  .Panel-logos { gap: 20px; }
  .Panel-side { width: 96px; }
  .Panel-side-small { width: 80px; }
  .Panel-cover { width: 176px; }
  .Panel-ready { font-size: 10px; }
  .Follow h2 { font-size: 24px; }
  .Follow-row { flex-direction: row; align-items: center; gap: 20px; }
  .Follow-artist { width: 13rem; flex-shrink: 0; }
  .Follow-artist a { max-width: 11rem; }
  .Coins span { width: 24px; height: 24px; }
  .Footer { font-size: 10px; }
}

@media (min-width: 768px) {
  .Hero-artist { font-size: 60px; }
  .Hero-ep { font-size: 96px; }
}

@media (min-width: 1024px) {
  .Select-grid { grid-template-columns: 1fr 1fr; }
}
