@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Exo+2:ital,wght@0,300;0,400;0,600;0,800;1,400&family=Share+Tech+Mono&display=swap');

:root {
  --bg-deep: #080c14;
  --bg-card: #0e1520;
  --bg-elevated: #141d2e;
  --accent-cyan: #00e5ff;
  --accent-orange: #ff6b2b;
  --accent-green: #39ff14;
  --text-primary: #e8f0fe;
  --text-secondary: #8a9bc0;
  --text-muted: #4a5a7a;
  --border: rgba(0,229,255,0.12);
  --border-hover: rgba(0,229,255,0.35);
  --glow-cyan: 0 0 20px rgba(0,229,255,0.3);
  --glow-orange: 0 0 20px rgba(255,107,43,0.3);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Exo 2', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(0,229,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(255,107,43,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,12,20,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-orange));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.logo-text span { color: var(--accent-cyan); }

/* ── NAV ── */
nav { flex: 1; }
.nav-list {
  list-style: none;
  display: flex;
  gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
  background: rgba(0,229,255,0.08);
}

.nav-link .arrow {
  font-size: 10px;
  transition: transform 0.2s;
}

.nav-item:hover .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), var(--glow-cyan);
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}

.dropdown a:hover {
  color: var(--text-primary);
  background: rgba(0,229,255,0.08);
}

.dropdown a .game-emoji { font-size: 16px; width: 20px; text-align: center; }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px;
}

.mobile-nav.open { display: block; }

.mobile-cat {
  margin-bottom: 16px;
}

.mobile-cat-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.mobile-cat a {
  display: block;
  padding: 7px 0;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s;
}

.mobile-cat a:hover { color: var(--text-primary); }

/* ── HERO ── */
.hero {
  position: relative;
  padding: 90px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 100% 70% at 50% -10%, rgba(0,229,255,0.08) 0%, transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s 0.1s ease both;
}

.hero h1 .accent { color: var(--accent-cyan); }
.hero h1 .accent2 { color: var(--accent-orange); }

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── SECTION ── */
.section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 24px;
  position: relative;
  z-index: 1;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.section-title .accent { color: var(--accent-orange); }

.view-all {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-cyan);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.view-all:hover { gap: 10px; }

/* ── CATEGORY BANDS ── */
.cat-band {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  margin-bottom: 52px;
}

.cat-band::-webkit-scrollbar { display: none; }

.cat-pill {
  flex-shrink: 0;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.cat-pill:hover {
  border-color: var(--border-hover);
  color: var(--accent-cyan);
  background: rgba(0,229,255,0.06);
  box-shadow: var(--glow-cyan);
}

/* ── GAME GRID ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,229,255,0.05), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.game-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), var(--glow-cyan);
}

.game-card:hover::before { opacity: 1; }

.game-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--bg-elevated);
}

/* ── RICH GAME THUMBNAILS ── */
.game-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #0a0e1a;
}

/* Animated shimmer on hover */
.game-card:hover .game-thumb-placeholder::before {
  transform: translateX(100%);
}

.game-thumb-placeholder::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 3;
}

/* Emoji icon */
.game-thumb-placeholder .thumb-emoji {
  position: relative;
  z-index: 2;
  font-size: 54px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.6));
  transition: transform 0.3s ease;
}

.game-card:hover .game-thumb-placeholder .thumb-emoji {
  transform: scale(1.12);
}

/* Game title overlay at bottom */
.game-thumb-placeholder .thumb-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 20px 14px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* Top-right genre badge */
.game-thumb-placeholder .thumb-badge {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}

/* Geometric BG elements */
.game-thumb-placeholder .geo {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

/* ── PER-GAME COLOUR THEMES ── */
.thumb-free-fire {
  background: linear-gradient(135deg, #1a0a00 0%, #3d1500 50%, #1a0800 100%);
}
.thumb-free-fire .geo1 { width:160px; height:160px; top:-40px; right:-40px; background: radial-gradient(circle, rgba(255,100,0,0.35), transparent 70%); }
.thumb-free-fire .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(255,50,0,0.2), transparent 70%); }
.thumb-free-fire .thumb-badge { color: #ff8c42; border-color: rgba(255,140,66,0.4); background: rgba(255,60,0,0.2); }

.thumb-warzone {
  background: linear-gradient(135deg, #080c08 0%, #0d1f0d 50%, #060a06 100%);
}
.thumb-warzone .geo1 { width:200px; height:200px; top:-60px; right:-60px; background: radial-gradient(circle, rgba(0,255,80,0.15), transparent 70%); }
.thumb-warzone .geo2 { width:120px; height:120px; bottom:-30px; left:-20px; background: radial-gradient(circle, rgba(50,200,50,0.12), transparent 70%); }
.thumb-warzone .thumb-badge { color: #4caf50; border-color: rgba(76,175,80,0.4); background: rgba(0,80,0,0.3); }

.thumb-valorant {
  background: linear-gradient(135deg, #1a000a 0%, #2d0011 50%, #1a0005 100%);
}
.thumb-valorant .geo1 { width:180px; height:180px; top:-50px; right:-30px; background: radial-gradient(circle, rgba(255,70,85,0.3), transparent 70%); }
.thumb-valorant .geo2 { width:80px; height:80px; bottom:-10px; left:20px; background: radial-gradient(circle, rgba(255,100,100,0.15), transparent 70%); }
.thumb-valorant .thumb-badge { color: #ff4655; border-color: rgba(255,70,85,0.4); background: rgba(150,0,30,0.3); }

.thumb-cs2 {
  background: linear-gradient(135deg, #050b1a 0%, #0a1530 50%, #050b1a 100%);
}
.thumb-cs2 .geo1 { width:200px; height:200px; top:-60px; right:-60px; background: radial-gradient(circle, rgba(255,165,0,0.2), transparent 70%); }
.thumb-cs2 .geo2 { width:100px; height:100px; bottom:-20px; left:-10px; background: radial-gradient(circle, rgba(200,150,0,0.12), transparent 70%); }
.thumb-cs2 .thumb-badge { color: #ffa500; border-color: rgba(255,165,0,0.4); background: rgba(100,60,0,0.3); }

.thumb-venge-io {
  background: linear-gradient(135deg, #06001a 0%, #120030 50%, #06001a 100%);
}
.thumb-venge-io .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(140,0,255,0.3), transparent 70%); }
.thumb-venge-io .geo2 { width:100px; height:100px; bottom:-20px; left:0; background: radial-gradient(circle, rgba(100,0,200,0.2), transparent 70%); }
.thumb-venge-io .thumb-badge { color: #b44dff; border-color: rgba(180,77,255,0.4); background: rgba(80,0,150,0.3); }

.thumb-krunker-io {
  background: linear-gradient(135deg, #001a0a 0%, #002d14 50%, #001a0a 100%);
}
.thumb-krunker-io .geo1 { width:160px; height:160px; top:-40px; right:-30px; background: radial-gradient(circle, rgba(57,255,20,0.25), transparent 70%); }
.thumb-krunker-io .geo2 { width:90px; height:90px; bottom:-15px; left:10px; background: radial-gradient(circle, rgba(0,200,50,0.15), transparent 70%); }
.thumb-krunker-io .thumb-badge { color: #39ff14; border-color: rgba(57,255,20,0.4); background: rgba(0,100,0,0.3); }

/* Racing */
.thumb-asphalt-9 {
  background: linear-gradient(135deg, #000d1a 0%, #001a30 60%, #000d1a 100%);
}
.thumb-asphalt-9 .geo1 { width:220px; height:220px; top:-70px; right:-60px; background: radial-gradient(circle, rgba(0,180,255,0.25), transparent 70%); }
.thumb-asphalt-9 .geo2 { width:100px; height:100px; bottom:-20px; left:0; background: radial-gradient(circle, rgba(0,100,200,0.15), transparent 70%); }
.thumb-asphalt-9 .thumb-badge { color: #00b4ff; border-color: rgba(0,180,255,0.4); background: rgba(0,60,120,0.3); }

.thumb-real-racing-3 {
  background: linear-gradient(135deg, #0a0800 0%, #1a1400 50%, #0a0800 100%);
}
.thumb-real-racing-3 .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(220,180,0,0.25), transparent 70%); }
.thumb-real-racing-3 .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(180,130,0,0.15), transparent 70%); }
.thumb-real-racing-3 .thumb-badge { color: #dbb000; border-color: rgba(220,180,0,0.4); background: rgba(100,70,0,0.3); }

.thumb-hill-climb {
  background: linear-gradient(135deg, #001a0a 0%, #003015 60%, #001a0a 100%);
}
.thumb-hill-climb .geo1 { width:160px; height:160px; top:-40px; right:-30px; background: radial-gradient(circle, rgba(0,200,80,0.25), transparent 70%); }
.thumb-hill-climb .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(100,200,0,0.15), transparent 70%); }
.thumb-hill-climb .thumb-badge { color: #4caf50; border-color: rgba(76,175,80,0.4); background: rgba(0,80,20,0.3); }

.thumb-carx-drift {
  background: linear-gradient(135deg, #1a0000 0%, #2d0808 60%, #1a0000 100%);
}
.thumb-carx-drift .geo1 { width:200px; height:200px; top:-60px; right:-50px; background: radial-gradient(circle, rgba(255,30,30,0.25), transparent 70%); }
.thumb-carx-drift .geo2 { width:100px; height:100px; bottom:-20px; left:0; background: radial-gradient(circle, rgba(200,0,0,0.15), transparent 70%); }
.thumb-carx-drift .thumb-badge { color: #ff4444; border-color: rgba(255,68,68,0.4); background: rgba(120,0,0,0.3); }

.thumb-nfs-heat {
  background: linear-gradient(135deg, #0d001a 0%, #1a0030 60%, #0d001a 100%);
}
.thumb-nfs-heat .geo1 { width:200px; height:200px; top:-60px; right:-50px; background: radial-gradient(circle, rgba(255,0,200,0.2), transparent 70%); }
.thumb-nfs-heat .geo2 { width:110px; height:110px; bottom:-20px; left:0; background: radial-gradient(circle, rgba(180,0,255,0.15), transparent 70%); }
.thumb-nfs-heat .thumb-badge { color: #ff00cc; border-color: rgba(255,0,200,0.4); background: rgba(100,0,100,0.3); }

.thumb-traffic-rider {
  background: linear-gradient(135deg, #001020 0%, #001f3f 60%, #001020 100%);
}
.thumb-traffic-rider .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(0,150,255,0.25), transparent 70%); }
.thumb-traffic-rider .geo2 { width:90px; height:90px; bottom:-15px; left:10px; background: radial-gradient(circle, rgba(0,100,200,0.15), transparent 70%); }
.thumb-traffic-rider .thumb-badge { color: #00aaff; border-color: rgba(0,170,255,0.4); background: rgba(0,50,120,0.3); }

/* Sports */
.thumb-dream-league {
  background: linear-gradient(135deg, #001a00 0%, #003300 60%, #001a00 100%);
}
.thumb-dream-league .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(0,200,50,0.3), transparent 70%); }
.thumb-dream-league .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(50,200,100,0.15), transparent 70%); }
.thumb-dream-league .thumb-badge { color: #00e676; border-color: rgba(0,230,118,0.4); background: rgba(0,100,30,0.3); }

.thumb-soccer-stars {
  background: linear-gradient(135deg, #0a0a00 0%, #1a1a00 60%, #0a0a00 100%);
}
.thumb-soccer-stars .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(255,230,0,0.25), transparent 70%); }
.thumb-soccer-stars .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(200,180,0,0.15), transparent 70%); }
.thumb-soccer-stars .thumb-badge { color: #ffe600; border-color: rgba(255,230,0,0.4); background: rgba(100,90,0,0.3); }

.thumb-8-ball-pool {
  background: linear-gradient(135deg, #000a1a 0%, #001525 60%, #000a1a 100%);
}
.thumb-8-ball-pool .geo1 { width:160px; height:160px; top:-40px; right:-30px; background: radial-gradient(circle, rgba(0,200,255,0.2), transparent 70%); }
.thumb-8-ball-pool .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(0,150,200,0.12), transparent 70%); }
.thumb-8-ball-pool .thumb-badge { color: #00d4ff; border-color: rgba(0,212,255,0.4); background: rgba(0,60,100,0.3); }

.thumb-score-hero {
  background: linear-gradient(135deg, #001500 0%, #003000 60%, #001500 100%);
}
.thumb-score-hero .geo1 { width:160px; height:160px; top:-40px; right:-30px; background: radial-gradient(circle, rgba(100,255,100,0.2), transparent 70%); }
.thumb-score-hero .geo2 { width:90px; height:90px; bottom:-15px; left:10px; background: radial-gradient(circle, rgba(50,200,50,0.12), transparent 70%); }
.thumb-score-hero .thumb-badge { color: #69ff69; border-color: rgba(105,255,105,0.4); background: rgba(0,80,0,0.3); }

.thumb-top-eleven {
  background: linear-gradient(135deg, #0a0500 0%, #1a0d00 60%, #0a0500 100%);
}
.thumb-top-eleven .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(255,150,0,0.25), transparent 70%); }
.thumb-top-eleven .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(200,120,0,0.15), transparent 70%); }
.thumb-top-eleven .thumb-badge { color: #ff9600; border-color: rgba(255,150,0,0.4); background: rgba(100,50,0,0.3); }

.thumb-ea-fc {
  background: linear-gradient(135deg, #00001a 0%, #000030 60%, #00001a 100%);
}
.thumb-ea-fc .geo1 { width:200px; height:200px; top:-60px; right:-50px; background: radial-gradient(circle, rgba(50,100,255,0.3), transparent 70%); }
.thumb-ea-fc .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(0,50,200,0.15), transparent 70%); }
.thumb-ea-fc .thumb-badge { color: #4d79ff; border-color: rgba(77,121,255,0.4); background: rgba(0,20,120,0.3); }

/* Puzzle */
.thumb-candy-crush {
  background: linear-gradient(135deg, #1a0020 0%, #2d0040 60%, #1a0020 100%);
}
.thumb-candy-crush .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(255,100,255,0.3), transparent 70%); }
.thumb-candy-crush .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(200,50,200,0.15), transparent 70%); }
.thumb-candy-crush .thumb-badge { color: #ff69ff; border-color: rgba(255,105,255,0.4); background: rgba(120,0,120,0.3); }

.thumb-subway-surfers {
  background: linear-gradient(135deg, #001020 0%, #001e38 60%, #001020 100%);
}
.thumb-subway-surfers .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(0,200,255,0.25), transparent 70%); }
.thumb-subway-surfers .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(0,150,200,0.15), transparent 70%); }
.thumb-subway-surfers .thumb-badge { color: #00d4ff; border-color: rgba(0,212,255,0.4); background: rgba(0,60,120,0.3); }

.thumb-temple-run-2 {
  background: linear-gradient(135deg, #0d0600 0%, #1a0a00 60%, #0d0600 100%);
}
.thumb-temple-run-2 .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(200,100,0,0.3), transparent 70%); }
.thumb-temple-run-2 .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(180,80,0,0.15), transparent 70%); }
.thumb-temple-run-2 .thumb-badge { color: #ff7700; border-color: rgba(255,119,0,0.4); background: rgba(100,40,0,0.3); }

.thumb-among-us {
  background: linear-gradient(135deg, #06001a 0%, #0d0030 60%, #06001a 100%);
}
.thumb-among-us .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(120,0,255,0.3), transparent 70%); }
.thumb-among-us .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(100,0,200,0.15), transparent 70%); }
.thumb-among-us .thumb-badge { color: #9900ff; border-color: rgba(153,0,255,0.4); background: rgba(60,0,120,0.3); }

.thumb-hole-io {
  background: linear-gradient(135deg, #000d1a 0%, #001a2e 60%, #000d1a 100%);
}
.thumb-hole-io .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(0,100,255,0.25), transparent 70%); }
.thumb-hole-io .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(0,80,200,0.15), transparent 70%); }
.thumb-hole-io .thumb-badge { color: #3388ff; border-color: rgba(51,136,255,0.4); background: rgba(0,40,120,0.3); }

.thumb-paper-io-2 {
  background: linear-gradient(135deg, #001a1a 0%, #003030 60%, #001a1a 100%);
}
.thumb-paper-io-2 .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(0,220,200,0.25), transparent 70%); }
.thumb-paper-io-2 .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(0,180,160,0.15), transparent 70%); }
.thumb-paper-io-2 .thumb-badge { color: #00ddc8; border-color: rgba(0,221,200,0.4); background: rgba(0,80,80,0.3); }

/* Adventure */
.thumb-roblox {
  background: linear-gradient(135deg, #1a0000 0%, #2d0a0a 60%, #1a0000 100%);
}
.thumb-roblox .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(255,50,50,0.3), transparent 70%); }
.thumb-roblox .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(200,20,20,0.15), transparent 70%); }
.thumb-roblox .thumb-badge { color: #ff5555; border-color: rgba(255,85,85,0.4); background: rgba(120,0,0,0.3); }

.thumb-minecraft {
  background: linear-gradient(135deg, #001a00 0%, #003300 60%, #001a00 100%);
}
.thumb-minecraft .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(0,200,50,0.3), transparent 70%); }
.thumb-minecraft .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(100,180,50,0.15), transparent 70%); }
.thumb-minecraft .thumb-badge { color: #55cc00; border-color: rgba(85,204,0,0.4); background: rgba(0,80,0,0.3); }

.thumb-genshin-impact {
  background: linear-gradient(135deg, #0a001a 0%, #150030 60%, #0a001a 100%);
}
.thumb-genshin-impact .geo1 { width:200px; height:200px; top:-60px; right:-50px; background: radial-gradient(circle, rgba(200,100,255,0.25), transparent 70%); }
.thumb-genshin-impact .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(150,0,255,0.15), transparent 70%); }
.thumb-genshin-impact .thumb-badge { color: #d080ff; border-color: rgba(208,128,255,0.4); background: rgba(80,0,140,0.3); }

.thumb-sims-4 {
  background: linear-gradient(135deg, #001020 0%, #00203a 60%, #001020 100%);
}
.thumb-sims-4 .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(0,180,255,0.25), transparent 70%); }
.thumb-sims-4 .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(0,130,200,0.15), transparent 70%); }
.thumb-sims-4 .thumb-badge { color: #00c8ff; border-color: rgba(0,200,255,0.4); background: rgba(0,60,120,0.3); }

.thumb-terraria {
  background: linear-gradient(135deg, #001000 0%, #002200 60%, #001000 100%);
}
.thumb-terraria .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(100,200,50,0.25), transparent 70%); }
.thumb-terraria .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(60,150,20,0.15), transparent 70%); }
.thumb-terraria .thumb-badge { color: #80cc40; border-color: rgba(128,204,64,0.4); background: rgba(20,80,0,0.3); }

.thumb-slither-io {
  background: linear-gradient(135deg, #000a10 0%, #001520 60%, #000a10 100%);
}
.thumb-slither-io .geo1 { width:180px; height:180px; top:-50px; right:-40px; background: radial-gradient(circle, rgba(0,220,180,0.25), transparent 70%); }
.thumb-slither-io .geo2 { width:100px; height:100px; bottom:-20px; left:10px; background: radial-gradient(circle, rgba(0,180,140,0.15), transparent 70%); }
.thumb-slither-io .thumb-badge { color: #00ddb4; border-color: rgba(0,221,180,0.4); background: rgba(0,80,70,0.3); }

/* Scanline overlay on all thumbnails */
.game-thumb-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,0.07) 2px, rgba(0,0,0,0.07) 4px
  );
  pointer-events: none;
}

/* Pulsing ring behind emoji */
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.5); opacity: 0.9; }
}

.thumb-emoji {
  position: relative;
  z-index: 2;
  font-size: 54px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.6));
  transition: transform 0.3s ease;
}

.game-card:hover .thumb-emoji {
  transform: scale(1.12);
}

.thumb-emoji::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
  animation: pulse-ring 2.5s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

.game-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-cat-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 6px;
}

.game-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.2;
}

.game-desc {
  font-size: 13px;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 12px;
}

.game-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
}

/* ── CATEGORY PAGE HERO ── */
.cat-hero {
  padding: 70px 24px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cat-hero-emoji {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cat-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  margin-bottom: 12px;
}

.cat-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ── GAME PAGE ── */
.game-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--accent-cyan); }
.breadcrumb .sep { color: var(--text-muted); }
.breadcrumb .current { color: var(--text-secondary); }

.game-hero-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  margin-bottom: 40px;
  align-items: start;
}

.game-embed-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.game-embed-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.embed-placeholder {
  text-align: center;
  padding: 32px;
}

.embed-placeholder .big-emoji { font-size: 72px; margin-bottom: 16px; display: block; }
.embed-placeholder h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.embed-placeholder p { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; }

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-cyan), #0099bb);
  color: #000;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,229,255,0.35);
}

.game-meta-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.meta-card h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
}

.meta-row:last-child { border-bottom: none; }
.meta-key { color: var(--text-muted); }
.meta-val { color: var(--text-primary); font-weight: 600; }

/* ── CONTENT AREA ── */
.content-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-body h2::before {
  content: '';
  display: block;
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-orange));
  border-radius: 2px;
  flex-shrink: 0;
}

.content-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--accent-cyan);
}

.content-body p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 15px;
}

.content-body ul {
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-body ul li {
  padding-left: 20px;
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
}

.content-body ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

.content-body ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.content-body ol li {
  color: var(--text-secondary);
  font-size: 15px;
  padding-left: 4px;
}

.content-body ol li::marker { color: var(--accent-orange); font-weight: 700; }

/* Tables */
.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  font-size: 14px;
}

.content-body table thead tr {
  background: rgba(0,229,255,0.08);
}

.content-body table th {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent-cyan);
  border-bottom: 1px solid var(--border);
}

.content-body table td {
  padding: 11px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.content-body table tr:last-child td { border-bottom: none; }
.content-body table tr:hover td { background: rgba(0,229,255,0.03); }

/* Info boxes */
.tip-box {
  background: rgba(57,255,20,0.05);
  border: 1px solid rgba(57,255,20,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
}

.tip-box .tip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--accent-green);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tip-box p { color: var(--text-secondary); margin: 0; font-size: 14px; }

.warn-box {
  background: rgba(255,107,43,0.05);
  border: 1px solid rgba(255,107,43,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
}

.warn-box .warn-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Rating stars */
.rating-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.stars { color: #ffd700; font-size: 16px; }
.rating-num { font-family: var(--font-display); font-size: 18px; font-weight: 700; }

/* ── RELATED GAMES ── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

/* ── FOOTER ── */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent-cyan); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent-cyan); }

/* ── STATIC PAGES ── */
.static-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  position: relative;
  z-index: 1;
}

.static-page h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  margin-bottom: 8px;
}

.static-page .page-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.static-page h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text-primary);
}

.static-page p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.75;
}

.static-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.static-page ul li {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 6px;
}

/* Contact form */
.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.1);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-cyan), #0099bb);
  color: #000;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,229,255,0.3);
}

/* ── ANIMATIONS ── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dividers */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* AdSense slots */
.ad-slot {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  margin: 24px 0;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { display: none; }
  .hamburger { display: flex; }

  .game-hero-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats { gap: 24px; }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .games-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats { gap: 20px; }
  .stat-number { font-size: 24px; }

  .form-grid-2 { grid-template-columns: 1fr; }
}
