* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100vh;
}

body {
  display: grid;
  place-items: center;
  padding: 16px;
  color: #e6e8ee;
  font-family: 'Inter', 'Roboto', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), #0f1115 url('/cover.jpg') center / cover fixed;
}

.card {
  width: 100%;
  max-width: 420px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  border-radius: 12px;
  background: rgba(22, 25, 31, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.overline {
  margin: 8px 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa4b2;
}

h1 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.text {
  margin: 8px 0 0;
  color: #9aa4b2;
}

.version {
  margin: 0;
  font-family: 'JetBrains Mono', 'Cascadia Code', Consolas, monospace;
  font-size: 0.875rem;
  color: #9aa4b2;
  font-variant-numeric: tabular-nums;
}

.progress {
  position: relative;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  border-radius: 4px;
  background: #4f8cff;
  animation: slide 1.4s ease-in-out infinite;
}

@keyframes slide {
  from {
    left: -40%;
  }
  to {
    left: 100%;
  }
}

[data-state='ready'] h1::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3ecf8e;
  box-shadow: 0 0 12px #3ecf8e;
}

[data-state='ready'] .progress,
[data-state='ready'] .text,
[data-state='maintenance'] .progress {
  display: none;
}
