/* ========================================
   PULSAR v4.2 - Estilos Geográficos & Ícones
   ======================================== */

/* ========================================
   🎨 ÍCONES MODERNOS
   ======================================== */

.icon, .neon {
  width: 24px;
  height: 24px;
  stroke: var(--neon-cyan, #00ffff);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 8px var(--neon-cyan, #00ffff));
}

.icon:hover, .neon:hover {
  stroke: var(--neon-pink, #ff1493);
  filter: drop-shadow(0 0 12px var(--neon-pink, #ff1493));
  transform: scale(1.1);
}

.music-icon, .chat-icon, .map-icon {
  width: 28px;
  height: 28px;
}

.geo-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

/* Animações específicas */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.pulse { animation: pulse 0.8s ease-in-out; }

@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 8px var(--neon-cyan)); }
  50% { filter: drop-shadow(0 0 20px var(--neon-pink)); }
}

.glow { animation: glow 2s ease-in-out infinite; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ========================================
   🌍 SISTEMA GEOGRÁFICO
   ======================================== */

.geo-container {
  position: relative;
  padding: 32px;
  margin: 30px 0;
  border-radius: 20px;
  background: rgba(20, 20, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.geographic-modal-body {
  position: relative;
  padding: clamp(14px, 3vw, 20px);
  border-radius: 22px;
  overflow: hidden;
  transition: filter 0.45s ease, background 0.45s ease;
}

.geographic-modal-body::before,
.geographic-modal-body::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.28;
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.6s ease;
}

.geographic-modal-body::before {
  background: radial-gradient(circle at 15% 15%, rgba(142, 45, 226, 0.4), transparent 55%),
              radial-gradient(circle at 85% 30%, rgba(0, 255, 255, 0.4), transparent 60%),
              radial-gradient(circle at 50% 85%, rgba(255, 20, 147, 0.35), transparent 60%);
}

.geographic-modal-body::after {
  inset: -30% -40%;
  background: conic-gradient(from 120deg, rgba(142, 45, 226, 0.35), rgba(0, 255, 255, 0.25), rgba(255, 20, 147, 0.35), rgba(142, 45, 226, 0.35));
  mix-blend-mode: screen;
  animation: geoAurora 18s linear infinite;
}

.geographic-modal-body[data-view='cities']::before {
  opacity: 0.38;
  background: radial-gradient(circle at 10% 20%, rgba(0, 255, 255, 0.45), transparent 55%),
              radial-gradient(circle at 75% 25%, rgba(142, 45, 226, 0.32), transparent 60%),
              radial-gradient(circle at 50% 85%, rgba(0, 255, 191, 0.3), transparent 65%);
}

.geographic-modal-body[data-view='neighborhoods']::before {
  opacity: 0.42;
  background: radial-gradient(circle at 20% 25%, rgba(255, 20, 147, 0.45), transparent 55%),
              radial-gradient(circle at 80% 35%, rgba(0, 255, 255, 0.32), transparent 60%),
              radial-gradient(circle at 45% 90%, rgba(142, 45, 226, 0.35), transparent 60%);
}

.geographic-modal-body[data-view='loading']::before {
  opacity: 0.22;
}

.geographic-modal-body[data-view='loading']::after {
  opacity: 0.18;
  animation-duration: 28s;
}

.geographic-modal-body.geo-view-transition {
  animation: geoViewSwap 0.45s ease;
}
.geo-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(142, 45, 226, 0.18), transparent 55%),
              radial-gradient(circle at 80% 30%, rgba(0, 255, 255, 0.18), transparent 60%),
              linear-gradient(120deg, rgba(255, 20, 147, 0.08), rgba(0, 0, 0, 0));
  animation: gradientShift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.geo-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ccircle cx='10' cy='10' r='1' fill='rgba(0,255,255,0.25)'/%3E%3Ccircle cx='70' cy='40' r='1.2' fill='rgba(142,45,226,0.25)'/%3E%3Ccircle cx='90' cy='90' r='1' fill='rgba(255,20,147,0.25)'/%3E%3C/svg%3E");
  opacity: 0.35;
  animation: floatingParticles 18s linear infinite;
  pointer-events: none;
}

@keyframes gradientShift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-20px, -20px, 0); }
}

@keyframes floatingParticles {
  0% { background-position: 0 0; }
  100% { background-position: 200px 240px; }
}

.geo-panel-surface {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 5vw, 32px);
  border-radius: 24px;
  background: rgba(18, 20, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: fadeInUp 0.5s ease forwards;
  overflow: hidden;
}

.geo-panel-surface::before {
  content: '';
  position: absolute;
  inset: -20% -25%;
  background: radial-gradient(circle at 20% 20%, rgba(142, 45, 226, 0.35), transparent 55%),
              radial-gradient(circle at 80% 30%, rgba(0, 255, 255, 0.28), transparent 55%),
              radial-gradient(circle at 50% 90%, rgba(255, 20, 147, 0.22), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
  filter: blur(2px);
  transition: opacity 0.6s ease;
}

.geo-panel-surface:hover::before {
  opacity: 0.75;
}

.geo-panel-surface::after {
  content: '';
  position: absolute;
  inset: -40% -45%;
  background: conic-gradient(from 90deg, rgba(0, 255, 255, 0.3), rgba(142, 45, 226, 0.15), rgba(255, 20, 147, 0.25), rgba(0, 255, 255, 0.3));
  mix-blend-mode: screen;
  opacity: 0.35;
  pointer-events: none;
  animation: geoSurfaceFlow 22s linear infinite;
}

.geo-panel-header {
  position: relative;
  text-align: center;
  margin-bottom: 2.25rem;
  display: grid;
  gap: 0.75rem;
}

.geo-panel-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-top: 0.75rem;
}

.geo-panel-header::after {
  content: '';
  width: min(180px, 60%);
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(142, 45, 226, 0.8), rgba(0, 255, 255, 0.4), rgba(255, 20, 147, 0.7));
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
}

.geo-state-chip,
.geo-city-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  background: rgba(0, 255, 191, 0.12);
  border: 1px solid rgba(0, 255, 191, 0.35);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 22px rgba(0, 255, 191, 0.18);
}

.geo-city-chip {
  background: rgba(255, 20, 147, 0.12);
  border-color: rgba(255, 20, 147, 0.35);
  box-shadow: 0 8px 22px rgba(255, 20, 147, 0.18);
}

.geo-state-icon {
  font-size: 1.15rem;
  filter: drop-shadow(0 0 8px rgba(0, 255, 191, 0.35));
}

.geo-state-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.geo-state-name {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

.geo-state-meta,
.geo-chip-meta {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

.geo-city-label {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.geo-city-ping {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 20, 147, 0.8);
  position: relative;
  box-shadow: 0 0 10px rgba(255, 20, 147, 0.6);
}

.geo-city-ping::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 20, 147, 0.35);
  animation: geoPing 1.6s ease-out infinite;
}

@keyframes neonGlow {
  0%, 100% { text-shadow: 0 0 10px #00ffff, 0 0 20px #8e2de2; }
  50% { text-shadow: 0 0 16px #ff1493, 0 0 24px #00ffff; }
}

.neon-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  color: #ffffff;
  letter-spacing: 1.5px;
  animation: neonGlow 3s ease-in-out infinite;
}

.geo-search-bar {
  width: min(560px, 100%);
  margin: 25px auto 35px auto;
  padding: 14px 26px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.geo-search-bar::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.geo-search-bar:focus {
  outline: none;
  border-color: rgba(0, 255, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.2), 0 14px 40px rgba(0, 255, 255, 0.18);
}

.search-suggestions {
  list-style: none;
  margin: 0;
  padding: 6px 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  max-height: 240px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 255, 0.35) transparent;
}

.search-suggestions::-webkit-scrollbar {
  width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
  background: transparent;
}

.search-suggestions::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.4), rgba(255, 20, 147, 0.4));
  border-radius: 999px;
}

.suggestion-item {
  position: relative;
  border-left: 3px solid transparent;
  transition: all 0.25s ease;
}

.suggestion-item.active,
.suggestion-item[aria-selected="true"],
.suggestion-item:hover {
  background: rgba(0, 255, 191, 0.12) !important;
  border-left-color: var(--primary-color);
}

.suggestion-item:focus-visible {
  outline: none;
  background: rgba(0, 255, 191, 0.18) !important;
  border-left-color: rgba(255, 20, 147, 0.65);
  box-shadow: 0 0 0 2px rgba(255, 20, 147, 0.25);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes geoSurfaceFlow {
  0% {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.3;
  }
  50% {
    transform: rotate(180deg) scale(1.05);
    opacity: 0.45;
  }
  100% {
    transform: rotate(360deg) scale(1.1);
    opacity: 0.3;
  }
}

@keyframes geoAurora {
  0% {
    transform: rotate(0deg) scale(1.05);
  }
  50% {
    transform: rotate(180deg) scale(1.12);
  }
  100% {
    transform: rotate(360deg) scale(1.05);
  }
}

@keyframes geoViewSwap {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes geoPing {
  0% {
    transform: scale(0.6);
    opacity: 0.75;
  }
  60% {
    transform: scale(1);
    opacity: 0.2;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

.geo-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center;
}

.geo-city-card {
  width: 100%;
  min-height: 120px;
  padding: 16px 20px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(142, 45, 226, 0.85), rgba(0, 255, 255, 0.25));
  color: #ffffff;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: fadeInUp 0.5s ease both;
  backdrop-filter: blur(6px);
}

.geo-city-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.geo-city-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(0, 255, 255, 0.25);
  border-color: rgba(0, 255, 255, 0.55);
}

.geo-city-card:hover::after {
  opacity: 1;
}

.geo-city-card:focus-visible,
.neighborhood-card:focus-visible,
.geo-floating-back-btn:focus-visible {
  outline: 2px solid rgba(0, 255, 255, 0.8);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.15);
}

.geo-city-card .city-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  margin-bottom: 0.75rem;
}

.geo-city-card .city-name {
  font-size: 1.15rem;
  letter-spacing: 0.8px;
  margin-bottom: 0.35rem;
}

.geo-city-card .city-meta {
  font-size: 0.85rem;
  opacity: 0.8;
}

.geo-floating-back-btn {
  position: absolute;
  top: 18px;
  left: 18px;
  background: linear-gradient(120deg, #8E2DE2, #00FFFF);
  border: none;
  border-radius: 12px;
  padding: 9px 16px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 255, 255, 0.35);
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 2;
}

.geo-floating-back-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.geo-neighborhood-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-height: clamp(360px, 58vh, 540px);
  overflow-y: auto;
  padding-right: 6px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 255, 0.4) transparent;
}

.geo-neighborhood-wrapper::-webkit-scrollbar {
  width: 6px;
}

.geo-neighborhood-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.geo-neighborhood-wrapper::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.45), rgba(255, 20, 147, 0.45));
  border-radius: 999px;
}

.geo-neighborhoods-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: flex-start;
}

.geo-letter-nav-container[hidden] {
  display: none !important;
}

.geo-letter-nav-container {
  display: flex;
  justify-content: center;
  align-self: stretch;
}

.geo-letter-nav {
  display: grid;
  grid-auto-flow: row;
  gap: 8px;
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(10, 14, 24, 0.78);
  border: 1px solid rgba(0, 255, 255, 0.15);
  box-shadow: 0 18px 40px rgba(0, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: fadeInUp 0.4s ease 0.05s both;
  position: sticky;
  top: 18px;
}

.geo-letter-nav-btn {
  background: transparent;
  border: 1px solid rgba(0, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.geo-letter-nav-btn:hover,
.geo-letter-nav-btn:focus-visible {
  outline: none;
  background: rgba(0, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.25), 0 12px 24px rgba(0, 255, 255, 0.2);
}

.geo-letter-nav-btn.active {
  background: rgba(255, 20, 147, 0.28);
  border-color: rgba(255, 20, 147, 0.45);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(255, 20, 147, 0.25);
}

.geo-letter-nav-btn:focus-visible {
  outline: none;
}

.geo-letter-nav-btn:active {
  transform: scale(0.97);
}

.geo-letter-nav-btn.active::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 20, 147, 0.6), rgba(0, 255, 255, 0.6));
  box-shadow: 0 0 12px rgba(255, 20, 147, 0.35);
}

@media (max-width: 920px) {
  .geo-neighborhoods-content {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .geo-letter-nav {
    position: static;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
  }

  .geo-letter-nav-btn {
    padding: 6px 12px;
  }

  .geo-neighborhood-wrapper {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .geo-letter-nav {
    gap: 6px;
  }

  .geo-letter-nav-btn {
    font-size: 0.8rem;
    letter-spacing: 0.4px;
  }
}

.geo-neighborhood-group {
  animation: fadeInUp 0.45s ease both;
}

.geo-neighborhood-letter {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--neon-cyan, #00ffff);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.geo-neighborhood-letter::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(142, 45, 226, 0.6), rgba(0, 0, 0, 0));
}

.geo-neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.neighborhood-card {
  background: rgba(30, 30, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 12px;
  color: #ffffff;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.neighborhood-card:hover {
  transform: scale(1.05);
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 0 18px 28px rgba(0, 255, 255, 0.2);
  background: rgba(142, 45, 226, 0.5);
}

.neighborhood-card .neighborhood-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.neighborhood-card .neighborhood-type {
  font-size: 0.75rem;
  opacity: 0.75;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.geo-loading {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(255, 255, 255, 0.75);
  animation: fadeInUp 0.4s ease both;
}

.geo-loading-view {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-loading span {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
}

.geo-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.geo-header h3 {
  color: var(--neon-cyan, #00ffff);
  font-family: 'Orbitron', monospace;
  font-size: 1.4rem;
  text-align: center;
  margin: 0;
  text-shadow: 0 0 10px var(--neon-cyan, #00ffff);
}

.search-input, .neon-input {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--neon-cyan, #00ffff);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.search-input:focus, .neon-input:focus {
  outline: none;
  border-color: var(--neon-pink, #ff1493);
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.search-input::placeholder, .neon-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.geo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 30px;
  padding: 10px;
}

/* ========================================
   💎 CARDS ULTRA-MODERNOS - CITIES
   ======================================== */

.geo-card, .neon-card {
  background: linear-gradient(
    135deg,
    rgba(15, 15, 35, 0.95) 0%,
    rgba(25, 15, 45, 0.95) 50%,
    rgba(15, 15, 35, 0.95) 100%
  );
  border: 2px solid transparent;
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 2px 8px rgba(142, 45, 226, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Glass Morphism Border */
.geo-card::before, .neon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 255, 0.4) 0%,
    rgba(142, 45, 226, 0.6) 25%,
    rgba(255, 20, 147, 0.6) 50%,
    rgba(142, 45, 226, 0.6) 75%,
    rgba(0, 255, 255, 0.4) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Holographic Shimmer Effect */
.geo-card::after, .neon-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(0, 255, 255, 0.1) 45%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 20, 147, 0.1) 55%,
    transparent 70%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

/* ========================================
   ✨ HOVER EFFECTS - ULTRA MODERNOS
   ======================================== */

.geo-card:hover, .neon-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: linear-gradient(
    135deg,
    rgba(20, 20, 50, 0.98) 0%,
    rgba(35, 20, 60, 0.98) 50%,
    rgba(20, 20, 50, 0.98) 100%
  );
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 5px 20px rgba(0, 255, 255, 0.6),
    0 0 40px rgba(142, 45, 226, 0.4),
    0 0 80px rgba(255, 20, 147, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.geo-card:hover::before, .neon-card:hover::before {
  opacity: 1;
  animation: borderGlow 2s ease-in-out infinite;
}

.geo-card:hover::after, .neon-card:hover::after {
  transform: rotate(45deg) translateX(100%);
}

@keyframes borderGlow {
  0%, 100% {
    background: linear-gradient(
      135deg,
      rgba(0, 255, 255, 0.6),
      rgba(142, 45, 226, 0.8),
      rgba(255, 20, 147, 0.8),
      rgba(142, 45, 226, 0.8),
      rgba(0, 255, 255, 0.6)
    );
  }
  50% {
    background: linear-gradient(
      135deg,
      rgba(255, 20, 147, 0.8),
      rgba(0, 255, 255, 0.6),
      rgba(142, 45, 226, 0.8),
      rgba(0, 255, 255, 0.6),
      rgba(255, 20, 147, 0.8)
    );
  }
}

.geo-card:active, .neon-card:active {
  transform: translateY(-8px) scale(0.98);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.6),
    0 2px 10px rgba(0, 255, 255, 0.4);
}

/* ========================================
   📝 TYPOGRAPHY - CARDS
   ======================================== */

.geo-name {
  display: block;
  color: #fff;
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 15px 0 8px 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #00ffff, #ffffff, #ff1493);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  transition: all 0.4s ease;
}

.geo-card:hover .geo-name, .neon-card:hover .geo-name {
  transform: scale(1.08);
  letter-spacing: 2px;
  text-shadow: 
    0 0 30px rgba(0, 255, 255, 0.8),
    0 0 60px rgba(255, 20, 147, 0.6);
}

.geo-count {
  display: block;
  color: var(--neon-cyan, #00ffff);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.5px;
  background: rgba(0, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  display: inline-block;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.geo-card:hover .geo-count, .neon-card:hover .geo-count {
  background: rgba(255, 20, 147, 0.15);
  border-color: rgba(255, 20, 147, 0.5);
  color: var(--neon-pink, #ff1493);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}

.geo-back-btn, .neon-btn {
  background: linear-gradient(135deg, var(--neon-cyan, #00ffff), var(--neon-pink, #ff1493));
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  color: #000;
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.geo-back-btn:hover, .neon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}

.geo-breadcrumb, .location-breadcrumb {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--neon-cyan, #00ffff);
  border-radius: 20px;
  padding: 8px 16px;
  color: var(--neon-cyan, #00ffff);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 15px;
  text-shadow: 0 0 8px var(--neon-cyan, #00ffff);
}

/* ========================================
   📱 RESPONSIVIDADE
   ======================================== */

@media (max-width: 768px) {
  .geo-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
  }
  
  .geo-card, .neon-card {
    padding: 15px;
  }
  
  .geo-header {
    gap: 10px;
  }
  
  .geo-header h3 {
    font-size: 1.2rem;
  }
  
  .geo-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .geo-grid {
    grid-template-columns: 1fr;
  }
  
  .geo-container {
    padding: 15px;
    margin: 15px 0;
  }
  
  .search-input, .neon-input {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}

/* ========================================
   💎 CARDS POR TIPO - ULTRA SOFISTICADOS
   ======================================== */

/* ESTADOS - Roxo Majestoso */
.state-card {
  border-left: 5px solid var(--neon-purple, #8e2de2);
  background: linear-gradient(
    135deg,
    rgba(142, 45, 226, 0.15) 0%,
    rgba(75, 20, 120, 0.15) 50%,
    rgba(142, 45, 226, 0.15) 100%
  );
}

.state-card:hover {
  border-left-width: 8px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    -8px 0 40px rgba(142, 45, 226, 0.6),
    0 0 80px rgba(142, 45, 226, 0.3);
}

/* CIDADES - Cyan Futurista */
.city-card {
  border-left: 5px solid var(--neon-cyan, #00ffff);
  background: linear-gradient(
    135deg,
    rgba(0, 255, 255, 0.12) 0%,
    rgba(0, 150, 180, 0.12) 50%,
    rgba(0, 255, 255, 0.12) 100%
  );
}

.city-card:hover {
  border-left-width: 8px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    -8px 0 40px rgba(0, 255, 255, 0.7),
    0 0 80px rgba(0, 255, 255, 0.4);
}

/* BAIRROS - Pink Vibrante */
.neighborhood-card {
  border-left: 5px solid var(--neon-pink, #ff1493);
  background: linear-gradient(
    135deg,
    rgba(255, 20, 147, 0.15) 0%,
    rgba(200, 10, 100, 0.15) 50%,
    rgba(255, 20, 147, 0.15) 100%
  );
}

.neighborhood-card:hover {
  border-left-width: 8px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    -8px 0 40px rgba(255, 20, 147, 0.7),
    0 0 80px rgba(255, 20, 147, 0.4);
}

/* Cores por tipo de local */
.geo-card[data-state] {
  --accent-color: var(--neon-purple, #8e2de2);
}

.geo-card[data-city] {
  --accent-color: var(--neon-cyan, #00ffff);
}

.geo-card[data-bairro] {
  --accent-color: var(--neon-pink, #ff1493);
}

/* ========================================
   ✨ EFEITOS ESPECIAIS
   ======================================== */

.loading-geo {
  position: relative;
  overflow: hidden;
}

.loading-geo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
  animation: loading-shimmer 2s infinite;
}

@keyframes loading-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Efeito de digitação para breadcrumb */
.typing-effect {
  overflow: hidden;
  border-right: 2px solid var(--neon-cyan, #00ffff);
  white-space: nowrap;
  animation: typing 2s steps(20), blink 1s infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* ========================================
   🌟 TEMAS ALTERNATIVOS
   ======================================== */

[data-theme="light"] .geo-container {
  background: rgba(255, 255, 255, 0.95);
  border-color: #8e2de2;
  color: #333;
}

[data-theme="light"] .geo-header h3 {
  color: #8e2de2;
  text-shadow: 0 0 10px #8e2de2;
}

[data-theme="light"] .search-input,
[data-theme="light"] .neon-input {
  background: rgba(255, 255, 255, 0.9);
  border-color: #8e2de2;
  color: #333;
}

[data-theme="light"] .geo-name {
  color: #333;
}

/* ========================================
   🚀 PULSAR ICON CASCADE v16.0
   Estilos Neon para Ícones dos Bairros
   APENAS PARA BAIRROS - NÃO ESTADOS/CIDADES
   ======================================== */

/* OCULTAR ícones de funcionalidade em cards de ESTADOS e CIDADES */
.state-card .bairro-btn-chat,
.state-card .bairro-btn-weather,
.state-card .bairro-btn-waze,
.state-card .bairro-btn-photos,
.city-card .bairro-btn-chat,
.city-card .bairro-btn-weather,
.city-card .bairro-btn-waze,
.city-card .bairro-btn-photos,
.geo-card:not(.neighborhood-card) .bairro-btn-chat,
.geo-card:not(.neighborhood-card) .bairro-btn-weather,
.geo-card:not(.neighborhood-card) .bairro-btn-waze,
.geo-card:not(.neighborhood-card) .bairro-btn-photos,
.geo-card:not([data-bairro]) .bairro-btn-chat,
.geo-card:not([data-bairro]) .bairro-btn-weather,
.geo-card:not([data-bairro]) .bairro-btn-waze,
.geo-card:not([data-bairro]) .bairro-btn-photos,
.geo-card[data-state] button,
.geo-card[data-city] button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}

.bairro-btn-chat:hover {
    background: rgba(255,0,255,0.3) !important;
    border-color: #ff00ff !important;
    box-shadow: 0 0 15px rgba(255,0,255,0.5), inset 0 0 10px rgba(255,0,255,0.2) !important;
    transform: translateY(-2px) !important;
}

.bairro-btn-weather:hover {
    background: rgba(255,193,7,0.3) !important;
    border-color: #FFC107 !important;
    box-shadow: 0 0 15px rgba(255,193,7,0.5), inset 0 0 10px rgba(255,193,7,0.2) !important;
    transform: translateY(-2px) !important;
}

.bairro-btn-waze:hover {
    background: rgba(0,191,255,0.3) !important;
    border-color: #00BFFF !important;
    box-shadow: 0 0 15px rgba(0,191,255,0.5), inset 0 0 10px rgba(0,191,255,0.2) !important;
    transform: translateY(-2px) !important;
}

.bairro-btn-photos:hover {
    background: rgba(233,30,99,0.3) !important;
    border-color: #E91E63 !important;
    box-shadow: 0 0 15px rgba(233,30,99,0.5), inset 0 0 10px rgba(233,30,99,0.2) !important;
    transform: translateY(-2px) !important;
}

/* ========================================
   🎯 PULSAR v8.9 - GEO SEARCH SYSTEM
   Sistema de Busca Progressiva
   ======================================== */

/* Container principal v8.9 */
#geo-container {
  padding: 40px 20px;
  text-align: center;
  color: #f1faff;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 500px;
}

#geo-container h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #00e0ff 0%, #7f00ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Barras de busca v8.9 */
#citySearch, #neighSearch {
  width: 100%;
  max-width: 600px;
  padding: 14px 20px;
  border: 2px solid rgba(0, 224, 255, 0.3);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: #fff;
  margin: 0 auto 24px;
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 224, 255, 0.1);
}

#citySearch:focus, #neighSearch:focus {
  border-color: rgba(0, 224, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 30px rgba(0, 224, 255, 0.25);
  transform: translateY(-2px);
}

#citySearch::placeholder, #neighSearch::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Listas de resultados v8.9 */
ul#cityList, ul#neighList {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 600px;
  text-align: left;
  max-height: 400px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border-radius: 14px;
  border: 1px solid rgba(0, 224, 255, 0.15);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 224, 255, 0.5) transparent;
}

ul#cityList::-webkit-scrollbar, ul#neighList::-webkit-scrollbar {
  width: 6px;
}

ul#cityList::-webkit-scrollbar-track, ul#neighList::-webkit-scrollbar-track {
  background: transparent;
}

ul#cityList::-webkit-scrollbar-thumb, ul#neighList::-webkit-scrollbar-thumb {
  background: rgba(0, 224, 255, 0.5);
  border-radius: 10px;
}

ul#cityList li, ul#neighList li {
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 10px;
  margin: 6px 10px;
  transition: all 0.25s ease;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

ul#cityList li:hover, ul#neighList li:hover {
  background: linear-gradient(90deg, rgba(0, 224, 255, 0.25), rgba(127, 0, 255, 0.25));
  color: #fff;
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(0, 224, 255, 0.3);
}

/* Ícones de eventos v8.9 */
.event-icons {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  border: 1px solid rgba(0, 224, 255, 0.2);
  gap: 8px;
}

.event-icons i {
  font-size: 1.7rem;
  color: #00e0ff;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px;
  border-radius: 50%;
  background: rgba(0, 224, 255, 0.05);
}

.event-icons i:hover {
  color: #b44cff;
  transform: scale(1.3) rotate(5deg);
  background: rgba(180, 76, 255, 0.15);
  box-shadow: 0 4px 20px rgba(180, 76, 255, 0.4);
}

.event-icons i:active {
  transform: scale(1.15);
}

/* Loading state v8.9 */
.geo-loading-v89 {
  display: inline-block;
  font-size: 0.9rem;
  color: rgba(0, 224, 255, 0.7);
  margin-top: 20px;
}

.geo-loading-v89::after {
  content: '...';
  animation: dots-v89 1.5s steps(4, end) infinite;
}

@keyframes dots-v89 {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* Responsividade v8.9 */
@media (max-width: 768px) {
  #geo-container {
    padding: 24px 16px;
  }

  #geo-container h2 {
    font-size: 1.6rem;
  }

  #citySearch, #neighSearch {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .event-icons i {
    font-size: 1.5rem;
    padding: 8px;
  }

  ul#cityList, ul#neighList {
    max-height: 300px;
  }
}