:root {
  --bg: #14100c;
  --panel: #1e1812;
  --gold: #c9a45c;
  --gold-soft: #8a744a;
  --text: #efe6d6;
  --muted: #9a8c74;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: radial-gradient(ellipse at 50% -20%, #241c13 0%, var(--bg) 60%);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

main {
  width: min(420px, 100vw);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px calc(24px + env(safe-area-inset-bottom));
  gap: 22px;
}

header { text-align: center; }
h1 { font-size: 26px; letter-spacing: 0.42em; color: var(--gold); font-weight: 400; }
h1 .ia { color: var(--text); font-style: italic; letter-spacing: 0.1em; }
.tagline { font-size: 12.5px; color: var(--muted); font-style: italic; margin-top: 6px; }

.artwork { display: flex; justify-content: center; padding: 8px 0; }
.vinyl {
  width: 190px; height: 190px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #0a0806 28%, transparent 29%),
    repeating-radial-gradient(circle at 50% 50%, #221a10 0 2px, #17110a 2px 4px);
  border: 1px solid #3a2f1e;
  box-shadow: 0 12px 40px rgba(0,0,0,.55), inset 0 0 30px rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center;
}
.vinyl .label {
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, #7d6437 90%);
  border: 2px solid #14100c;
  will-change: transform;
}
.spin { animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.nowplaying { text-align: center; min-height: 58px; }
#title { font-size: 19px; font-weight: 400; color: var(--text); }
#subtitle { font-size: 13px; color: var(--muted); margin-top: 6px; font-style: italic; }

.progress { width: 100%; }
.bar { height: 3px; background: #322818; border-radius: 2px; overflow: hidden; }
.fill { height: 100%; width: 0; background: var(--gold); transition: width .5s linear; }
.times { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; font-family: monospace; }

.controls { display: flex; align-items: center; gap: 26px; margin-top: 4px; }
button {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: transform .12s ease, background .2s;
}
button:active { transform: scale(.94); }
button svg { fill: var(--bg); }

.play {
  width: 84px; height: 84px;
  background: linear-gradient(160deg, var(--gold), var(--gold-soft));
  box-shadow: 0 8px 28px rgba(201,164,92,.28);
}
.play svg { width: 40px; height: 40px; }

.next { width: 52px; height: 52px; border: 1px solid var(--gold-soft); }
.next svg { width: 24px; height: 24px; fill: var(--gold); }

footer { margin-top: auto; font-size: 11.5px; color: var(--muted); font-style: italic; }
