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

:root {
  --bg: #0e1117;
  --bg-soft: #161b22;
  --card: #111827;
  --accent: #f59e0b;
  --accent-2: #22c55e;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --outline: rgba(148, 163, 184, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px circle at 12% 18%, rgba(245, 158, 11, 0.18), transparent 55%),
    radial-gradient(700px circle at 85% 12%, rgba(34, 197, 94, 0.16), transparent 55%),
    radial-gradient(900px circle at 50% 80%, rgba(59, 130, 246, 0.2), transparent 60%),
    linear-gradient(180deg, #0b0f16 0%, #0f172a 100%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.35;
}

.glass {
  background: linear-gradient(130deg, rgba(17, 24, 39, 0.9), rgba(15, 23, 42, 0.75));
  border: 1px solid var(--outline);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.section-title {
  letter-spacing: 0.02em;
}

.badge {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.35);
}

.link-chip {
  border: 1px solid rgba(148, 163, 184, 0.4);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.link-chip:hover {
  border-color: rgba(245, 158, 11, 0.7);
  color: #fbbf24;
}

.input-shell {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.filter-pill {
  border: 1px solid rgba(148, 163, 184, 0.3);
  transition: all 0.2s ease;
}

.filter-pill.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.7);
  color: #fbbf24;
}

.fade-up {
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(10px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.footer-link {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fbbf24;
}

@media (max-width: 640px) {
  .page-bg::after {
    background-size: 26px 26px;
  }
}
