/* ===== BASE TYPOGRAPHY ===== */
html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: Verdana, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #0b0b0b;
  overflow-x: hidden;
}

/* ===== INTERACTIVE GRADIENT LAYER ===== */
.gradient-layer {
  position: fixed;
  top: -30%;
  right: -30%;
  bottom: -30%;
  left: -30%;
  z-index: -1;

  background: radial-gradient(
    circle at var(--x, 50%) var(--y, 20%),
    #e10718 0%,
    #f6bd1e 100%
  );

  transform: translate(var(--px, 0), var(--py, 0));
  transition: background-position 0.15s ease;
  pointer-events: none; /* allows clicks to pass through */
}

/* ===== CONTENT ===== */
main {
  padding: 16px;
  max-width: 800px;
}

h1 {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: -0.03em;
  margin: 0 0 10px 0;
}

h2 {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
}

a:link {
  color: #0000EE;
  text-decoration: underline;
}

a:visited {
  color: #551A8B;
}

a:hover {
  color: #FF0000;
  background-color: #FFFF99;
}

ul {
  margin-left: 20px;
}

a img {
  display: block;
  margin: 6px 0;
}

/* ===== WIP SIGN ===== */
.wip {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 6px;
  background: #ff0000;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  font-size: 12px;
}

/* ===== MUSIC PLAYER ===== */
#music-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 101;
  padding: 10px 14px;
  font-size: 20px;
  border: 2px solid #000;
  border-radius: 50%;
  background: #ffcc00;
  cursor: pointer;
}

#overlay-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 100;
  display: none;
}

#overlay-background.show {
  display: block;
}

#music-player {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  max-width: 90%;
  background-color: #222;
  color: #fff;
  border: 2px solid #000;
  border-radius: 8px;
  display: none;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
  z-index: 101;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#music-player.show {
  display: block;
  opacity: 1;
}

.player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #444;
  padding: 6px 10px;
  font-weight: bold;
  cursor: default;
}