:root {
  color-scheme: dark;
  --bg: #040d11;
  --panel: rgba(5, 18, 24, 0.84);
  --border: rgba(15, 171, 202, 0.18);
  --border-hi: rgba(15, 171, 202, 0.45);
  --text: #edf6f8;
  --muted: #5a9aaa;
  --accent: #0fabca;
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
}

/* ── Background ── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15, 171, 202, 0.2) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

body::before {
  content: '';
  position: fixed;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(15, 171, 202, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ── Layout ── */
.page {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem;
}

/* ── Card ── */
.card {
  position: relative;
  width: min(100%, 820px);
  padding: 4.5rem 3.5rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(15, 171, 202, 0.07),
    0 40px 100px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
}

/* ── Corner brackets ── */
.corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
  opacity: 0.65;
}

.corner--tl { top: 14px; left: 14px; border-top-width: 1.5px; border-left-width: 1.5px; border-top-left-radius: 3px; }
.corner--tr { top: 14px; right: 14px; border-top-width: 1.5px; border-right-width: 1.5px; border-top-right-radius: 3px; }
.corner--bl { bottom: 14px; left: 14px; border-bottom-width: 1.5px; border-left-width: 1.5px; border-bottom-left-radius: 3px; }
.corner--br { bottom: 14px; right: 14px; border-bottom-width: 1.5px; border-right-width: 1.5px; border-bottom-right-radius: 3px; }

/* ── Headline ── */
h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  padding-bottom: 0.15em;
  background: linear-gradient(135deg, #ffffff 0%, #c8eef4 45%, #4dc8df 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Divider ── */
.divider {
  margin: 2.25rem auto 0;
  height: 1px;
  width: 55%;
  background: linear-gradient(90deg, transparent, var(--border-hi), transparent);
}

/* ── Message ── */
.message {
  margin-top: 1.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .card {
    padding: 3rem 2rem;
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .divider {
    width: 75%;
  }
}
