/* ==============================================================================
   NAILTAP PASS® | GAMER DASHBOARD STYLES
   Diseño Móvil-Primero, Dark Mode Obsidiana y Neones Cyber-Glam
   ============================================================================== */

.pass-body {
  background-color: var(--bg-obsidian);
  color: var(--text-light);
  font-family: var(--font-body);
  min-height: 100vh;
  padding-bottom: 3rem;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   1. NAVEGACIÓN SUPERIOR / SWITCHER
   -------------------------------------------------------------------------- */
.pass-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
}

.pass-nav-container {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pass-brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.pass-badge-pill {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyber-pink), var(--electric-cyan));
  color: #FFFFFF;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.user-switcher-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.switcher-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

.player-select {
  background: transparent;
  color: var(--electric-cyan);
  border: none;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.player-select option {
  background: var(--bg-card);
  color: var(--text-pure);
}

.pass-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-hub-link {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-hub-link:hover {
  color: var(--text-pure);
  border-color: var(--electric-cyan);
  background: var(--electric-cyan-soft);
}

/* --------------------------------------------------------------------------
   CONTENEDOR DE LA APP (MÓVIL PRIMERO)
   -------------------------------------------------------------------------- */
.pass-app-container {
  max-width: 680px;
  margin: 1.25rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   2. GAMER HEADER CARD (FICHA DE USUARIA)
   -------------------------------------------------------------------------- */
.gamer-header-card {
  position: relative;
  background: linear-gradient(180deg, rgba(25, 25, 34, 0.9) 0%, rgba(15, 15, 20, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.gamer-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyber-pink), var(--electric-cyan));
}

.card-hologram-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px),
    radial-gradient(rgba(255, 0, 122, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  pointer-events: none;
  opacity: 0.6;
}

.header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.chip-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.chip-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--electric-cyan);
  box-shadow: 0 0 10px var(--electric-cyan);
  animation: pulseNeon 2s infinite;
}

.chip-tech-label {
  color: var(--text-dim);
  font-weight: 500;
}

.chip-uid-val {
  font-family: 'JetBrains Mono', monospace;
  color: var(--electric-cyan);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.battery-free-tag {
  font-size: 0.72rem;
  color: #FFB800;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.3);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   2. CLEAN LUXURY / LINKTREE PRO PROFILE HEADER
   -------------------------------------------------------------------------- */
.clean-luxury-card {
  background: rgba(18, 18, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.65), 0 0 35px rgba(0, 229, 255, 0.04);
  border-radius: 24px;
  padding: 1.75rem 1.4rem 1.4rem 1.4rem;
}

.card-glass-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.16) 0%, rgba(255, 0, 122, 0.08) 50%, transparent 80%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 1;
}

/* Hero Avatar & Identity Centrado */
.profile-hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 1.25rem;
  width: 100%;
}

.luxury-avatar-wrapper {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 0.75rem auto;
}

.luxury-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
}

.avatar-ring-glow {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 0, 122, 0.9), rgba(0, 229, 255, 0.95), rgba(255, 184, 0, 0.9), rgba(255, 0, 122, 0.9));
  filter: blur(6px);
  z-index: 1;
  animation: spinGlow 9s linear infinite;
}

@keyframes spinGlow {
  to { transform: rotate(360deg); }
}

.rank-mini-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  background: #111116;
  border: 2px solid var(--electric-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 3;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.6);
}

.profile-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.35rem;
  width: 100%;
}

.rank-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.22rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  background: rgba(0, 229, 255, 0.12);
  color: var(--electric-cyan);
  border: 1px solid var(--border-cyan);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
  transition: var(--transition-fast);
}

.user-fullname {
  font-family: 'Space Grotesk', var(--font-heading), sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0.3rem 0 0.2rem 0;
  text-align: center;
  letter-spacing: -0.02em;
  word-break: break-word;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.user-subcaption {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 0 0 0.85rem 0;
  letter-spacing: 0.02em;
}

/* BOTONERA CENTRALIZADA DE REDES SOCIALES (ICONOS OFICIALES A COLOR) */
.social-circle-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0.5rem 0 1.4rem 0;
  width: 100%;
}

.social-circle-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  text-decoration: none;
  position: relative;
}

.social-icon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.social-circle-btn:hover {
  transform: translateY(-4px) scale(1.08);
}

.social-circle-btn:hover .social-icon-inner {
  transform: scale(1.05);
}

/* Colores Oficiales por Plataforma */
.btn-social-instagram:hover {
  background: rgba(225, 48, 108, 0.12);
  border-color: rgba(225, 48, 108, 0.65);
  box-shadow: 0 10px 25px rgba(225, 48, 108, 0.45);
}

.btn-social-tiktok:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.65);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
}

.btn-social-facebook:hover {
  background: rgba(24, 119, 242, 0.12);
  border-color: rgba(24, 119, 242, 0.65);
  box-shadow: 0 10px 25px rgba(24, 119, 242, 0.45);
}

.btn-social-youtube:hover {
  background: rgba(255, 0, 0, 0.12);
  border-color: rgba(255, 0, 0, 0.65);
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.45);
}

.social-tooltip {
  position: absolute;
  bottom: -26px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-light);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  white-space: nowrap;
  background: rgba(10, 10, 14, 0.92);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.social-circle-btn:hover .social-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* ACCESOS SECUNDARIOS ESTILO LINKTREE PRO / CLEAN LUXURY */
.secondary-links-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 0.25rem;
}

.luxury-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
  color: #FFFFFF;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  font-family: inherit;
}

.luxury-link-item:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.luxury-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.luxury-link-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.luxury-link-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 2px;
}

.luxury-link-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.luxury-link-badge {
  font-size: 0.72rem;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
  background: rgba(0, 229, 255, 0.12);
  color: var(--electric-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  white-space: nowrap;
}

.luxury-link-badge.salon-badge {
  background: rgba(255, 0, 122, 0.12);
  color: var(--cyber-pink);
  border-color: rgba(255, 0, 122, 0.3);
}

.luxury-link-action {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--electric-cyan);
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.luxury-link-item:hover .luxury-link-action {
  background: var(--electric-cyan);
  color: #0B0B0C;
  border-color: var(--electric-cyan);
}

/* BOTÓN DE EMERGENCIA SOS EN COLOR ROJO DISTINTIVO */
.sos-luxury-btn {
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.22) 0%, rgba(183, 28, 28, 0.42) 100%) !important;
  border: 1px solid rgba(255, 59, 48, 0.65) !important;
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.sos-luxury-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-100%);
  animation: sosShimmer 3s infinite;
  pointer-events: none;
}

@keyframes sosShimmer {
  100% { transform: translateX(100%); }
}

.sos-luxury-btn:hover {
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.38) 0%, rgba(183, 28, 28, 0.58) 100%) !important;
  border-color: #FF3B30 !important;
  box-shadow: 0 10px 32px rgba(255, 59, 48, 0.5) !important;
  transform: translateY(-2px);
}

.sos-alert-icon {
  background: rgba(255, 59, 48, 0.2) !important;
  border-color: rgba(255, 59, 48, 0.5) !important;
  animation: alertPulse 1.8s infinite;
}

@keyframes alertPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.sos-pill-badge {
  font-size: 0.72rem;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  font-weight: 700;
  background: #E53935;
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(229, 57, 53, 0.6);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Link de la uña footer */
.header-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  z-index: 2;
}

.nfc-target-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  font-size: 0.78rem;
}

.target-link-label {
  color: var(--text-dim);
  white-space: nowrap;
}

.target-link-url {
  color: var(--electric-cyan);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
}

.btn-micro-edit {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-dim);
  font-size: 0.72rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-micro-edit:hover {
  color: var(--text-pure);
  border-color: var(--electric-cyan);
}

/* --------------------------------------------------------------------------
   3. SECCIÓN CENTRAL: XP TRACKER HUD
   -------------------------------------------------------------------------- */
.hud-main-card {
  background: linear-gradient(180deg, #13131A 0%, #0F0F14 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 14px 35px -10px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

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

.hud-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hud-icon {
  font-size: 1.6rem;
}

.hud-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.2;
}

.hud-subtitle {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Insignia Digital Flotante */
.rank-digital-insignia {
  text-align: center;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--border-cyan);
  padding: 0.4rem 0.85rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
  transition: var(--transition-smooth);
}

.insignia-symbol {
  font-size: 1.4rem;
  margin-bottom: 0.1rem;
}

.insignia-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--electric-cyan);
  text-transform: uppercase;
}

/* Métricas en Grid */
.stats-counter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-hud-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  transition: var(--transition-fast);
}

.stat-hud-box:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.stat-hud-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.stat-hud-value-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
}

.digital-number {
  font-family: 'Space Grotesk', 'JetBrains Mono', monospace;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.stat-hud-unit {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
}

.stat-hud-hint {
  font-size: 0.72rem;
  color: var(--text-dim);
  display: block;
  line-height: 1.3;
}

/* Gradientes de texto */
.text-gradient-pink {
  background: linear-gradient(135deg, #FF66B2, var(--cyber-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #70EFFF, var(--electric-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Barra de Progreso Neón Líquida */
.progress-bar-container {
  margin-bottom: 1.5rem;
}

.progress-bar-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.rank-label-left {
  color: var(--electric-cyan);
}

.progress-percent-val {
  font-family: 'JetBrains Mono', monospace;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
}

.rank-label-right {
  color: var(--text-dim);
}

.neon-progress-track {
  width: 100%;
  height: 14px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}

.neon-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--electric-cyan), var(--cyber-pink));
  border-radius: 999px;
  position: relative;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 15px rgba(255, 0, 122, 0.6);
}

.progress-glow-tip {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: #FFFFFF;
  border-radius: 50%;
  filter: blur(2px);
  box-shadow: 0 0 10px #FFFFFF;
}

/* Roadmap de Niveles */
.ranks-roadmap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.roadmap-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  position: relative;
  z-index: 2;
}

.node-bullet {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  background: #111115;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-dim);
  transition: var(--transition-fast);
}

.roadmap-node.passed .node-bullet {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--electric-cyan);
  color: var(--electric-cyan);
}

.roadmap-node.current .node-bullet {
  background: linear-gradient(135deg, var(--electric-cyan), var(--cyber-pink));
  border-color: #FFFFFF;
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
  transform: scale(1.15);
}

.node-name {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-pure);
}

.node-xp {
  font-size: 0.65rem;
  color: var(--text-dim);
}

.roadmap-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 0.25rem;
  margin-bottom: 1.25rem;
}

.roadmap-line.passed {
  background: var(--electric-cyan);
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.5);
}

/* Barra Simuladora de Taps */
.tap-simulator-bar {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.9rem;
}

.sim-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.sim-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.btn-sim-tap {
  background: #171720;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 0.55rem 0.4rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.btn-sim-tap:hover {
  transform: translateY(-2px);
}

.btn-sim-street:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--electric-cyan);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

.btn-sim-totem:hover {
  background: rgba(255, 0, 122, 0.15);
  border-color: var(--cyber-pink);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 0, 122, 0.4);
}

.btn-sim-tiktok:hover {
  background: rgba(255, 184, 0, 0.15);
  border-color: #FFB800;
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.4);
}

/* --------------------------------------------------------------------------
   4. SECCIÓN DE RECOMPENSAS (CUPONES DINÁMICOS)
   -------------------------------------------------------------------------- */
.rewards-section {
  position: relative;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.5rem;
}

.section-pill {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--electric-cyan);
  letter-spacing: 0.08em;
  display: block;
}

.section-h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-pure);
}

.rewards-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.section-intro-text {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.rewards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 580px) {
  .rewards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tarjeta individual de cupón */
.reward-card {
  background: linear-gradient(180deg, #15151D 0%, #101015 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.reward-card.unlocked {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 8px 25px -8px rgba(0, 229, 255, 0.25);
}

.reward-card.unlocked:hover {
  transform: translateY(-3px);
  border-color: var(--electric-cyan);
  box-shadow: 0 12px 30px -8px rgba(0, 229, 255, 0.4);
}

.reward-card.locked {
  opacity: 0.65;
  filter: grayscale(0.2);
}

.reward-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.reward-badge-val {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: var(--cyber-pink-soft);
  color: var(--cyber-pink);
  border: 1px solid var(--border-pink);
}

.reward-card.unlocked .reward-badge-val {
  background: linear-gradient(135deg, rgba(255,0,122,0.2), rgba(0,229,255,0.2));
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.reward-status-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}

.reward-card.unlocked .reward-status-pill {
  background: rgba(0, 229, 255, 0.15);
  color: var(--electric-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.reward-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.reward-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
  line-height: 1.4;
  flex: 1;
}

.reward-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.reward-xp-cost {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.reward-xp-cost strong {
  color: #FFB800;
}

.btn-redeem {
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-redeem.active {
  background: linear-gradient(135deg, var(--cyber-pink), #FF2A8D);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 0 15px rgba(255, 0, 122, 0.5);
}

.btn-redeem.active:hover {
  transform: scale(1.04);
  box-shadow: 0 0 25px rgba(255, 0, 122, 0.7);
}

.btn-redeem.disabled {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   5. SECCIÓN DE HISTORIAL DE TAPS
   -------------------------------------------------------------------------- */
.history-section {
  position: relative;
}

.live-dot-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.pulse-ring {
  width: 7px;
  height: 7px;
  background: #00E5FF;
  border-radius: 50%;
  box-shadow: 0 0 8px #00E5FF;
}

.history-card {
  background: #121217;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}

.history-list {
  display: flex;
  flex-direction: column;
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition-fast);
}

.history-item:last-child {
  border-bottom: none;
}

.history-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.history-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.history-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.history-info {
  min-width: 0;
}

.history-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-pure);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.history-right {
  text-align: right;
  flex-shrink: 0;
}

.history-xp-pill {
  font-family: 'Space Grotesk', 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--electric-cyan);
}

/* --------------------------------------------------------------------------
   6. MODAL: CÓDIGO QR TEMPORAL
   -------------------------------------------------------------------------- */
.qr-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.qr-modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.qr-modal-dialog {
  background: linear-gradient(180deg, #181822 0%, #101015 100%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.3), 0 25px 60px rgba(0,0,0,0.9);
  border-radius: 24px;
  max-width: 420px;
  width: 100%;
  padding: 1.75rem;
  position: relative;
  text-align: center;
}

.qr-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-dim);
  font-size: 1.4rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.qr-modal-close:hover {
  color: #FFFFFF;
  background: rgba(255, 0, 122, 0.4);
}

.qr-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--electric-cyan);
  background: rgba(0, 229, 255, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.qr-modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.qr-modal-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

/* Marco del código QR */
.qr-code-frame {
  background: #FFFFFF;
  padding: 1.25rem;
  border-radius: 18px;
  display: inline-block;
  margin-bottom: 1.25rem;
  position: relative;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.2);
}

.qr-code-target {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-target img, .qr-code-target svg {
  display: block;
  width: 100%;
  height: 100%;
}

.qr-scanner-laser {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyber-pink), transparent);
  box-shadow: 0 0 10px var(--cyber-pink);
  animation: scanLaser 2.4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes scanLaser {
  0% { top: 1.25rem; }
  100% { top: calc(100% - 3.25rem); }
}

.qr-backup-code {
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px dashed #DDD;
}

.backup-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #666;
  letter-spacing: 0.05em;
}

.backup-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: #000000;
  letter-spacing: 0.08em;
}

/* Temporizador */
.qr-timer-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem;
  margin-bottom: 1.25rem;
}

.timer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.timer-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
}

.timer-countdown {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cyber-pink);
}

.timer-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.timer-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--electric-cyan), var(--cyber-pink));
  border-radius: 999px;
  transition: width 1s linear;
}

.timer-warning {
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.3;
}

/* Panel de Prueba para Salones */
.manicurist-test-panel {
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 12px;
  padding: 0.85rem;
}

.test-panel-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--electric-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.test-panel-hint {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
}

/* --------------------------------------------------------------------------
   7. MODAL: LEVEL UP CELEBRATION
   -------------------------------------------------------------------------- */
.levelup-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.levelup-modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.levelup-dialog {
  background: radial-gradient(circle at center, #1E1B2E 0%, #0F0F14 100%);
  border: 2px solid var(--cyber-pink);
  box-shadow: 0 0 60px rgba(255, 0, 122, 0.5);
  border-radius: 28px;
  max-width: 440px;
  width: 100%;
  padding: 2.25rem 1.75rem;
  text-align: center;
  animation: popIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.levelup-icon {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  animation: bounceGlow 1.5s infinite alternate;
}

@keyframes bounceGlow {
  from { transform: translateY(0); filter: drop-shadow(0 0 10px var(--cyber-pink)); }
  to { transform: translateY(-8px); filter: drop-shadow(0 0 25px var(--cyber-pink)); }
}

.levelup-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: #FFB800;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.levelup-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.levelup-message {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

/* --------------------------------------------------------------------------
   8. TOAST DE NOTIFICACIÓN
   -------------------------------------------------------------------------- */
.pass-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(19, 19, 25, 0.95);
  border: 1px solid var(--electric-cyan);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.35);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFFFFF;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  white-space: nowrap;
}

.pass-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */
.pass-footer {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.pass-security-note {
  font-size: 0.76rem;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 0.75rem;
  line-height: 1.4;
}

.pass-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.pass-copy a {
  color: var(--electric-cyan);
  text-decoration: none;
}

/* ==============================================================================
   10. BOTÓN FLOTANTE SOS DE ACCESO RÁPIDO & PULSO RADAR
   ============================================================================== */
.floating-sos-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
}

.btn-floating-sos {
  position: relative;
  background: linear-gradient(135deg, #FF0055, #D00036);
  color: #FFFFFF;
  border: 2px solid #FF4477;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(255, 0, 85, 0.65), 0 8px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.btn-floating-sos:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 35px rgba(255, 0, 85, 0.9), 0 10px 25px rgba(0, 0, 0, 0.7);
  border-color: #FFAACC;
}

.sos-radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 2px solid rgba(255, 0, 85, 0.8);
  pointer-events: none;
  animation: sosRadarPulse 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.sos-radar-ring.delay {
  animation-delay: 0.9s;
}

@keyframes sosRadarPulse {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.9;
  }
  100% {
    width: 220%;
    height: 220%;
    opacity: 0;
  }
}

.sos-icon {
  font-size: 1.25rem;
  animation: sosShake 3s ease-in-out infinite;
}

@keyframes sosShake {
  0%, 80%, 100% { transform: scale(1); }
  85% { transform: scale(1.2) rotate(-8deg); }
  90% { transform: scale(1.2) rotate(8deg); }
  95% { transform: scale(1.2) rotate(-5deg); }
}

/* ==============================================================================
   11. MODAL DE EMERGENCIA SOS & CENTRO DE SEGURIDAD
   ============================================================================== */
.sos-modal-backdrop,
.onboarding-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 12, 0.88);
  backdrop-filter: blur(16px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sos-modal-backdrop.active,
.onboarding-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.sos-modal-dialog,
.onboarding-modal-dialog {
  background: #111117;
  border: 1px solid rgba(255, 0, 85, 0.35);
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 0 50px rgba(255, 0, 85, 0.25), 0 20px 40px rgba(0, 0, 0, 0.8);
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.onboarding-modal-dialog {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.2), 0 20px 40px rgba(0, 0, 0, 0.8);
}

.sos-modal-backdrop.active .sos-modal-dialog,
.onboarding-modal-backdrop.active .onboarding-modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255, 0, 85, 0.3);
  border-color: #FF0055;
}

.sos-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 0, 85, 0.15);
  border: 1px solid rgba(255, 0, 85, 0.4);
  color: #FF4477;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.sos-modal-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.sos-modal-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

/* Tarjeta GPS */
.sos-gps-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gps-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gps-status-tag {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--electric-cyan);
  font-weight: 600;
}

.gps-coords-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-open-maps {
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid var(--electric-cyan);
  color: var(--electric-cyan);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.btn-open-maps:hover {
  background: var(--electric-cyan);
  color: #0B0B0C;
}

/* Contactos de Emergencia */
.sos-contacts-wrap {
  margin-bottom: 1.5rem;
}

.sos-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sos-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sos-contact-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-name-tag {
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
}

.contact-phone-tag {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

.contact-wa-badge {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25D366;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* Botón Maestro SOS */
.btn-fire-sos {
  width: 100%;
  background: linear-gradient(135deg, #FF0055, #C00030);
  border: 2px solid #FF3366;
  color: #FFFFFF;
  padding: 1.1rem 1.5rem;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(255, 0, 85, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.2s;
  margin-bottom: 0.75rem;
}

.btn-fire-sos:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(255, 0, 85, 0.85);
  border-color: #FFAACC;
}

.sos-dispatch-status {
  background: rgba(255, 0, 85, 0.08);
  border: 1px solid rgba(255, 0, 85, 0.3);
  border-radius: 10px;
  padding: 0.85rem;
  margin-top: 0.75rem;
  display: none;
}

.sos-dispatch-status.active {
  display: block;
}

.sos-status-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FF5577;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sos-status-details {
  font-size: 0.8rem;
  color: #FFFFFF;
  line-height: 1.4;
}

/* Acciones Auxiliares */
.sos-aux-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-call-911 {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.btn-call-911:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: #FF4444;
}

.btn-toggle-siren {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

/* ==============================================================================
   12. FORMULARIOS DE ACTIVACIÓN & OTP
   ============================================================================== */
.form-group-onboard {
  margin-bottom: 1rem;
}

.form-label-onboard {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.form-input-onboard {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  color: #FFFFFF;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.form-input-onboard:focus {
  border-color: var(--electric-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.otp-box-input {
  letter-spacing: 0.35em;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  text-align: center;
  font-weight: 700;
  color: var(--electric-cyan);
}

.btn-onboard-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--cyber-pink), var(--electric-cyan));
  color: #FFFFFF;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}

.btn-onboard-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 0, 122, 0.5);
}

.btn-link-chip {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--electric-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-link-chip:hover {
  background: var(--electric-cyan);
  color: #0B0B0C;
}

/* ==============================================================================
   GOOGLE MAPS 5-STAR REVIEWS, DEMO VIDEOS & GROWTH CTAS
   ============================================================================== */

/* 1. Tarjeta de Reseñas de Google Maps */
.salon-review-card {
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.08), rgba(0, 229, 255, 0.06));
  border: 1px solid rgba(255, 184, 0, 0.35);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 184, 0, 0.15);
  position: relative;
  overflow: hidden;
  animation: pulseCardBorder 4s infinite alternate;
}

@keyframes pulseCardBorder {
  0% { border-color: rgba(255, 184, 0, 0.3); }
  100% { border-color: rgba(0, 229, 255, 0.5); }
}

.review-stars-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stars-rating-badge {
  color: #FFB800;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-shadow: 0 0 12px rgba(255, 184, 0, 0.6);
}

.review-xp-pill {
  background: linear-gradient(135deg, var(--cyber-pink), var(--electric-cyan));
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 12px rgba(255, 0, 122, 0.4);
}

.review-salon-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.review-salon-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.btn-google-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  background: linear-gradient(135deg, #4285F4, #34A853);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(66, 133, 244, 0.35);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-google-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(66, 133, 244, 0.55);
}

.google-icon-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* 2. Sección de Videos Demostrativos de Uñas Inteligentes */
.demo-video-section {
  margin-bottom: 2.5rem;
}

.video-showcase-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.video-player-wrap {
  position: relative;
  background: #000000;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.nailtap-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-custom-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.video-custom-overlay.playing {
  opacity: 0;
}

.video-custom-overlay.playing:hover {
  opacity: 1;
}

.btn-big-play {
  align-self: center;
  margin: auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyber-pink), var(--electric-cyan));
  border: none;
  color: #FFFFFF;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255, 0, 122, 0.6);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-big-play:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.8);
}

.video-caption-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.video-tag-pill {
  font-size: 0.68rem;
  font-weight: 800;
  background: var(--cyber-pink);
  color: #FFFFFF;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.video-caption-text {
  font-size: 0.82rem;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.video-playlist-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-subtle);
}

.clip-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.clip-tab-btn:last-child {
  border-right: none;
}

.clip-tab-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #FFFFFF;
}

.clip-tab-btn.active {
  background: rgba(0, 229, 255, 0.08);
  border-bottom: 2px solid var(--electric-cyan);
  color: #FFFFFF;
}

.clip-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--electric-cyan);
}

.clip-info strong {
  display: block;
  font-size: 0.82rem;
  color: #FFFFFF;
}

.clip-info span {
  font-size: 0.72rem;
  color: var(--text-dim);
  display: block;
}

@media (max-width: 600px) {
  .video-playlist-tabs {
    grid-template-columns: 1fr;
  }
  .clip-tab-btn {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* 3. Sección Growth CTAs (Recomendación & Lead Capture) */
.pass-growth-cta-section {
  margin-bottom: 2.5rem;
}

.growth-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 700px) {
  .growth-cta-grid {
    grid-template-columns: 1fr;
  }
}

.growth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.referral-card {
  border-color: rgba(0, 229, 255, 0.3);
}

.lead-capture-card {
  border-color: rgba(255, 0, 122, 0.3);
}

.growth-card-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.referral-card .growth-card-badge {
  background: rgba(0, 229, 255, 0.15);
  color: var(--electric-cyan);
}

.growth-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.growth-card-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Modal de Captura de Leads */
.lead-modal-dialog {
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--cyber-pink);
  box-shadow: 0 0 50px rgba(255, 0, 122, 0.35);
  border-radius: 20px;
  padding: 2rem;
}


