/* Shared look for the TV and the phones: late-night neon juice bar. */
:root {
  --bg: #14061f;
  --bg-2: #22093a;
  --panel: #2c0f4a;
  --panel-2: #3a1660;
  --line: rgba(255, 255, 255, 0.12);
  --ink: #fff7ea;
  --ink-dim: rgba(255, 247, 234, 0.62);
  --pink: #ff3d81;
  --yellow: #ffd23f;
  --mint: #3df5c5;
  --violet: #9b6bff;
  --red: #ff5c5c;
  --display: 'Arial Black', 'Segoe UI Black', 'Helvetica Neue', Impact, system-ui, sans-serif;
  --body: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(60vmax 60vmax at 12% -10%, rgba(255, 61, 129, 0.28), transparent 60%),
    radial-gradient(55vmax 55vmax at 105% 110%, rgba(61, 245, 197, 0.16), transparent 60%),
    radial-gradient(40vmax 40vmax at 90% 0%, rgba(155, 107, 255, 0.22), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.display {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
}

.logo {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--yellow);
  text-shadow: 0.06em 0.06em 0 var(--pink), 0.12em 0.12em 0 rgba(0, 0, 0, 0.35);
}

.logo small {
  display: block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.22em;
  letter-spacing: 0.18em;
  color: var(--mint);
  text-shadow: none;
  margin-top: 0.9em;
}

.btn {
  font-family: var(--display);
  text-transform: uppercase;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  padding: 0.75em 1.5em;
  box-shadow: 0 0.28em 0 #a8124a;
  transition: transform 0.08s, box-shadow 0.08s, filter 0.15s;
}

.btn:active {
  transform: translateY(0.2em);
  box-shadow: 0 0.08em 0 #a8124a;
}

.btn:disabled {
  filter: grayscale(0.8) brightness(0.6);
  cursor: not-allowed;
}

.btn.ghost {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--line);
  color: var(--ink-dim);
}

.hidden {
  display: none !important;
}

/* No final keyframe on purpose: the animation settles into the element's own
   transform and opacity, so states like .dim, .win and .sel still show. */
@keyframes pop {
  0% {
    transform: scale(0.85) translateY(12px);
    opacity: 0;
  }
  70% {
    transform: scale(1.03);
  }
}

@keyframes shake {
  20%,
  60% {
    transform: translateX(-8px);
  }
  40%,
  80% {
    transform: translateX(8px);
  }
}
