:root {
  color-scheme: dark;
  --bg: #070a14;
  --primary: #5ef7ff;
  --secondary: #8f6cff;
  --text: #f4f7ff;
  --muted: #9aa4c6;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(circle at 20% 10%, #121c3f 0%, transparent 35%),
    radial-gradient(circle at 80% 80%, #291560 0%, transparent 38%),
    var(--bg);
  color: var(--text);
  overflow: hidden;
}

#starfield {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.aurora {
  position: fixed;
  width: 48vmax;
  height: 48vmax;
  filter: blur(64px);
  opacity: 0.45;
  z-index: 1;
  animation: float 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.aurora-left {
  top: -14vmax;
  left: -12vmax;
  background: radial-gradient(circle at 30% 40%, #53d6ff 0%, #1a9aff 40%, transparent 72%);
}

.aurora-right {
  right: -10vmax;
  bottom: -16vmax;
  background: radial-gradient(circle at 70% 40%, #7c53ff 0%, #c05dff 35%, transparent 72%);
  animation-delay: 1.8s;
}

.shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.card {
  width: min(920px, 94vw);
  padding: 2.1rem;
  border: 1px solid rgba(155, 167, 255, 0.25);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(19, 26, 52, 0.82), rgba(14, 18, 38, 0.6));
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 70px rgba(19, 20, 40, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: #b3e8ff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #53ffca;
  box-shadow: 0 0 12px #53ffca;
}

.title {
  margin: 0.95rem 0 0;
  line-height: 1.12;
  font-size: clamp(1.85rem, 4.2vw, 3.5rem);
  font-weight: 800;
}

.title span {
  background: linear-gradient(90deg, var(--primary), #86b4ff, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.18rem);
}

.meta {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.meta-item {
  border: 1px solid rgba(154, 168, 255, 0.22);
  border-radius: 15px;
  padding: 0.95rem;
  background: rgba(12, 18, 38, 0.48);
}

.meta-label {
  display: block;
  font-size: 0.82rem;
  color: #92a2d9;
  margin-bottom: 0.2rem;
}

.meta-item strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.ok {
  color: #6bffd7;
}

.actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid rgba(99, 222, 255, 0.35);
  color: #08101f;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.76rem 1.35rem;
  text-decoration: none;
  background: linear-gradient(90deg, #74f4ff, #a39aff);
  box-shadow: 0 10px 24px rgba(83, 140, 255, 0.38);
  transition: transform 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(83, 140, 255, 0.46);
}

.btn.ghost {
  color: #dbe5ff;
  background: rgba(14, 22, 40, 0.7);
  border-color: rgba(159, 183, 255, 0.38);
  box-shadow: none;
}

.hint {
  margin: 1rem 0 0;
  color: #93a2ce;
  font-size: 0.9rem;
}

body.burst .card {
  animation: pulse 860ms ease;
}

body.burst .aurora {
  filter: blur(74px) saturate(1.45);
  opacity: 0.62;
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(4vmax, -2vmax, 0) scale(1.14);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 rgba(122, 200, 255, 0);
  }
  35% {
    box-shadow: 0 0 50px rgba(122, 200, 255, 0.33);
  }
  100% {
    box-shadow: 0 20px 70px rgba(19, 20, 40, 0.5);
  }
}

@media (max-width: 760px) {
  .card {
    padding: 1.35rem;
  }

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