/* ==========================================================================
   LEONIDA OPS // VICE CITY TACTICAL HUD DESIGN SYSTEM
   ========================================================================== */
:root {
  --bg-void: #07070d;
  --bg-panel: #10101b;
  --bg-card: #151525;
  --bg-elevated: #1c1c31;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 42, 133, 0.35);

  --neon-pink: #ff2a85;
  --neon-cyan: #00f0ff;
  --neon-gold: #ffb800;
  --neon-green: #00e676;
  --neon-purple: #a855f7;
  --neon-orange: #ff6b35;
  --danger: #ff3b5c;

  --text-main: #f4f5fb;
  --text-muted: #989bb5;
  --text-dim: #646885;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --font-display: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --font-ui: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

  --sidebar-w: 256px;
  --topbar-h: 64px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-void);
  color: var(--text-main);
  font-family: var(--font-ui);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 42, 133, 0.10), transparent 38%),
    radial-gradient(circle at 88% 15%, rgba(0, 240, 255, 0.08), transparent 40%),
    radial-gradient(circle at 50% 95%, rgba(168, 85, 247, 0.07), transparent 45%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: #262642; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-pink); }

/* ==========================================================================
   SELLER DEMO BAR (OPTIONAL TOP RIBBON)
   ========================================================================== */
.seller-demo-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(90deg, #1b1027, #111b2a, #1d1424);
  border-bottom: 1px solid rgba(255, 184, 0, 0.3);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}

.seller-demo-bar.hidden { display: none; }

.seller-demo-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffd670;
  font-weight: 600;
}

.seller-demo-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.demo-pill {
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.demo-pill:hover { border-color: rgba(255,255,255,0.35); color: #fff; }
.demo-pill.active {
  background: linear-gradient(135deg, var(--neon-pink), #ff6b35);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 14px rgba(255, 42, 133, 0.45);
}

/* ==========================================================================
   APP SHELL LAYOUT
   ========================================================================== */
.app-shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
}

/* Desktop Sidebar */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: rgba(13, 13, 24, 0.92);
  backdrop-filter: blur(18px);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 40;
}

.brand-box {
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  letter-spacing: 2px;
  background: linear-gradient(95deg, #fff 15%, var(--neon-pink) 60%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-top: 4px;
}

.nav-list {
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow-y: auto;
}

.nav-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--text-dim);
  padding: 12px 12px 4px;
  text-transform: uppercase;
}

.nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.18s ease;
  text-align: left;
  position: relative;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
}

.nav-btn.active {
  background: linear-gradient(135deg, rgba(255, 42, 133, 0.16), rgba(0, 240, 255, 0.08));
  border-color: rgba(255, 42, 133, 0.35);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--neon-pink);
}

.nav-icon {
  font-size: 17px;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.nav-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.nav-badge.pro {
  background: linear-gradient(135deg, var(--neon-gold), #ff6b35);
  color: #0b0b12;
}

.nav-badge.vip {
  background: rgba(0, 240, 255, 0.16);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
}

.sidebar-footer {
  padding: 14px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(8, 8, 15, 0.7);
}

.hud-progress-mini {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 11px 12px;
}

.hud-progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.progress-track {
  width: 100%;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Main Column */
.main-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Top HUD Bar */
.topbar {
  height: var(--topbar-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(11, 11, 20, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 30;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mobile-logo {
  display: none;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1.5px;
  background: linear-gradient(95deg, #fff, var(--neon-pink), var(--neon-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-crumb {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-hud {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.hud-chip.money { color: var(--neon-green); border-color: rgba(0, 230, 118, 0.25); }
.hud-chip.plan-front { color: #d4d7ec; }
.hud-chip.plan-vip { color: var(--neon-cyan); border-color: rgba(0, 240, 255, 0.35); background: rgba(0, 240, 255, 0.08); }
.hud-chip.plan-pro { color: var(--neon-gold); border-color: rgba(255, 184, 0, 0.45); background: rgba(255, 184, 0, 0.12); }

.btn-unlock-small {
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 42, 133, 0.16);
  border: 1px solid rgba(255, 42, 133, 0.45);
  color: #ff9bc4;
  transition: all 0.2s;
}
.btn-unlock-small:hover {
  background: var(--neon-pink);
  color: #fff;
}

/* Main Content Area */
.view-container {
  padding: 24px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}

.view-panel { display: none; animation: fadeSlide 0.24s ease; }
.view-panel.active { display: block; }

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

/* ==========================================================================
   COMMON CARDS, BUTTONS & TYPOGRAPHY
   ========================================================================== */
.hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 290px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  border: 1px solid rgba(255, 42, 133, 0.28);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
  margin-bottom: 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(1.12) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(7, 7, 13, 0.94) 0%,
    rgba(12, 10, 24, 0.78) 48%,
    rgba(12, 10, 24, 0.28) 100%
  ),
  linear-gradient(0deg, rgba(7, 7, 13, 0.96) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 99px;
  background: rgba(255, 42, 133, 0.18);
  border: 1px solid rgba(255, 42, 133, 0.45);
  color: #ff8dc0;
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 0.96;
  letter-spacing: 1.5px;
  margin: 0 0 10px;
}

.hero-desc {
  color: #cfd2e8;
  font-size: 15px;
  margin: 0 0 20px;
  max-width: 600px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-pink), #ff5c5c);
  color: #fff;
  box-shadow: 0 6px 24px rgba(255, 42, 133, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255, 42, 133, 0.5); }

.btn-cyan {
  background: rgba(0, 240, 255, 0.14);
  border: 1px solid rgba(0, 240, 255, 0.45);
  color: var(--neon-cyan);
}
.btn-cyan:hover { background: rgba(0, 240, 255, 0.24); color: #fff; }

.btn-gold {
  background: linear-gradient(135deg, var(--neon-gold), #ff6b35);
  color: #0b0b12;
  box-shadow: 0 6px 24px rgba(255, 184, 0, 0.3);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255, 184, 0, 0.45); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-top: 4px;
}

.stat-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 1.2px;
  line-height: 1;
  margin: 0;
}

.section-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 4px 0 0;
}

/* Secret 7 Strip on Dashboard */
.secret-seven-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.secret-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.secret-card:hover {
  border-color: rgba(0, 230, 118, 0.45);
  transform: translateY(-2px);
  background: var(--bg-elevated);
}

.secret-card.found {
  border-color: rgba(0, 230, 118, 0.35);
  opacity: 0.78;
}

.secret-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.secret-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--neon-green);
  background: rgba(0, 230, 118, 0.12);
  padding: 2px 8px;
  border-radius: 99px;
}

.secret-reward {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.secret-name {
  font-size: 14.5px;
  font-weight: 700;
}

.secret-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   INTERACTIVE TACTICAL MAP VIEW (CROWN JEWEL)
   ========================================================================== */
.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all 0.18s;
}

.filter-pill:hover { color: #fff; border-color: rgba(255,255,255,0.28); }
.filter-pill.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--pill-color, var(--neon-cyan));
  box-shadow: 0 0 12px color-mix(in srgb, var(--pill-color, #00f0ff) 32%, transparent);
}

.route-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.35);
  color: var(--neon-green);
  transition: all 0.2s;
}

.route-toggle.active {
  background: var(--neon-green);
  color: #06130b;
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.45);
}

.map-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: start;
}

.map-viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.28);
  background: #040b14;
  aspect-ratio: 16 / 9;
  user-select: none;
  touch-action: none;
  cursor: grab;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

.map-viewport:active { cursor: grabbing; }

.map-stage {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Subtle tactical scanline overlay on map */
.map-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 240, 255, 0.025) 0px,
    rgba(0, 240, 255, 0.025) 1px,
    transparent 1px,
    transparent 4px
  );
  z-index: 3;
}

.map-route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

.route-path {
  fill: none;
  stroke: var(--neon-green);
  stroke-width: 0.45;
  stroke-dasharray: 1.4 0.9;
  filter: drop-shadow(0 0 3px #00e676);
  animation: dashMove 18s linear infinite;
}

@keyframes dashMove {
  to { stroke-dashoffset: -40; }
}

/* Region Labels on Map */
.map-region-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2.2px;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 240, 255, 0.35);
  pointer-events: none;
  z-index: 4;
  white-space: nowrap;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(6, 10, 19, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Interactive Map Pins */
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 6;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: rgba(10, 12, 22, 0.92);
  border: 2px solid var(--pin-color, var(--neon-cyan));
  box-shadow: 0 0 14px color-mix(in srgb, var(--pin-color, #00f0ff) 65%, transparent);
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.2s;
  cursor: pointer;
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--pin-color, var(--neon-cyan));
  opacity: 0.45;
  animation: pinPulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes pinPulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}

.map-pin:hover, .map-pin.selected {
  transform: translate(-50%, -50%) scale(1.26);
  z-index: 12;
  background: var(--pin-color, var(--neon-cyan));
  color: #07070d;
  box-shadow: 0 0 24px var(--pin-color, var(--neon-cyan));
}

.map-pin.collected {
  opacity: 0.45;
  filter: grayscale(0.5);
}
.map-pin.collected::after { display: none; }

.pin-order-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--neon-green);
  color: #05140a;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #07070d;
}

/* Map HUD Overlays */
.map-hud-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 15;
}

.hud-pill-dark {
  pointer-events: auto;
  background: rgba(8, 10, 20, 0.84);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 240, 255, 0.28);
  padding: 6px 11px;
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neon-cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.map-zoom-controls {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 15;
}

.zoom-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(10, 12, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.zoom-btn:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); }

/* Intel Drawer (Right panel of Map) */
.intel-drawer {
  min-width: 0;
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 620px;
  overflow-y: auto;
  position: relative;
  z-index: 2;
}

.intel-empty {
  margin: auto;
  text-align: center;
  padding: 28px 12px;
  color: var(--text-muted);
}

.intel-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  width: fit-content;
}

.intel-title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: 0.8px;
  margin: 0;
}

.intel-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.intel-meta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 9px 11px;
}

.intel-meta-box small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.intel-meta-box strong {
  font-size: 13px;
  color: #fff;
}

.intel-steps {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
  color: #d6d9ef;
}

.pro-tip-box {
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.32);
  border-radius: 11px;
  padding: 11px 13px;
  font-size: 12.5px;
  color: #ffe399;
}

.pro-tip-box strong { color: var(--neon-gold); }

/* ==========================================================================
   MONEY ROUTES & FARM CALCULATOR
   ========================================================================== */
.calc-box {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.09), rgba(0, 240, 255, 0.06));
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.calc-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.seg-btns {
  display: inline-flex;
  background: rgba(0,0,0,0.35);
  border-radius: 10px;
  padding: 3px;
  border: 1px solid var(--border-subtle);
}

.seg-btn {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.seg-btn.active {
  background: var(--neon-green);
  color: #06140b;
}

.calc-result {
  background: rgba(9, 10, 18, 0.85);
  border: 1px solid rgba(0, 230, 118, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-align: center;
}

.calc-result .big-cash {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--neon-green);
  line-height: 1;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}

.feature-card:hover { border-color: rgba(255, 42, 133, 0.35); }

.badge-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  padding: 3px 9px;
  border-radius: 6px;
  width: fit-content;
  background: rgba(255, 42, 133, 0.14);
  color: #ff8dc0;
}

.badge-tag.green { background: rgba(0, 230, 118, 0.14); color: var(--neon-green); }
.badge-tag.cyan { background: rgba(0, 240, 255, 0.14); color: var(--neon-cyan); }
.badge-tag.gold { background: rgba(255, 184, 0, 0.14); color: var(--neon-gold); }

/* Stat Bars (Cars & Weapons) */
.stat-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.stat-bar-row {
  display: grid;
  grid-template-columns: 88px 1fr 34px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.bar-bg {
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
}

/* Controller Keycaps (Cheats) */
.cheat-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  padding: 4px 9px;
  border-radius: 7px;
  background: #212139;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom-width: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

/* ==========================================================================
   CHECKLIST 100%
   ========================================================================== */
.checklist-group {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 16px;
}

.chk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.chk-item:last-child { border-bottom: none; }
.chk-item:hover { background: rgba(255,255,255,0.035); }

.chk-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  transition: all 0.15s;
}

.chk-item.done .chk-box {
  background: var(--neon-green);
  border-color: var(--neon-green);
  color: #05130a;
}

.chk-item.done .chk-text {
  text-decoration: line-through;
  color: var(--text-dim);
}

.chk-text { flex: 1; font-size: 14px; cursor: pointer; }

/* ==========================================================================
   VIP & UPSELL PRO LOCKED VAULT / UNLOCKED CONTENT
   ========================================================================== */
.vault-hero {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 28px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 184, 0, 0.22), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(255, 42, 133, 0.18), transparent 45%),
    linear-gradient(145deg, #13101f, #0b0b14);
  border: 1px solid rgba(255, 184, 0, 0.42);
  margin-bottom: 22px;
  overflow: hidden;
}

.vault-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0 18px;
}

.price-old {
  font-size: 16px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.price-now {
  font-family: var(--font-display);
  font-size: 46px;
  color: var(--neon-gold);
  line-height: 1;
}

.locked-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.locked-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 184, 0, 0.22);
  border-radius: var(--radius-md);
  padding: 18px;
  overflow: hidden;
}

.locked-blur {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  opacity: 0.45;
  margin-top: 8px;
  font-size: 13px;
}

.locked-overlay-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neon-gold);
}

.trick-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trick-card.mastered {
  border-color: rgba(0, 230, 118, 0.45);
}

.trick-combo {
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--neon-cyan);
  padding: 9px 12px;
  border-radius: 9px;
}

/* Unlock Code Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 10, 0.78);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open { display: flex; }

.modal-box {
  width: 100%;
  max-width: 440px;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 42, 133, 0.4);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
}

.text-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-void);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  outline: none;
}

.text-input:focus { border-color: var(--neon-cyan); }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  background: #141728;
  border: 1px solid var(--neon-cyan);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s ease;
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Mobile Bottom Nav */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(11, 11, 20, 0.96);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border-subtle);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  justify-content: space-around;
}

.mob-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 6px;
  border-radius: 8px;
}

.mob-btn span:first-child { font-size: 18px; }
.mob-btn.active { color: var(--neon-pink); }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1260px) {
  .map-workspace { grid-template-columns: 1fr; }
  .intel-drawer { max-height: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-box { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .sidebar { display: none; }
  .mobile-nav { display: flex; }
  .mobile-logo { display: inline-block; }
  .page-crumb { display: none; }
  .view-container { padding: 16px 14px 86px; }
  .topbar { padding: 0 14px; }
  .hud-chip.money { display: none; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .map-viewport { min-height: 360px; aspect-ratio: 4 / 3; }
  .hero-banner { min-height: 240px; padding: 20px; }
}
