:root {
  color-scheme: dark;
  --panel: rgba(15, 17, 40, 0.88);
  --text: #f5f7ff;
  --muted: #9ea8cd;
  --accent: #6bc3ff;
  --accent-2: #ffb347;
  --border: rgba(255, 255, 255, 0.08);
  --blur: blur(28px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #141736, #05060f 75%);
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1.25rem 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.glow {
  position: absolute;
  width: 50vmax;
  height: 50vmax;
  filter: var(--blur);
  opacity: 0.95;
  mix-blend-mode: screen;
  animation: drift 20s ease-in-out infinite alternate;
}

.glow-one {
  background: radial-gradient(circle, #6bc3ff, transparent 60%);
  top: -10vmax;
  left: -15vmax;
}

.glow-two {
  background: radial-gradient(circle, #ff8c6f, transparent 60%);
  bottom: -25vmax;
  right: -10vmax;
  animation-delay: 5s;
}

.grid {
  position: absolute;
  inset: -40%;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 150px 150px;
  transform: rotate(8deg);
  animation: pulse 12s linear infinite;
}

.card {
  width: min(520px, 100%);
  padding: 3rem;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: 0 35px 60px rgba(6, 7, 18, 0.6);
  margin: 0 auto 2rem;
}

.badge {
  width: 96px;
  height: 96px;
  margin-bottom: 1.75rem;
  border-radius: 30px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(107, 195, 255, 0.25), transparent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.badge svg {
  width: 72px;
  height: 72px;
}

.eyebrow {
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.notice {
  margin: 2rem 0 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.status {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.status strong {
  display: block;
  font-size: 1.25rem;
  margin-top: 0.35rem;
  font-weight: 600;
  word-break: break-word;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0 0.75rem;
}

.btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn.primary {
  background: linear-gradient(130deg, #6bc3ff, #8c6fff);
  color: #0d0e20;
  box-shadow: 0 20px 30px rgba(110, 132, 255, 0.35);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-3px);
}

footer {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ticker {
  width: 100%;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  white-space: nowrap;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 6, 15, 0.92);
  backdrop-filter: blur(16px);
  margin-top: auto;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(30px, -20px, 0) scale(1.05);
  }
}

@keyframes pulse {
  from {
    transform: rotate(8deg) scale(1);
    opacity: 0.4;
  }
  to {
    transform: rotate(12deg) scale(1.08);
    opacity: 0.65;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

@media (max-width: 640px) {
  body {
    padding: 1.75rem 1rem 0;
    align-items: stretch;
  }

  .card {
    padding: 2.4rem 1.6rem;
    border-radius: 22px;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .badge {
    width: 84px;
    height: 84px;
  }

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

  .actions {
    flex-direction: column;
  }

  .ticker {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    padding: 0.85rem 1rem;
  }
}

@media (max-width: 400px) {
  body {
    padding: 1.5rem 0.9rem 0;
  }

  .card {
    padding: 2rem 1.3rem;
  }

  h1 {
    font-size: 1.9rem;
  }

  .ticker {
    display: none;
  }
}
