:root {
  --bg: #0a0a0a;
  --panel: #121212;
  --card: #1a1a1a;
  --text: #f5f5f7;
  --muted: #b3b3b3;
  --accent: #a855f7;
  --accent-2: #8b5cf6;
  --ring: rgba(168, 85, 247, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji",
    "Segoe UI Emoji";
  background: radial-gradient(
      60rem 40rem at 80% -10%,
      rgba(168, 85, 247, 0.08),
      transparent 60%
    ),
    radial-gradient(
      40rem 30rem at -10% 110%,
      rgba(139, 92, 246, 0.06),
      transparent 60%
    ),
    linear-gradient(160deg, #0a0a0a 0%, #1a0f1f 50%, #0a0a0a 100%);
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Animations */
@keyframes cardPopIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  60% {
    opacity: 1;
    transform: scale(1.02) translateY(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes linkFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card */
main {
  width: 100%;
  max-width: 720px;
  text-align: center;
  background: rgba(18, 18, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 40px 24px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  animation: cardPopIn 0.8s ease-out forwards;
}

h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.2px;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

p.lead {
  margin: 0 0 2rem 0;
  color: var(--muted);
  font-size: clamp(15px, 2.2vw, 18px);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.links a {
  opacity: 0;
  transform: translateY(10px);
  animation: linkFadeIn 0.4s ease forwards;
}

.links a:nth-child(1) {
  animation-delay: 0.6s;
}

.links a:nth-child(2) {
  animation-delay: 0.8s;
}

a.link {
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 500;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
  outline: none;
}

a.link::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.25),
    rgba(139, 92, 246, 0.05)
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

a.link:hover {
  transform: translateY(-2px);
  border-color: var(--ring);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.15);
  color: #fff;
}

a.link:hover::before {
  opacity: 1;
}

a.link:focus-visible {
  box-shadow: 0 0 0 4px var(--ring);
}

footer {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.85;
}
