/* ---- Neue Haas Display ---- */
@font-face { font-family: 'Neue Haas Display'; src: url('/fonts/NeueHaasDisplayXXThin.woff2') format('woff2'); font-weight: 100; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('/fonts/NeueHaasDisplayXThin.woff2') format('woff2'); font-weight: 200; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('/fonts/NeueHaasDisplayThin.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('/fonts/NeueHaasDisplayLight.woff2') format('woff2'); font-weight: 350; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('/fonts/NeueHaasDisplayRoman.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('/fonts/NeueHaasDisplayMedium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('/fonts/NeueHaasDisplayBold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('/fonts/NeueHaasDisplayBlack.woff2') format('woff2'); font-weight: 900; font-display: swap; }

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
  --bg: #000000;
  --bg-elevated: #0a0a0a;
  --bg-hover: #141414;
  --border: #1a1a1a;
  --text: #ffffff;
  --text-secondary: #888888;
  --text-muted: #444444;
  --brand: #666666;
  --brand-hover: #888888;
  --shadow: 5px 5px 0 #ffffff;
}

@keyframes grow-shadow {
  from { box-shadow: 5px 5px 0 #ffffff; }
  to   { box-shadow: 9px 9px 0 #ffffff; }
}

html {
  background: var(--bg-elevated);
}
body {
  background: var(--bg-elevated);
  color: var(--text);
  font-family: 'Neue Haas Display', 'Helvetica Neue', Helvetica, sans-serif;
  min-height: 100vh;
  overflow: hidden;
  transition: background-color 0.8s ease;
}

/* ---- Shared Header ---- */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 60px;
  background: var(--bg-elevated);
  min-height: 150px;
  flex-shrink: 0;
  transition: background-color 0.8s ease;
}
.app-header-art {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: var(--bg-hover);
  object-fit: cover;
}
.app-header-track { display: flex; align-items: center; gap: 25px; flex: 1; min-width: 0; }
.app-header-track > div { flex: 1; min-width: 0; }
.app-header-name {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  transition: color 0.8s ease;
}
.app-header-name svg { display: block; max-height: 65px; }
.app-header-artist {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: -2px;
  transition: color 0.8s ease;
}

/* ---- Shared Progress Bar ---- */
.progress-track {
  height: 4px;
  background: var(--bg-hover);
  width: 100%;
  flex-shrink: 0;
  transition: background-color 0.8s ease;
}
.progress-fill {
  height: 100%;
  background: var(--brand);
  width: 0%;
  transition: width 1s linear, background-color 0.8s ease;
}

/* ---- Shared Buttons ---- */
.btn-primary {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 22px 65px;
  font-size: 1.75rem;
  border-radius: 0;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.btn-primary:hover { animation: grow-shadow 0.3s ease-out forwards; }

/* ---- Shared Icon Buttons ---- */
.icon-btn {
  width: 65px;
  height: 65px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 2rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow);
  padding: 0;
  line-height: 1;
}
.icon-btn:hover { animation: grow-shadow 0.3s ease-out forwards; }

/* ---- Mobile / Tablet ---- */
@media (max-width: 999px) {
  .app-header { padding: 20px 16px; min-height: 96px; }
  .app-header-art { width: 66px; height: 66px; border-radius: 6px; }
  .app-header-track { gap: 18px; }
  .app-header-name { font-size: 1.8rem; }
  .app-header-name svg { max-height: 42px; }
  .app-header-artist { font-size: 1.2rem; }
  .btn-primary { height: 60px; padding: 0 28px; font-size: 1.7rem; }
  .icon-btn { width: 60px; height: 60px; font-size: 1.95rem; }
}
