* {
  box-sizing: border-box;
  font-family: "Courier New", monospace;
}

body {
  margin: 0;
  background: black;
  color: #00ff88;
  height: 100vh;
  overflow: hidden;
}

/* ---------- GLOW ---------- */
.glow {
  text-shadow: 0 0 8px #00ff88;
}

/* ---------- PAGES ---------- */
.page {
  display: none;
  height: 100vh;
  width: 100vw;
}

.page.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* ---------- INTRO ---------- */
.intro-content {
  margin-top: 30vh;
  text-align: center;
  transition: transform 1s ease, opacity 1s ease;
}

.intro-content h1 {
  font-size: 3rem;
  text-shadow: 0 0 12px #00ff88;
}

.intro-content button {
  margin-top: 20px;
  padding: 12px 30px;
  background: black;
  border: 1px solid #00ff88;
  color: #00ff88;
  cursor: pointer;
  box-shadow: 0 0 10px #00ff88;
}

/* scroll away animation */
.intro-content.exit {
  transform: translateY(-200px);
  opacity: 0;
}

/* ---------- FLAT LINE ----------
.flat-line {
  width: 100%;
  height: 2px;
  background: #00ff88;
  box-shadow: 0 0 12px #00ff88;
}*/


/* ---------- PLAYER ---------- */
.top-zone {
  width: 100%;
  padding-top: 40px;
}

canvas {
  width: 100%;
  height: 200px;
}

/* ---------- CONTROL ---------- */
.control-zone {
  margin-top: 60px;
}

#toggleBtn {
  padding: 16px 36px;
  font-size: 18px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

/* off = red */
#toggleBtn.off {
  background: #00ff00;
  color: black;
  box-shadow: 0 0 20px lime;
}

/* on = green */
#toggleBtn.on {
  background: #ff0000;
  color: black;
  box-shadow: 0 0 20px #ff0000;
}

/* ---------- MENU ---------- */
.menu-bar {
  width: 100%;
  display: flex;
  border-top: 1px solid #00ff88;
}

.menu-bar button {
  flex: 1;
  background: black;
  border: none;
  border-right: 1px solid #00ff88;
  color: #00ff88;
  padding: 14px;
  cursor: pointer;
  box-shadow: inset 0 0 8px #00ff88;
text-shadow:
0 0 5px #00ff88, 0 0 10px #00ff88;
}

.menu-bar button:last-child {
  border-right: none;
}

canvas {
  display: block;
  touch-action: none;
}

