:root {
  color-scheme: dark;
  --boot-bg: #070f18;
  --boot-bg-2: #0d1722;
  --boot-card: rgba(17, 27, 40, 0.86);
  --boot-border: rgba(255, 255, 255, 0.09);
  --boot-text: #f2f6fb;
  --boot-muted: #afc1d5;
  --boot-accent: #45d3cb;
  --boot-accent-2: #65e4dd;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  background:
    radial-gradient(circle at 10% 8%, rgba(69, 211, 203, 0.2), transparent 32%),
    radial-gradient(circle at 92% 0%, rgba(101, 228, 221, 0.14), transparent 28%),
    linear-gradient(180deg, var(--boot-bg) 0%, var(--boot-bg-2) 100%);
  color: var(--boot-text);
}

a {
  color: inherit;
  text-decoration: none;
}

.boot-root {
  min-height: 100vh;
}

.boot-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 14px;
  position: relative;
  overflow: hidden;
}

.boot-glow {
  position: absolute;
  width: 44vmax;
  height: 44vmax;
  border-radius: 50%;
  filter: blur(66px);
  opacity: 0.28;
  pointer-events: none;
}

.boot-glow-left {
  top: -16vmax;
  left: -8vmax;
  background: var(--boot-accent);
}

.boot-glow-right {
  right: -14vmax;
  bottom: -20vmax;
  background: #2f73ff;
}

.boot-card {
  width: min(700px, 100%);
  border-radius: 26px;
  border: 1px solid var(--boot-border);
  background: var(--boot-card);
  backdrop-filter: blur(12px);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.45);
  padding: 28px;
  position: relative;
  z-index: 1;
}

.boot-badge {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(69, 211, 203, 0.12);
  color: var(--boot-accent-2);
  font-size: 14px;
  font-weight: 700;
}

.boot-title {
  margin: 0 0 10px;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.boot-lead {
  margin: 0;
  color: var(--boot-muted);
  font-size: 17px;
  line-height: 1.65;
}

.boot-pills {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.boot-pills span {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--boot-muted);
  font-size: 13px;
}

.boot-status {
  margin: 22px 0 0;
  color: var(--boot-accent-2);
  font-size: 15px;
  font-weight: 600;
}

.boot-hint {
  margin: 8px 0 0;
  color: #ffd8d8;
  font-size: 14px;
  line-height: 1.5;
}

.boot-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.boot-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 12px;
  border: 1px solid var(--boot-border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.boot-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
}

.boot-button-primary {
  color: #051217;
  background: linear-gradient(135deg, var(--boot-accent) 0%, var(--boot-accent-2) 100%);
  border-color: transparent;
}

.boot-root[data-boot-state="failed"] .boot-card {
  border-color: rgba(255, 95, 95, 0.45);
}

.boot-root[data-boot-state="failed"] .boot-status {
  color: #ffd4d4;
}

.boot-noscript {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
}

.boot-noscript-card {
  width: min(620px, 100%);
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--boot-border);
  background: var(--boot-card);
}

.boot-noscript-card h2 {
  margin: 0 0 10px;
  font-size: 32px;
}

.boot-noscript-card p {
  margin: 0;
  color: var(--boot-muted);
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 680px) {
  .boot-card {
    padding: 20px;
    border-radius: 20px;
  }

  .boot-title {
    font-size: 40px;
  }

  .boot-lead {
    font-size: 16px;
  }

  .boot-pills {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boot-button {
    transition: none;
  }
}
