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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #05070f;
  font-family: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, monospace;
}

#scene {
  position: fixed;
  inset: 0;
  display: block;
}

#ui {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  padding: 24px 16px 32px;
}

#scoreboard {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #eafcff;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(0, 255, 240, 0.5);
}

#scoreboard .score { font-weight: 700; }
#scoreboard .vs { opacity: 0.5; font-size: 0.85rem; }

#banner {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  min-height: 2.2em;
  text-shadow: 0 0 18px rgba(255, 0, 228, 0.6), 0 0 4px #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#banner.show {
  opacity: 1;
  transform: translateY(0);
}

#choices {
  display: flex;
  gap: 22px;
  pointer-events: auto;
}

.choice {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 240, 0.4);
  background: rgba(10, 14, 26, 0.75);
  backdrop-filter: blur(6px);
  font-size: 30px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 16px rgba(0, 255, 240, 0.12);
}

.choice:hover {
  transform: translateY(-4px) scale(1.06);
  border-color: #00fff0;
  box-shadow: 0 0 22px rgba(0, 255, 240, 0.45);
}

.choice:active { transform: translateY(-1px) scale(0.98); }

.choice:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
  box-shadow: none;
}

#lobby {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(5, 7, 15, 0.92);
  backdrop-filter: blur(8px);
  color: #eafcff;
  text-align: center;
  padding: 24px;
}

#lobby h1 {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-shadow: 0 0 18px rgba(0, 255, 240, 0.5);
}

#lobby .sub { opacity: 0.6; font-size: 0.9rem; margin-bottom: 10px; }
#lobby .divider { opacity: 0.4; font-size: 0.8rem; letter-spacing: 0.1em; }

#lobby button {
  padding: 12px 28px;
  border-radius: 10px;
  border: 2px solid rgba(0, 255, 240, 0.4);
  background: rgba(10, 14, 26, 0.75);
  color: #eafcff;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

#lobby button:hover {
  transform: translateY(-2px);
  border-color: #00fff0;
  box-shadow: 0 0 22px rgba(0, 255, 240, 0.35);
}

.join-row { display: flex; gap: 8px; }

#joinCode {
  width: 100px;
  padding: 12px;
  border-radius: 10px;
  border: 2px solid rgba(255, 0, 228, 0.4);
  background: rgba(10, 14, 26, 0.75);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

#lobbyStatus {
  min-height: 1.4em;
  font-size: 0.95rem;
  opacity: 0.85;
}

#lobbyStatus strong {
  color: #00fff0;
  letter-spacing: 0.2em;
  font-size: 1.2rem;
}

@media (max-width: 480px) {
  .choice { width: 56px; height: 56px; font-size: 24px; }
  #banner { font-size: 1.25rem; }
  #scoreboard { font-size: 0.95rem; }
}
