:root {
  --bg: #090e14;
  --bg2: #0d1520;
  --accent: #38bdf8;
  --accent2: #0ea5e9;
  --accent-dim: #0c4a6e;
  --glow: rgba(56, 189, 248, 0.18);
  --glow2: rgba(56, 189, 248, 0.06);
  --text: #e2f4ff;
  --muted: #6b98b8;
  --border: rgba(56, 189, 248, 0.14);
  --font-head: 'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  overflow-x: hidden;
}

/* ── GRID BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 20%,
    transparent 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* ── GLOW ORB ── */
body::after {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 600px;
  background: radial-gradient(
    ellipse at center,
    rgba(56, 189, 248, 0.12) 0%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.08);
  }
}

/* ── WRAPPER ── */
.wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  gap: 0;
}

/* ── TOP TAG ── */
.top-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s forwards;
}

/* ── HEADLINE ── */
h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  max-width: 760px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #e2f4ff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeUp 0.7s 0.25s forwards;
}

/* ── CARD ── */
.card {
  margin-top: 40px;
  background: linear-gradient(
    160deg,
    rgba(13, 21, 32, 0.95),
    rgba(9, 14, 20, 0.98)
  );
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
  max-width: 560px;
  width: 100%;
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.04),
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 60px var(--glow2);
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}

.card p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: #9ec8df;
  letter-spacing: 0.01em;
}

.card p strong {
  color: var(--text);
  font-weight: 500;
}

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 7px 14px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.25);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ── DIVIDER ── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

/* ── LINKS ── */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  opacity: 0;
  animation: fadeUp 0.7s 0.55s forwards;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(56, 189, 248, 0.04);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.22s ease;
  cursor: pointer;
}

.link-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: currentColor;
}

.link-btn:hover {
  border-color: var(--accent2);
  color: var(--accent);
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.1);
  transform: translateY(-1px);
}

/* ── FOOTER ── */
footer {
  margin-top: 48px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  opacity: 0;
  animation: fadeUp 0.7s 0.7s forwards;
}

footer span {
  color: var(--accent);
}

/* ── ANIMATION ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── CORNER ACCENTS ── */
.corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.5;
}
.corner.tl {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
  border-radius: 4px 0 0 0;
}
.corner.tr {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
  border-radius: 0 4px 0 0;
}
.corner.bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 1px 1px;
  border-radius: 0 0 0 4px;
}
.corner.br {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0;
  border-radius: 0 0 4px 0;
}

.card-wrap {
  position: relative;
}

/* ── RESPONSIVE ── */
@media (max-width: 560px) {
  .card {
    padding: 28px 22px;
  }
  .links {
    gap: 8px;
  }
  .link-btn {
    font-size: 12px;
    padding: 8px 12px;
  }
}
