:root {
  --bg: #f5f5f2;
  --fg: #111;
  --muted: #666;
  --accent: #ff5c5c;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
}

/* === MOVING DITHER LAYER === */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif");
  background-size: 200px 200px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* === LOADING === */
#loading {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
  z-index: 2;
}

.loading-inner {
  text-align: center;
}

.loading-inner h1 {
  font-weight: 400;
  letter-spacing: 0.2em;
}

#enter {
  margin-top: 1.5rem;
  padding: 0.7rem 1.6rem;
  border: 1px solid var(--fg);
  background: transparent;
  font-size: 1rem;
}

/* === APP === */
#app {
  position: relative;
  z-index: 1;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
}

.status {
  color: var(--accent);
}

/* === PLAYER === */
.player {
  display: grid;
  place-items: center;
  padding: 4rem 1rem 3rem;
}

.player button {
  font-size: 1.2rem;
  padding: 0.8rem 2rem;
  border: none;
  background: var(--fg);
  color: var(--bg);
}

.track {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* === PANELS === */
.panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2rem 1.5rem 3rem;
}

.panel h2 {
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.panel ul {
  list-style: none;
  padding: 0;
}

.panel li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

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

.panel a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .panels {
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    margin: 0 auto;
  }
}