:root {
  --navy: #030c2f;
  --indigo: #2b349b;
  --sky: #3197cf;
  --ok: #34d399;
  --warn: #fbbf24;
  --error: #f87171;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
}

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

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--indigo), var(--sky), var(--navy), var(--indigo));
  background-size: 400% 400%;
  animation: gradient 18s ease infinite;
  overflow-x: hidden;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Floating blurred orbs behind the card. */
.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: var(--sky);
  top: -120px;
  left: -100px;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: var(--indigo);
  bottom: -120px;
  right: -80px;
  animation-delay: -7s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--navy);
  top: 40%;
  left: 55%;
  animation-delay: -14s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(60px, -40px) scale(1.1);
  }
  66% {
    transform: translate(-40px, 50px) scale(0.95);
  }
}

.card {
  width: 100%;
  max-width: 560px;
  padding: 2.5rem 2rem;
  text-align: center;
  background: rgba(3, 12, 47, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(3, 12, 47, 0.5);
}

.logo {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 0.6rem 1.2rem;
  font-size: 1.15rem;
  font-weight: 600;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 999px;
}

.pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}

.details div {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

dd {
  margin-top: 0.25rem;
  font-weight: 600;
}

dd.ok {
  color: var(--ok);
}

dd.warn {
  color: var(--warn);
}

dd.error {
  color: var(--error);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.footer {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 480px) {
  .card {
    padding: 2rem 1.25rem;
  }

  .details {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  .orb,
  .pulse {
    animation: none;
  }
}
