/* Clan Of VTC — base + reset */

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

html, body { margin: 0; padding: 0; }
html { background: var(--bg-1); color-scheme: dark; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--fg-1);
  background: var(--body-bg);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: white; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

/* scrollbars */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 99px;
}
*::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* utilities */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.display {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  font-weight: 400;
}

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

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: var(--fw-600);
}

.halo {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: var(--halo);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  border: 0;
  margin: var(--sp-6) 0;
}

.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.dot.live { background: var(--success); box-shadow: 0 0 0 4px rgba(52,211,153,.22); animate: pulse 1.6s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes ping {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(2.4); opacity: 0; }
}
.ping-wrap { position: relative; display: inline-grid; place-items: center; }
.ping-wrap::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 999px;
  background: var(--accent);
  animation: ping 1.6s cubic-bezier(0,0,.2,1) infinite;
  opacity: .6;
}

.kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  color: var(--fg-2);
  background: var(--surface-2);
}

/* topo background overlay for desert/tactical themes */
.topo-overlay::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, var(--grid-overlay) 0, transparent 1px),
    radial-gradient(circle at 80% 70%, var(--grid-overlay) 0, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: .6;
}

/* shake animation for hero badge */
@keyframes rumble {
  0%,100% { transform: translate(0,0) rotate(-1deg); }
  25% { transform: translate(-1px,1px) rotate(0); }
  75% { transform: translate(1px,-1px) rotate(-2deg); }
}
