/* ═══════════════════════════════════════════════════════════
   vibra-home.css — Urban Pulse Landing · VibraWorld 3.0
   "Abres la app y SIENTES la ciudad"
   ═══════════════════════════════════════════════════════════ */

/* ── Pulse Ring ── */
.vh-pulse-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 8px;
  position: relative;
}
.vh-pulse-ring {
  width: 160px; height: 160px;
  border-radius: 50%;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.vh-pulse-ring::before,
.vh-pulse-ring::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
}
.vh-pulse-ring::before {
  background: conic-gradient(
    from 0deg,
    var(--vh-color-1, #6C5CE7) 0%,
    var(--vh-color-2, #FD79A8) 33%,
    var(--vh-color-3, #FDCB6E) 66%,
    var(--vh-color-1, #6C5CE7) 100%
  );
  animation: vh-rotate 4s linear infinite;
  opacity: 0.85;
}
.vh-pulse-ring::after {
  inset: 6px;
  background: #0a0a12;
  z-index: 1;
}
.vh-pulse-inner {
  position: relative; z-index: 2;
  text-align: center;
  color: #fff;
}
.vh-energy-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #6C5CE7, #FD79A8, #FDCB6E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.vh-energy-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
@keyframes vh-rotate {
  to { transform: rotate(360deg); }
}

/* Ripple effect */
.vh-ripple {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid rgba(108,92,231,0.3);
  animation: vh-ripple-out 2.5s ease-out infinite;
}
.vh-ripple:nth-child(2) { animation-delay: 0.8s; }
.vh-ripple:nth-child(3) { animation-delay: 1.6s; }
@keyframes vh-ripple-out {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Zone name */
.vh-zone-name {
  text-align: center;
  padding: 8px 0 4px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}
.vh-zone-name strong {
  color: #fff;
  font-weight: 700;
}
.vh-zone-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.vh-zone-trend.up { background: rgba(0,210,120,0.15); color: #00d278; }
.vh-zone-trend.down { background: rgba(255,70,70,0.15); color: #ff5252; }
.vh-zone-trend.stable { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }

/* ── City Ticker ── */
.vh-ticker {
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}
.vh-ticker::before, .vh-ticker::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 30px; z-index: 2;
}
.vh-ticker::before { left: 0; background: linear-gradient(90deg, #0a0a12, transparent); }
.vh-ticker::after { right: 0; background: linear-gradient(270deg, #0a0a12, transparent); }
.vh-ticker-track {
  display: flex;
  gap: 24px;
  animation: vh-scroll 20s linear infinite;
  width: max-content;
}
.vh-ticker-item {
  white-space: nowrap;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
}
.vh-ticker-item .vh-t-zone { color: #6C5CE7; font-weight: 600; }
.vh-ticker-item .vh-t-hot { color: #FD79A8; }
@keyframes vh-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Quick Actions ── */
.vh-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 6px 16px 12px;
}
.vh-act-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.vh-act-btn:active {
  transform: scale(0.95);
  background: rgba(108,92,231,0.15);
}
.vh-act-icon {
  font-size: 24px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
}
.vh-act-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.7);
}
.vh-act-btn:nth-child(1) .vh-act-icon { background: rgba(108,92,231,0.2); }
.vh-act-btn:nth-child(2) .vh-act-icon { background: rgba(253,121,168,0.2); }
.vh-act-btn:nth-child(3) .vh-act-icon { background: rgba(253,203,110,0.2); }

/* ── Nearby Feed ── */
.vh-nearby {
  padding: 0 16px 8px;
}
.vh-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.vh-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.vh-section-more {
  font-size: 12px;
  color: #6C5CE7;
  cursor: pointer;
  font-weight: 600;
}
.vh-nearby-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vh-nearby-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: background 0.2s;
}
.vh-nearby-card:active {
  background: rgba(108,92,231,0.1);
}
.vh-nc-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.vh-nc-avatar.checkin { background: rgba(108,92,231,0.2); }
.vh-nc-avatar.post { background: rgba(253,121,168,0.2); }
.vh-nc-avatar.event { background: rgba(253,203,110,0.2); }
.vh-nc-avatar.alert { background: rgba(255,82,82,0.2); }
.vh-nc-body { flex: 1; min-width: 0; }
.vh-nc-text {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vh-nc-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}
.vh-nc-energy {
  font-size: 12px;
  font-weight: 700;
  color: #6C5CE7;
  flex-shrink: 0;
}

/* ── Hot Zones ── */
.vh-hotzones {
  padding: 0 16px 12px;
}
.vh-hz-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.vh-hz-scroll::-webkit-scrollbar { display: none; }
.vh-hz-chip {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: all 0.2s;
  min-width: 130px;
}
.vh-hz-chip:active { background: rgba(108,92,231,0.12); }
.vh-hz-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.vh-hz-bar {
  margin-top: 6px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.vh-hz-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s ease;
}
.vh-hz-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
}

/* ── Mini Passport ── */
.vh-passport {
  margin: 0 16px 20px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(108,92,231,0.12), rgba(253,121,168,0.08));
  border: 1px solid rgba(108,92,231,0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.vh-passport:active { opacity: 0.85; }
.vh-pp-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C5CE7, #FD79A8);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.vh-pp-info { flex: 1; }
.vh-pp-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.vh-pp-level {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 1px;
}
.vh-pp-stats {
  display: flex;
  gap: 12px;
}
.vh-pp-stat {
  text-align: center;
}
.vh-pp-stat-num {
  font-size: 15px;
  font-weight: 800;
  color: #6C5CE7;
}
.vh-pp-stat-label {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
