@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --bg: #0c0c0c;
  --text: #ebebeb;
  --muted: #737373;
  --accent: #ff6b35;
  --accent-soft: rgba(255, 107, 53, 0.08);
  --accent-glow: rgba(255, 107, 53, 0.25);
}

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

html, body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* --- Single glow — one bold accent wash --- */
.glow {
  position: fixed;
  width: 60vmax;
  height: 60vmax;
  top: 50%;
  left: 50%;
  translate: -50% -55%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse 10s ease-in-out infinite alternate;
}

@keyframes pulse {
  from { opacity: 0.5; scale: 1; }
  to   { opacity: 0.8; scale: 1.08; }
}

/* --- Layout --- */
.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem;
}

/* --- Header --- */
.header {
  text-align: center;
  animation: enter 600ms ease-out both;
}

.header h1 {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}

.header h1 span {
  color: var(--accent);
}

.tagline {
  margin-top: 1.2rem;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* --- Links --- */
.links {
  display: flex;
  gap: 0.5rem;
  margin-top: 2.5rem;
  animation: enter 600ms 150ms ease-out both;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 250ms, border-color 250ms, background 250ms;
}

.link-pill:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.link-pill svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* --- Animations --- */
@keyframes enter {
  from {
    opacity: 0;
    translate: 0 12px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* --- Responsive --- */
@media (max-width: 480px) {
  .page {
    padding: 1.5rem;
  }

  .links {
    flex-direction: column;
    align-items: center;
  }
}
