/* ==========================================================================
   WHATISMYIP.TOOLS — BESPOKE OBSIDIAN RADAR DESIGN SYSTEM
   A high-end, original hyper-utility aesthetic combining deep obsidian glass,
   neon telemetry beacons, and responsive luxury micro-interactions.
   ========================================================================== */

:root {
  /* Dark Obsidian Theme (Default High-Tech) */
  --bg-space: #07090e;
  --bg-surface: #0d111a;
  --bg-card: rgba(16, 22, 36, 0.75);
  --bg-card-solid: #101624;
  --bg-card-hover: rgba(22, 30, 48, 0.85);
  --bg-input: #0a0e17;
  --bg-chip: rgba(255, 255, 255, 0.05);

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-subtle: #1c2538;
  --border-strong: #2a3754;
  --border-accent: #3b82f6;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #8ea2bd;
  --text-dim: #475569;

  --neon-cyan: #06b6d4;
  --neon-cyan-glow: rgba(6, 182, 212, 0.25);
  --neon-emerald: #10b981;
  --neon-emerald-glow: rgba(16, 185, 129, 0.25);
  --neon-indigo: #6366f1;
  --neon-indigo-glow: rgba(99, 102, 241, 0.25);
  --neon-amber: #f59e0b;
  --neon-amber-glow: rgba(245, 158, 11, 0.25);
  --neon-rose: #f43f5e;
  --neon-purple: #a855f7;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-ambient: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
  --shadow-card: 0 4px 24px -1px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-glass);

  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-space: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-solid: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-input: #f8fafc;
  --bg-chip: rgba(0, 0, 0, 0.04);

  --border-glass: rgba(0, 0, 0, 0.08);
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-accent: #2563eb;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --shadow-ambient: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.1);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 0 0 1px var(--border-subtle);
}

/* Base Reset & Atmospheric Grid */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-space);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Atmospheric Background Glow */
.bg-ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob-1 {
  position: absolute;
  top: -150px;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  filter: blur(80px);
}

.ambient-blob-2 {
  position: absolute;
  top: 250px;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.09) 0%, transparent 70%);
  filter: blur(90px);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, black 40%, transparent 80%);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: background var(--transition-smooth);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.85);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-anchor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #10b981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
}

.brand-gradient {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  flex-wrap: nowrap;
}

@media (max-width: 1024px) {
  .nav-links-wrap { display: none; }
}

.nav-item-btn {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item-btn:hover {
  color: var(--text-primary);
  background: var(--bg-chip);
}

.nav-item-btn.active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.25);
}

/* More Tools Dropdown */
.nav-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger {
  cursor: pointer;
  color: var(--text-secondary);
}

.nav-dropdown-trigger .dropdown-chevron {
  transition: transform var(--transition-fast);
}

.nav-dropdown-wrap:hover .dropdown-chevron,
.nav-dropdown-wrap:focus-within .dropdown-chevron,
.nav-dropdown-wrap.open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: rgba(13, 17, 26, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  z-index: 200;
}

[data-theme="light"] .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.nav-dropdown-wrap:hover .nav-dropdown-menu,
.nav-dropdown-wrap:focus-within .nav-dropdown-menu,
.nav-dropdown-wrap.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  color: var(--text-primary);
  background: var(--bg-chip);
  transform: translateX(2px);
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-header-vpn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-header-vpn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-theme-switch {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-chip);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-theme-switch:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

/* ==========================================================================
   MAIN LAYOUT CONTAINER
   ========================================================================== */
.main-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 5rem;
  width: 100%;
  flex: 1;
}

/* ==========================================================================
   HERO COMMAND CENTER: RADAR FLIGHT DECK (BESPOKE MASTER CARD)
   ========================================================================== */
.radar-command-deck {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.deck-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-glass);
}

.radar-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-emerald);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.radar-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 10px var(--neon-emerald);
  animation: radarPulse 1.8s infinite;
}

@keyframes radarPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.deck-control-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-chip);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pill-action-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.pill-action-btn.active {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.35);
}

/* Master IP Display Canvas */
.ip-canvas-centerpiece {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2rem;
  width: 100%;
}

.ip-canvas-tagline {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-pulse-dot-small {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 8px var(--neon-emerald);
}

.ip-master-headline-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  width: 100%;
}

.ip-canvas-digits {
  font-family: var(--font-display), 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
  text-shadow: 0 2px 25px rgba(56, 189, 248, 0.18);
  user-select: all;
  transition: color var(--transition-fast);
}

.ip-headline-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn-copy-dominant {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-copy-dominant:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn-copy-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--bg-chip);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-copy-secondary:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* Editorial Meta Ribbon */
.ip-meta-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.meta-ribbon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.meta-dot {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.status-indicator-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 6px var(--neon-emerald);
}

/* ==========================================================================
   DUAL-STACK PROTOCOL DOCK (REFINED CARDS)
   ========================================================================== */
.dual-stack-dock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
  width: 100%;
}

@media (max-width: 820px) {
  .dual-stack-dock { grid-template-columns: 1fr; }
}

.protocol-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: all var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

.protocol-box:hover {
  border-color: var(--border-strong);
}

.protocol-box.v4 {
  border-left: 3px solid var(--neon-cyan);
}

.protocol-box.v6 {
  border-left: 3px solid var(--neon-purple);
}

.protocol-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.protocol-title-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.protocol-title-tag.v4 { color: var(--neon-cyan); }
.protocol-title-tag.v6 { color: var(--neon-purple); }

.protocol-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.protocol-status-badge.online {
  background: rgba(16, 185, 129, 0.15);
  color: var(--neon-emerald);
}

.protocol-status-badge.info {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-secondary);
}

.protocol-address-val {
  font-family: var(--font-display), 'Plus Jakarta Sans', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.protocol-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-mini-copy {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.btn-mini-copy:hover {
  background: var(--bg-chip);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* ==========================================================================
   4-COLUMN TELEMETRY DOSSIER (INTEGRATED FLIGHT DECK)
   ========================================================================== */
.telemetry-dossier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1080px) {
  .telemetry-dossier-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .telemetry-dossier-grid { grid-template-columns: 1fr; }
}

.dossier-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: all var(--transition-smooth);
}

.dossier-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.dossier-card-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dossier-card-top svg {
  color: var(--neon-cyan);
}

.dossier-main-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.dossier-sub-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

/* ==========================================================================
   HIGH-CONVERTING CYBERSECURITY PRIVACY ALERT (AFFILIATE / MONETIZATION)
   ========================================================================== */
.privacy-shield-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(99, 102, 241, 0.05) 50%, rgba(16, 185, 129, 0.05) 100%), var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.85rem;
  margin-bottom: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.privacy-shield-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #f59e0b 0%, #10b981 100%);
}

.privacy-banner-left {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  max-width: 800px;
}

.privacy-warning-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  margin-top: 2px;
}

.privacy-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--neon-amber);
  margin-bottom: 0.25rem;
}

.privacy-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-amber);
  box-shadow: 0 0 6px var(--neon-amber);
}

.privacy-banner-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.privacy-banner-sub {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.privacy-cta-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-shield-claim {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-shield-claim:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
}

/* ==========================================================================
   14 NETWORKING TOOLS: MODULAR STUDIO & TAB NAVIGATOR
   ========================================================================== */
.tools-studio-section {
  margin-top: 1rem;
}

.studio-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.studio-title-block h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.studio-title-block p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Category Filter Bar */
.studio-category-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  scrollbar-width: none;
}

.studio-category-bar::-webkit-scrollbar { display: none; }

.cat-filter-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.cat-filter-btn:hover {
  color: var(--text-primary);
  background: var(--bg-chip);
}

.cat-filter-btn.active {
  background: #3b82f6;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

/* Tool Workspace Panels */
.tool-studio-panel {
  display: none;
  animation: panelFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tool-studio-panel.active {
  display: block;
}

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

/* Studio Bento Card */
.studio-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}

.studio-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.studio-card-head h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tool-chip-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* Modern Input Groups */
.studio-input-wrap {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.studio-text-input {
  flex: 1;
  min-width: 240px;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.studio-text-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.studio-select {
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  outline: none;
  cursor: pointer;
}

.btn-studio-run {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-studio-run:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

/* Quick Preset Chips */
.preset-chips-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.preset-chip {
  background: var(--bg-chip);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

/* Terminal & Result Output Box */
.studio-output-box {
  background: #060910;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  max-height: 480px;
  overflow-y: auto;
  position: relative;
  line-height: 1.6;
}

.studio-output-box pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Telemetry Table */
.telemetry-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.telemetry-spec-table tr {
  border-bottom: 1px solid var(--border-glass);
}

.telemetry-spec-table tr:last-child {
  border-bottom: none;
}

.telemetry-spec-table td {
  padding: 0.75rem 0.5rem;
  font-size: 0.9rem;
}

.telemetry-spec-table td.col-key {
  color: var(--text-muted);
  font-weight: 600;
  width: 35%;
}

.telemetry-spec-table td.col-val {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Leaflet Map Frame */
.map-deck-box {
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

/* Speedometer Gauge Widget */
.speed-gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.speed-metric-display {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--neon-cyan);
  line-height: 1;
  text-shadow: 0 0 30px var(--neon-cyan-glow);
}

.speed-unit {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 700;
  margin-top: 0.25rem;
}

/* ==========================================================================
   VPN COMPARISON SECTION (WIRECUTTER STYLE)
   ========================================================================== */
.vpn-comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .vpn-comparison-grid { grid-template-columns: 1fr; }
}

.vpn-tier-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-smooth);
}

.vpn-tier-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 15px 35px -10px rgba(0,0,0,0.5);
}

.vpn-tier-card.featured {
  border-color: #3b82f6;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.vpn-card-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.vpn-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.vpn-brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}

.vpn-price-box {
  margin-bottom: 1.25rem;
}

.vpn-price-tag {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.vpn-discount-pill {
  color: var(--neon-emerald);
  font-weight: 700;
  font-size: 0.85rem;
}

.vpn-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.vpn-features-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vpn-features-list li::before {
  content: '✓';
  color: var(--neon-emerald);
  font-weight: 800;
}

.btn-vpn-deal-claim {
  display: block;
  text-align: center;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  background: var(--bg-chip);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.vpn-tier-card.featured .btn-vpn-deal-claim {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-vpn-deal-claim:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ==========================================================================
   PROGRAMMATIC SEO FOOTER
   ========================================================================== */
.site-footer {
  background: #05070a;
  border-top: 1px solid var(--border-glass);
  padding: 3.5rem 1.5rem 2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .footer-top-grid { grid-template-columns: 1fr; }
}

.footer-brand-bio p {
  margin-top: 0.75rem;
  max-width: 380px;
  line-height: 1.6;
}

.footer-col h3,
.footer-col h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.45rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: #38bdf8;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.8rem;
}

/* ==========================================================================
   MODAL / TOAST / UTILITY OVERLAYS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.modal-box {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 540px;
  width: 100%;
  box-shadow: var(--shadow-ambient);
  position: relative;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.btn-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast-bubble {
  background: var(--bg-card-solid);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  pointer-events: auto;
  animation: toastSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ==========================================================================
   DISPLAY AD CONTAINERS (ADSENSE / EZOIC REVENUE STREAM)
   ========================================================================== */
.ad-slot-wrapper {
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.ad-slot-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.ad-placeholder-box {
  width: 100%;
  max-width: 970px;
  min-height: 90px;
  background: rgba(16, 22, 36, 0.45);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

[data-theme="light"] .ad-placeholder-box {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.15);
}

.ad-placeholder-box:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

/* ==========================================================================
   DEVELOPER API SAAS TIERS (API SUBSCRIPTION REVENUE STREAM)
   ========================================================================== */
.api-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 850px) {
  .api-pricing-grid { grid-template-columns: 1fr; }
}

.api-tier-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.api-tier-box.highlight {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.15);
}

.api-tier-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.api-tier-cost {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.api-tier-limits {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.api-tier-limits li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.api-tier-limits li::before {
  content: '⚡';
  font-size: 0.75rem;
}

/* ==========================================================================
   GAMING PING & LATENCY RADAR STYLES (NEW FEATURE)
   ========================================================================== */
.game-ping-hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

.game-filter-pills {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.game-chip-btn {
  background: var(--bg-chip);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.game-chip-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.game-chip-btn.active {
  background: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.game-action-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.game-servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
}

.game-server-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-smooth);
}

.game-server-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.6);
}

.game-server-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.game-badge-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.12);
  color: #38bdf8;
}

.game-server-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.game-server-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.game-server-provider {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.game-ping-display-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-glass);
}

.game-ping-metric {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.game-ping-metric.ping-excellent {
  color: var(--neon-emerald);
  text-shadow: 0 0 15px var(--neon-emerald-glow);
}

.game-ping-metric.ping-good {
  color: #38bdf8;
}

.game-ping-metric.ping-moderate {
  color: var(--neon-amber);
}

.game-ping-metric.ping-high {
  color: var(--neon-rose);
}

.game-ping-quality-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quality-badge-esports {
  background: rgba(16, 185, 129, 0.15);
  color: var(--neon-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.quality-badge-smooth {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.quality-badge-moderate {
  background: rgba(245, 158, 11, 0.15);
  color: var(--neon-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.quality-badge-high {
  background: rgba(244, 63, 94, 0.15);
  color: var(--neon-rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.btn-game-vpn-fix {
  margin-top: 0.75rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--neon-amber);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-game-vpn-fix:hover {
  background: rgba(245, 158, 11, 0.2);
  color: #fff;
}

/* ==========================================================================
   WHATISMYIPADDRESS PARITY TOOLS (EMAIL ANALYZER, PASS GEN, BREACH)
   ========================================================================== */
.studio-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  resize: vertical;
  transition: all var(--transition-fast);
}

.studio-textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan-glow);
  background: rgba(255, 255, 255, 0.05);
}

/* Password Generator Hero Centerpiece */
.password-hero-deck {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.password-output-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.password-display-text {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--neon-cyan);
  letter-spacing: 0.06em;
  word-break: break-all;
  text-shadow: 0 0 12px var(--neon-cyan-glow);
}

.password-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.password-strength-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.strength-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.strength-bar-fill {
  height: 100%;
  width: 100%;
  background: var(--neon-emerald);
  border-radius: 999px;
  transition: all var(--transition-smooth);
}

.strength-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}

/* Controls Grid */
.pass-controls-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .pass-controls-grid { grid-template-columns: 1fr; }
}

.pass-control-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.pass-slider {
  width: 100%;
  accent-color: var(--neon-cyan);
  cursor: pointer;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.pass-checkboxes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (max-width: 500px) {
  .pass-checkboxes-grid { grid-template-columns: 1fr; }
}

.pass-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.pass-checkbox-label input[type="checkbox"] {
  accent-color: var(--neon-cyan);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ==========================================================================
   LEAFLET MAP OBSIDIAN THEME OVERRIDES
   ========================================================================== */
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: rgba(15, 23, 42, 0.95) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
  border-radius: var(--radius-md) !important;
}

.leaflet-popup-content {
  font-family: var(--font-sans) !important;
  font-size: 0.88rem !important;
  margin: 0.85rem 1.1rem !important;
  line-height: 1.45 !important;
}

.leaflet-popup-content strong {
  color: var(--neon-cyan) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.95rem !important;
  display: block;
  margin-bottom: 0.25rem;
}

.leaflet-container a.leaflet-popup-close-button {
  color: #94a3b8 !important;
  padding: 6px !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  color: #fff !important;
}

.leaflet-bar {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.leaflet-bar a {
  background-color: rgba(15, 23, 42, 0.9) !important;
  color: #f8fafc !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all var(--transition-fast);
}

.leaflet-bar a:hover {
  background-color: rgba(30, 41, 59, 0.95) !important;
  color: var(--neon-cyan) !important;
}

.leaflet-container .leaflet-control-attribution {
  background: rgba(15, 23, 42, 0.8) !important;
  color: #64748b !important;
  backdrop-filter: blur(8px) !important;
  font-size: 0.72rem !important;
}

.leaflet-container .leaflet-control-attribution a {
  color: #94a3b8 !important;
}




