/* Gaming.vn — Design tokens */
:root {
  /* base */
  --bg: #0A0A12;
  --bg-2: #10101C;
  --bg-3: #161627;
  --bg-4: #1E1E33;
  --line: #26263F;
  --line-2: #33334F;
  --ink: #F2F2F7;
  --ink-2: #C8C8D6;
  --ink-3: #8B8BA3;
  --ink-4: #5F5F78;

  /* neon accents */
  --neon-purple: #9945FF;
  --neon-cyan: #00E5FF;
  --neon-pink: #FF2E93;
  --neon-yellow: #FFD60A;
  --neon-green: #00FF88;
  --neon-red: #FF3B5C;

  --accent: var(--neon-purple);
  --accent-2: var(--neon-cyan);

  /* type */
  --f-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Inter", -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", "Courier New", monospace;

  /* spacing */
  --gap: 16px;
  --gap-lg: 24px;
  --radius: 4px;
  --radius-lg: 8px;
  --container: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

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

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* utility */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--f-mono); letter-spacing: 0.02em; }
.head { font-family: var(--f-head); font-weight: 700; letter-spacing: -0.01em; line-height: 1.05; text-transform: none; }
.uppercase { text-transform: uppercase; letter-spacing: 0.08em; }

/* placeholder image — striped */
.ph {
  position: relative;
  background: repeating-linear-gradient(135deg, #1a1a2e 0 12px, #141424 12px 24px);
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px;
}

/* chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 8px;
  font-family: var(--f-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 2px;
  background: var(--accent); color: #000;
}
.chip.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }
.chip.live { background: var(--neon-red); color: #fff; }
.chip.live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: pulse 1.2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.cat {
  display: inline-block;
  font-family: var(--f-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.cat.cyan { color: var(--neon-cyan); }
.cat.pink { color: var(--neon-pink); }
.cat.yellow { color: var(--neon-yellow); }
.cat.green { color: var(--neon-green); }

/* hover link */
.hover-accent:hover { color: var(--accent); transition: color 0.15s; }

/* glow */
.glow { box-shadow: 0 0 0 1px var(--line), 0 20px 40px -20px var(--accent); }

/* grid helpers */
.row { display: grid; gap: var(--gap-lg); }

/* Density modifier */
body[data-density="compact"] { --gap: 12px; --gap-lg: 16px; font-size: 13px; }

/* Accent swap */
body[data-accent="purple"] { --accent: #9945FF; --accent-2: #00E5FF; }
body[data-accent="cyan"]   { --accent: #00E5FF; --accent-2: #FF2E93; }
body[data-accent="pink"]   { --accent: #FF2E93; --accent-2: #FFD60A; }
body[data-accent="yellow"] { --accent: #FFD60A; --accent-2: #9945FF; }
body[data-accent="green"]  { --accent: #00FF88; --accent-2: #FF2E93; }
