:root {
  --bg:     #000000;
  --accent: #C94010;
  --text:   rgba(255,255,255,0.55);
  --dim:    rgba(255,255,255,0.16);
  --radius: 14px;
}

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

html, body {
  width: 100%; height: 100%;
  background: var(--bg);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

#app {
  width: 100%; height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#orb-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}

/* ── corner labels ───────────────────────────────── */
.corner-lbl {
  display: none;
}

#c-tl { top: 13%;    left:  7%; }
#c-tr { top: 13%;    right: 7%; text-align: right; }
#c-bl { bottom: 22%; left:  7%; }
#c-br { bottom: 22%; right: 7%; text-align: right; }

.corner-lbl.hot { color: rgba(255,255,255,0.55); }

/* ── bottom controls ─────────────────────────────── */
#step-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  pointer-events: none;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 0.30em;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 0 28px rgba(201,64,16,0.9), 0 0 60px rgba(201,64,16,0.4);
  opacity: 0;
}
@keyframes step-flash {
  0%   { opacity: 0; }
  18%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { opacity: 0; }
}
#step-indicator.showing {
  animation: step-flash 2.0s ease forwards;
}

#bottom {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: opacity 0.2s, transform 0.15s;
}
button:active { transform: scale(0.96); }

#btn-reset {
  padding: 14px 28px;
  font-size: 11px;
  background: rgba(255,255,255,0.07);
  color: var(--text);
}

/* ── GO screen ───────────────────────────────────── */
#go-screen {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  pointer-events: none;
}
#go-screen.hidden { display: none; }

#go-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

#btn-go {
  pointer-events: all;
  padding: 18px 66px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.38em;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(201,64,16,0.5), 0 0 80px rgba(201,64,16,0.2);
  animation: pulse-go 2.2s ease-in-out infinite;
}

#btn-reset-end {
  pointer-events: all;
  padding: 12px 28px;
  font-size: 11px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.45);
}

@keyframes pulse-go {
  0%,100% { box-shadow: 0 0 40px rgba(201,64,16,0.5), 0 0 80px rgba(201,64,16,0.2); }
  50%      { box-shadow: 0 0 65px rgba(201,64,16,0.9), 0 0 130px rgba(201,64,16,0.4); }
}
