/* ================================================================
   MASJUEGOS — Sistema de diseño Gamer
   Paleta Neon: Cyan + Púrpura sobre fondo oscuro profundo
   Bootstrap 5.3 override + componentes custom
   ================================================================ */

/* ── Paleta & Variables ──────────────────────────────────────── */
:root {
  --bg-base:        #080810;
  --bg-surface:     #10101e;
  --bg-elevated:    #1c1c30;
  --bg-border:      #2e2e50;
  --neon-cyan:      #00e5ff;
  --neon-purple:    #c800ff;
  --neon-green:     #00ff99;
  --neon-red:       #ff2d55;
  --neon-yellow:    #ffe000;
  --text-primary:   #eeeeff;
  --text-secondary: #7777aa;
  --text-muted:     #44445a;
  --grad-primary:   linear-gradient(135deg, #00e5ff 0%, #c800ff 100%);
  --grad-hero:      linear-gradient(135deg, #080810 0%, #0d0b1e 60%, #130820 100%);
  --grad-card:      linear-gradient(180deg, #1c1c30 0%, #10101e 100%);
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;
  --shadow-neon:    0 0 24px rgba(0, 229, 255, .22);
  --shadow-card:    0 8px 32px rgba(0, 0, 0, .6);
  --trans:          .2s ease;
  --font-display:   'Rajdhani', sans-serif;
  --font-body:      'Nunito', sans-serif;
}

/* ── Reset Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Bootstrap overrides ────────────────────────────────────── */
.text-accent   { color: var(--neon-cyan) !important; }
.text-purple   { color: var(--neon-purple) !important; }
.text-neon-green { color: var(--neon-green) !important; }
.bg-surface    { background: var(--bg-surface) !important; }
.bg-elevated   { background: var(--bg-elevated) !important; }

.btn-neon {
  background: var(--grad-primary);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: .5px;
  border: none;
  border-radius: 50px;
  padding: .55rem 1.5rem;
  transition: filter var(--trans), transform var(--trans), box-shadow var(--trans);
  box-shadow: 0 4px 20px rgba(0, 229, 255, .35);
}
.btn-neon:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 229, 255, .55);
  color: #000;
}
.btn-neon:active { transform: translateY(0); }

.btn-outline-neon {
  background: transparent;
  color: var(--neon-cyan);
  border: 1.5px solid var(--neon-cyan);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 50px;
  padding: .5rem 1.4rem;
  transition: all var(--trans);
}
.btn-outline-neon:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: var(--shadow-neon);
}

.badge-gamer {
  background: var(--bg-elevated);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  padding: .3rem .8rem;
  border-radius: 50px;
  letter-spacing: .3px;
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar-gamer {
  background: rgba(8, 8, 16, .97);
  border-bottom: 1px solid var(--bg-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: .6rem 0;
  box-shadow: 0 2px 24px rgba(0, 0, 0, .5);
}

.logo-gamer {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.logo-icon { font-size: 1.4rem; }
.logo-accent {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.search-gamer {
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1.5px solid var(--bg-border);
  border-radius: 50px;
  padding: .38rem 1rem;
  gap: .5rem;
  width: 100%;
  max-width: 380px;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.search-gamer:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .12);
}
.search-gamer-icon { color: var(--text-secondary); font-size: .95rem; flex-shrink: 0; }
.search-gamer-input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: .9rem;
  width: 100%;
}
.search-gamer-input::placeholder { color: var(--text-secondary); }
.search-gamer-clear {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  font-size: .8rem;
  line-height: 1;
  transition: color var(--trans);
}
.search-gamer-clear:hover { color: var(--neon-red); }

.nav-link-gamer {
  color: var(--text-secondary) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .3px;
  padding: .4rem .75rem !important;
  border-radius: var(--radius-sm);
  transition: color var(--trans), background var(--trans);
}
.nav-link-gamer:hover,
.nav-link-gamer.active-link {
  color: var(--neon-cyan) !important;
  background: rgba(0, 229, 255, .08);
}

.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(0, 229, 255, .25); }

/* ── AdSense ─────────────────────────────────────────────────── */
.adsense-box {
  background: var(--bg-surface);
  border: 1px dashed var(--bg-border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
}
.adsense-leaderboard { width: 100%; min-height: 90px; }
.adsense-sidebar     { width: 100%; min-height: 250px; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero-gamer {
  background: var(--grad-hero);
  border-bottom: 1px solid var(--bg-border);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
/* Glow decorativo */
.hero-gamer::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, .07) 0%, transparent 70%);
  top: -200px; left: -100px;
  pointer-events: none;
}
.hero-gamer::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 0, 255, .06) 0%, transparent 70%);
  bottom: -150px; right: -50px;
  pointer-events: none;
}
/* Partículas decorativas */
.hero-particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-particles span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--neon-cyan);
  opacity: .3;
  animation: particle-float 8s infinite;
}
.hero-particles span:nth-child(1)  { top: 20%; left: 10%; animation-delay: 0s;   opacity: .4; }
.hero-particles span:nth-child(2)  { top: 60%; left: 20%; animation-delay: 1.5s; width: 2px; height: 2px; background: var(--neon-purple); }
.hero-particles span:nth-child(3)  { top: 30%; left: 75%; animation-delay: 3s; }
.hero-particles span:nth-child(4)  { top: 70%; left: 85%; animation-delay: 4.5s; background: var(--neon-purple); }
.hero-particles span:nth-child(5)  { top: 10%; left: 50%; animation-delay: 2s;   width: 2px; height: 2px; }
.hero-particles span:nth-child(6)  { top: 80%; left: 40%; animation-delay: 6s;   background: var(--neon-green); }
.hero-particles span:nth-child(7)  { top: 45%; left: 5%;  animation-delay: .7s; }
.hero-particles span:nth-child(8)  { top: 15%; left: 90%; animation-delay: 3.5s; background: var(--neon-yellow); width: 2px; height: 2px; }
@keyframes particle-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: .3; }
  50%       { transform: translateY(-18px) scale(1.4); opacity: .7; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(0, 229, 255, .1);
  border: 1px solid rgba(0, 229, 255, .3);
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: 50px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: .75rem;
}
.text-neon {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  color: var(--text-secondary);
  font-size: .7em;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
}
.hero-desc { color: var(--text-secondary); font-size: 1rem; max-width: 460px; margin-bottom: 1.5rem; }

/* Stat chips */
.stat-chip {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: .6rem 1.1rem;
  text-align: center;
  min-width: 80px;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.stat-chip:hover { border-color: var(--neon-cyan); box-shadow: 0 0 12px rgba(0,229,255,.15); }
.stat-chip-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-chip-label { font-size: .72rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .5px; }

/* Hero featured game card */
.hero-game-card {
  background: var(--bg-elevated);
  border: 1.5px solid var(--bg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  display: block;
}
.hero-game-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 40px rgba(0, 229, 255, .25);
}
.hero-game-card img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.hero-game-card-body {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  background: rgba(28, 28, 48, .95);
}
.hero-game-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
}
.hero-game-card-cat {
  font-size: .75rem;
  color: var(--text-secondary);
  margin-top: .15rem;
}
.hero-game-label {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--neon-yellow);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .5px;
  padding: .2rem .75rem;
  border-radius: 50px;
  text-transform: uppercase;
}

/* ── Cat strip ───────────────────────────────────────────────── */
.cat-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--bg-border);
  padding: .75rem 0;
  position: sticky;
  top: 62px;
  z-index: 90;
}
.cat-pills-scroll {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.cat-pills-scroll::-webkit-scrollbar { display: none; }
.cat-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem 1.1rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .3px;
  border: 1.5px solid var(--bg-border);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--trans);
  white-space: nowrap;
  flex-shrink: 0;
}
.cat-pill-btn:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(0, 229, 255, .08);
}
.cat-pill-btn.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: #000;
  box-shadow: 0 4px 16px rgba(0, 229, 255, .35);
}

/* ── Section titles ──────────────────────────────────────────── */
.section-title-gamer {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.section-title-gamer::before {
  content: '';
  display: block;
  width: 4px; height: 1.2em;
  background: var(--grad-primary);
  border-radius: 4px;
}

/* ── Game Card ───────────────────────────────────────────────── */
.game-card {
  background: var(--grad-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 28px rgba(0, 229, 255, .2);
}
.game-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-elevated);
}
.game-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.game-card:hover .game-card-thumb img { transform: scale(1.07); }

.game-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--trans);
}
.game-card:hover .game-card-overlay { opacity: 1; }
.play-circle {
  width: 52px; height: 52px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: #000;
  box-shadow: 0 0 24px rgba(0, 229, 255, .6);
}

.badge-new {
  position: absolute; top: 8px; left: 8px;
  background: var(--neon-green);
  color: #000;
  font-family: var(--font-display);
  font-size: .65rem; font-weight: 700;
  padding: .15rem .65rem;
  border-radius: 50px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.badge-hot {
  position: absolute; top: 8px; right: 8px;
  background: var(--neon-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: .65rem; font-weight: 700;
  padding: .15rem .65rem;
  border-radius: 50px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.game-card-body {
  padding: .85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.game-cat-badge {
  font-size: .68rem;
  font-weight: 700;
  font-family: var(--font-display);
  padding: .15rem .7rem;
  border-radius: 50px;
  color: #000;
  align-self: flex-start;
  letter-spacing: .3px;
}
.game-card-title {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  flex: 1;
  margin: 0;
}
.game-card-players {
  font-size: .73rem;
  color: var(--text-secondary);
}
.btn-play-card {
  margin-top: .5rem;
  background: var(--grad-primary);
  border: none;
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  padding: .5rem;
  border-radius: var(--radius-sm);
  width: 100%;
  cursor: pointer;
  transition: filter var(--trans), box-shadow var(--trans);
  letter-spacing: .3px;
}
.btn-play-card:hover {
  filter: brightness(1.15);
  box-shadow: 0 4px 16px rgba(0,229,255,.4);
}

.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar-card-gamer {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin-bottom: 1.1rem;
  position: relative;
  overflow: hidden;
}
.sidebar-promo { border-color: rgba(200,0,255,.35); }
.sidebar-promo .promo-glow {
  position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,0,255,.18) 0%, transparent 70%);
  pointer-events: none;
}
.sidebar-title-gamer {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: .85rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* Top games list */
.top-game-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .5rem;
  border-radius: var(--radius-sm);
  transition: background var(--trans);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.top-game-item:hover { background: var(--bg-elevated); }
.top-game-item img {
  width: 54px; height: 36px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid var(--bg-border);
}
.top-game-item-title {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  flex: 1;
}
.top-game-item-cat {
  font-size: .7rem;
  color: var(--text-secondary);
}
.top-rank {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

/* ── Content layout ──────────────────────────────────────────── */
.main-content { padding: 1.5rem 0 2rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer-gamer {
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-border);
  padding: 3rem 0 0;
  margin-top: 3rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .5rem;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neon-cyan);
  margin-bottom: .85rem;
}
.footer-list {
  list-style: none;
  padding: 0; margin: 0;
}
.footer-list li { margin-bottom: .45rem; }
.footer-list a {
  color: var(--text-secondary);
  font-size: .875rem;
  transition: color var(--trans);
}
.footer-list a:hover { color: var(--neon-cyan); }
.device-badge {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-border);
  color: var(--text-secondary);
  font-size: .75rem;
  padding: .25rem .7rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.footer-bottom {
  border-top: 1px solid var(--bg-border);
  padding: 1rem 0;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .8rem;
}
.footer-bottom a { color: var(--neon-cyan); }
.footer-bottom a:hover { text-decoration: underline; }

/* ── Juego page ──────────────────────────────────────────────── */
.game-wrapper {
  background: var(--bg-surface);
  border: 1.5px solid var(--neon-cyan);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 229, 255, .18);
}
.game-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--bg-border);
  gap: .75rem;
  flex-wrap: wrap;
}
.game-toolbar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-primary);
  margin: 0;
}
.btn-ctrl-gamer {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  color: var(--text-secondary);
  padding: .35rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans);
}
.btn-ctrl-gamer:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}
.game-iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.game-iframe-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.game-iframe-wrap:fullscreen          { padding-top: 0; height: 100vh; }
.game-iframe-wrap:-webkit-full-screen { padding-top: 0; height: 100vh; }

.game-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.game-meta-pill {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-border);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem 1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.game-meta-pill b { color: var(--text-primary); }
.game-description {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: .96rem;
}

/* ── Categoria page ──────────────────────────────────────────── */
.cat-hero-gamer {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--bg-border);
  padding: 3rem 0 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cat-hero-gamer::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,229,255,.07) 0%, transparent 60%);
  pointer-events: none;
}
.cat-hero-icon { font-size: 3.5rem; margin-bottom: .5rem; }
.cat-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: .5rem;
}
.cat-hero-desc { color: var(--text-secondary); max-width: 480px; margin: 0 auto .75rem; }
.cat-count-badge {
  display: inline-block;
  background: var(--grad-primary);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  padding: .3rem 1.1rem;
  border-radius: 50px;
}

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb-gamer {
  background: none;
  padding: .75rem 0 0;
  margin: 0;
  font-size: .82rem;
}
.breadcrumb-gamer .breadcrumb-item a { color: var(--neon-cyan); }
.breadcrumb-gamer .breadcrumb-item.active { color: var(--text-secondary); }
.breadcrumb-gamer .breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ── Privacy / Static pages ──────────────────────────────────── */
.page-hero {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--bg-border);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,0,255,.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: .5rem;
}
.page-subtitle { color: var(--text-secondary); font-size: 1rem; }
.page-content { padding: 2.5rem 0 3rem; }
.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-top: 2.25rem;
  margin-bottom: .75rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.page-content h2:first-of-type { margin-top: 0; }
.page-content p, .page-content li {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: .96rem;
  margin-bottom: .75rem;
}
.page-content ul, .page-content ol {
  padding-left: 1.5rem;
}
.page-content a { color: var(--neon-cyan); text-decoration: underline; }
.page-content strong { color: var(--text-primary); }

.info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.info-card.highlight { border-color: rgba(0,229,255,.3); background: rgba(0,229,255,.04); }
.info-card.warning   { border-color: rgba(255,224,0,.25); background: rgba(255,224,0,.03); }
.info-card.success   { border-color: rgba(0,255,153,.25); background: rgba(0,255,153,.03); }

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-cyan); }

/* ── Animations ──────────────────────────────────────────────── */
.fade-up { animation: fadeUp .35s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ── Active sort btn ─────────────────────────────────────────── */
.sort-btn.active {
  background: var(--grad-primary) !important;
  color: #000 !important;
  border-color: transparent !important;
}

/* ── Responsive tweaks ───────────────────────────────────────── */
@media (max-width: 767.98px) {
  .hero-gamer { padding: 2.5rem 0 2rem; }
  .hero-game-card-body { padding: .75rem 1rem; }
  .hero-game-card-title { font-size: .95rem; }
  .cat-strip { top: 56px; }
}
@media (max-width: 575.98px) {
  .stat-chip { padding: .5rem .8rem; min-width: 68px; }
  .stat-chip-num { font-size: 1.2rem; }
}