*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red: #E24B4A; --red-2: #c23a39;
  --dark: #0a0a0a; --dark2: #131313; --dark3: #1a1a1a;
  --muted: #8b8b8b;
  --border: rgba(255,255,255,0.08); --border2: rgba(255,255,255,0.12);
  --white: #ffffff;
  --surface: #0e0e0e; --card: #161616;
  --bg: #000;
  --text: #ffffff;
  --text-dim: rgba(255,255,255,0.55);
  --tile-filter: brightness(0.65) saturate(0.55) contrast(1.05);
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; }
body::before {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.4;
}
.glow  { position: fixed; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(226,75,74,0.18) 0%, transparent 70%); top: -200px; right: -200px; pointer-events: none; z-index: 0; }
.glow2 { position: fixed; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(226,75,74,0.10) 0%, transparent 70%); bottom: -100px; left: -100px; pointer-events: none; z-index: 0; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 2.5rem;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 1; }
.nav-logo img { height: 110px; width: auto; display: block; filter: drop-shadow(0 0 12px rgba(226,75,74,0.20)); }
.nav-logo-text {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem;
  color: var(--white); letter-spacing: 0.06em;
  border: 2px solid var(--white); border-radius: 100px; padding: 7px 18px 6px;
  background: #000; text-transform: uppercase;
  box-shadow: 0 0 16px rgba(255,255,255,0.06), 0 0 32px rgba(226,75,74,0.10);
  white-space: nowrap;
}
.nav-logo-text span { color: var(--red); font-weight: 900; padding: 0 3px; }
.nav-center { display: flex; gap: 4px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 100px; padding: 4px; }
.nav-tab {
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 500;
  padding: 0.4rem 1.1rem; border-radius: 100px; border: none;
  cursor: pointer; transition: all 0.2s;
  background: transparent; color: var(--muted); text-decoration: none;
  display: flex; align-items: center; gap: 6px;
}
.nav-tab:hover { color: var(--white); }
.nav-tab.active { background: var(--red); color: var(--white); }
.nav-right { display: flex; align-items: center; gap: 0.4rem; background: var(--dark3); border: 1px solid var(--border); border-radius: 100px; padding: 0.3rem; }
.lang-btn { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500; padding: 0.3rem 0.75rem; border-radius: 100px; border: none; cursor: pointer; transition: all 0.2s; background: transparent; color: var(--muted); }
.lang-btn.active { background: var(--red); color: var(--white); }

/* ── COUNTDOWN BANNER (feature #7) ────────────────
   Barra sticky bajo el nav con "🔥 Empieza en Xh Ymin"
   Se muestra automáticamente si hay un evento hoy/en vivo,
   se oculta si no hay nada o si el usuario la cierra.       */
.tonight-banner {
  position: fixed;
  top: 137px;      /* altura del nav en desktop */
  left: 0; right: 0;
  z-index: 999;
  background: linear-gradient(90deg, #E24B4A 0%, #ff6b6a 50%, #E24B4A 100%);
  background-size: 200% 100%;
  color: #ffffff;
  cursor: pointer;
  overflow: hidden;
  animation: tonightGradient 4s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(226,75,74,0.35);
  transition: transform 0.28s ease-out;
  user-select: none;
}
.tonight-banner.hiding { transform: translateY(-120%); }
.tonight-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 22px;
  display: flex; align-items: center; gap: 14px;
}
.tonight-icon {
  font-size: 22px; line-height: 1;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.45));
}
.tonight-text {
  flex: 1;
  display: flex; flex-direction: column;
  min-width: 0;
}
.tonight-time {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tonight-name {
  font-size: 12px; opacity: 0.9; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 1px;
}
.tonight-close {
  background: rgba(0,0,0,0.30);
  border: none; color: #fff;
  width: 26px; height: 26px; border-radius: 50%;
  cursor: pointer; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.tonight-close:hover { background: rgba(0,0,0,0.5); }
/* Cuando el banner está visible, empujar el contenido para no solaparlo */
body.has-tonight-banner .page { padding-top: 56px; }
@keyframes tonightGradient {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@media (max-width: 700px) {
  .tonight-banner { top: 110px; }
  .tonight-inner { padding: 8px 14px; gap: 10px; }
  .tonight-icon { font-size: 18px; }
  .tonight-time { font-size: 12px; }
  .tonight-name { font-size: 11px; }
  body.has-tonight-banner .page { padding-top: 52px; }
}

/* ── BOTÓN DE CUENTA EN NAV ────────────────────── */
.auth-btn {
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 600;
  padding: 0.4rem 0.95rem;
  border-radius: 100px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
  cursor: pointer; transition: all 0.2s;
  margin-right: 0.3rem;
}
.auth-btn:hover { background: #c23a39; border-color: #c23a39; }
.auth-user {
  display: flex; align-items: center; gap: 0.4rem;
  cursor: pointer; padding: 0.2rem 0.6rem 0.2rem 0.2rem;
  border-radius: 100px;
  background: var(--dark2);
  border: 1px solid var(--border);
  transition: all 0.2s;
  margin-right: 0.3rem;
}
.auth-user:hover { border-color: var(--red); }
.auth-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 11px;
  flex-shrink: 0;
}
.auth-name {
  font-size: 0.78rem; font-weight: 600; color: var(--white);
  max-width: 110px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── PÁGINA "MI PERFIL" ──────────────────────────── */
#page-profile { display: none; padding: 100px 1.5rem 60px; min-height: 100vh; }
#page-profile.active { display: block; }
.profile-section { max-width: 620px; margin: 0 auto; }
.profile-header { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border2); }
.profile-avatar-wrap { position: relative; flex-shrink: 0; }
.profile-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--red);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 36px;
  border: 3px solid var(--border2);
}
.profile-avatar-change {
  position: absolute; bottom: 0; right: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); border: 2px solid var(--bg);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1; padding: 0;
  transition: all 0.2s;
}
.profile-avatar-change:hover { background: #c23a39; transform: scale(1.1); }
.profile-info { flex: 1; min-width: 0; }
.profile-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; letter-spacing: 1px;
  color: var(--white); margin: 0 0 0.3rem;
  word-break: break-word;
}
.profile-email { color: var(--muted); font-size: 0.85rem; margin: 0; word-break: break-all; }
.profile-form { display: flex; flex-direction: column; gap: 0.7rem; }
.profile-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--muted); font-weight: 600;
  margin-top: 0.8rem;
}
.profile-input {
  background: var(--card); border: 1px solid var(--border2);
  color: var(--white); border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  transition: border-color 0.2s;
}
.profile-input:focus { border-color: var(--red); outline: none; }
.profile-genres { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.genre-chip {
  background: var(--card); border: 1px solid var(--border2);
  color: rgba(255,255,255,0.7); border-radius: 100px;
  padding: 0.35rem 0.8rem; font-size: 0.78rem;
  cursor: pointer; transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
  user-select: none;
}
.genre-chip:hover { border-color: var(--red); color: var(--white); }
.genre-chip.selected {
  background: var(--red); border-color: var(--red); color: #fff;
}
.profile-save-btn {
  margin-top: 1.2rem;
  background: var(--red); color: #fff;
  border: none; border-radius: 10px;
  padding: 0.85rem 1.4rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.92rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
}
.profile-save-btn:hover { background: #c23a39; }
.profile-save-btn:disabled { opacity: 0.6; cursor: wait; }
.profile-status {
  text-align: center; font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  min-height: 1.4em; margin: 0.4rem 0 0;
}
.profile-status.ok { color: #22C55E; }
.profile-status.err { color: var(--red); }
.profile-sep { border: none; border-top: 1px solid var(--border2); margin: 1.5rem 0 0.8rem; }
.profile-logout-btn {
  background: transparent; color: rgba(255,255,255,0.65);
  border: 1px solid var(--border2); border-radius: 10px;
  padding: 0.7rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.profile-logout-btn:hover { color: var(--red); border-color: var(--red); }

/* ── Listas dentro del perfil (Asistiré + Favoritos) ── */
.profile-lists { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 2rem; }
.profile-list-block { }
.profile-list-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem; letter-spacing: 1px;
  color: var(--white);
  margin: 0 0 0.8rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border2);
  display: flex; align-items: center; gap: 8px;
}
.profile-list-cards { display: flex; flex-direction: column; gap: 0.6rem; }
.profile-mini-card {
  display: flex; align-items: center; gap: 12px;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 10px;
  cursor: pointer; transition: all 0.2s;
}
.profile-mini-card:hover { border-color: var(--red); background: rgba(226,75,74,0.05); }
.profile-mini-flyer {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
  background: var(--dark2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.profile-mini-flyer img { width: 100%; height: 100%; object-fit: cover; }
.profile-mini-info { flex: 1; min-width: 0; }
.profile-mini-title {
  font-size: 0.92rem; font-weight: 600; color: var(--white);
  margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.profile-mini-meta {
  font-size: 0.72rem; color: var(--muted);
  margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.profile-list-empty {
  text-align: center; padding: 1.5rem 1rem;
  color: rgba(255,255,255,0.45); font-size: 0.85rem;
  background: var(--card);
  border: 1px dashed var(--border2); border-radius: 10px;
}

/* ── Panel ADMIN: extractor de eventos ────────────────── */
.profile-admin-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(226,75,74,0.30);
}
.admin-extractor-card {
  background: rgba(226,75,74,0.06);
  border: 1px solid rgba(226,75,74,0.25);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.2rem;
}
.admin-form-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.admin-field { display: flex; flex-direction: column; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-field label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--muted); font-weight: 600;
  margin-bottom: 4px;
}
@media (max-width: 720px) {
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-field { grid-column: 1; }
}

/* Zona drag & drop para subir flyer desde el ordenador */
.flyer-drop-zone {
  margin-top: 8px;
  padding: 16px 14px;
  background: var(--dark2);
  border: 2px dashed var(--border2);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.flyer-drop-zone:hover {
  border-color: var(--red);
  background: rgba(226,75,74,0.06);
}
.flyer-drop-zone.dragover {
  border-color: var(--red);
  background: rgba(226,75,74,0.15);
  transform: scale(1.01);
}
.flyer-drop-text {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  user-select: none;
}
.flyer-drop-zone.dragover .flyer-drop-text {
  color: var(--white);
}

/* ── TOGGLE / SWITCH ─────────────────────────────── */
.profile-location-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding: 0.95rem 1.05rem;
  background: rgba(226,75,74,0.06);
  border: 1px solid rgba(226,75,74,0.18);
  border-radius: 12px;
}
.profile-location-info { flex: 1; min-width: 0; }
.profile-location-title {
  font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: 0.92rem; color: var(--white);
}
.profile-location-sub {
  font-size: 0.75rem; color: rgba(255,255,255,0.55);
  margin-top: 2px; line-height: 1.4;
}
.toggle-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background-color: var(--card);
  border: 1px solid var(--border2);
  border-radius: 26px; transition: 0.25s;
}
.toggle-slider::before {
  position: absolute; content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background-color: white;
  border-radius: 50%; transition: 0.25s;
}
.toggle-switch input:checked + .toggle-slider {
  background-color: var(--red); border-color: var(--red);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}
.toggle-switch input:disabled + .toggle-slider { opacity: 0.5; cursor: not-allowed; }

/* ── BOTÓN FLOTANTE "MI UBICACIÓN" EN MAPA ──────── */
.map-locate-btn {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(15,15,15,0.92);
  border: 1px solid var(--border2);
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.map-locate-btn:hover { color: var(--red); border-color: var(--red); transform: scale(1.05); }
.map-locate-btn.active { background: var(--red); color: #fff; border-color: var(--red); }
.map-locate-btn.loading svg { animation: pulse 1.4s infinite; }

/* ── BADGE DE DISTANCIA EN CADA TARJETA ─────────── */
.distance-badge {
  display: inline-flex; align-items: center; gap: 3px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.30);
  color: #60A5FA;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 10px; font-weight: 600;
  margin-left: 4px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .map-locate-btn { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}

/* ── MODAL DE LOGIN ──────────────────────────────── */
.auth-modal {
  display: none;
  position: fixed; inset: 0; z-index: 10000;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.auth-modal.open { display: flex; }
.auth-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.78); backdrop-filter: blur(8px);
}
.auth-modal-card {
  position: relative;
  background: #0d0d0d; border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  width: 100%; max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  max-height: 92vh; overflow-y: auto;
}
.auth-modal-close {
  position: absolute; top: 12px; right: 12px;
  background: transparent; color: var(--muted);
  border: 1px solid var(--border2); border-radius: 50%;
  width: 32px; height: 32px;
  cursor: pointer; font-size: 14px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.auth-modal-close:hover { color: var(--red); border-color: var(--red); }
.auth-modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem; letter-spacing: 1px;
  color: var(--white); margin: 0 0 0.5rem;
}
.auth-modal-sub {
  color: rgba(255,255,255,0.65); font-size: 0.9rem;
  margin: 0 0 1.3rem; line-height: 1.4;
}
.auth-input {
  width: 100%; box-sizing: border-box;
  background: var(--card); border: 1px solid var(--border2);
  color: var(--white); border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  margin-bottom: 0.7rem;
  transition: border-color 0.2s;
}
.auth-input:focus { border-color: var(--red); outline: none; }
.auth-submit-btn {
  width: 100%;
  background: var(--red); color: #fff;
  border: none; border-radius: 10px;
  padding: 0.9rem 1.2rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  margin-top: 0.4rem;
}
.auth-submit-btn:hover { background: #c23a39; }
.auth-submit-btn:disabled { opacity: 0.6; cursor: wait; }

/* Botones OAuth genéricos (Google, Apple, Facebook, Discord) */
.auth-oauth-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 10px;
  padding: 0.78rem 1.2rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0.5rem;
  border: 1px solid transparent;
}
.auth-oauth-btn:active { transform: scale(0.99); }
.auth-oauth-btn svg { flex-shrink: 0; }

/* Google: fondo blanco, texto negro */
.auth-google-btn {
  background: #fff; color: #1f1f1f;
  border-color: #dadce0;
}
.auth-google-btn:hover {
  background: #f8f9fa;
  border-color: #c8c9cc;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Apple: fondo negro, texto blanco */
.auth-apple-btn {
  background: #000; color: #fff;
  border-color: #000;
}
.auth-apple-btn:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
}

/* Facebook: azul oficial */
.auth-facebook-btn {
  background: #1877F2; color: #fff;
  border-color: #1877F2;
}
.auth-facebook-btn:hover {
  background: #166FE5;
  border-color: #166FE5;
}

/* Discord: morado-azul oficial */
.auth-discord-btn {
  background: #5865F2; color: #fff;
  border-color: #5865F2;
}
.auth-discord-btn:hover {
  background: #4752C4;
  border-color: #4752C4;
}

/* Separador "o" entre los dos métodos de login */
.auth-divider {
  display: flex; align-items: center;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border2);
}
.auth-divider span {
  padding: 0 0.8rem;
}
.auth-modal-status {
  text-align: center; font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  min-height: 1.4em; margin: 0.6rem 0 0;
}
.auth-modal-status.ok { color: #22C55E; }
.auth-modal-status.err { color: var(--red); }
.auth-modal-foot {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin: 1.2rem 0 0;
  line-height: 1.4;
}
/* ── RESPONSIVE — TABLET ─────────────────────────── */
@media (max-width: 880px) {
  .nav-logo img { height: 64px; }
  nav { padding: 0.5rem 1.25rem; }
  #page-landing { padding-top: 92px; }
}

/* ── RESPONSIVE — MÓVIL ─────────────────────────── */
@media (max-width: 720px) {
  /* Nav más compacto */
  nav { padding: 0.45rem 0.9rem; }
  .nav-center { display: none; }
  .nav-logo img { height: 44px; }
  .nav-right { padding: 0.2rem; }
  .lang-btn { padding: 0.25rem 0.6rem; font-size: 0.7rem; }
  .auth-btn { padding: 0.3rem 0.7rem; font-size: 0.72rem; margin-right: 0.2rem; }
  .auth-user { padding: 0.15rem 0.45rem 0.15rem 0.15rem; margin-right: 0.2rem; }
  .auth-avatar { width: 22px; height: 22px; font-size: 10px; }
  .auth-name { display: none; } /* en móvil solo avatar */
  #page-profile { padding: 80px 1rem 60px; }
  .profile-avatar { width: 80px; height: 80px; font-size: 30px; }
  .profile-name { font-size: 1.6rem; }
  .auth-modal-card { padding: 1.6rem 1.2rem; }
  .auth-modal-title { font-size: 1.5rem; }

  /* Páginas: padding-top ajustado al nav más pequeño */
  #page-landing { padding-top: 70px; }

  /* Hero compacto */
  .hero { padding: 2.5rem 1rem 2.5rem; }
  .hero-logo-wrap { margin: -1.5rem 0 -1.5rem; }
  .hero-logo-wrap img { width: clamp(220px, 78vw, 360px); }
  h1 { font-size: clamp(1.8rem, 9vw, 2.8rem); margin-bottom: 1rem; }
  .subtitle { font-size: 0.95rem; margin-bottom: 1.8rem; }
  .badge { font-size: 0.7rem; padding: 0.3rem 0.8rem; margin-bottom: 1.2rem; }

  /* Features cards */
  .features { padding: 3rem 1rem; gap: 1rem; }
  .feature-card { padding: 1.4rem; }

  /* Map section */
  .map-section { padding: 3rem 1rem; gap: 2rem; }

  /* Eventos destacados */
  .section[style*="padding:5rem"] { padding: 3rem 1rem !important; }

  /* Footer y socials */
  .socials-section { padding: 3rem 1rem; }
  footer { padding: 1.5rem 1rem; }
}

/* ── Botones de cambio de vista (lista ↔ mapa) — solo móvil ───── */
.mobile-view-map-btn, .mobile-back-list-btn { display: none; }

/* ── MAPA EN MÓVIL — lista o mapa fullscreen, NUNCA ambos ───── */
@media (max-width: 880px) {
  .page-map.active { padding-top: 78px; }
  .map-layout { flex-direction: column; }

  /* Vista por defecto (lista): sidebar a pantalla completa, mapa oculto */
  .sidebar {
    width: 100%;
    height: calc(100vh - 78px);
    max-height: calc(100vh - 78px);
    border-right: none;
    border-bottom: none;
    z-index: 600;
    position: relative;
    padding-bottom: 88px; /* hueco para el botón flotante "Ver en mapa" */
  }
  #map {
    display: none; /* oculto en móvil hasta que se pulse "Ver en mapa" */
    height: calc(100vh - 78px);
    min-height: 0;
  }
  /* Cuando el usuario pulsa "Ver en mapa", page-map gana la clase .mobile-map-open */
  .page-map.mobile-map-open .sidebar { display: none; }
  .page-map.mobile-map-open #map { display: block; }

  .detail-panel { width: 100%; top: 78px; }
  .detail-flyer { height: 240px; }

  /* Botón flotante "Ver en el mapa" — esquina inferior central de la lista */
  .mobile-view-map-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    position: fixed;
    bottom: 16px; left: 50%;
    transform: translateX(-50%);
    z-index: 650;
    padding: 12px 22px;
    background: var(--red);
    color: #fff;
    border: none; border-radius: 100px;
    font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(226,75,74,0.45), 0 0 0 1px rgba(255,255,255,0.06);
    transition: transform 0.18s, box-shadow 0.18s;
  }
  .mobile-view-map-btn:hover, .mobile-view-map-btn:active {
    transform: translateX(-50%) scale(1.04);
    box-shadow: 0 10px 28px rgba(226,75,74,0.6);
  }
  /* Si el usuario ya está viendo el mapa, ocultamos el botón "Ver en mapa" */
  .page-map.mobile-map-open .mobile-view-map-btn { display: none; }
  /* Si los filtros están abiertos, también lo escondemos */
  body.filters-open .mobile-view-map-btn { display: none; }

  /* Botón "Volver" — esquina superior izquierda sobre el mapa */
  .mobile-back-list-btn {
    display: none;
    position: fixed;
    top: 88px; left: 12px;
    z-index: 650;
    align-items: center; gap: 6px;
    padding: 8px 14px;
    background: rgba(15,15,15,0.92);
    color: #fff;
    border: 1px solid var(--border2); border-radius: 100px;
    font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  }
  .page-map.mobile-map-open .mobile-back-list-btn { display: inline-flex; }
  .mobile-back-list-btn:hover { border-color: var(--red); color: var(--red); }

  /* En vista lista NO se ve el botón de mi ubicación (es del mapa) */
  .page-map:not(.mobile-map-open) .map-locate-btn { display: none; }
}
@media (max-width: 720px) {
  .page-map.active { padding-top: 64px; }
  .detail-panel { top: 64px; }
  /* Filtros como bottom sheet en móvil */
  .filters-toggle { display: flex !important; }
  .filters-panel {
    position: fixed !important;
    left: 0; right: 0; bottom: 0; top: auto;
    max-height: 80vh;
    background: var(--surface);
    border-top: 1px solid var(--border2);
    border-bottom: none;
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(0.4,0,0.2,1);
    z-index: 9990 !important;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    padding: 14px 14px 0;
    overflow-y: auto;
    gap: 10px;
  }
  .filters-panel.open { transform: translateY(0); }
  .filters-panel::before {
    content: ''; display: block;
    width: 40px; height: 4px;
    background: var(--border2);
    border-radius: 100px;
    margin: -6px auto 12px;
  }
  .filters-apply-bar { display: block; }
  .search-box input { padding: 8px 12px 8px 32px; font-size: 13px; }
  .search-icon { left: 10px; }
  .dropdown-btn { padding: 7px 10px; }
  .dropdown-btn .label { font-size: 10px; }
  .dropdown-btn .value { font-size: 12px; }
  .genre-filters { max-height: 60px; gap: 5px; }
  .tag-btn { padding: 3px 9px; font-size: 11px; }
  .map-event-count { padding: 6px 12px; font-size: 11px; }
  .map-legend { padding: 6px 12px; gap: 6px 10px; font-size: 10px; }
  .map-legend .legend-title { font-size: 9px; }
  .map-legend .legend-dot { width: 8px; height: 8px; border-width: 1px; }
  .event-card { min-height: 84px; }
  .card-flyer, .card-no-flyer { width: 78px; }
  .card-title { font-size: 15px; }
  .card-venue { font-size: 10px; }
  .detail-flyer { height: 220px; }
  .detail-title { font-size: 24px; letter-spacing: 1px; }
  .detail-body { padding: 16px 18px 20px; }
}

/* PAGES */
.page { display: none; }
.page.active { display: block; }
#page-landing { padding-top: 140px; }
.page-map { display: none; }
.page-map.active { display: flex; flex-direction: column; height: 100vh; padding-top: 140px; }

/* LANDING */
.hero {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 5rem 1.5rem 3rem; text-align: center;
}
.hero-logo-wrap {
  margin: -3rem 0 -3rem;
  animation: fadeUp 0.6s ease both, glowPulse 4s ease-in-out infinite;
  display: inline-block;
  line-height: 0;
}
.hero-logo-wrap img { width: clamp(320px, 55vw, 620px); height: auto; display: block; filter: drop-shadow(0 0 40px rgba(255,255,255,0.10)) drop-shadow(0 0 80px rgba(226,75,74,0.22)); }
.hero-logo-text {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 6.5vw, 3.6rem); letter-spacing: 0.08em;
  border: 3px solid var(--white); border-radius: 120px;
  padding: 16px 44px 14px; background: #000; color: var(--white);
  text-transform: uppercase; line-height: 1;
  box-shadow: 0 0 40px rgba(255,255,255,0.10), 0 0 90px rgba(226,75,74,0.20);
}
.hero-logo-text span { color: var(--red); font-weight: 900; padding: 0 6px; }
@keyframes glowPulse {
  0%,100% { filter: drop-shadow(0 0 40px rgba(255,255,255,0.10)) drop-shadow(0 0 80px rgba(226,75,74,0.22)); }
  50%     { filter: drop-shadow(0 0 60px rgba(255,255,255,0.18)) drop-shadow(0 0 130px rgba(226,75,74,0.38)); }
}
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(226,75,74,0.1); border: 1px solid rgba(226,75,74,0.28);
  border-radius: 100px; padding: 0.4rem 1rem;
  font-size: 0.78rem; font-weight: 500; color: var(--red); letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 1.6rem;
  animation: fadeUp 0.6s 0.05s ease both;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
h1 { font-family: 'Syne', sans-serif; font-size: clamp(2.2rem, 6.5vw, 4.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; max-width: 860px; margin-bottom: 1.4rem; animation: fadeUp 0.6s 0.1s ease both; }
h1 em { font-style: normal; color: var(--red); }
.subtitle { font-size: clamp(1rem, 2.3vw, 1.12rem); font-weight: 300; color: rgba(255,255,255,0.55); max-width: 580px; line-height: 1.7; margin-bottom: 2.6rem; animation: fadeUp 0.6s 0.2s ease both; }
.waitlist-form { display: flex; gap: 0.7rem; width: 100%; max-width: 500px; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.6s 0.3s ease both; }
.email-input { flex: 1; min-width: 220px; padding: 0.9rem 1.25rem; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 12px; color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.95rem; outline: none; transition: border-color 0.2s; }
.email-input:focus { border-color: var(--red); }
.email-input::placeholder { color: var(--muted); }
.submit-btn { padding: 0.9rem 1.75rem; background: var(--red); color: var(--white); border: none; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.submit-btn:hover { background: var(--red-2); transform: translateY(-1px); }
.success-msg { display: none; align-items: center; gap: 0.75rem; background: rgba(226,75,74,0.1); border: 1px solid rgba(226,75,74,0.28); border-radius: 12px; padding: 0.9rem 1.5rem; color: var(--red); font-size: 0.9rem; font-weight: 500; animation: fadeUp 0.4s ease both; margin-top: 1rem; }
.cta-map {
  margin-top: 2rem;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.8rem 1.75rem;
  border: 1px solid var(--border2);
  border-radius: 100px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem; cursor: pointer; transition: all 0.2s;
  background: transparent;
  animation: fadeUp 0.6s 0.4s ease both;
}
.cta-map:hover { border-color: var(--red); color: var(--white); background: rgba(226,75,74,0.08); }
.scroll-hint { margin-top: 3.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.25); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; animation: fadeUp 0.6s 0.5s ease both; }
.scroll-hint svg { animation: bounce 2s infinite; }
.section { position: relative; z-index: 1; }
.section-label { font-size: 0.75rem; font-weight: 600; color: var(--red); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; }
.section-title { font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
.section-subtitle { font-size: 1rem; color: rgba(255,255,255,0.45); max-width: 520px; line-height: 1.7; margin-bottom: 3rem; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.25rem; max-width: 1100px; margin: 0 auto; padding: 5rem 1.5rem; }
.feature-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; transition: all 0.3s; }
.feature-card:hover { border-color: rgba(226,75,74,0.4); transform: translateY(-3px); background: rgba(226,75,74,0.04); }
.feature-icon { font-size: 1.7rem; margin-bottom: 1.1rem; }
.feature-card h3 { font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.65; }
.map-section { max-width: 1100px; margin: 0 auto; padding: 5rem 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media(max-width:768px) { .map-section { grid-template-columns: 1fr; gap: 2rem; } }
.map-preview { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 24px; padding: 1.5rem; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; cursor: pointer; transition: all 0.3s; }
.map-preview:hover { border-color: rgba(226,75,74,0.45); transform: scale(1.01); }
.map-preview-inner { text-align: center; }
.map-preview-inner p { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-top: 0.5rem; }
.map-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.filter-tag { background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 100px; padding: 0.3rem 0.85rem; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.socials-section { text-align: center; padding: 5rem 1.5rem; position: relative; z-index: 1; border-top: 1px solid var(--border); }
.socials { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.social-link { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.25rem; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 100px; color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.85rem; transition: all 0.2s; }
.social-link:hover { border-color: var(--red); color: var(--white); }
footer { text-align: center; padding: 2rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: rgba(255,255,255,0.25); position: relative; z-index: 1; }

/* MAP PAGE */
.map-layout { display: flex; flex: 1; overflow: hidden; }
.sidebar {
  width: 380px; background: var(--surface);
  border-right: 1px solid var(--border2);
  display: flex; flex-direction: column;
  flex-shrink: 0; z-index: 600;
  position: relative;
}
.filters-panel {
  padding: 14px; border-bottom: 1px solid var(--border2);
  display: flex; flex-direction: column; gap: 10px;
  position: relative; z-index: 650;
}
.filters-toggle {
  display: none;
  align-items: center; justify-content: space-between;
  width: 100%; padding: 11px 14px;
  background: var(--card);
  border: none;
  border-bottom: 1px solid var(--border2);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.filters-toggle:hover { background: rgba(226,75,74,0.08); }
.filters-toggle:active { background: rgba(226,75,74,0.15); }
.filters-toggle .filters-caret { color: var(--muted); font-size: 10px; transition: transform .3s; }
.filters-toggle.open .filters-caret { transform: rotate(180deg); }
.active-filters-count {
  display: none; margin-left: 6px;
  background: var(--red); color: #fff;
  padding: 1px 8px; border-radius: 100px;
  font-size: 10px; font-weight: 700;
  vertical-align: middle;
}
.active-filters-count.show { display: inline-block; }

/* Backdrop oscuro detrás del modal de filtros (móvil) */
.filters-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9980;
  opacity: 0; transition: opacity .25s ease;
}
.filters-backdrop.show { display: block; opacity: 1; }

/* Botón de aplicar filtros (móvil, dentro del modal) */
.filters-apply-bar {
  display: none;
  position: sticky; bottom: 0;
  background: var(--surface);
  padding: 12px 14px;
  border-top: 1px solid var(--border2);
  z-index: 1;
}
.filters-apply-btn {
  width: 100%; padding: 13px;
  background: var(--red); color: #fff;
  border: none; border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.filters-apply-btn:hover { background: var(--red-2); }
.search-box { position: relative; }
.search-box input {
  width: 100%; background: var(--card); border: 1px solid var(--border2);
  border-radius: 10px; padding: 10px 14px 10px 36px;
  color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 14px; outline: none; transition: border-color 0.2s;
}
.search-box input:focus { border-color: var(--red); }
.search-box input::placeholder { color: var(--muted); }
.search-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; }
.dropdown-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; }
.dropdown { position: relative; font-family: 'DM Sans', sans-serif; font-size: 13px; }
/* Cuando un dropdown está abierto, su fila se eleva por encima de las otras */
.dropdown-row.row-open { z-index: 700; }
.dropdown.open { z-index: 800; }
.dropdown-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: var(--card); border: 1px solid var(--border2); color: var(--white);
  border-radius: 10px; padding: 9px 12px; cursor: pointer;
  font-family: inherit; font-size: 13px; transition: border-color 0.2s;
}
.dropdown-btn:hover { border-color: var(--red); }
.dropdown-btn .caret { color: var(--muted); transition: transform .2s; font-size: 10px; margin-left: 6px; }
.dropdown.open .dropdown-btn .caret { transform: rotate(180deg); }
.dropdown-btn .label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; margin-right: 6px; }
.dropdown-btn .value { color: var(--white); font-weight: 500; flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dropdown-menu {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #0d0d0d; border: 1px solid var(--border2);
  border-radius: 10px; padding: 4px;
  max-height: 280px; overflow-y: auto;
  display: none; z-index: 9999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(226,75,74,0.08);
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu::-webkit-scrollbar { width: 6px; }
.dropdown-menu::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* Selector de día exacto (calendario nativo) dentro del dropdown de fecha */
.date-picker-row {
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px 12px 12px; margin-top: 4px;
  border-top: 1px solid var(--border2);
  background: rgba(226,75,74,0.04);
  border-radius: 7px;
}
.date-picker-label {
  font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .5px;
  font-weight: 600;
}
.date-picker-input {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid var(--border2);
  color: var(--white);
  border-radius: 8px;
  padding: 9px 11px;
  font-family: inherit; font-size: 13px;
  cursor: pointer;
  color-scheme: dark;
}
.date-picker-input:focus,
.date-picker-input:hover {
  border-color: var(--red);
  outline: none;
}
.date-picker-input::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(0.7);
  cursor: pointer;
}
.date-picker-clear {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--border2);
  color: rgba(255,255,255,0.7);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.date-picker-clear:hover {
  border-color: var(--red);
  color: var(--red);
}
.dropdown-item {
  padding: 8px 12px; border-radius: 7px; cursor: pointer;
  color: rgba(255,255,255,0.75); font-size: 13px;
  display: flex; align-items: center; gap: 8px;
  transition: background .15s, color .15s;
}
.dropdown-item:hover { background: rgba(226,75,74,0.10); color: var(--white); }
.dropdown-item.active { background: var(--red); color: var(--white); font-weight: 500; }
.dropdown-item .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; }
.genre-filters { display: flex; flex-wrap: wrap; gap: 6px; max-height: 90px; overflow-y: auto; padding-right: 4px; }
.genre-filters::-webkit-scrollbar { width: 4px; }
.genre-filters::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
.tag-btn { padding: 5px 12px; border-radius: 20px; border: 1px solid var(--border2); background: transparent; color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 12px; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.tag-btn:hover { border-color: var(--red); color: var(--white); }
.tag-btn.active { background: var(--red); color: var(--white); border-color: var(--red); font-weight: 600; }
.events-list { flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.events-list::-webkit-scrollbar { width: 4px; }
.events-list::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
.event-card { background: var(--card); border: 1px solid var(--border2); border-radius: 12px; overflow: hidden; cursor: pointer; transition: all 0.25s; display: flex; min-height: 95px; }
.event-card:hover { border-color: var(--red); transform: translateX(3px); }
.event-card.active { border-color: var(--red); box-shadow: 0 0 20px rgba(226,75,74,0.20); }
.card-flyer { width: 90px; flex-shrink: 0; background: #000; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.card-flyer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-no-flyer { width: 90px; min-height: 95px; flex-shrink: 0; background: linear-gradient(135deg,#1a1a1a,#0a0a0a); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.card-body { padding: 10px 12px; flex: 1; min-width: 0; }
.card-date { font-size: 10px; color: var(--red); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 3px; }
.card-title { font-family: 'Bebas Neue', sans-serif; font-size: 17px; letter-spacing: 1px; line-height: 1.1; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-venue { font-size: 11px; color: var(--muted); margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-tags { display: flex; flex-wrap: wrap; gap: 3px; }
.genre-tag { font-size: 10px; padding: 2px 7px; border-radius: 10px; background: rgba(226,75,74,0.10); color: var(--red); border: 1px solid rgba(226,75,74,0.25); }
#map { flex: 1; background: #000; z-index: 1; }
/* ── Cluster de markers (feature #9) ────────────────
   Sobrescribe los estilos por defecto de leaflet.markercluster con
   la estética Join2Fest (rojo, glow, tipografía Bebas Neue).      */
.j2f-cluster {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 30%, #ff6b6a 0%, #E24B4A 60%, #b93231 100%);
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  color: #fff;
  font-family: 'Bebas Neue', 'DM Sans', sans-serif;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(226,75,74,0.55), 0 2px 8px rgba(0,0,0,0.4);
  animation: clusterPulse 2.6s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.15s ease-out;
}
.j2f-cluster:hover { transform: scale(1.08); }
.j2f-cluster-count { line-height: 1; letter-spacing: 0.5px; }
@keyframes clusterPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(226,75,74,0.55), 0 2px 8px rgba(0,0,0,0.4); }
  50%      { box-shadow: 0 0 22px rgba(226,75,74,0.85), 0 2px 8px rgba(0,0,0,0.4); }
}
/* Ocultar los estilos por defecto de MarkerCluster */
.marker-cluster { background: transparent !important; }
.marker-cluster div { background: transparent !important; color: #fff !important; }
.marker-cluster span { display: none; }

.leaflet-tile { filter: brightness(0.65) saturate(0.55) contrast(1.05); }
.leaflet-container { background: #000 !important; }
.leaflet-control-zoom a { background: rgba(15,15,15,0.92) !important; color: #fff !important; border-color: var(--border2) !important; }
.leaflet-control-zoom a:hover { background: var(--red) !important; }
.leaflet-control-attribution { background: rgba(0,0,0,0.55) !important; color: rgba(255,255,255,0.45) !important; }
.leaflet-control-attribution a { color: rgba(255,255,255,0.7) !important; }
.detail-panel {
  position: absolute; right: 0; top: 140px; bottom: 0; width: 420px;
  background: var(--surface); border-left: 1px solid var(--border2);
  z-index: 700; display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  box-sizing: border-box;
}

/* ── PANEL ORGANIZADOR ────────────────────────────── */
.organizer-panel {
  position: absolute; right: 0; top: 140px; bottom: 0; width: 420px;
  background: var(--surface); border-left: 1px solid var(--border2);
  z-index: 800; display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  box-sizing: border-box;
}
.organizer-panel.open { transform: translateX(0); }
.organizer-close {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  background: rgba(0,0,0,0.55); border: 1px solid var(--border2); color: var(--white);
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; transition: all 0.2s;
}
.organizer-close:hover { background: var(--red); border-color: var(--red); }
.organizer-header {
  padding: 32px 22px 22px;
  background: linear-gradient(180deg, rgba(226,75,74,0.10) 0%, transparent 100%);
  border-bottom: 1px solid var(--border2);
  text-align: center;
}
.organizer-logo {
  width: 110px; height: 110px; margin: 0 auto 14px;
  border-radius: 50%;
  border: 3px solid var(--red);
  background: #000;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(226,75,74,0.25);
}
.organizer-logo img { width: 100%; height: 100%; object-fit: cover; }
.organizer-logo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 36px; font-weight: 800;
}
.organizer-name {
  font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800;
  line-height: 1.15; margin-bottom: 4px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  flex-wrap: wrap;
}
.organizer-verified {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: #1da1f2; color: #fff;
  font-size: 11px; font-weight: 700;
}
.organizer-bio {
  font-size: 13px; color: #c8c8c8; line-height: 1.5;
  max-width: 320px; margin: 6px auto 14px;
}
.organizer-socials {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 10px; flex-wrap: wrap;
}
.organizer-social-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border2);
  border-radius: 100px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 12px; font-weight: 500;
  transition: all .2s;
}
.organizer-social-btn:hover { border-color: var(--red); color: var(--white); background: rgba(226,75,74,0.08); }
.organizer-social-btn svg { width: 13px; height: 13px; }

/* ── Botones SEGUIR / RECLAMAR / EDITAR en organizer panel ── */
.organizer-actions {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 14px; flex-wrap: wrap;
}
.btn-follow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  background: var(--red); color: #fff;
  border: 1px solid var(--red);
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all .2s;
}
.btn-follow:hover { background: #c23a39; border-color: #c23a39; }
.btn-follow.following {
  background: transparent; color: var(--white);
  border-color: var(--border2);
}
.btn-follow.following:hover {
  background: rgba(226,75,74,0.1); color: var(--red); border-color: var(--red);
}
.btn-claim {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  background: transparent; color: rgba(255,255,255,0.65);
  border: 1px dashed var(--border2);
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.btn-claim:hover { color: #1da1f2; border-color: #1da1f2; background: rgba(29,161,242,0.06); }

.organizer-followers-badge {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px;
  font-size: 12px; color: rgba(255,255,255,0.55);
}
.organizer-followers-badge strong { color: var(--white); font-weight: 700; }

.organizer-pending-claim {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(250,204,21,0.10);
  border: 1px solid rgba(250,204,21,0.35);
  border-radius: 8px;
  font-size: 12px; color: #FACC15;
  text-align: center;
}
.organizer-body {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  padding: 18px 22px 24px;
  box-sizing: border-box;
}
.organizer-body::-webkit-scrollbar { width: 4px; }
.organizer-body::-webkit-scrollbar-thumb { background: var(--border2); }
.organizer-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600; color: var(--red);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin: 16px 0 10px;
}
.organizer-section-title:first-child { margin-top: 0; }
.organizer-event-card {
  display: flex; align-items: stretch;
  background: var(--card); border: 1px solid var(--border2);
  border-radius: 10px; overflow: hidden;
  margin-bottom: 8px; cursor: pointer;
  transition: all .2s;
  min-height: 70px;
}
.organizer-event-card:hover { border-color: var(--red); transform: translateX(3px); }
.organizer-event-card .oe-flyer {
  width: 64px; flex-shrink: 0; background: #000;
}
.organizer-event-card .oe-flyer img { width: 100%; height: 100%; object-fit: cover; }
.organizer-event-card .oe-noflyer {
  width: 64px; background: linear-gradient(135deg,#1a1a1a,#0a0a0a);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.organizer-event-card .oe-body { padding: 8px 10px; flex: 1; min-width: 0; }
.organizer-event-card .oe-date { font-size: 9px; color: var(--red); font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.organizer-event-card .oe-title { font-family: 'Bebas Neue', sans-serif; font-size: 15px; letter-spacing: 0.8px; line-height: 1.05; margin: 2px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.organizer-event-card .oe-venue { font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.organizer-no-events {
  text-align: center; padding: 18px 12px;
  color: var(--muted); font-size: 12px;
  border: 1px dashed var(--border2); border-radius: 10px;
}

/* Texto del organizador en event detail: ahora clicable */
.detail-organizer.clickable {
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 100px;
  background: rgba(226,75,74,0.10);
  border: 1px solid rgba(226,75,74,0.25);
  color: var(--white);
  transition: all .2s;
}
.detail-organizer.clickable:hover { background: rgba(226,75,74,0.20); border-color: var(--red); }
.detail-organizer.clickable .verified-mini {
  display: inline-flex; align-items: center; justify-content: center;
  width: 13px; height: 13px; border-radius: 50%; background: #1da1f2; color: #fff;
  font-size: 9px; font-weight: 700;
}

@media (max-width: 880px) {
  .organizer-panel { left: 0; right: 0; width: auto !important; top: 78px; }
}
@media (max-width: 720px) {
  .organizer-panel { top: 64px; }
  .organizer-header { padding: 24px 16px 18px; }
  .organizer-logo { width: 90px; height: 90px; }
  .organizer-body { padding: 14px 16px 18px; }
}
@media (max-width: 880px) {
  .detail-panel { left: 0; right: 0; width: auto !important; }
}
.detail-panel.open { transform: translateX(0); }
.detail-close { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,0.55); border: 1px solid var(--border2); color: var(--white); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; z-index: 10; transition: all 0.2s; }
.detail-close:hover { background: var(--red); border-color: var(--red); }
.detail-flyer { width: 100%; height: 360px; overflow: hidden; position: relative; flex-shrink: 0; background: #000; display: flex; align-items: center; justify-content: center; }
.detail-flyer img { width: 100%; height: 100%; object-fit: cover; }
.detail-flyer-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#1a1a1a,#0a0a0a); display: flex; align-items: center; justify-content: center; font-size: 56px; }
.detail-flyer::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 100px; background: linear-gradient(transparent, var(--surface)); pointer-events: none; }
.detail-body {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 18px 22px 24px;
  box-sizing: border-box;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-overflow-scrolling: touch;
}
.detail-body::-webkit-scrollbar { width: 4px; }
.detail-body::-webkit-scrollbar-thumb { background: var(--border2); }
.detail-body > * {
  max-width: 100%;
  box-sizing: border-box;
}
.detail-title {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}
.detail-organizer, .detail-desc {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.detail-date { font-size: 11px; color: var(--red); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 5px; }
.detail-title { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 2px; line-height: 1; margin-bottom: 3px; }
.detail-organizer { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.detail-desc { font-size: 13px; color: #c8c8c8; line-height: 1.6; margin-bottom: 16px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.detail-info-item { background: var(--card); border: 1px solid var(--border2); border-radius: 10px; padding: 10px; }
.detail-info-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 3px; }
.detail-info-value { font-size: 13px; font-weight: 500; }
.detail-address { display: flex; align-items: flex-start; gap: 8px; background: var(--card); border: 1px solid var(--border2); border-radius: 10px; padding: 10px; margin-bottom: 16px; font-size: 12px; color: #a8a8a8; }
.detail-genres { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.detail-genre-tag { padding: 5px 12px; border-radius: 20px; font-size: 11px; font-weight: 500; background: rgba(226,75,74,0.10); color: var(--red); border: 1px solid rgba(226,75,74,0.25); }
.btn-entradas { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; background: var(--red); color: var(--white); border: none; border-radius: 10px; font-family: 'Bebas Neue', sans-serif; font-size: 17px; letter-spacing: 2px; cursor: pointer; text-decoration: none; transition: all 0.2s; margin-bottom: 8px; }
.btn-entradas:hover { background: var(--red-2); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(226,75,74,0.30); }
.btn-entradas.disabled { background: var(--card); color: var(--muted); border: 1px solid var(--border2); cursor: not-allowed; transform: none; box-shadow: none; }

.btn-share { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px; background: transparent; color: var(--white); border: 1px solid var(--border2); border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.btn-share:hover { border-color: var(--red); color: var(--red); background: rgba(226,75,74,0.06); }
.btn-share svg { width: 15px; height: 15px; }

/* ── Fila de botones compartir (WhatsApp grande + Más) ── */
.btn-share-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.btn-share-whatsapp {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 14px;
  background: #25D366;            /* verde oficial de WhatsApp */
  color: #ffffff;
  border: none; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(37,211,102,0.28);
}
.btn-share-whatsapp:hover  { background: #1fbf5a; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,211,102,0.4); }
.btn-share-whatsapp:active { transform: translateY(0); }
.btn-share-whatsapp svg    { width: 17px; height: 17px; }

.btn-share-more {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 14px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid var(--border2); border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  min-width: 74px;
}
.btn-share-more:hover { border-color: var(--red); color: var(--red); background: rgba(226,75,74,0.06); }
.btn-share-more svg   { width: 14px; height: 14px; }

/* ── BOTÓN "Añadir al calendario" en panel de detalle ── */
.btn-calendar {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 11px; margin-bottom: 8px;
  background: transparent; color: var(--white);
  border: 1px solid var(--border2); border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.btn-calendar:hover { border-color: var(--red); color: var(--red); background: rgba(226,75,74,0.06); }
.btn-calendar svg { width: 15px; height: 15px; }

/* Opciones dentro del modal picker de calendario */
.calendar-picker-option {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px;
  background: var(--card); color: var(--white);
  border: 1px solid var(--border2); border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: all 0.15s;
  text-align: left;
}
.calendar-picker-option:hover {
  border-color: var(--red);
  background: rgba(226,75,74,0.08);
  transform: translateX(2px);
}
.calendar-picker-option .cal-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.calendar-picker-option .cal-label { flex: 1; }
.calendar-picker-option .cal-sub { font-size: 11px; opacity: 0.6; font-weight: 400; margin-top: 2px; }

/* ── BOTÓN FAVORITO (corazón) en panel de detalle ── */
.btn-fav {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 11px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid var(--border2);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  margin-bottom: 8px;
}
.btn-fav:hover { border-color: #EC4899; color: #EC4899; background: rgba(236,72,153,0.06); }
.btn-fav svg { width: 16px; height: 16px; }
.btn-fav.is-fav {
  background: rgba(236,72,153,0.12);
  border-color: rgba(236,72,153,0.50);
  color: #EC4899;
}
.btn-fav.is-fav:hover { background: rgba(236,72,153,0.20); }

/* ── CORAZÓN PEQUEÑO en tarjeta de evento ──────── */
.event-card { position: relative; }
.card-fav {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  cursor: pointer; transition: all 0.18s;
  display: flex; align-items: center; justify-content: center;
  padding: 0; z-index: 5;
}
.card-fav:hover {
  color: #EC4899;
  border-color: rgba(236,72,153,0.55);
  transform: scale(1.10);
}
.card-fav.is-fav {
  color: #EC4899;
  background: rgba(236,72,153,0.15);
  border-color: rgba(236,72,153,0.60);
}

/* ════════ COMENTARIOS Y VALORACIONES ════════ */
.comments-section {
  margin-top: 1.4rem; padding-top: 1.2rem;
  border-top: 1px solid var(--border2);
}
.comments-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem; letter-spacing: 1px;
  color: var(--white);
  margin: 0 0 0.9rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.comments-rating-summary {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0; color: #FACC15;
  white-space: nowrap;
}
.comments-rating-summary .muted { color: rgba(255,255,255,0.5); font-weight: 500; margin-left: 4px; }

.comments-loading {
  text-align: center; padding: 1rem;
  color: var(--muted); font-size: 0.85rem;
}
.comments-empty {
  text-align: center; padding: 1.5rem 1rem;
  color: rgba(255,255,255,0.45); font-size: 0.85rem;
  background: var(--card);
  border: 1px dashed var(--border2); border-radius: 10px;
}

/* Formulario */
.comments-form {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  margin-bottom: 1rem;
}
.comments-form-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--muted); font-weight: 600;
  margin-bottom: 0.4rem;
}
.stars-input {
  display: inline-flex; gap: 4px; margin-bottom: 0.6rem;
  user-select: none;
}
.stars-input .star {
  width: 22px; height: 22px;
  color: rgba(255,255,255,0.25);
  cursor: pointer; transition: color 0.15s, transform 0.15s;
}
.stars-input .star:hover, .stars-input .star.active { color: #FACC15; }
.stars-input .star:hover { transform: scale(1.1); }
.stars-input .star svg { width: 100%; height: 100%; display: block; }

.comments-textarea {
  width: 100%; box-sizing: border-box;
  background: var(--dark2);
  border: 1px solid var(--border2);
  color: var(--white); border-radius: 8px;
  padding: 0.65rem 0.8rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem;
  resize: vertical; min-height: 60px; max-height: 200px;
  transition: border-color 0.2s;
}
.comments-textarea:focus { border-color: var(--red); outline: none; }
.comments-form-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  margin-top: 0.5rem;
}
.comments-counter { font-size: 0.7rem; color: var(--muted); }
.comments-submit-btn {
  background: var(--red); color: #fff;
  border: none; border-radius: 8px;
  padding: 0.55rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
}
.comments-submit-btn:hover { background: #c23a39; }
.comments-submit-btn:disabled { opacity: 0.5; cursor: wait; }

.comments-login-prompt {
  text-align: center; padding: 0.9rem;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 10px;
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}
.comments-login-prompt button {
  background: var(--red); color: #fff;
  border: none; border-radius: 6px;
  padding: 0.4rem 0.85rem; margin-left: 6px;
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 700;
  cursor: pointer;
}

/* Lista */
.comments-list { display: flex; flex-direction: column; gap: 0.7rem; }
.comment-item {
  display: flex; gap: 10px;
  padding: 0.7rem 0.8rem;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 10px;
}
.comment-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--red);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.comment-body { flex: 1; min-width: 0; }
.comment-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
}
.comment-author {
  font-weight: 600; font-size: 0.85rem; color: var(--white);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.comment-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.7rem; color: var(--muted);
  white-space: nowrap;
}
.comment-stars { display: inline-flex; gap: 1px; }
.comment-stars svg { width: 12px; height: 12px; color: #FACC15; }
.comment-stars svg.dim { color: rgba(255,255,255,0.18); }
.comment-text {
  font-size: 0.85rem; color: rgba(255,255,255,0.85);
  line-height: 1.45; white-space: pre-wrap; word-break: break-word;
  margin: 0;
}
.comment-delete {
  background: transparent;
  color: rgba(255,255,255,0.4);
  border: none; padding: 0; cursor: pointer;
  font-size: 0.7rem;
  transition: color 0.15s;
}
.comment-delete:hover { color: var(--red); }

/* Badge de rating en cada tarjeta de la lista lateral */
.rating-badge {
  display: inline-flex; align-items: center; gap: 3px;
  background: rgba(250,204,21,0.10);
  border: 1px solid rgba(250,204,21,0.30);
  color: #FACC15;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 10px; font-weight: 700;
  margin-left: 4px; white-space: nowrap;
}

/* Badge "N amigos van" en tarjetas de evento (feature #6 FOMO social) */
.friends-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, rgba(226,75,74,0.20), rgba(226,75,74,0.10));
  border: 1px solid rgba(226,75,74,0.45);
  color: #ffb3b2;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px; font-weight: 700;
  margin-left: 4px; white-space: nowrap;
  letter-spacing: 0.2px;
  animation: friendsPulse 2.4s ease-in-out infinite;
  cursor: help;
}
@keyframes friendsPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226,75,74,0.35); }
  50%      { box-shadow: 0 0 0 5px rgba(226,75,74,0); }
}

/* Sección "Quién va" dentro de la ficha del evento */
.event-attendees-section {
  margin: 14px 0 8px;
  padding: 14px 15px;
  background: rgba(226,75,74,0.06);
  border: 1px solid rgba(226,75,74,0.20);
  border-radius: 10px;
}
.event-attendees-title {
  font-size: 12px; font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}
.event-attendees-list {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.attendee-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 100px;
  color: var(--white);
  font-size: 12px; font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.attendee-chip:hover { border-color: var(--red); background: rgba(226,75,74,0.10); }
.attendee-chip .att-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 10px; font-weight: 700;
  overflow: hidden; flex-shrink: 0;
}
.attendee-chip .att-avatar img { width: 100%; height: 100%; object-fit: cover; }
.attendee-chip.friend { border-color: rgba(226,75,74,0.55); background: rgba(226,75,74,0.14); }
.attendee-chip.friend .att-name::before { content: '★ '; color: #FACC15; }

/* Botón Seguir/Siguiendo usuario */
.btn-follow-user {
  padding: 8px 18px;
  background: var(--red);
  color: #fff;
  border: none; border-radius: 100px;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-follow-user:hover { background: #c73f3f; transform: translateY(-1px); }
.btn-follow-user.following {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
}
.btn-follow-user.following:hover { background: rgba(226,75,74,0.10); }

/* Badge de precio en tarjetas de evento */
.price-badge {
  display: inline-flex; align-items: center;
  background: rgba(226,75,74,0.14);
  border: 1px solid rgba(226,75,74,0.35);
  color: var(--red);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px; font-weight: 700;
  margin-left: 4px; white-space: nowrap;
  letter-spacing: 0.2px;
}
.price-badge.price-free {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.35);
  color: #86efac;
}

/* ── BOTÓN CHAT (Telegram/WhatsApp/Discord) ─────── */
.btn-chat {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px; margin-bottom: 8px;
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  color: #fff; border: none; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(42,171,238,0.18);
}
.btn-chat:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(42,171,238,0.30); }
.btn-chat.whatsapp { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); box-shadow: 0 4px 12px rgba(37,211,102,0.18); }
.btn-chat.whatsapp:hover { box-shadow: 0 6px 20px rgba(37,211,102,0.30); }
.btn-chat.discord { background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%); box-shadow: 0 4px 12px rgba(88,101,242,0.18); }
.btn-chat.discord:hover { box-shadow: 0 6px 20px rgba(88,101,242,0.30); }
.btn-chat.instagram { background: linear-gradient(135deg, #E4405F 0%, #F77737 50%, #FCAF45 100%); }
.btn-chat svg { width: 17px; height: 17px; }

/* ── BOTÓN ASISTIRÉ ─────────────────────────────── */
.btn-attend {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 13px 16px; margin-bottom: 8px;
  background: rgba(226,75,74,0.10);
  color: var(--white);
  border: 1px solid rgba(226,75,74,0.35);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.btn-attend:hover { background: rgba(226,75,74,0.20); border-color: var(--red); transform: translateY(-1px); }
.btn-attend.attending {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn-attend .attend-left { display: flex; align-items: center; gap: 9px; }
.btn-attend .attend-left svg { width: 17px; height: 17px; }
.btn-attend .attend-count {
  display: inline-flex; align-items: center;
  background: rgba(0,0,0,0.30);
  padding: 3px 10px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.3px;
  min-width: 30px; justify-content: center;
}
.btn-attend.attending .attend-count { background: rgba(255,255,255,0.20); }

.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--red); color: #fff; padding: 12px 24px; border-radius: 100px;
  font-size: 14px; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none; transition: all .3s;
  z-index: 9999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.no-events { text-align: center; padding: 40px 20px; color: var(--muted); font-size: 14px; }

/* Empty-hero: estado bonito cuando la BD aún no tiene eventos.
   Convierte "0 eventos" (frustrante) en captura de lead (útil).            */
.empty-hero {
  text-align: center;
  padding: 42px 22px 36px;
  color: var(--text);
  animation: fadeInUp 0.5s ease;
}
.empty-hero-icon {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 18px rgba(226,75,74,0.35));
}
.empty-hero-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.empty-hero-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 320px;
  margin: 0 auto 22px;
}
.empty-hero-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px;
  margin: 0 auto;
}
.empty-hero-input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.empty-hero-input:focus {
  border-color: var(--red);
  background: rgba(255,255,255,0.06);
}
.empty-hero-btn {
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  background: var(--red);
  color: white;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s;
}
.empty-hero-btn:hover { background: #d13d3c; transform: translateY(-1px); }
.empty-hero-btn:active { transform: translateY(0); }
.empty-hero-thanks {
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  color: #86efac;
  font-size: 14px;
  font-weight: 600;
  max-width: 280px;
  margin: 0 auto;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.map-event-count { padding: 8px 14px; border-bottom: 1px solid var(--border2); font-size: 12px; color: var(--muted); background: var(--surface); }

/* ── Explora por ciudad · Landing (feature #10) ─────────
   Grid de tarjetas grandes con nombre de ciudad, contador de
   eventos y gradiente basado en el hash del nombre. Click →
   filtra la web por esa ciudad y abre el mapa.               */
.explore-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 2rem;
}
.city-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 14px;
  padding: 22px 20px 18px;
  overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s ease-out, box-shadow 0.2s;
  background: #161616;
}
.city-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--city-gradient, linear-gradient(135deg, rgba(226,75,74,0.35) 0%, rgba(0,0,0,0.85) 100%));
  z-index: 0;
}
.city-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 100%, rgba(255,255,255,0.08), transparent 60%);
  z-index: 1;
}
.city-card > * { position: relative; z-index: 2; }
.city-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4), 0 0 0 1px rgba(226,75,74,0.35);
  border-color: rgba(226,75,74,0.4);
}
.city-card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.city-card-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.3px;
}
.city-card-badge.hot {
  background: linear-gradient(135deg, #FACC15, #E24B4A);
  color: #fff;
}
.city-card-empty { opacity: 0.75; font-size: 11px; font-weight: 500; }
.city-card-name {
  font-family: 'Syne', 'DM Sans', sans-serif;
  font-size: 26px; font-weight: 800;
  letter-spacing: 0.5px; line-height: 1;
  margin-top: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.city-card-bio {
  font-size: 12px; opacity: 0.82; line-height: 1.4;
  margin-top: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 700px) {
  .explore-cities-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
  .city-card { aspect-ratio: 3/4; padding: 16px 14px; }
  .city-card-name { font-size: 20px; }
  .city-card-bio { font-size: 11px; }
}

/* ── Admin de salas (feature #11 Pack C) ──────────────── */
.sala-admin-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.12s;
}
.sala-admin-row:hover {
  border-color: var(--red);
  transform: translateX(2px);
}

/* ── Perfil de sala (feature #11 Pack C) ──────────────── */
.clickable-venue {
  cursor: pointer;
  color: var(--red);
  border-bottom: 1px dashed rgba(226,75,74,0.4);
  transition: color 0.15s;
}
.clickable-venue:hover { color: #ff8080; border-bottom-color: #ff8080; }
.venue-arrow { font-size: 11px; opacity: 0.7; }

.venue-hero {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #161616;
  position: relative;
}
.venue-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg) 100%);
}

/* ── Pack E: Galería carrusel de sala ─── */
.venue-gallery {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #0a0a0a;
}
.ve-slides {
  display: flex;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.ve-slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: zoom-in;
}
.ve-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none; border-radius: 50%;
  font-size: 20px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  z-index: 2;
}
.ve-nav:hover { background: rgba(226,75,74,0.85); }
.ve-prev { left: 10px; }
.ve-next { right: 10px; }
.ve-dots {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 5px;
  z-index: 2;
}
.ve-dot {
  width: 7px; height: 7px;
  background: rgba(255,255,255,0.45);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.15s;
}
.ve-dot.active { background: #E24B4A; transform: scale(1.3); }
.ve-counter {
  position: absolute; top: 10px; right: 10px;
  padding: 3px 9px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 100px;
  font-size: 11px; font-weight: 600;
  z-index: 2;
}

/* Lightbox fullscreen */
.venue-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.venue-lightbox.open { display: flex; }
.lb-img {
  max-width: 100%; max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lb-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none; border-radius: 50%;
  font-size: 16px; cursor: pointer;
}
.lb-close:hover { background: rgba(255,255,255,0.24); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: none; border-radius: 50%;
  font-size: 26px; font-weight: 700;
  cursor: pointer;
}
.lb-nav:hover { background: var(--red); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-counter {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
}

/* Estado abierto/cerrado */
.ve-status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
}
.ve-status-badge.open   { background: rgba(34,197,94,0.14); border: 1px solid rgba(34,197,94,0.35); color: #86efac; }
.ve-status-badge.closed { background: rgba(226,75,74,0.10); border: 1px solid rgba(226,75,74,0.30); color: #ffb3b2; }

/* Horarios tabla */
.ve-hours-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 4px 0;
}
.ve-hour-row {
  display: flex; justify-content: space-between;
  padding: 8px 14px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ve-hour-row:last-child { border-bottom: none; }
.ve-hour-row.today { background: rgba(226,75,74,0.06); color: var(--white); font-weight: 600; }
.ve-hour-day { color: rgba(255,255,255,0.72); }
.ve-hour-row.today .ve-hour-day { color: var(--red); }
.ve-hour-val { color: var(--white); font-weight: 500; }

/* Rating en header y estrellas */
.sala-rating-header {
  display: inline-block;
  margin-left: 6px;
  font-size: 13px; font-weight: 700;
  color: #FACC15;
  vertical-align: middle;
}
.ve-rating-summary {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(250,204,21,0.08), rgba(226,75,74,0.04));
  border: 1px solid rgba(250,204,21,0.20);
  border-radius: 10px;
  margin-bottom: 14px;
}
.ve-rating-big { font-size: 32px; font-weight: 800; color: #FACC15; line-height: 1; }
.ve-rating-count { color: var(--muted); font-size: 12px; }
.ve-stars { display: inline-flex; gap: 2px; }
.ve-stars .ve-star { font-size: 20px; color: rgba(255,255,255,0.15); line-height: 1; }
.ve-stars .ve-star.filled { color: #FACC15; }
.ve-stars.ve-stars-sm .ve-star { font-size: 14px; }
.ve-stars.editable .ve-star { cursor: pointer; transition: transform 0.1s; }
.ve-stars.editable .ve-star:hover { transform: scale(1.15); }

/* Formulario de review */
.ve-review-form {
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  margin-bottom: 14px;
}
.ve-review-item {
  display: flex; gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
}

/* ── Autocompletado en filtro ciudad (feature #10) ────── */
.city-search-wrap {
  padding: 8px 10px 6px;
  border-bottom: 1px solid var(--border2);
  background: var(--surface);
  position: sticky; top: 0; z-index: 2;
}
.city-search-input {
  width: 100%;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border2);
  border-radius: 8px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s;
}
.city-search-input:focus { border-color: var(--red); background: rgba(255,255,255,0.08); }
.city-search-empty {
  padding: 22px 16px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.city-results { max-height: 320px; overflow-y: auto; }
.city-soon-badge {
  font-size: 9px; font-weight: 700;
  padding: 2px 7px;
  background: rgba(250,204,21,0.14);
  color: #FACC15;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 6px;
}
.city-match {
  background: rgba(226,75,74,0.30);
  color: #fff;
  padding: 0 1px;
  border-radius: 2px;
}

/* ── Dashboard organizador (feature #17 Pack H) ──── */
.dash-metric-card {
  padding: 14px;
  background: linear-gradient(180deg, rgba(226,75,74,0.08), rgba(226,75,74,0.02));
  border: 1px solid rgba(226,75,74,0.20);
  border-radius: 10px;
  text-align: center;
}
.dash-metric-value {
  font-size: 26px; font-weight: 800; color: var(--white); line-height: 1;
}
.dash-metric-label {
  font-size: 11px; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.4px; margin-top: 6px;
}
.dash-metric-trend {
  font-size: 11px; color: #22C55E; font-weight: 700; margin-top: 4px;
}
.dash-metric-trend span { color: var(--muted); font-weight: 400; }
.dash-top-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.dash-top-row:hover { border-color: rgba(226,75,74,0.35); background: rgba(226,75,74,0.06); }
.dash-top-rank {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, #FACC15, #E24B4A);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.dash-top-count {
  padding: 3px 8px;
  background: rgba(226,75,74,0.14);
  color: var(--red);
  border-radius: 100px;
  font-size: 11px; font-weight: 700;
  white-space: nowrap;
}

/* ── Marketing: referidos + newsletter (feature #16 Pack G) ──── */
.profile-marketing-block {
  margin: 20px 0 14px;
  padding: 14px 16px;
  background: rgba(226,75,74,0.05);
  border: 1px solid rgba(226,75,74,0.15);
  border-radius: 10px;
}
.profile-marketing-toggle {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
  width: 100%;
}
.profile-marketing-toggle input[type="checkbox"] { display: none; }
.pm-toggle-slider {
  position: relative;
  width: 40px; height: 22px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.pm-toggle-slider::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.profile-marketing-toggle input[type="checkbox"]:checked + .pm-toggle-slider { background: var(--red); }
.profile-marketing-toggle input[type="checkbox"]:checked + .pm-toggle-slider::before { transform: translateX(18px); }
.pm-toggle-label { flex: 1; }
.pm-toggle-title { display: block; color: var(--white); font-weight: 600; font-size: 14px; }
.pm-toggle-sub   { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

.referral-widget {
  margin: 14px 0;
  padding: 16px;
  background: linear-gradient(135deg, rgba(226,75,74,0.10), rgba(250,204,21,0.06));
  border: 1px solid rgba(226,75,74,0.25);
  border-radius: 12px;
}
.referral-header {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px;
}
.referral-icon { font-size: 28px; line-height: 1; }
.referral-title { color: var(--white); font-weight: 700; font-size: 15px; }
.referral-sub   { color: var(--muted); font-size: 12px; margin-top: 3px; line-height: 1.4; }

.referral-progress {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.referral-progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.referral-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FACC15, #E24B4A);
  transition: width 0.5s ease-out;
  border-radius: 100px;
}
.referral-count { font-size: 12px; font-weight: 700; color: #FACC15; }
.referral-linkbox { display: flex; gap: 8px; }

/* ── Buscador global (feature #15 Pack F) ──── */
.nav-search-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border2);
  color: rgba(255,255,255,0.75);
  width: 36px; height: 36px;
  border-radius: 100px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
  margin-right: 0.3rem;
}
.nav-search-btn:hover { border-color: var(--red); color: var(--red); background: rgba(226,75,74,0.08); }
.nav-search-btn svg { width: 16px; height: 16px; }

.global-search-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: flex-start; justify-content: center;
  padding: 80px 20px 20px;
  animation: gsFade 0.15s ease-out;
}
.global-search-modal.open { display: flex; }
@keyframes gsFade { from { opacity: 0; } to { opacity: 1; } }
.gs-card {
  width: 100%; max-width: 620px;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.gs-input-wrap {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.gs-input-icon { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.gs-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  padding: 4px 0;
}
.gs-close {
  background: rgba(255,255,255,0.06);
  border: none; color: var(--muted);
  width: 26px; height: 26px; border-radius: 50%;
  cursor: pointer; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gs-close:hover { background: rgba(226,75,74,0.20); color: var(--red); }
.gs-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 8px 0;
}
.gs-hint {
  padding: 22px 16px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.gs-hint kbd {
  background: rgba(255,255,255,0.10);
  padding: 2px 6px; border-radius: 4px;
  font-size: 11px; font-family: inherit;
}
.gs-section { padding: 4px 0; }
.gs-section-title {
  padding: 6px 16px 4px;
  font-size: 11px; font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.gs-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: background 0.12s;
  font-family: 'DM Sans', sans-serif;
}
.gs-item:hover { background: rgba(226,75,74,0.10); }
.gs-item-emoji { font-size: 16px; flex-shrink: 0; opacity: 0.8; }
.gs-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gs-item-title { color: var(--white); font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-item-sub   { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.gs-mark {
  background: rgba(226,75,74,0.35);
  color: #fff;
  padding: 0 2px;
  border-radius: 3px;
}

/* ── Feed de actividad de amigos (feature #15 Pack F) ──── */
.friends-feed {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 4px 0;
}
.ff-item {
  display: flex; gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  transition: border-color 0.15s;
}
.ff-item:hover { border-color: rgba(226,75,74,0.25); background: rgba(226,75,74,0.04); }
.ff-avatar {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%; object-fit: cover;
  background: var(--red);
}
.ff-avatar-initial {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
}
.ff-content { flex: 1; min-width: 0; }
.ff-line {
  font-size: 13px; color: rgba(255,255,255,0.85);
  line-height: 1.45;
}
.ff-icon { margin-right: 4px; font-size: 14px; }
.ff-name {
  color: var(--white); font-weight: 700;
  cursor: pointer;
}
.ff-name:hover { color: var(--red); }
.ff-action { color: var(--muted); font-weight: 400; }
.ff-target {
  color: #ffb3b2; font-weight: 600;
  cursor: pointer;
}
.ff-target:hover { color: var(--red); text-decoration: underline; }
.ff-extra { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 4px; }
.ff-time {
  font-size: 11px; color: var(--muted);
  margin-top: 4px;
  text-transform: lowercase;
}

/* ── Widget Rutas Nocturnas por ciudad (feature #13) ──── */
.rutas-city-widget {
  padding: 10px 14px 12px;
  border-bottom: 1px solid var(--border2);
  background: linear-gradient(180deg, rgba(168,85,247,0.08) 0%, transparent 100%);
}
.rutas-city-title {
  font-size: 11px; font-weight: 700;
  color: #C084FC;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.rutas-city-list { display: flex; flex-direction: column; gap: 5px; }
.ruta-city-chip {
  display: flex; flex-direction: column;
  padding: 8px 11px;
  background: rgba(168,85,247,0.06);
  border: 1px solid rgba(168,85,247,0.20);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
}
.ruta-city-chip:hover {
  border-color: rgba(168,85,247,0.55);
  background: rgba(168,85,247,0.12);
  transform: translateX(2px);
}
.rc-title { color: var(--white); font-size: 12px; font-weight: 700; }
.rc-meta  { color: var(--muted); font-size: 10px; margin-top: 1px; }

/* ── Timeline dentro del panel de ruta ──── */
.ruta-timeline { position: relative; margin: 8px 0; }
.ruta-stop {
  display: flex; gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  transition: all 0.15s;
}
.ruta-stop[onclick]:hover {
  border-color: rgba(226,75,74,0.45);
  background: rgba(226,75,74,0.06);
  transform: translateX(3px);
}
.ruta-stop-dot {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #C084FC, #E24B4A);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  box-shadow: 0 0 10px rgba(168,85,247,0.4);
}
.ruta-stop-info { flex: 1; min-width: 0; }
.ruta-stop-time { font-size: 11px; color: #C084FC; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }
.ruta-stop-name { font-size: 15px; color: var(--white); font-weight: 700; margin-top: 2px; }
.ruta-stop-tip  { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 4px; line-height: 1.4; }
.ruta-line {
  width: 2px; height: 16px;
  background: linear-gradient(180deg, #C084FC, transparent);
  margin: 2px 0 2px 24px;
}

/* ── Widget Trending Now (feature #12 Pack D) ─────────
   Sección compacta arriba del sidebar con los top 5 eventos
   con más "score" (asistencias × proximidad temporal).      */
.trending-widget {
  padding: 10px 14px 12px;
  border-bottom: 1px solid var(--border2);
  background: linear-gradient(180deg, rgba(250,204,21,0.06) 0%, transparent 100%);
}
.trending-title {
  font-size: 11px; font-weight: 700;
  color: #FACC15;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.trending-list { display: flex; flex-direction: column; gap: 4px; }
.trending-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
}
.trending-row:hover {
  border-color: rgba(250,204,21,0.35);
  background: rgba(250,204,21,0.06);
}
.trending-rank {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: linear-gradient(135deg, #FACC15, #E24B4A);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.trending-info { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.trending-title-txt, .trending-title { }  /* alias */
.trending-info .trending-title { color: var(--white); font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; margin: 0; }
.trending-meta { color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trending-count {
  flex-shrink: 0;
  padding: 2px 7px;
  background: linear-gradient(135deg, rgba(250,204,21,0.20), rgba(226,75,74,0.20));
  border: 1px solid rgba(250,204,21,0.35);
  color: #ffd050;
  border-radius: 100px;
  font-size: 10px; font-weight: 800;
  white-space: nowrap;
}

/* Badge "✨ DESTACADO" para eventos featured (feature #17 Pack H) */
.featured-card-badge {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, #A855F7 0%, #E24B4A 100%);
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px; font-weight: 800;
  margin-right: 4px; white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(168,85,247,0.35);
}
/* Tarjeta con borde brillante cuando es featured */
.event-card.is-featured {
  border-color: rgba(168,85,247,0.45);
  background: linear-gradient(180deg, rgba(168,85,247,0.06), transparent);
  box-shadow: 0 0 0 1px rgba(168,85,247,0.20);
}
.event-card.is-featured:hover {
  border-color: rgba(168,85,247,0.7);
}

/* Badge "🔥 TRENDING" para tarjetas de evento cuando están en top */
.trending-card-badge {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, #FACC15, #E24B4A);
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px; font-weight: 800;
  margin-left: 4px; white-space: nowrap;
  letter-spacing: 0.5px;
  animation: trendingPulse 2.4s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(250,204,21,0.35);
}
@keyframes trendingPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(250,204,21,0.35); }
  50%      { transform: scale(1.05); box-shadow: 0 0 14px rgba(250,204,21,0.55); }
}

/* ── Widget "Ciudades más activas" (feature #9) ─────────
   Compacto, en la parte alta del sidebar del mapa.        */
.top-cities-widget {
  padding: 10px 14px 12px;
  border-bottom: 1px solid var(--border2);
  background: linear-gradient(180deg, rgba(226,75,74,0.08) 0%, transparent 100%);
}
.top-cities-title {
  font-size: 11px; font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.top-cities-list { display: flex; flex-wrap: wrap; gap: 6px; }
.top-city-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px 5px 9px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 100px;
  color: var(--white);
  font-size: 12px; font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.top-city-chip:hover { border-color: var(--red); background: rgba(226,75,74,0.14); transform: translateY(-1px); }
.top-city-chip .tc-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; padding: 0 5px; height: 18px;
  background: var(--red); color: #fff;
  border-radius: 100px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.3px;
}
.top-city-chip.gold  { border-color: rgba(250,204,21,0.55); background: rgba(250,204,21,0.10); }
.top-city-chip.gold .tc-count { background: linear-gradient(135deg, #FACC15, #E24B4A); }
.map-event-count strong { color: var(--red); }

/* Leyenda de colores del mapa */
.map-legend {
  display: flex; flex-wrap: wrap; gap: 8px 12px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border2);
  background: var(--surface);
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  align-items: center;
}
.map-legend .legend-title {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  font-size: 10px;
  margin-right: 4px;
}
.map-legend .legend-item {
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.map-legend .legend-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.9);
  display: inline-block;
  flex-shrink: 0;
}
/* (reglas móviles consolidadas arriba) */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
@keyframes bounce { 0%,100% { transform:translateY(0); } 50% { transform:translateY(6px); } }

/* ═══ Stripe · destacar evento (feature #19) ═══ */
.btn-feature-event {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 11px 14px; margin-top: 8px;
  background: linear-gradient(135deg, rgba(168,85,247,0.14), rgba(226,75,74,0.10));
  color: #fff;
  border: 1px solid rgba(168,85,247,0.35);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-feature-event:hover {
  border-color: rgba(168,85,247,0.7);
  background: linear-gradient(135deg, rgba(168,85,247,0.25), rgba(226,75,74,0.18));
  transform: translateY(-1px);
}
.btn-feature-event svg { width: 15px; height: 15px; color: #C084FC; }
.btn-feature-price {
  margin-left: auto;
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(168,85,247,0.20);
  border-radius: 100px;
  color: #E9D5FF;
  font-weight: 700;
}

/* Tarjetas de plan dentro del modal Stripe */
.feature-plan-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  width: 100%;
}
.feature-plan-card:hover {
  border-color: #C084FC;
  background: rgba(168,85,247,0.06);
  transform: translateX(3px);
}
.feature-plan-card.recommended {
  border-color: rgba(168,85,247,0.55);
  background: linear-gradient(135deg, rgba(168,85,247,0.10), rgba(226,75,74,0.05));
}
.fp-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #C084FC, #E24B4A);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.fp-info { flex: 1; min-width: 0; }
.fp-name  { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.fp-desc  { font-size: 11px; color: var(--muted); line-height: 1.35; }
.fp-price {
  flex-shrink: 0;
  font-size: 18px; font-weight: 800;
  color: #C084FC;
}
.fp-badge {
  display: inline-block;
  font-size: 9px; font-weight: 800;
  padding: 2px 6px;
  background: linear-gradient(135deg, #FACC15, #E24B4A);
  color: #fff;
  border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.4px;
}

/* ═══ Gamification: puntos + badges + niveles (feature #20) ═══ */
.gamification-widget {
  padding: 16px;
  background: linear-gradient(135deg, rgba(168,85,247,0.08), rgba(226,75,74,0.04));
  border: 1px solid rgba(168,85,247,0.20);
  border-radius: 12px;
}
.gm-header {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 12px;
}
.gm-level-info { display: flex; align-items: center; gap: 12px; }
.gm-level-num {
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  box-shadow: 0 0 12px rgba(226,75,74,0.35);
}
.gm-level-name { font-weight: 800; font-size: 15px; }
.gm-points { font-size: 12px; color: var(--muted); margin-top: 1px; }
.gm-next { font-size: 11px; color: var(--muted); text-align: right; }
.gm-progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 14px;
}
.gm-progress-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.6s ease-out;
}
.gm-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; margin-bottom: 16px;
}
.gm-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 4px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}
.gm-stat-value { font-size: 18px; font-weight: 800; color: var(--white); line-height: 1; }
.gm-stat-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; margin-top: 4px; }

.gm-badges-title {
  font-size: 12px; font-weight: 700; color: var(--red);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.gm-badges-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 8px;
}
.gm-badge {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  text-align: center;
  transition: all 0.15s;
  cursor: help;
}
.gm-badge.unlocked {
  background: linear-gradient(135deg, rgba(250,204,21,0.10), rgba(226,75,74,0.05));
  border-color: rgba(250,204,21,0.35);
}
.gm-badge.locked { opacity: 0.35; filter: grayscale(0.9); }
.gm-badge-emoji { font-size: 26px; line-height: 1; margin-bottom: 4px; }
.gm-badge-label { font-size: 10px; color: rgba(255,255,255,0.75); font-weight: 600; line-height: 1.2; }
.gm-badge.unlocked .gm-badge-label { color: #FACC15; }

/* ═══ Leaderboard (top festivaleros por ciudad) ═══ */
.leaderboard-widget {
  padding: 10px 14px 12px;
  border-bottom: 1px solid var(--border2);
  background: linear-gradient(180deg, rgba(250,204,21,0.06) 0%, transparent 100%);
}
.leaderboard-title {
  font-size: 11px; font-weight: 700; color: #FACC15;
  text-transform: uppercase; letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.lb-row {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 8px; margin-bottom: 3px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.lb-row:hover { border-color: rgba(250,204,21,0.35); background: rgba(250,204,21,0.06); }
.lb-row.is-me { border-color: var(--red); background: rgba(226,75,74,0.10); }
.lb-rank { font-size: 14px; font-weight: 800; width: 24px; text-align: center; flex-shrink: 0; }
.lb-avatar {
  width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
  background: var(--red); flex-shrink: 0;
}
.lb-avatar-initial {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 12px;
}
.lb-name { color: var(--white); font-size: 12px; font-weight: 600; }
.lb-sub  { color: var(--muted); font-size: 10px; margin-top: 1px; }
.lb-points {
  padding: 2px 7px;
  background: linear-gradient(135deg, rgba(250,204,21,0.20), rgba(226,75,74,0.15));
  border: 1px solid rgba(250,204,21,0.35);
  color: #FACC15;
  border-radius: 100px;
  font-size: 10px; font-weight: 800;
  white-space: nowrap;
}

/* ═══ AI Chat asistente (feature #21) ═══ */
/* Botón flotante bottom-left (para no chocar con OneSignal en bottom-right) */
.ai-chat-fab {
  position: fixed;
  bottom: 22px; left: 22px;
  z-index: 8500;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px;
  background: linear-gradient(135deg, #A855F7 0%, #E24B4A 100%);
  color: #fff;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 6px 24px rgba(168,85,247,0.42), 0 0 40px rgba(226,75,74,0.25);
  transition: transform 0.15s, box-shadow 0.15s;
  animation: aicFabPulse 3s ease-in-out infinite;
}
.ai-chat-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 30px rgba(168,85,247,0.6), 0 0 60px rgba(226,75,74,0.35);
}
.ai-chat-fab svg { width: 20px; height: 20px; flex-shrink: 0; }
@keyframes aicFabPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(168,85,247,0.42), 0 0 40px rgba(226,75,74,0.25); }
  50%      { box-shadow: 0 6px 24px rgba(168,85,247,0.7),  0 0 60px rgba(226,75,74,0.5); }
}

.ai-chat-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 9600;
  display: none;
  align-items: flex-end; justify-content: center;
  padding: 20px;
}
.ai-chat-modal.open {
  display: flex;
  animation: aicFade 0.2s ease-out;
}
@keyframes aicFade { from { opacity: 0; } to { opacity: 1; } }

.aic-card {
  width: 100%; max-width: 560px;
  height: min(720px, 90vh);
  background: #0d0d0d;
  border: 1px solid rgba(168,85,247,0.30);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 50px rgba(168,85,247,0.15);
  animation: aicSlideUp 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes aicSlideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.aic-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(168,85,247,0.20), rgba(226,75,74,0.10));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.aic-header-info { display: flex; align-items: center; gap: 12px; }
.aic-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #A855F7, #E24B4A);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 12px rgba(168,85,247,0.5);
}
.aic-title { color: var(--white); font-weight: 800; font-size: 15px; }
.aic-sub   { color: var(--muted); font-size: 11px; margin-top: 2px; }
.aic-close {
  background: rgba(255,255,255,0.06); color: var(--muted);
  border: none; width: 30px; height: 30px; border-radius: 50%;
  cursor: pointer; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.aic-close:hover { background: rgba(226,75,74,0.2); color: var(--red); }

.aic-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.aic-msg { display: flex; }
.aic-msg-user  { justify-content: flex-end; }
.aic-msg-bot   { justify-content: flex-start; }
.aic-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.aic-bubble p { margin: 0 0 6px; }
.aic-bubble p:last-child { margin: 0; }
.aic-msg-user .aic-bubble {
  background: linear-gradient(135deg, #A855F7, #E24B4A);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.aic-msg-bot .aic-bubble {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom-left-radius: 4px;
}
.aic-typing {
  display: inline-flex; gap: 4px; padding: 4px 0;
}
.aic-typing span {
  width: 7px; height: 7px; background: #C084FC; border-radius: 50%;
  animation: aicTypingDot 1.2s infinite;
}
.aic-typing span:nth-child(2) { animation-delay: 0.15s; }
.aic-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes aicTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.aic-suggestions {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 10px;
}
.aic-sugg {
  padding: 8px 14px;
  background: rgba(168,85,247,0.10);
  border: 1px solid rgba(168,85,247,0.30);
  color: #E9D5FF;
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.aic-sugg:hover {
  background: rgba(168,85,247,0.25);
  border-color: rgba(168,85,247,0.55);
  transform: translateY(-1px);
}

.aic-evt-chip {
  display: inline-block;
  padding: 3px 10px;
  margin: 2px 3px;
  background: rgba(226,75,74,0.15);
  border: 1px solid rgba(226,75,74,0.40);
  color: #ffb3b2;
  border-radius: 100px;
  font-size: 12px; font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.aic-evt-chip:hover {
  background: var(--red); color: #fff;
  transform: translateY(-1px);
}

.aic-input-wrap {
  display: flex; gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.aic-input {
  flex: 1;
  padding: 11px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 100px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.aic-input:focus { border-color: #A855F7; }
.aic-send {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #A855F7, #E24B4A);
  color: #fff;
  border: none; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, opacity 0.15s;
}
.aic-send:hover { transform: scale(1.05); }
.aic-send:disabled { opacity: 0.5; cursor: not-allowed; }
.aic-send svg { width: 18px; height: 18px; }

.aic-foot {
  padding: 8px 14px;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.04);
}

@media (max-width: 700px) {
  .ai-chat-fab { bottom: 84px; left: 14px; padding: 8px 14px 8px 10px; font-size: 12px; }
  .ai-chat-fab-label { display: none; }
  .ai-chat-modal { padding: 0; align-items: stretch; }
  .aic-card { max-width: 100%; height: 100%; border-radius: 0; border: none; }
}

/* ═══ "Para ti" · Recomendaciones personalizadas (feature #23) ═══ */
/* Widget sidebar del mapa */
.for-you-widget {
  padding: 10px 14px 12px;
  border-bottom: 1px solid var(--border2);
  background: linear-gradient(180deg, rgba(250,204,21,0.08) 0%, transparent 100%);
}
.for-you-title {
  font-size: 11px; font-weight: 700;
  color: #FACC15;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.for-you-list { display: flex; flex-direction: column; gap: 5px; }
.fy-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
}
.fy-row:hover { border-color: rgba(250,204,21,0.35); background: rgba(250,204,21,0.06); transform: translateX(2px); }
.fy-info { flex: 1; min-width: 0; }
.fy-title { color: var(--white); font-size: 12px; font-weight: 700; margin-bottom: 1px; }
.fy-meta  { color: var(--muted); font-size: 10px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fy-reasons { display: flex; flex-wrap: wrap; gap: 3px; }
.fy-reason {
  font-size: 9px; font-weight: 600;
  padding: 1px 6px;
  background: rgba(250,204,21,0.12);
  border: 1px solid rgba(250,204,21,0.28);
  color: #FDE68A;
  border-radius: 100px;
  white-space: nowrap;
}

/* Sección en la home */
.for-you-home-section {
  animation: fyFadeIn 0.5s ease-out;
}
@keyframes fyFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.for-you-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 2rem;
}
.fyh-card {
  background: linear-gradient(180deg, rgba(250,204,21,0.06), rgba(226,75,74,0.03));
  border: 1px solid rgba(250,204,21,0.20);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  display: flex; flex-direction: column;
}
.fyh-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250,204,21,0.55);
  box-shadow: 0 12px 30px rgba(250,204,21,0.15);
}
.fyh-flyer {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #161616;
  display: block;
}
.fyh-flyer-empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 50px;
  color: rgba(255,255,255,0.15);
}
.fyh-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.fyh-date {
  display: inline-block;
  font-size: 10px; font-weight: 700; color: #FACC15;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: rgba(250,204,21,0.12);
  padding: 3px 9px; border-radius: 100px;
  align-self: flex-start;
  margin-bottom: 8px;
}
.fyh-title { color: var(--white); font-size: 15px; font-weight: 700; line-height: 1.2; margin-bottom: 4px; }
.fyh-venue { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.fyh-reasons { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; }

/* ═══ App nativa iOS/Android (feature #24 · Capacitor) ═══ */
/* Padding para safe area en iOS (notch, dynamic island, home indicator) */
html.j2f-ios-native body {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}
html.j2f-ios-native nav {
  padding-top: calc(0.85rem + env(safe-area-inset-top));
}
html.j2f-ios-native .tonight-banner {
  top: calc(137px + env(safe-area-inset-top));
}
/* En app nativa: ocultar el botón "Instalar PWA" (ya estás en la app) */
html.j2f-native #pwa-install-banner { display: none !important; }
/* Ajustar botón AI chat para no chocar con home indicator */
html.j2f-ios-native .ai-chat-fab {
  bottom: calc(22px + env(safe-area-inset-bottom));
}

/* ═══ Chat por evento (feature #26) ═══ */
.event-chat-section {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}
.ec-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}
.ec-messages {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding: 6px 2px 12px;
  scroll-behavior: smooth;
}
.ec-empty {
  padding: 30px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.ec-msg {
  display: flex; gap: 8px;
  animation: ecMsgIn 0.25s ease-out;
}
@keyframes ecMsgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.ec-msg.is-me { flex-direction: row-reverse; }
.ec-avatar {
  width: 30px; height: 30px;
  border-radius: 50%; object-fit: cover;
  background: var(--red); flex-shrink: 0;
}
.ec-avatar-initial {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 12px;
}
.ec-bubble {
  max-width: 78%;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  border-top-left-radius: 4px;
}
.ec-msg.is-me .ec-bubble {
  background: linear-gradient(135deg, rgba(226,75,74,0.30), rgba(226,75,74,0.18));
  border-top-left-radius: 14px;
  border-top-right-radius: 4px;
}
.ec-meta {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 3px;
  font-size: 11px;
}
.ec-name { color: var(--white); font-weight: 700; cursor: pointer; }
.ec-name:hover { color: var(--red); }
.ec-time { color: var(--muted); font-size: 10px; }
.ec-del {
  margin-left: auto;
  background: transparent; border: none;
  color: var(--muted); cursor: pointer;
  font-size: 14px; line-height: 1; padding: 0 3px;
}
.ec-del:hover { color: var(--red); }
.ec-text {
  color: var(--white); font-size: 13px;
  line-height: 1.45;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.ec-text a { color: #ffb3b2; text-decoration: underline; }

.ec-composer {
  display: flex; gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ec-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 100px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.ec-input:focus { border-color: var(--red); }
.ec-send {
  width: 38px; height: 38px;
  background: var(--red);
  color: #fff;
  border: none; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.12s;
}
.ec-send:hover { transform: scale(1.05); }
.ec-send svg { width: 16px; height: 16px; }

.ec-composer-locked {
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(226,75,74,0.05);
  border: 1px dashed rgba(226,75,74,0.30);
  border-radius: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  text-align: center;
}
.ec-cta-link {
  background: transparent; border: none;
  color: var(--red); font-weight: 700;
  cursor: pointer; font-family: inherit; font-size: 12px;
  text-decoration: underline;
}
.ec-cta-link:hover { color: #ff8080; }

/* ═══ Mejoras generales mobile ═══ */
@media (max-width: 700px) {
  .event-chat-section { padding: 12px 12px 10px; }
  .ec-messages { max-height: 320px; }
  .ec-bubble { max-width: 85%; padding: 7px 10px; }
  .ec-text { font-size: 13px; }
  .ec-input { padding: 9px 12px; font-size: 15px; /* 16px+ evita zoom en iOS */ }
  .ec-send { width: 36px; height: 36px; }
  /* Que el modal AI chat use casi toda la pantalla */
  .ai-chat-modal { padding: 0; align-items: stretch; }
  .aic-card { max-width: 100%; height: 100%; border-radius: 0; }
  /* Inputs con font-size >= 16px para que iOS no haga zoom automático */
  input[type="text"], input[type="url"], input[type="email"], input[type="tel"],
  input[type="number"], input[type="search"], textarea, select { font-size: 16px; }
}

/* ═══ Chat fullscreen con canales (feature #27) ═══ */
.ec-open-fs {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(226,75,74,0.35);
  color: var(--red);
  padding: 4px 12px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.ec-open-fs:hover { background: rgba(226,75,74,0.10); transform: translateX(3px); }
.ec-preview { max-height: 200px; overflow: hidden; pointer-events: none; opacity: 0.9; }
.ec-preview .ec-msg { transform: scale(0.94); transform-origin: left; }
.ec-ch-badge {
  display: inline-block;
  padding: 0 4px;
  font-size: 10px;
  opacity: 0.7;
}

.event-chat-fs {
  position: fixed; inset: 0;
  background: #0a0a0a;
  z-index: 9800;
  display: none;
  flex-direction: column;
  animation: ecfsSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.event-chat-fs.open { display: flex; }
@keyframes ecfsSlide { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.ecfs-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(226,75,74,0.14), rgba(168,85,247,0.06));
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-top: calc(14px + env(safe-area-inset-top));
}
.ecfs-back {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ecfs-back:hover { background: rgba(226,75,74,0.30); }
.ecfs-title-wrap { flex: 1; min-width: 0; }
.ecfs-title { font-size: 16px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecfs-sub   { font-size: 11px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ecfs-channels {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ecfs-channels::-webkit-scrollbar { display: none; }
.ecfs-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.ecfs-tab:hover { background: rgba(226,75,74,0.10); border-color: rgba(226,75,74,0.35); }
.ecfs-tab.active {
  background: linear-gradient(135deg, rgba(226,75,74,0.28), rgba(168,85,247,0.14));
  border-color: rgba(226,75,74,0.55);
  color: #fff;
}
.ecfs-tab-emoji { font-size: 15px; line-height: 1; }
.ecfs-tab-count {
  background: rgba(0,0,0,0.30);
  padding: 1px 7px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  color: #FDE68A;
}
.ecfs-tab.active .ecfs-tab-count { background: rgba(0,0,0,0.40); }

.ecfs-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex; flex-direction: column;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
}

.ecfs-composer-wrap {
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 700px) {
  .ecfs-header { padding: 12px 14px; padding-top: calc(12px + env(safe-area-inset-top)); }
  .ecfs-title { font-size: 15px; }
  .ecfs-channels { padding: 8px 12px; }
  .ecfs-tab { padding: 6px 12px; font-size: 12px; }
  .ecfs-messages { padding: 14px 14px; }
  .ecfs-composer-wrap { padding: 10px 14px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}

/* ═══ OCR Dropzone flyer (feature #29) ═══ */
.flyer-ocr-dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 22px 14px;
  border: 2px dashed rgba(226,75,74,0.35);
  border-radius: 12px;
  background: rgba(226,75,74,0.03);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.flyer-ocr-dropzone:hover, .flyer-ocr-dropzone.dragover {
  border-color: var(--red);
  background: rgba(226,75,74,0.10);
  transform: scale(1.02);
}

/* ═══ Pack B: pulir web para lanzamiento (feature #30) ═══ */

/* ── Sección "Cómo funciona" ── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 2.5rem;
}
.how-card {
  position: relative;
  padding: 32px 24px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  transition: all 0.25s;
}
.how-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226,75,74,0.35);
  box-shadow: 0 12px 40px rgba(226,75,74,0.15);
}
.how-num {
  position: absolute;
  top: -18px; left: 24px;
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #E24B4A, #A855F7);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 18px;
  box-shadow: 0 8px 20px rgba(226,75,74,0.35);
}
.how-icon { font-size: 44px; line-height: 1; margin-bottom: 14px; }
.how-card h3 { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.how-card p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.55; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 2rem; }
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item[open] { border-color: rgba(226,75,74,0.30); background: rgba(226,75,74,0.04); }
.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px; color: var(--red);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 20px 18px;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.6;
}

/* ── Footer profesional ── */
.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-title {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}
.footer-tag {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  line-height: 1.5;
  max-width: 280px;
}
.footer-col a {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-small a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-small a:hover { color: var(--red); }
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .site-footer { padding: 40px 20px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Onboarding paso a paso ── */
.onb-progress {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}
.onb-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #E24B4A, #A855F7);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.onb-step-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  text-align: center;
}
.onb-emoji {
  font-size: 44px;
  text-align: center;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 12px rgba(226,75,74,0.4));
}
.onb-feature {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 14px;
  background: rgba(226,75,74,0.05);
  border: 1px solid rgba(226,75,74,0.15);
  border-radius: 10px;
}
.onb-feature-icon { font-size: 22px; line-height: 1; margin-top: 2px; }
.onb-feature-title { font-size: 14px; font-weight: 700; color: #fff; }
.onb-feature-sub   { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 2px; line-height: 1.4; }

/* ═══ Pack C: Trust & moderación (feature #31) ═══ */

/* Botón "reportar" discreto */
.report-link-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.15s;
}
.report-link-btn:hover {
  color: var(--red);
  background: rgba(226,75,74,0.06);
}

/* Motivos de reporte (radio buttons) */
.report-reasons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 18px;
}
.report-reason {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 14px;
  color: var(--white);
}
.report-reason:hover {
  border-color: rgba(226,75,74,0.35);
  background: rgba(226,75,74,0.05);
}
.report-reason input[type="radio"] {
  accent-color: var(--red);
  cursor: pointer;
  width: 16px; height: 16px;
}
.report-reason:has(input:checked) {
  border-color: var(--red);
  background: rgba(226,75,74,0.10);
}

/* Cards de acción de cuenta (Exportar / Borrar) */
.account-action {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  margin-bottom: 10px;
}
.account-action-danger {
  background: rgba(226,75,74,0.05);
  border-color: rgba(226,75,74,0.25);
}
.account-action-title {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 3px;
}
.account-action-sub {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

/* ── OneSignal Slidedown · look Join2Fest ─────────────────────────
   Oculta la imagen rota que OneSignal renderiza por defecto (no la
   configuramos en el panel de OneSignal) y aplica el estilo dark del sitio */
#onesignal-slidedown-container .slidedown-body-icon,
#onesignal-slidedown-container img.slidedown-body-icon,
.slidedown-body-icon {
  display: none !important;
}
#onesignal-slidedown-container .slidedown-body-message,
#onesignal-slidedown-container .slidedown-body {
  padding-left: 0 !important;
}
#onesignal-slidedown-container .onesignal-slidedown-dialog,
#onesignal-slidedown-container {
  background: #0f0f0f !important;
  color: #fff !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06) !important;
}
#onesignal-slidedown-container .slidedown-body-message {
  color: rgba(255,255,255,.85) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
#onesignal-slidedown-container .align-right button.primary,
#onesignal-slidedown-container button#onesignal-slidedown-allow-button {
  background: #E24B4A !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 10px 18px !important;
  transition: background .15s ease !important;
}
#onesignal-slidedown-container .align-right button.primary:hover,
#onesignal-slidedown-container button#onesignal-slidedown-allow-button:hover {
  background: #c23a39 !important;
}
#onesignal-slidedown-container .align-right button.secondary,
#onesignal-slidedown-container button#onesignal-slidedown-cancel-button {
  background: transparent !important;
  color: rgba(255,255,255,.6) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  padding: 10px 18px !important;
}
#onesignal-slidedown-container button#onesignal-slidedown-cancel-button:hover {
  background: rgba(255,255,255,.05) !important;
  color: #fff !important;
}
