:root {
  --bg: #030620;
  --bg-2: #070e36;
  --bg-card: rgba(255, 255, 255, 0.025);
  --accent: #00c8ff;
  --accent-warm: #ffc629;
  --accent-violet: #8b5cf6;
  --text: #dde2f0;
  --text-dim: #7580a0;
  --text-faint: #2e3558;
  --border: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(0, 200, 255, 0.25);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Crimson Pro', serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --radius: 14px;
  --tr: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  cursor: none;
}

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

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s, background 0.2s;
}

.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(0, 200, 255, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--tr), height 0.25s var(--tr), border-color 0.25s, background 0.25s;
}

.cursor-ring.hover {
  width: 52px;
  height: 52px;
  border-color: var(--accent);
  background: rgba(0, 200, 255, 0.06);
}

.cursor-dot.hover {
  transform: translate(-50%, -50%) scale(0);
}

a {
  color: inherit;
  text-decoration: none;
}

.font-mono {
  font-family: var(--font-mono);
}

::selection {
  background: rgba(0, 200, 255, 0.18);
  color: #fff;
}

@media (hover: none) {
  .cursor-dot,
  .cursor-ring { display: none; }
  body { cursor: auto; }
}
