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

html, body {
  min-height: 100%;
  background: #000;
  font-family: 'VT323', monospace;
  color: #eaeaea;
}

.background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.background-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

.back {
  position: fixed;
  top: 16px;
  left: 16px;
  color: #eaeaea;
  background: #000;
  border: 1px solid #eaeaea;
  padding: 4px 12px;
  font-size: 20px;
  text-decoration: none;
  z-index: 20;
}

.back:hover {
  background: #eaeaea;
  color: #000;
}

.page-wrap {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 100px 20px 60px;
}

.mp3-frame {
  position: relative;
  width: min(90vw, 360px);
  aspect-ratio: 1 / 1;
}

.mp3-skin {
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* position de l'écran dans l'image mp3.png, en % -> recalcule si tu
   changes d'image (voir commentaire dans script.js pas nécessaire ici,
   juste ces 4 valeurs) */
.mp3-screen {
  position: absolute;
  left: 30%;
  top: 11%;
  width: 40%;
  height: 44%;
  overflow: hidden;
  background: #000;
}

.mp3-screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.random-btn {
  background: #000;
  color: #eaeaea;
  border: 1px solid #eaeaea;
  padding: 8px 20px;
  font-family: 'VT323', monospace;
  font-size: 22px;
  letter-spacing: 1px;
  cursor: pointer;
}

.random-btn:hover {
  background: #eaeaea;
  color: #000;
}
