@import url("https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Syne:wght@400;600;700;800&display=swap");

:root {
  --bg: #0a0a0f;
  --bg-card: #10101a;
  --bg-elevated: #16162a;
  --border: rgba(187, 134, 252, 0.15);
  --accent: #bb86fc;
  --accent-dim: rgba(187, 134, 252, 0.12);
  --accent-glow: rgba(187, 134, 252, 0.35);
  --purple: #9b7dff;
  --purple-dim: rgba(155, 125, 255, 0.12);
  --text-primary: #e8e8f0;
  --text-secondary: #7a7a9a;
  --text-muted: #4a4a6a;
  --tag-bg: rgba(155, 125, 255, 0.15);
  --tag-border: rgba(155, 125, 255, 0.3);
  --tag-color: #c4b0ff;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}
strong {
  color: var(--accent, #bb86fc);
  font-weight: 600;
}

body,
html {
  height: 100%;
  font-family: "Syne", sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* Subtle grid background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(187, 134, 252, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(187, 134, 252, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* Tags */
.tag {
  background-color: var(--tag-bg);
  color: var(--tag-color);
  border: 1px solid var(--tag-border);
  display: inline-block;
  cursor: default;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-family: "Space Mono", monospace;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition:
    background var(--transition),
    border-color var(--transition);
}

.tag:hover {
  background-color: rgba(155, 125, 255, 0.25);
  border-color: rgba(155, 125, 255, 0.5);
}

.text-center {
  text-align: center;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
  opacity: 0.4;
}
