:root {
  --bg: #0c0b09;
  --ink: #e8e4da;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
}
 
* { box-sizing: border-box; }
 
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background: var(--bg);
  overflow: hidden;
  color: var(--ink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  cursor: default;
}
 
#stage {
  position: fixed;
  inset: 0;
  background: radial-gradient(120% 120% at 50% 38%, #14110d 0%, #0c0b09 60%, #060504 100%);
}
 
#screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}
 
/* Soft vignette + subtle scanlines for the broadcast feel */
#stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(130% 130% at 50% 50%, transparent 58%, rgba(0,0,0,0.55) 100%),
    repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0 2px, rgba(0,0,0,0.05) 2px 3px);
  mix-blend-mode: multiply;
  z-index: 3;
}
 
/* ---- Song ticker (top-right) ---- */
.ticker {
  position: absolute;
  top: clamp(14px, 3.2vh, 34px);
  right: clamp(14px, 3.2vw, 40px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.55em;
  max-width: min(46vw, 520px);
  padding: 0.5em 0.95em;
  border-radius: 999px;
  background: rgba(8, 7, 6, 0.42);
  border: 1px solid rgba(232, 228, 218, 0.14);
  backdrop-filter: blur(2px);
  font-size: clamp(11px, 1.55vw, 19px);
  letter-spacing: 0.04em;
  color: #f0ece2;
  white-space: nowrap;
  overflow: hidden;
}
.ticker__note { opacity: 0.85; flex: 0 0 auto; }
.ticker__track {
  display: inline-block;
  overflow: hidden;
  text-overflow: clip;
}
 
/* ---- Brand mark (bottom-left) ---- */
.brand {
  position: absolute;
  left: clamp(16px, 3.4vw, 44px);
  bottom: clamp(16px, 3.4vh, 40px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: clamp(12px, 1.6vw, 20px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(240, 236, 226, 0.82);
}
.brand__dot {
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: #e7563f;
  box-shadow: 0 0 0.5em #e7563f;
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}
 
/* ---- Interaction prompt (floats above a prop / Claude) ---- */
.prompt {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -100%);
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.35em 0.7em 0.35em 0.4em;
  border-radius: 999px;
  background: rgba(8, 7, 6, 0.72);
  border: 1px solid rgba(232, 228, 218, 0.18);
  font-size: clamp(11px, 1.5vw, 16px);
  letter-spacing: 0.06em;
  color: #f1ede3;
  white-space: nowrap;
  pointer-events: none;
  animation: bobup 1.8s ease-in-out infinite;
}
.prompt[hidden] { display: none; }
.prompt__key {
  display: inline-grid;
  place-items: center;
  min-width: 1.7em;
  height: 1.7em;
  padding: 0 0.35em;
  border-radius: 0.45em;
  background: #e7563f;
  color: #1a120f;
  font-weight: 700;
}
@keyframes bobup {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -6px; }
}
 
/* ---- Controls hint ---- */
.hint {
  position: absolute;
  right: clamp(16px, 3.4vw, 44px);
  bottom: clamp(16px, 3.4vh, 40px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  text-align: right;
  font-size: clamp(10px, 1.35vw, 15px);
  letter-spacing: 0.08em;
  color: rgba(232, 228, 218, 0.55);
  transition: opacity 0.8s ease;
}
.hint b { color: rgba(240, 236, 226, 0.92); font-weight: 600; }
.hint.is-faded { opacity: 0; }
 
/* ---- Touch controls ---- */
.touch {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 6;
  display: none;
  justify-content: space-between;
  padding: clamp(14px, 4vw, 34px);
  pointer-events: none;
}
.touch.is-on { display: flex; }
.touch__btn {
  pointer-events: auto;
  width: clamp(58px, 16vw, 92px);
  height: clamp(58px, 16vw, 92px);
  border-radius: 50%;
  border: 1px solid rgba(232, 228, 218, 0.2);
  background: rgba(12, 11, 9, 0.55);
  color: #f1ede3;
  font-size: clamp(22px, 6vw, 34px);
  font-family: var(--mono);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}
.touch__btn:active { background: rgba(231, 86, 63, 0.6); }
.touch__btn--act { background: rgba(231, 86, 63, 0.42); }
.touch__group { display: flex; gap: clamp(10px, 3vw, 22px); }
 
/* ---- Enter overlay ---- */
.enter {
  position: fixed;
  inset: 0;
  z-index: 9;
  border: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 5, 4, 0.86);
  color: var(--ink);
  font-family: var(--mono);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity 0.7s ease;
}
.enter__inner { text-align: center; display: grid; gap: 0.7em; }
.enter__title {
  font-size: clamp(34px, 8vw, 92px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-indent: 0.3em;
  color: #f1ede3;
}
.enter__sub {
  font-size: clamp(12px, 2.2vw, 18px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(231, 86, 63, 0.92);
  animation: pulse 2.6s ease-in-out infinite;
}
.enter.is-hidden { opacity: 0; pointer-events: none; }
 
@media (prefers-reduced-motion: reduce) {
  .brand__dot, .enter__sub { animation: none; }
}