:root {
  --bg: #070711;
  --fg: #e9e9ff;
  --muted: rgba(233, 233, 255, 0.78);

  --c-cyan: #19f7ff;
  --c-mag: #ff4fd8;
  --c-mint: #3bffb7;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(255, 79, 216, 0.22), transparent 60%),
    radial-gradient(900px 700px at 10% 30%, rgba(25, 247, 255, 0.14), transparent 60%),
    radial-gradient(1200px 800px at 90% 35%, rgba(59, 255, 183, 0.10), transparent 60%),
    linear-gradient(180deg, #070711, #0a0a1b);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

a {
  color: inherit;
  text-decoration-color: rgba(255, 79, 216, 0.55);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: rgba(25, 247, 255, 0.75);
}

/* HARD REQUIREMENT: actual center (pure CSS) */
.frame {
  /* Fallbacks for older mobile engines */
  min-height: 100vh;
  min-height: 100svh;

  display: grid;
  place-items: center;

  /* Symmetric margins so the centered block never touches edges */
  padding: clamp(16px, 4vh, 48px);
}

.center {
  width: min(900px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  position: relative;
}

/* Decorative ring ("moon") — positioned absolutely so it does not affect layout/centering */
.moon {
  position: absolute;
  width: clamp(150px, 22vw, 220px);
  height: clamp(150px, 22vw, 220px);
  border-radius: 999px;
  left: 66%;
  top: 56px;
  transform: translate(-50%, 0);
  pointer-events: none;
  opacity: 0.9;

  border: 2px solid rgba(255, 79, 216, 0.55);
  box-shadow:
    0 0 0 1px rgba(25, 247, 255, 0.35) inset,
    0 0 32px rgba(255, 79, 216, 0.28),
    0 0 52px rgba(25, 247, 255, 0.18);
}

.moon::before,
.moon::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 999px;
  pointer-events: none;
}

.moon::before {
  border: 1px dashed rgba(25, 247, 255, 0.45);
  opacity: 0.7;
}

.moon::after {
  inset: -28px;
  border: 1px solid rgba(59, 255, 183, 0.18);
  opacity: 0.65;
}

@media (max-width: 520px) {
  .moon {
    left: 72%;
    top: 44px;
    opacity: 0.75;
  }
}

/* Neon logo */
.logo {
  font-weight: 900;
  letter-spacing: 0.06em;
  font-size: clamp(54px, 10vw, 130px);
  line-height: 1;

  /* gradient fill */
  background: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-mag) 55%, var(--c-mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* crisp outline + glow */
  -webkit-text-stroke: 6px rgba(255, 255, 255, 0.06);
  text-shadow:
    0 0 18px rgba(25, 247, 255, 0.22),
    0 0 30px rgba(255, 79, 216, 0.22),
    0 0 60px rgba(25, 247, 255, 0.14);
}

/* fallback if text-stroke unsupported */
@supports not (-webkit-text-stroke: 1px black) {
  .logo {
    text-shadow:
      0 2px 0 rgba(255, 255, 255, 0.06),
      0 0 18px rgba(25, 247, 255, 0.22),
      0 0 30px rgba(255, 79, 216, 0.22),
      0 0 60px rgba(25, 247, 255, 0.14);
  }
}

.tagline {
  margin: 0;
  color: rgba(233, 233, 255, 0.88);
  font-size: clamp(16px, 2.8vw, 18px);
  line-height: 1.6;
  max-width: 42ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: var(--fg);
  font-weight: 800;
  box-shadow:
    0 0 0 1px rgba(25, 247, 255, 0.10) inset,
    0 10px 40px rgba(255, 79, 216, 0.10),
    0 8px 28px rgba(25, 247, 255, 0.08);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 79, 216, 0.35);
}

.sub {
  color: rgba(233, 233, 255, 0.62);
  font-size: 12px;
  letter-spacing: 0.08em;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
