/* ============================================
   TRUEFUN.IN — SNAKEX ULTIMATE SURVIVAL ARENA
   Full CSS — Mobile-first, Game-grade UI
============================================ */

:root {
  --neon-green: #00ff88;
  --neon-cyan: #00e5ff;
  --neon-pink: #ff2d6e;
  --neon-gold: #ffd700;
  --neon-purple: #b24bff;
  --bg-dark: #050810;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card2: rgba(0,255,136,0.05);
  --border-glow: rgba(0,255,136,0.25);
  --text-main: #e8f4f8;
  --text-dim: rgba(232,244,248,0.5);
  --font-game: 'Orbitron', sans-serif;
  --font-body: 'Exo 2', sans-serif;
  --font-display: 'Russo One', sans-serif;
}

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

html, body {
  width: 100%; height: 100%;
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ===== SCREENS ===== */
.screen {
  display: none;
  position: fixed;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1;
}
.screen.active { display: block; }

/* ===== HOME SCREEN ===== */
#screen-home {
  background: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,255,136,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 90%, rgba(0,229,255,0.08) 0%, transparent 60%),
    var(--bg-dark);
  min-height: 100vh;
}

/* Animated grid bg */
#screen-home::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0,255,136,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  animation: gridScroll 20s linear infinite;
}
@keyframes gridScroll {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.home-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 40px;
  gap: 24px;
}

/* ===== ADS ===== */
.ad-banner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 2;
}
.ad-banner.ad-top { border-top: none; }
.ad-label {
  font-size: 9px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.ad-placeholder {
  min-height: 50px;
  width: 100%;
  max-width: 728px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 12px;
  border-radius: 4px;
}
.ad-placeholder-thin {
  height: 30px;
  background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ad-mid .ad-placeholder { min-height: 50px; max-width: 320px; }
.ad-death .ad-placeholder { min-height: 200px; max-width: 300px; }
.ad-bottom .ad-placeholder { min-height: 80px; max-width: 320px; }

/* ===== LOGO ===== */
.logo-wrap {
  text-align: center;
  padding-top: 20px;
  position: relative;
}
.logo-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 80px;
  background: radial-gradient(ellipse, rgba(0,255,136,0.3), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.logo-main {
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 52px);
  line-height: 1;
  letter-spacing: -1px;
  text-shadow: 0 0 30px rgba(0,255,136,0.5);
}
.logo-true { color: #fff; }
.logo-fun { color: var(--neon-green); }
.logo-dot { color: var(--neon-cyan); font-size: 0.6em; vertical-align: super; }
.logo-tagline {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--neon-gold);
  text-transform: uppercase;
  margin-top: 6px;
  font-family: var(--font-game);
  animation: pulse-text 2s ease-in-out infinite;
}
@keyframes pulse-text {
  0%,100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ===== GAME TITLE ===== */
.game-title-wrap {
  text-align: center;
}
.game-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 15vw, 90px);
  line-height: 0.9;
  position: relative;
}
.title-snake {
  color: #fff;
  text-shadow: 0 0 40px rgba(255,255,255,0.3);
}
.title-x {
  color: var(--neon-green);
  text-shadow: 0 0 30px var(--neon-green), 0 0 60px rgba(0,255,136,0.5);
  animation: glitch-x 3s ease-in-out infinite;
}
@keyframes glitch-x {
  0%,90%,100% { text-shadow: 0 0 30px var(--neon-green), 0 0 60px rgba(0,255,136,0.5); }
  92% { text-shadow: 3px 0 var(--neon-pink), -3px 0 var(--neon-cyan), 0 0 30px var(--neon-green); }
  94% { text-shadow: -3px 0 var(--neon-pink), 3px 0 var(--neon-cyan), 0 0 30px var(--neon-green); }
}
.game-subtitle {
  font-family: var(--font-game);
  font-size: clamp(11px, 3vw, 14px);
  letter-spacing: 5px;
  color: var(--neon-cyan);
  margin-top: 4px;
}
.live-badge {
  display: inline-block;
  background: rgba(255,45,110,0.15);
  border: 1px solid rgba(255,45,110,0.4);
  color: var(--neon-pink);
  font-size: 12px;
  font-family: var(--font-game);
  padding: 4px 14px;
  border-radius: 20px;
  margin-top: 10px;
  animation: live-pulse 1.5s ease-in-out infinite;
}
@keyframes live-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,45,110,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255,45,110,0); }
}

/* ===== FEATURE PILLS ===== */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.pill {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--neon-green);
  white-space: nowrap;
  transition: all 0.2s;
}
.pill:hover { background: rgba(0,255,136,0.12); transform: translateY(-2px); }

/* ===== PLAY BUTTON ===== */
.btn-play-wrap {
  position: relative;
  text-align: center;
}
.btn-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 220px; height: 70px;
  background: radial-gradient(ellipse, rgba(0,255,136,0.4), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: glow-pulse 2s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
.btn-play {
  background: linear-gradient(135deg, #00ff88, #00c864);
  border: none;
  border-radius: 16px;
  padding: 18px 48px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 30px rgba(0,255,136,0.4), 0 4px 20px rgba(0,0,0,0.5);
}
.btn-play::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shine 2s ease-in-out infinite;
}
@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}
.btn-play:active { transform: scale(0.96); }
.btn-play-text {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: #050810;
  line-height: 1;
}
.btn-play-sub {
  display: block;
  font-size: 10px;
  color: rgba(5,8,16,0.7);
  font-family: var(--font-game);
  letter-spacing: 2px;
  margin-top: 3px;
}

/* ===== QUICK STATS ===== */
.quick-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 12px 20px;
  text-align: center;
  min-width: 70px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--neon-green);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===== LEADERBOARD PREVIEW ===== */
.lb-preview {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 16px;
}
.lb-title {
  font-family: var(--font-game);
  font-size: 13px;
  color: var(--neon-gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-align: center;
}
.lb-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}
.lb-entry:last-child { border-bottom: none; }
.lb-rank { font-family: var(--font-game); font-size: 11px; color: var(--text-dim); width: 24px; }
.lb-rank.gold { color: var(--neon-gold); }
.lb-rank.silver { color: #c0c0c0; }
.lb-rank.bronze { color: #cd7f32; }
.lb-name { flex: 1; font-weight: 700; }
.lb-score { font-family: var(--font-game); font-size: 12px; color: var(--neon-cyan); }

/* ===== SKIN SECTION ===== */
.skin-section {
  width: 100%;
  max-width: 480px;
  text-align: center;
}
.skin-section h3 {
  font-family: var(--font-game);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.skin-grid {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.skin-card {
  background: var(--bg-card);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  min-width: 70px;
}
.skin-card:hover, .skin-card.selected {
  border-color: var(--neon-green);
  background: rgba(0,255,136,0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,255,136,0.2);
}
.skin-preview { font-size: 28px; margin-bottom: 4px; }
.skin-name { font-size: 10px; color: var(--text-dim); font-family: var(--font-game); }

/* ===== NAME SCREEN ===== */
#screen-name {
  background: 
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(178,75,255,0.15), transparent 60%),
    var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.name-screen-inner {
  text-align: center;
  padding: 40px 24px;
  width: 100%;
  max-width: 400px;
}
.name-logo {
  font-family: var(--font-display);
  font-size: 48px;
  color: #fff;
  margin-bottom: 8px;
}
.name-logo span { color: var(--neon-green); }
#screen-name h2 {
  font-family: var(--font-game);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--neon-cyan);
  margin-bottom: 32px;
}
.name-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 16px 20px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  text-align: center;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.name-input:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 20px rgba(0,255,136,0.2);
}
.name-hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 8px;
  font-style: italic;
}
.selected-skin-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 20px 0;
}
.selected-skin-preview canvas {
  border: 2px solid var(--border-glow);
  border-radius: 50%;
}
#selected-skin-name {
  font-family: var(--font-game);
  font-size: 11px;
  color: var(--neon-green);
  letter-spacing: 2px;
}
.btn-enter {
  background: linear-gradient(135deg, var(--neon-purple), #7a00ff);
  border: none;
  border-radius: 14px;
  padding: 16px 40px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(178,75,255,0.4);
}
.btn-enter:active { transform: scale(0.97); }
.btn-back {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 12px 24px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  margin-top: 12px;
  width: 100%;
  transition: all 0.2s;
}
.btn-back:hover { border-color: rgba(255,255,255,0.3); color: #fff; }

/* ===== GAME SCREEN ===== */
#screen-game {
  overflow: hidden;
  background: #000;
  touch-action: none;
}
#game-canvas {
  display: block;
  position: absolute;
  top: 0; left: 0;
}

/* HUD */
.hud {
  position: fixed;
  top: 30px; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 12px;
  z-index: 10;
  pointer-events: none;
  gap: 8px;
}
.hud-left, .hud-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 10px;
  padding: 8px 12px;
  backdrop-filter: blur(10px);
  min-width: 70px;
}
.hud-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hud-label {
  font-family: var(--font-game);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 1px;
}
.hud-value {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--neon-green);
  line-height: 1;
}
.evolution-bar-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(178,75,255,0.3);
  border-radius: 20px;
  padding: 4px 10px;
  backdrop-filter: blur(10px);
}
.evo-label { font-family: var(--font-game); font-size: 9px; color: var(--neon-purple); }
.evolution-bar {
  width: 80px; height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.evo-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
}
.evo-level { font-family: var(--font-game); font-size: 14px; color: var(--neon-purple); font-weight: 700; }
.zone-timer {
  font-family: var(--font-game);
  font-size: 11px;
  color: var(--neon-cyan);
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  backdrop-filter: blur(10px);
}
.powerup-slot { text-align: center; }
#powerup-icon { font-size: 22px; display: block; }

/* AD INGAME */
.ad-ingame-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 15;
}

/* MINIMAP */
.minimap-wrap {
  position: fixed;
  bottom: 130px;
  right: 12px;
  z-index: 10;
  text-align: center;
}
#minimap {
  border: 1.5px solid rgba(0,255,136,0.4);
  border-radius: 6px;
  background: rgba(0,0,0,0.7);
  display: block;
}
.minimap-label {
  font-family: var(--font-game);
  font-size: 8px;
  color: var(--text-dim);
  margin-top: 2px;
  letter-spacing: 2px;
}

/* KILL FEED */
.kill-feed {
  position: fixed;
  top: 110px;
  right: 12px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}
.kill-entry {
  background: rgba(0,0,0,0.75);
  border-left: 2px solid var(--neon-pink);
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 0 6px 6px 0;
  backdrop-filter: blur(6px);
  animation: slideInRight 0.2s ease, fadeOut 0.5s ease 2.5s forwards;
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
  to { opacity: 0; height: 0; padding: 0; margin: 0; }
}

/* POWERUP POPUP */
.powerup-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.85);
  border: 2px solid var(--neon-gold);
  border-radius: 16px;
  padding: 16px 28px;
  text-align: center;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  font-family: var(--font-game);
  transition: opacity 0.3s;
}
.powerup-popup.show {
  opacity: 1;
  animation: popBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popBounce {
  from { transform: translate(-50%, -50%) scale(0.7); }
  to { transform: translate(-50%, -50%) scale(1); }
}

/* MOBILE JOYSTICK */
.joystick-area {
  position: fixed;
  bottom: 20px;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}
.joystick-ring {
  width: 120px; height: 120px;
  background: rgba(0,0,0,0.5);
  border: 2px solid rgba(0,255,136,0.3);
  border-radius: 50%;
  position: relative;
  pointer-events: all;
  touch-action: none;
}
.joystick-knob {
  width: 48px; height: 48px;
  background: radial-gradient(circle, rgba(0,255,136,0.8), rgba(0,200,100,0.6));
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(0,255,136,0.5);
  transition: transform 0.05s;
}
.mobile-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: all;
}
.mobile-boost, .mobile-power {
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  font-family: var(--font-game);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  transition: transform 0.1s, box-shadow 0.1s;
}
.mobile-boost {
  background: linear-gradient(135deg, #ff8c00, #ff5500);
  color: #fff;
  box-shadow: 0 0 15px rgba(255,140,0,0.4);
}
.mobile-power {
  background: linear-gradient(135deg, var(--neon-purple), #5500cc);
  color: #fff;
  box-shadow: 0 0 15px rgba(178,75,255,0.4);
}
.mobile-boost:active, .mobile-power:active { transform: scale(0.93); }

/* ===== DEATH SCREEN ===== */
#screen-death {
  background:
    radial-gradient(ellipse at center, rgba(255,45,110,0.15), transparent 70%),
    var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.death-inner {
  text-align: center;
  padding: 40px 24px;
  width: 100%;
  max-width: 400px;
}
.death-rank-badge {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, rgba(255,45,110,0.2), rgba(255,45,110,0.05));
  border: 3px solid var(--neon-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 30px rgba(255,45,110,0.3);
}
.death-rank-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--neon-pink);
}
.death-title {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--neon-pink);
  text-shadow: 0 0 20px rgba(255,45,110,0.5);
}
.death-sub { color: var(--text-dim); font-size: 14px; margin: 8px 0 20px; }
.death-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.ds {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 16px;
}
.ds span {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--neon-cyan);
}
.ds small { font-size: 9px; color: var(--text-dim); letter-spacing: 1px; }
.death-buttons { display: flex; gap: 12px; margin-top: 20px; }
.btn-play-again {
  flex: 1;
  background: linear-gradient(135deg, var(--neon-green), #00c864);
  border: none;
  border-radius: 14px;
  padding: 16px;
  color: #050810;
  font-family: var(--font-display);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(0,255,136,0.3);
}
.btn-home-death {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 16px;
  color: var(--text-dim);
  font-family: var(--font-game);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.death-tip {
  margin-top: 16px;
  font-size: 12px;
  color: var(--neon-gold);
  font-style: italic;
}

/* ===== WINNER SCREEN ===== */
#screen-winner {
  background:
    radial-gradient(ellipse at center, rgba(255,215,0,0.2), transparent 70%),
    var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.winner-inner {
  text-align: center;
  padding: 40px 24px;
  position: relative;
  z-index: 1;
}
.crown-icon {
  font-size: 80px;
  display: block;
  animation: crownFloat 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255,215,0,0.8));
}
@keyframes crownFloat {
  0%,100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}
.winner-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 10vw, 60px);
  color: var(--neon-gold);
  text-shadow: 0 0 30px rgba(255,215,0,0.6);
  margin: 12px 0;
}
.winner-name {
  font-family: var(--font-game);
  font-size: 16px;
  color: var(--neon-green);
  letter-spacing: 3px;
  margin-bottom: 24px;
}
.winner-stats { display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; }
.ws {
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 12px;
  padding: 14px 20px;
}
.ws span {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--neon-gold);
}
.ws small { font-size: 9px; color: var(--text-dim); letter-spacing: 1px; }
.winner-share { display: flex; flex-direction: column; gap: 12px; max-width: 300px; margin: 0 auto; }
.btn-share {
  background: linear-gradient(135deg, #1da1f2, #0d6efd);
  border: none; border-radius: 14px;
  padding: 14px; color: #fff;
  font-family: var(--font-display); font-size: 16px;
  cursor: pointer; transition: all 0.2s;
}
.btn-play-again.winner {
  background: linear-gradient(135deg, var(--neon-green), #00c864);
  border: none; border-radius: 14px;
  padding: 14px; color: #050810;
  font-family: var(--font-display); font-size: 16px;
  cursor: pointer; width: 100%;
}
.winner-confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 600px) {
  .joystick-area { display: none; }
  .minimap-wrap { bottom: 20px; }
}
@media (max-width: 360px) {
  .quick-stats .stat { min-width: 58px; padding: 10px 14px; }
  .stat-num { font-size: 22px; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,255,136,0.3); border-radius: 2px; }
