:root {
  --bg: #020617;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #020617;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
}

.shade {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, transparent 0%, transparent 34%, rgba(2, 6, 23, 0.28) 62%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.36), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.58));
}

.hero-copy {
  position: fixed;
  left: 50%;
  bottom: 44px;
  z-index: 2;
  width: min(760px, calc(100vw - 32px));
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.34);
  color: rgba(226, 232, 240, 0.92);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  box-shadow:
    0 0 28px rgba(56, 189, 248, 0.10),
    inset 0 0 18px rgba(56, 189, 248, 0.05);
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.18);
}

.hero-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow:
    0 0 10px rgba(56, 189, 248, 0.95),
    0 0 20px rgba(56, 189, 248, 0.45);
}

.error-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10;
  display: none;
  width: min(620px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 18px;
  background: rgba(127, 29, 29, 0.88);
  color: #fee2e2;
  transform: translate(-50%, -50%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.error-panel strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.error-panel code {
  color: #fff;
}

@media (max-width: 720px) {
  .hero-copy {
    bottom: 28px;
  }

  .hero-status {
    font-size: 12px;
    padding: 8px 14px;
    letter-spacing: 0.10em;
  }
}
