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

/* ── Variables ── */
:root {
  --bg: #0a0a0f;
  --bg-glow: #1a1a2e;
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.18);
  --text-primary: #f0f0f5;
  --text-muted: #6b7280;
  --font: 'Space Grotesk', system-ui, sans-serif;
}

/* ── Base ── */
html, body {
  height: 100%;
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

/* ── Noise overlay ── */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 192px 192px;
}

/* ── Layout ── */
.container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 2rem;

  /* Fade-in: starts hidden, JS adds .visible */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.container.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Radial background glow */
.container::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 48%, var(--bg-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── Card ── */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

/* ── Monogram ── */
.monogram {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  position: relative;
}

.monogram::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

/* ── Name ── */
.name {
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-top: 0.75rem;
}

/* ── Tagline ── */
.tagline {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  margin-top: 0.25rem;
}

/* ── Coming Soon badge ── */
.badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Links ── */
.links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(240, 240, 245, 0.1);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.link-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.link-icon:hover,
.link-icon:focus-visible {
  color: var(--text-primary);
  border-color: var(--accent);
  background: var(--accent-glow);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.25);
  outline: none;
}

/* ── No-JS fallback: show container without animation ── */
@media (prefers-reduced-motion: reduce) {
  .container {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
