:root {
  color-scheme: dark;
  --boot-bg: #090a09;
  --boot-surface: #141512;
  --boot-line: #30322b;
  --boot-text: #f3f0e8;
  --boot-muted: #96998f;
  --boot-accent: #d9ff57;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body {
  overflow: hidden;
  background: var(--boot-bg);
  color: var(--boot-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
.startup-screen {
  position: fixed;
  z-index: 10000;
  inset: 0;
  min-height: 100%;
  padding: 24px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(217, 255, 87, .09), transparent 22rem),
    var(--boot-bg);
}
.startup-card {
  width: min(390px, 100%);
  padding: 34px 28px;
  display: grid;
  justify-items: center;
  border: 1px solid var(--boot-line);
  border-radius: 22px;
  background: rgba(20, 21, 18, .96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
  text-align: center;
}
.startup-mark {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 255, 87, .58);
  border-radius: 20px;
  background: rgba(217, 255, 87, .09);
  color: var(--boot-accent);
  font: 800 31px/1 Georgia, serif;
  box-shadow: inset 0 0 22px rgba(217, 255, 87, .05);
}
.startup-card p {
  margin: 21px 0 7px;
  color: var(--boot-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.startup-card h1 { margin: 0; font-size: 27px; line-height: 1.1; letter-spacing: -.035em; }
.startup-status {
  margin-top: 24px;
  color: var(--boot-muted);
  font-size: 13px;
}
.startup-status::before {
  width: 8px;
  height: 8px;
  margin-right: 9px;
  display: inline-block;
  border-radius: 50%;
  background: var(--boot-accent);
  box-shadow: 0 0 0 5px rgba(217, 255, 87, .08);
  content: "";
  animation: boot-pulse 1.1s ease-in-out infinite alternate;
}
.startup-retry {
  max-width: 310px;
  margin-top: 24px;
  color: #b9c68d;
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  animation: boot-retry 0s 8s forwards;
}
@keyframes boot-pulse { to { opacity: .3; transform: scale(.76); } }
@keyframes boot-retry { to { opacity: 1; pointer-events: auto; } }
@media (max-width: 520px) {
  .startup-screen { padding: 18px; }
  .startup-card { padding: 30px 22px; border-radius: 18px; }
  .startup-card h1 { font-size: 25px; }
}
