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

:root {
  --bg: #050c18;
  --bg2: #0a1628;
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.15);
  --cyan-glow: rgba(0, 229, 255, 0.4);
  --text: #c9d8f0;
  --text-dim: #5a7a9a;
}

html, body {
  height: 100%;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 60, 120, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(0, 30, 80, 0.3) 0%, transparent 70%);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.25rem;
}

.container {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

/* ─── Header ─────────────────────────────────────────────── */

.logo {
  display: inline-block;
  width: 56px;
  height: 56px;
  margin-bottom: 1.75rem;
  opacity: 0.85;
}

.logo svg {
  width: 100%;
  height: 100%;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e8f4ff;
  text-shadow:
    0 0 18px var(--cyan-glow),
    0 0 40px rgba(0, 180, 255, 0.2);
  line-height: 1.1;
}

.subtitle {
  margin-top: 0.65rem;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Divider ─────────────────────────────────────────────── */

.divider {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 2.25rem auto;
  border: none;
  box-shadow: 0 0 8px var(--cyan-glow);
}

/* ─── Nav ─────────────────────────────────────────────────── */

nav {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 6px;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(0, 229, 255, 0.22);
  border-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow), inset 0 0 10px rgba(0, 229, 255, 0.08);
  color: #fff;
  outline: none;
}

nav a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* ─── Footer ──────────────────────────────────────────────── */

footer {
  margin-top: 3rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  opacity: 0.6;
}

/* ─── Responsive ──────────────────────────────────────────── */

@media (min-width: 480px) {
  nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
