/* ==========================================================================
   styles.css - Codigo Ebel | Versión Final Definitiva
   Cubre: index.html + registro.html + app.html
   UNA sola fuente de verdad para hero, sin duplicados, listo para producción
   ========================================================================== */

/* ========== VARIABLES GLOBALES ========== */
:root {
  --primary: #00aaff;
  --primary-dark: #0088dd;
  --secondary: #a855f7;
  --bg-dark: #0a0a12;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --btn-text: #fff;
  --primary-glow: rgba(0, 170, 255, 0.5);
  --secondary-glow: rgba(168, 85, 247, 0.4);
  --danger-glow: rgba(255, 69, 58, 0.3);
  --warning-glow: rgba(255, 149, 0, 0.3);
  --surface: rgba(30, 41, 59, 0.9);
  --surface-border: rgba(255, 255, 255, 0.15);
  --surface-light: rgba(255, 255, 255, 0.06);
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
}

/* ========== RESET Y BASE ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background: linear-gradient(rgba(7, 6, 6, 0.91), rgba(5, 0, 1, 0.8)),
              url('./fondo-hero.webp') center/cover no-repeat fixed;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

/* ========== LAYOUT Y UTILIDADES ========== */
.container { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 1rem; }
.section { padding: 5rem 1rem; position: relative; }
.section-title { font-size: 2.5rem; font-weight: 800; text-align: center; margin-bottom: 3rem; }

/* ========== NAVIGATION ========== */
.back-link {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: var(--transition);
  z-index: 10;
}
.back-link:hover, .back-link:focus {
  background: rgba(0, 170, 255, 0.1);
  box-shadow: 0 0 10px var(--primary-glow);
  color: #fff;
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ========== HERO: FULL SCREEN (ÚNICA DEFINICIÓN) ========== */
.hero {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.hero-content.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
  z-index: 2;
}

/* ========== LOGO & RADAR (ÚNICA DEFINICIÓN) ========== */
.logo-container { position: relative; margin-bottom: 2rem; }

.logo-container.centered {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding-top: 0 !important;
  height: auto !important;
}

.hero .logo-container {
  margin: 0 auto 2.5rem !important;
  position: relative;
  width: 100%;
  max-width: 600px !important;
}

.hero .logo-wrapper {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  margin: 0 auto;
}

.hero .logo-wrapper img {
  width: 100% !important;
  max-width: 600px !important;
  height: auto !important;
  max-height: none !important;
  display: block !important;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6)) !important;
}

.hero .logo-radar {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  pointer-events: none;
}

.hero .logo-radar svg {
  width: 120%;
  height: 120%;
  max-width: 700px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0, 255, 0, 0.5));
  opacity: 0.7;
}

/* Logo en REGISTRO - Mediano */
.form-card.mission-card .logo-container.centered { margin-bottom: 1.8rem !important; }
.form-card.mission-card .logo-container.centered img {
  max-height: 60px !important;
  max-width: 180px !important;
  width: auto !important;
  height: auto !important;
  filter: brightness(1.1) drop-shadow(0 4px 12px rgba(0, 170, 255, 0.3)) !important;
}

/* Logo en APP HEADER - Pequeño */
header .logo-container.centered img {
  max-height: 40px !important;
  max-width: 120px !important;
  width: auto !important;
  height: auto !important;
}

/* Fallback genérico */
.logo-wrapper img {
  width: 80%;
  max-width: 600px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
}

.logo-radar {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  pointer-events: none;
}
.logo-radar svg {
  width: 120%;
  height: 120%;
  max-width: 700px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0, 255, 0, 0.5));
  opacity: 0.7;
}

/* ========== HERO CTA SECTION ========== */
.hero-cta-section { padding: 2rem 1rem 3rem; text-align: center; position: relative; }
.hero-urgency {
  background: rgba(255, 107, 107, 0.15);
  color: #ff6b6b;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.hero-urgency span { animation: pulse 1.5s infinite; }
.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.hero-disclaimer { font-size: 0.85rem; color: var(--text-muted); margin-top: 1.5rem; }

/* ========== UX: TENSION & URGENCY ========== */
.tension-tag, .tension-line, .mission-risk, .urgency-note {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.8rem 0;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  display: inline-block;
  max-width: fit-content;
}
.tension-tag { background: rgba(255, 215, 0, 0.1); color: #ffd60a; border-left: 3px solid #ffcc00; }
.tension-line { background: rgba(255, 69, 58, 0.12); color: #ff7961; border-left: 3px solid #ff453a; }
.mission-risk { background: rgba(255, 69, 58, 0.12); color: #ff7961; border-left: 3px solid #ff453a; font-size: 0.9rem; margin-top: 0.6rem; }
.urgency-note { background: rgba(255, 149, 0, 0.12); color: #ffb340; border-left: 3px solid #ff9500; font-style: italic; font-size: 0.95rem; }

.tension-bar {
  position: absolute;
  top: 0.7rem; left: 1rem;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.82rem;
  z-index: 10;
}

.hunter-id {
  position: absolute;
  top: 0.7rem; right: 1rem;
  background: rgba(0, 170, 255, 0.15);
  color: var(--primary);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid rgba(0, 170, 255, 0.3);
  z-index: 10;
}
.modo-equipo .hunter-id {
  background: rgba(168, 85, 247, 0.15);
  color: var(--secondary);
  border-color: rgba(168, 85, 247, 0.3);
}

/* ========== BOTONES ========== */
.btn, .btn-hero {
  background: linear-gradient(135deg, var(--primary), #00ccff);
  color: var(--btn-text);
  border: none;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 170, 255, 0.3);
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}
.btn { padding: 0.8rem; font-size: 0.95rem; min-width: 120px; flex: 1; }
.btn-hero {
  padding: 1rem 2.4rem;
  font-size: 1.15rem;
  border-radius: 50px;
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), #00ccff); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--surface-border);
  color: var(--text);
  padding: 0.8rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
}
.btn:hover, .btn-hero:hover, .btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 170, 255, 0.5);
}
.btn:active, .btn-hero:active { transform: translateY(0); }
.btn[disabled], .btn-hero[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.modo-equipo .btn, .modo-equipo .btn-hero {
  background: linear-gradient(135deg, var(--secondary), #8b5cf6);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}
.modo-equipo .btn:hover, .modo-equipo .btn-hero:hover {
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
}

/* ========== NARRATION BUTTON ========== */
.narration-btn {
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid #0066ff;
  color: #64b5f6;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  margin: 1rem 0;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.narration-btn:hover { background: rgba(0, 102, 255, 0.35); transform: translateY(-1px); }
.narration-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

#narration-toggle {
  position: fixed;
  bottom: max(1.4rem, env(safe-area-inset-bottom, 1.4rem));
  right: max(1.4rem, env(safe-area-inset-right, 1.4rem));
  background: rgba(0, 170, 255, 0.2);
  border: 1px solid var(--primary);
  color: var(--primary);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition-fast);
}
#narration-toggle:hover { background: rgba(0, 170, 255, 0.3); transform: scale(1.05); }
#narration-toggle.active { background: rgba(0, 170, 255, 0.3); animation: pulse 3s infinite; }
.modo-equipo #narration-toggle { border-color: var(--secondary); color: var(--secondary); }
.modo-equipo #narration-toggle:hover { background: rgba(168, 85, 247, 0.3); }
.modo-equipo #narration-toggle.active { background: rgba(168, 85, 247, 0.3); }

/* ========== PULSE ANIMATION ========== */
.pulse-dot { width: 10px; height: 10px; background: var(--primary); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ========== HOW TO PLAY ========== */
.section-howto, .how-to-play {
  margin-top: 4rem;
  padding: 3.5rem 1rem;
  background: rgba(5, 5, 15, 0.6);
  border-top: 1px solid rgba(0, 170, 255, 0.15);
  position: relative;
}
.how-to-play::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.6;
}
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.step-card {
  background: rgba(15, 18, 35, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.8rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.step-card:hover::before { transform: scaleX(1); }
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 10, 30, 0.5), 0 0 16px rgba(0, 170, 255, 0.2);
  border-color: rgba(0, 170, 255, 0.3);
}
.step-card .step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  background: rgba(0, 170, 255, 0.2);
  color: var(--primary);
  border: 1px solid currentColor;
  margin: 0 auto 1rem;
}
.step-card h3 { font-size: 1.35rem; margin-bottom: 1rem; font-weight: 700; color: #64b5f6; }
.step-card p { font-size: 1rem; line-height: 1.6; color: #cbd5e1; }
.step-card code { background: rgba(0, 170, 255, 0.15); color: var(--primary); padding: 0.1rem 0.4rem; border-radius: 4px; font-family: 'Courier New', monospace; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ========== RANKING SECTION ========== */
.section-ranking {
  margin-top: 4rem;
  padding: 3.5rem 1rem;
  background: rgba(10, 10, 25, 0.4);
  border-top: 1px solid rgba(0, 170, 255, 0.15);
}
.ranking-preview {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(30, 41, 59, 0.4);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(100, 181, 246, 0.2);
}
.ranking-list { list-style: none; padding: 0; margin: 0; }
.ranking-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  position: relative;
}
.ranking-item:last-child { border-bottom: none; }
.ranking-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85rem;
  color: #1a202c;
  flex-shrink: 0;
}
.ranking-item--gold .ranking-rank { background: #ffd700; }
.ranking-item--silver .ranking-rank { background: #c0c0c0; }
.ranking-item--bronze .ranking-rank { background: #cd7f32; }
.ranking-item .ranking-rank { background: rgba(255, 255, 255, 0.12); color: #e2e8f0; }
.ranking-name { flex: 1; font-weight: 600; color: #e2e8f0; }
.ranking-item--gold .ranking-name { color: #ffd700; }
.ranking-item--silver .ranking-name { color: #c0c0c0; }
.ranking-item--bronze .ranking-name { color: #cd7f32; }
.ranking-stats { color: var(--text-muted); font-size: 0.9rem; white-space: nowrap; }
.ranking-cta { text-align: center; margin-top: 1.5rem; font-weight: 600; color: #64b5f6; font-size: 1.05rem; }

/* ========== SUPPORT CONTENT ========== */
.support-content { margin-top: 3rem; }

/* ========== FEATURES SECTION ========== */
.section-features, .features-section {
  margin-top: 4rem;
  padding: 3rem 1rem;
  background: rgba(10, 10, 25, 0.4);
  border-top: 1px solid rgba(0, 170, 255, 0.15);
  position: relative;
}
.features-section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.8rem; margin-top: 2rem; }
.feature-card {
  background: rgba(20, 22, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.8rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0, 10, 30, 0.5); }
.feature-card[data-type="whatsapp"] { border-left: 3px solid #25D366; }
.feature-card[data-type="geo"] { border-left: 3px solid var(--primary); }
.feature-card[data-type="ranking"] { border-left: 3px solid #4fc3f7; }
.feature-icon { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: #e2e8f0; font-weight: 700; }
.feature-card p { font-size: 0.95rem; line-height: 1.6; color: #cbd5e1; }

/* ========== MISSIONS SECTION ========== */
.section-missions, .missions-section {
  margin-top: 4rem;
  padding: 3rem 1rem;
  background: rgba(10, 10, 25, 0.4);
}
.missions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.8rem; margin-top: 2.2rem; }
.mission-card {
  background: rgba(20, 22, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.8rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  max-width: 560px;
  margin: 1rem auto;
}
.mission-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0, 10, 30, 0.5); }
.mission-card.active { border-color: var(--primary); box-shadow: 0 0 20px rgba(0, 170, 255, 0.2); }
.modo-equipo .mission-card.active { border-color: var(--secondary); box-shadow: 0 0 20px rgba(168, 85, 247, 0.2); }
.mission-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mission-icon { font-size: 1.8rem; }
.mission-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(0, 170, 255, 0.15);
  color: var(--primary);
  border: 1px solid rgba(0, 170, 255, 0.3);
}
.mission-card h3 { font-size: 1.3rem; margin-bottom: 1rem; color: #e2e8f0; font-weight: 700; }
.mission-card p { font-size: 0.95rem; line-height: 1.6; color: #cbd5e1; margin-bottom: 1.2rem; }
.mission-reward {
  background: rgba(0, 170, 255, 0.08);
  padding: 0.7rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #64b5f6;
  font-weight: 600;
}
.missions-note { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: 1.5rem; }

/* ========== PROFILES SECTION ========== */
.section-profiles, .who-plays {
  margin-top: 4.5rem;
  padding: 3rem 1rem;
  background: rgba(8, 8, 20, 0.5);
}
.profiles-grid, .avatars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.8rem; margin-top: 2.2rem; }
.profile-card, .avatar-card {
  background: rgba(20, 22, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.8rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.profile-card:hover, .avatar-card:hover { transform: translateY(-4px); }
.profile-icon, .avatar-icon { font-size: 2.4rem; margin-bottom: 1rem; display: block; }
.profile-card h4, .avatar-title { font-size: 1.3rem; margin-bottom: 1rem; color: #e2e8f0; font-weight: 700; }
.profile-card p, .avatar-desc { font-size: 0.95rem; line-height: 1.6; color: #cbd5e1; }
.identity-closer { max-width: 600px; margin: 2.5rem auto 0; text-align: center; font-size: 1.15rem; font-style: italic; color: #a0aec0; }
.highlight { color: var(--primary); font-weight: 700; text-shadow: 0 0 8px var(--primary-glow); }

/* ========== CONSENT SECTION ========== */
.section-consent, .consent-section { margin: 3.5rem auto 2.5rem; max-width: 600px; text-align: center; }
.consent-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(0, 170, 255, 0.2);
  border-radius: 16px;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  backdrop-filter: blur(6px);
}
.consent-box svg { color: var(--primary); flex-shrink: 0; }
.consent-box p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.consent-box a { color: var(--primary); text-decoration: underline; font-weight: 600; }

/* ========== FOOTER ========== */
.footer {
  background: #000000;
  border-top: 1px solid rgba(0, 170, 255, 0.15);
  padding: 2rem 1rem;
  margin-top: 5rem;
}
.footer-main { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-brand img { max-width: 160px; filter: brightness(1.2) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)); }
.footer-brand p, .disclaimer { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.disclaimer { max-width: 500px; }
.footer-contact { margin: 1.2rem 0; }
.footer-bottom { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.9rem; text-align: center; }
.footer-social-section { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.social-list { display: flex; justify-content: center; gap: 1.4rem; list-style: none; padding: 0; margin: 0; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover, .social-link:focus {
  background: rgba(0, 170, 255, 0.25);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px var(--primary-glow);
  color: white;
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
.social-link svg { width: 24px; height: 24px; fill: currentColor; }

/* ========== FORMULARIO DE REGISTRO ========== */
.form-card {
  padding: 2.5rem;
  margin: 2rem auto;
  max-width: 600px;
  background: rgba(0, 0, 0, 0.85) !important;
  border: 1px solid rgba(0, 170, 255, 0.2) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 170, 255, 0.05);
}
.form-card.mission-card {
  background: rgba(0, 0, 0, 0.85) !important;
  border: 1px solid rgba(0, 170, 255, 0.2) !important;
  border-left: 3px solid var(--primary) !important;
  padding: 2.2rem;
}
.form-card.mission-card .section-title {
  font-size: 1.9rem;
  margin-bottom: 1.2rem;
  text-align: center;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px var(--primary-glow);
}
.form-divider { height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); margin: 2rem 0; opacity: 0.6; }
.form-group { margin-bottom: 1.4rem; }
label { display: block; margin-bottom: 0.5rem; font-weight: 700; color: #fff; }
input, select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #1e293b;
  color: white;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}
input:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.2);
}
input::placeholder { color: #64748b; }
.checkbox-group { margin-bottom: 1.2rem; }
.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--text);
}
.checkbox-group input { margin-top: 0.3rem; width: 18px; height: 18px; accent-color: var(--primary); }
.modo-radio-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.modo-radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.modo-radio-group input { width: auto; margin: 0; }
.modo-radio-group label:hover { background: rgba(0, 170, 255, 0.1); }
.equipe-info {
  display: none;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, display 0s 0.3s;
}
.equipe-info.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}
.subtitle { font-size: 1.1rem; opacity: 0.85; margin-bottom: 2rem; line-height: 1.5; color: var(--text-muted); }
.privacy-note { font-size: 0.82rem; color: #64748b; margin-top: 0.4rem; font-style: italic; }

/* ========== APP: GAME INTERFACE ========== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  min-height: 56px;
  position: relative;
  z-index: 10;
}
.header-left, .header-right { flex: 0 0 auto; }
.header-center { flex: 1; display: flex; justify-content: center; }
.app-logo { max-height: 100px; height: auto; }
header h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-shadow: 0 0 12px rgba(0, 170, 255, 0.3);
}
header h1::before { content: "📊"; filter: drop-shadow(0 0 8px var(--primary-glow)); }

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
  border-top: 1px solid var(--surface-border);
  z-index: 100;
}
.mobile-nav a {
  color: #94a3b8;
  text-align: center;
  text-decoration: none;
  flex: 1;
  font-size: 0.75rem;
  line-height: 1.2;
  cursor: pointer;
}
.mobile-nav a i { display: block; font-size: 1.6rem; margin-bottom: 0.2rem; }
.mobile-nav a.active, .mobile-nav a:hover, .mobile-nav a:focus { color: var(--primary); }
.modo-equipo .mobile-nav a.active, .modo-equipo .mobile-nav a:hover, .modo-equipo .mobile-nav a:focus { color: var(--secondary); }

/* Feedback & Toast */
#toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 1000;
  max-width: 90%;
  word-break: break-word;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 16px var(--primary-glow);
  letter-spacing: -0.02em;
}
.modo-equipo #toast {
  background: var(--secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 16px var(--secondary-glow);
}
#toast.show { opacity: 1; }

#pwa-install-banner {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 41, 59, 0.95);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--surface-border);
  text-align: center;
  max-width: 90%;
  display: none;
  font-size: 0.95rem;
}
#pwa-install-banner .close-btn {
  position: absolute;
  top: 4px;
  right: 8px;
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 1.2rem;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Registration Ritual */
.registration-ritual {
  text-align: center;
  padding: 1.4rem 1rem;
  background: rgba(5, 10, 25, 0.85);
  border-radius: 12px;
  margin: 1.2rem 0;
  font-weight: 700;
  color: white;
  border: 1px solid rgba(0, 170, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(0, 170, 255, 0.2), 0 8px 24px rgba(0, 10, 30, 0.6);
  animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.92) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Status & Levels */
.status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.status.pending { background: rgba(255, 170, 51, 0.15); color: #ffaa33; }
.status.active { background: rgba(0, 170, 255, 0.15); color: var(--primary); }
.modo-equipo .status.active { background: rgba(168, 85, 247, 0.15); color: var(--secondary); }
.status.nivel-N1 { background: rgba(50, 200, 50, 0.15); color: #32c832; border: 1px solid rgba(50, 200, 50, 0.3); }
.status.nivel-N2 { background: rgba(0, 170, 255, 0.15); color: var(--primary); border: 1px solid rgba(0, 170, 255, 0.3); }
.status.nivel-N3 { background: rgba(255, 150, 0, 0.15); color: #ff9600; border: 1px solid rgba(255, 150, 0, 0.3); }
.status.nivel-N4 { background: rgba(200, 50, 50, 0.15); color: #c83232; border: 1px solid rgba(200, 50, 50, 0.3); }
.pista {
  background: rgba(0, 170, 255, 0.08);
  padding: 1rem;
  border-radius: 12px;
  margin: 1rem 0;
  font-style: italic;
  color: #cbd5e1;
  line-height: 1.5;
}
.modo-equipo .pista { background: rgba(168, 85, 247, 0.08); border-left: 2px solid var(--secondary); }
.actions { display: flex; gap: 0.75rem; margin-top: 1.2rem; flex-wrap: wrap; }

/* ========== APP: MISSION TITLE ========== */
.mission-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #e2e8f0;
}
.mission-title .icon { flex-shrink: 0; display: inline-flex; align-items: center; font-size: 1.4rem; }
.mission-title .title-text { flex: 1; min-width: 0; word-break: break-word; }
.mission-title .status { margin-left: auto; flex-shrink: 0; white-space: nowrap; font-size: 0.85rem; padding: 0.25rem 0.75rem; border-radius: 20px; font-weight: 600; }
@media (max-width: 480px) {
  .mission-title { gap: 0.4rem; font-size: 1.2rem; }
  .mission-title .status { margin-left: 0; width: 100%; text-align: center; margin-top: 0.5rem; }
}

/* ========== MAP & RADAR ========== */
#live-map {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 280px;
  margin: 1rem auto;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0f1a;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8), 0 4px 12px rgba(0, 10, 30, 0.6);
}
.radar-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 50%, transparent 10%, rgba(0, 170, 255, 0.08) 11%, transparent 12%),
              repeating-radial-gradient(circle at 50% 50%, transparent 0px, transparent 1px, rgba(0, 170, 255, 0.05) 1px, rgba(0, 170, 255, 0.05) 2px);
  background-size: 200px 200px;
}
.radar-sweep {
  position: absolute;
  top: 50%; left: 50%;
  width: 200%; height: 200%;
  transform: translate(-50%, -50%) rotate(-90deg);
  border-radius: 50%;
  background: conic-gradient(transparent 0%, rgba(0, 170, 255, 0.25) 5%, rgba(0, 170, 255, 0.1) 12%, transparent 25%);
  animation: radar-sweep 4s linear infinite;
  pointer-events: none;
}
@keyframes radar-sweep { to { transform: translate(-50%, -50%) rotate(270deg); } }
.player-marker {
  position: absolute;
  width: 20px; height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: white;
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer;
}
.player-marker:hover, .player-marker:focus {
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 10;
  box-shadow: 0 0 16px rgba(0, 170, 255, 0.9);
}
.player-marker.self {
  width: 24px; height: 24px;
  background: #ffd700;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.4), 0 0 16px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.3);
  animation: pulse-gold 2s infinite;
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.4), 0 0 16px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 1), 0 0 40px rgba(255, 215, 0, 0.5); }
}
.player-marker.self::after {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  background: #000;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
#mapSection { display: none !important; }
#mapSection.map-visible, #mapSection.active { display: block !important; max-width: 560px; margin: 1rem auto !important; padding: 0 0.5rem; }
#map { width: 100% !important; height: 70vh !important; min-height: 300px !important; border-radius: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 0 16px rgba(0, 10, 30, 0.6); }

/* ========== PROGRESS: Stats & Badges ========== */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 1rem; margin-top: 1rem; max-width: 480px; margin: 1rem auto; }
.stat-card {
  background: rgba(30, 41, 59, 0.4);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-2px); }
.stat-value { font-size: 1.2rem; font-weight: bold; color: #64b5f7; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.8rem; color: #94a3b8; }
#hunter-id-card .stat-value { color: #ffd700; text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); font-size: 1.8rem; }
#hunter-id-card .stat-label { color: #ffcc00; }
#misiones-card .stat-value { color: var(--primary); font-size: 1.7rem; }
#misiones-card .stat-label { color: #64b5f7; }
#desafios-card .stat-value { color: #ff7961; font-size: 1.7rem; }
#desafios-card .stat-label { color: #ff9e80; }
.badges-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 1rem; margin-top: 1rem; }
.badge {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}
.badge[data-unlocked="true"] { background: rgba(76, 175, 80, 0.15); border-color: #4caf50; transform: scale(1.05); }
.badge-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.badge-name { font-size: 0.85rem; font-weight: 600; color: #e2e8f0; }
.badge[data-unlocked="false"] .badge-name { color: #64748b; }

/* ========== MODALS & OVERLAYS ========== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: rgba(10, 10, 20, 0.95);
  border-radius: 16px;
  padding: 1.8rem;
  width: 90%;
  max-width: 400px;
  text-align: center;
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(8px);
}
#codigoInvitacion {
  background: rgba(168, 85, 247, 0.15);
  color: var(--secondary);
  font-weight: 800;
  font-size: 1.4rem;
  padding: 0.75rem;
  border-radius: 8px;
  letter-spacing: 2px;
  margin: 0.5rem 0;
  font-variant-numeric: tabular-nums;
}
#scannerOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 3000;
  padding: 20px;
  box-sizing: border-box;
}
.scanner-frame {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 240px; height: 240px;
  border: 2px solid var(--primary);
  border-radius: 8px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.scanner-corner { position: absolute; width: 20px; height: 20px; border-color: var(--primary); border-style: solid; }
.scanner-corner.tl { top: -2px; left: -2px; border-top-width: 2px; border-left-width: 2px; }
.scanner-corner.tr { top: -2px; right: -2px; border-top-width: 2px; border-right-width: 2px; }
.scanner-corner.bl { bottom: -2px; left: -2px; border-bottom-width: 2px; border-left-width: 2px; }
.scanner-corner.br { bottom: -2px; right: -2px; border-bottom-width: 2px; border-right-width: 2px; }

/* ========== SPONSORS ========== */
.sponsors-section { margin: 5rem 0; padding: 0; background: rgba(5, 5, 15, 0.8); border-top: 1px solid rgba(0, 170, 255, 0.1); border-bottom: 1px solid rgba(0, 170, 255, 0.1); }
.sponsors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; justify-items: center; margin-top: 2rem; }
.sponsor-card { background: transparent; border: none; box-shadow: none; }
.sponsor-card img { max-width: 100%; height: auto; max-height: 168px; object-fit: contain; margin: 0 auto 0.75rem; display: block; }
.sponsor-mission { background: rgba(255, 107, 107, 0.1); border: 1px solid #ff6b6b; border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.sponsor-mission[data-sponsor="carrefour"] { background: rgba(255, 200, 0, 0.1); border-color: #ffc800; }
.sponsor-mission[data-sponsor="nike"] { background: rgba(29, 161, 242, 0.1); border-color: #1da1f2; }
.sponsor-mission[data-sponsor="ypf"] { background: rgba(255, 200, 0, 0.1); border-color: #ffc800; }
.sponsor-mission-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.sponsor-mission-title { font-weight: bold; color: #f8fafc; margin: 0; }
.sponsor-badge {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-left: 8px;
}
.sponsor-logo { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; background: rgba(255, 255, 255, 0.1); padding: 4px; }

/* ========== COUNTER BANNER ========== */
.counter-banner { background: rgba(0, 170, 255, 0.15); color: var(--primary); padding: 0.6rem; border-radius: 8px; font-weight: bold; text-align: center; margin: 1rem 0; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.connection-status { font-size: 0.8rem; color: #4caf50; text-align: center; margin-top: 0.5rem; display: flex; align-items: center; justify-content: center; gap: 0.3rem; }
.status-dot { width: 6px; height: 6px; background: #4caf50; border-radius: 50%; display: inline-block; }

/* ========== REGISTRO: Consentimiento estructurado ========== */
.consent-content { flex: 1; }
.consent-title { font-size: 1.1rem; margin: 0 0 1rem; color: var(--text); font-weight: 700; }
.consent-checkbox { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.8rem; cursor: pointer; }
.consent-checkbox input[type="checkbox"] { margin-top: 0.3rem; width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.consent-note { font-size: 0.85rem; color: var(--text-muted); margin: 1rem 0 0; line-height: 1.5; }

/* ========== REGISTRO: Radio options ========== */
.radio-option { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; background: rgba(255, 255, 255, 0.05); border-radius: 8px; cursor: pointer; transition: var(--transition-fast); }
.radio-option:hover { background: rgba(0, 170, 255, 0.1); }
.radio-option input[type="radio"] { width: 18px; height: 18px; accent-color: var(--primary); }

/* ========== REGISTRO: Feedback post-envío ========== */
.registration-ritual[hidden] { display: none; }
.registration-ritual.show { display: block; }
.success-highlight { color: #4ade80; }
.hunter-id-display { font-size: 1.4rem; margin: 0.4rem 0; display: block; color: #fff; font-weight: 800; letter-spacing: 1px; }
.success-subtext { font-size: 0.95rem; opacity: 0.85; display: block; margin-top: 0.5rem; font-weight: 500; }
.instant-rewards { list-style: none; padding: 0; margin: 0.6rem 0; text-align: left; max-width: 320px; margin-left: auto; margin-right: auto; }
.instant-rewards li { margin: 0.3rem 0; font-size: 0.9rem; }

/* ========== CHECKBOX LABEL ========== */
.checkbox-label { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 500; color: var(--text); cursor: pointer; }
.checkbox-label input[type="checkbox"] { margin-top: 0.3rem; width: 18px; height: 18px; accent-color: var(--primary); }

/* ========== ACCESIBILIDAD ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero .logo-container { max-width: 600px !important; }
  .hero .logo-wrapper img { max-width: 600px !important; }
  .hero .logo-radar svg { max-width: 700px; }
}

@media (max-width: 768px) {
  .hero { padding: 2rem 1rem; min-height: 100vh; height: 100vh; }
  .hero .logo-container { max-width: 400px !important; }
  .hero .logo-wrapper img { max-width: 400px !important; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle, .typewriter-text { font-size: 1.1rem; }
  .section-title { font-size: 2rem; }
  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .disclaimer { margin: 0 auto; }
  .steps-grid, .features-grid, .profiles-grid, .missions-grid, .avatars-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 70px; }
  #live-map { height: 200px; }
  .form-card { padding: 1.8rem; }
  .back-link { top: 1rem; left: 1rem; font-size: 1rem; }
}

@media (max-width: 480px) {
  .hero { padding: 1.5rem 1rem; }
  .hero .logo-container { max-width: 300px !important; }
  .hero .logo-wrapper img { max-width: 300px !important; }
  .hero-title { font-size: 1.8rem; }
  .btn-hero { padding: 0.9rem 1.8rem; font-size: 1rem; width: 100%; }
  .section { padding: 3rem 1rem; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-value { font-size: 1.5rem; }
  .mission-card { padding: 1.2rem 1rem; margin: 1rem 0.8rem !important; }
  .btn { padding: 0.75rem; font-size: 0.9rem; min-height: 44px; }
}

@media (max-width: 360px) {
  .hunter-id, .tension-bar { top: 0.5rem; transform: none; font-size: 0.75rem; padding: 0.15rem 0.5rem; }
  .tension-bar { top: 0.5rem; }
  .hunter-id { top: 1.8rem; }
  .stat-grid { grid-template-columns: 1fr; }
  .hero .logo-container { max-width: 250px !important; }
  .hero .logo-wrapper img { max-width: 250px !important; }
}
/* ========== LANDING PAGE (index.html) ========== */
.landing-container {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.landing-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1.2rem 0 1rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px var(--primary-glow);
}

.landing-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.btn-continue {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #00ccff);
  color: var(--btn-text);
  text-decoration: none;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 800;
  transition: var(--transition);
  box-shadow: 0 4px 15px var(--primary-glow);
  border: none;
  cursor: pointer;
}

.btn-continue:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.landing-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-item span { font-size: 1.2rem; }

@media (max-width: 768px) {
  .landing-title { font-size: 2rem; }
  .landing-features { flex-direction: column; gap: 1rem; }
}

@media (max-width: 480px) {
  .landing-title { font-size: 1.8rem; }
  .btn-continue { padding: 0.9rem 2rem; font-size: 1.1rem; width: 100%; }
}
/* ========== LOGO CENTRADO + RADAR DETRÁS ========== */

/* Contenedor principal: centrado absoluto */
.logo-container.centered {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 450px;
  margin: 0 auto 2rem;
}

/* Radar: ABSOLUTO, centrado, DETRÁS del logo */
.logo-container.centered .logo-radar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1; /* ✅ DETRÁS */
  pointer-events: none;
}

.logo-container.centered .logo-radar svg {
  width: 100%;
  height: 100%;
  max-width: 550px;
  filter: drop-shadow(0 0 6px rgba(0, 255, 0, 0.4));
  opacity: 0.7;
}

/* Wrapper del logo: RELATIVO, DELANTE del radar */
.logo-container.centered .logo-wrapper {
  position: relative;
  z-index: 2; /* ✅ DELANTE */
  display: block;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

/* Imagen del logo: centrada */
.logo-container.centered .logo-wrapper img {
  width: 100%;
  max-width: 450px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
}

/* Responsive */
@media (max-width: 768px) {
  .logo-container.centered,
  .logo-container.centered .logo-wrapper,
  .logo-container.centered .logo-wrapper img {
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .logo-container.centered,
  .logo-container.centered .logo-wrapper,
  .logo-container.centered .logo-wrapper img {
    max-width: 280px;
  }
}
/* ========== LANDING PAGE: index.html - Logo EXTRA GRANDE ========== */
.hero.landing-page {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
}

.hero.landing-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.hero.landing-page .hero-content.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Logo EXTRA GRANDE para landing */
.hero.landing-page .logo-container {
  margin: 0 auto 2.5rem !important;
  position: relative;
  width: 100%;
  max-width: 700px !important; /* ✅ Más grande que home.html */
}

.hero.landing-page .logo-wrapper {
  position: relative;
  z-index: 2; /* ✅ DELANTE del radar */
  display: block;
  width: 100%;
  margin: 0 auto;
}

.hero.landing-page .logo-wrapper img {
  width: 100% !important;
  max-width: 700px !important; /* ✅ Logo grande */
  height: auto !important;
  max-height: none !important;
  display: block !important;
  margin: 0 auto;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.7)) !important; /* ✅ Sombra más pronunciada */
}

.hero.landing-page .logo-radar {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1; /* ✅ DETRÁS del logo */
  pointer-events: none;
}

.hero.landing-page .logo-radar svg {
  width: 120%;
  height: 120%;
  max-width: 800px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0, 255, 0, 0.5));
  opacity: 0.8; /* ✅ Radar más visible */
}









/* ========== PASOS DEL JUEGO - EN FILA ========== */
.landing-steps {
  display: flex;
  flex-direction: row; /* ✅ Horizontal en vez de vertical */
  flex-wrap: wrap; /* ✅ Permite saltar de línea en móviles */
  justify-content: center; /* ✅ Centrado horizontal */
  align-items: center; /* ✅ Alineación vertical */
  gap: 1rem 1.5rem; /* ✅ Espaciado: 1rem vertical, 1.5rem horizontal */
  margin: 1.5rem 0 2rem;
  max-width: 900px; /* ✅ Ancho máximo para que quepan en fila */
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.3rem 0.8rem;
  background: rgba(0, 170, 255, 0.08); /* ✅ Fondo sutil para cada paso */
  border-radius: 8px;
  border: 1px solid rgba(0, 170, 255, 0.2);
  white-space: nowrap; /* ✅ Evita que el texto se corte */
}

.step-item span {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Responsive: en móviles, 2 columnas */
@media (max-width: 768px) {
  .landing-steps {
    gap: 0.8rem;
    flex-wrap: wrap;
  }
  .step-item {
    font-size: 0.9rem;
    padding: 0.25rem 0.6rem;
  }
}

/* Móvil pequeño: una columna si no hay espacio */
@media (max-width: 480px) {
  .landing-steps {
    flex-direction: column; /* ✅ Vuelve a columna en móviles muy pequeños */
    align-items: flex-start;
  }
  .step-item {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Título y botón */
.hero.landing-page .landing-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1.2rem 0 1rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px var(--primary-glow);
}

.hero.landing-page .btn-continue {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #00ccff);
  color: var(--btn-text);
  text-decoration: none;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 800;
  transition: var(--transition);
  box-shadow: 0 4px 15px var(--primary-glow);
  border: none;
  cursor: pointer;
  margin-top: 1rem;
}

.hero.landing-page .btn-continue:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.landing-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-item span { font-size: 1.2rem; }

/* Responsive para landing */
@media (max-width: 768px) {
  .hero.landing-page .logo-container { max-width: 500px !important; }
  .hero.landing-page .logo-wrapper img { max-width: 500px !important; }
  .hero.landing-page .landing-title { font-size: 2rem; }
  .landing-steps { gap: 0.4rem; }
  .step-item { font-size: 0.95rem; }
  .step-item span { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .hero.landing-page .logo-container { max-width: 350px !important; }
  .hero.landing-page .logo-wrapper img { max-width: 350px !important; }
  .hero.landing-page .landing-title { font-size: 1.8rem; }
  .hero.landing-page .btn-continue { padding: 0.9rem 2rem; font-size: 1.1rem; width: 100%; }
  .landing-steps { margin: 1rem 0 1.5rem; }
}

@media (max-width: 360px) {
  .hero.landing-page .logo-container { max-width: 300px !important; }
  .hero.landing-page .logo-wrapper img { max-width: 300px !important; }
}

@media (min-width: 1024px) {
  .hero.landing-page .logo-container { max-width: 750px !important; }
  .hero.landing-page .logo-wrapper img { max-width: 750px !important; }
  .hero.landing-page .logo-radar svg { max-width: 850px; }
}
/* ========== HOME.HTML: LOGO GRANDE ========== */
/* Solo para home.html con clase landing-page */

.hero.landing-page .logo-container {
  max-width: 600px !important;
}

.hero.landing-page .logo-wrapper img {
  max-width: 600px !important;
  width: 100% !important;
}

@media (min-width: 1024px) {
  .hero.landing-page .logo-container {
    max-width: 650px !important;
  }
  .hero.landing-page .logo-wrapper img {
    max-width: 650px !important;
  }
}
/* ========== HERO: landing-page (para home.html) ========== */
.hero.landing-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
}

.hero.landing-page .hero-content.centered {
  text-align: center;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Logo grande para landing-page */
.hero.landing-page .logo-container {
  max-width: 600px !important;
  margin: 0 auto 2.5rem !important;
}

.hero.landing-page .logo-wrapper img {
  max-width: 600px !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Pasos del juego en fila */
.landing-steps {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 1.5rem 0 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.3rem 0.8rem;
  background: rgba(0, 170, 255, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(0, 170, 255, 0.2);
  white-space: nowrap;
}

.step-item span {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Responsive para pasos */
@media (max-width: 768px) {
  .landing-steps {
    gap: 0.8rem;
  }
  .step-item {
    font-size: 0.9rem;
    padding: 0.25rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .landing-steps {
    flex-direction: column;
    align-items: flex-start;
  }
  .step-item {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Título landing */
.hero.landing-page .landing-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1.2rem 0 1rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px var(--primary-glow);
}

@media (max-width: 768px) {
  .hero.landing-page .landing-title { font-size: 2rem; }
}
@media (max-width: 480px) {
  .hero.landing-page .landing-title { font-size: 1.8rem; }
}
/* ========== HERO: Badges de urgencia/estado ========== */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1rem 0 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(0, 170, 255, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 170, 255, 0.3);
}

.badge.urgency {
  background: rgba(255, 107, 107, 0.12);
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.4);
}

.badge.live {
  background: rgba(76, 175, 80, 0.12);
  color: #4caf50;
  border-color: rgba(76, 175, 80, 0.4);
}

.badge.beta {
  background: rgba(156, 39, 176, 0.12);
  color: #9c27b0;
  border-color: rgba(156, 39, 176, 0.4);
}

.badge-small {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.ranking-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* CTA intermedio */
.section-cta-mini {
  padding: 2rem 1rem;
  text-align: center;
  background: rgba(10, 10, 25, 0.4);
  border-top: 1px solid rgba(0, 170, 255, 0.15);
  border-bottom: 1px solid rgba(0, 170, 255, 0.15);
}

.section-cta-mini p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

/* Feature destacada (WhatsApp) */
.feature-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.2);
  transform: scale(1.02);
}

/* Footer simplificado en móvil */
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  .footer-brand {
    justify-content: center;
  }
  .footer-social-section {
    padding-top: 1rem;
  }
  .social-list {
    gap: 1rem;
  }
  .social-link {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* Pasos en fila responsive */
.landing-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.2rem;
  margin: 1.5rem 0;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.step-item span {
  font-size: 1.2rem;
}

@media (max-width: 480px) {
  .landing-steps {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }
  .hero-badges {
    flex-direction: column;
    align-items: center;
  }
  .badge {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
/* ========== FIX: HERO SIN ALTURA RÍGIDA ========== */
.hero {
  min-height: 100vh !important;
  height: auto !important; /* ✅ Permitir que crezca con el contenido */
  padding: 2rem 1rem 3rem !important; /* ✅ Padding inferior para separar secciones */
}

.hero-content.centered {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

/* ========== FIX: LOGO COMPLETO ========== */
.hero .logo-wrapper img {
  height: auto !important; /* ✅ Respetar proporción de la imagen */
  max-height: none !important; /* ✅ Sin límite de altura */
  margin-top: 0.5rem !important; /* ✅ Espacio superior si es necesario */
}

/* ========== FIX: SEPARACIÓN ENTRE SECCIONES ========== */
.section-howto,
.section-ranking,
.section-features,
.section-missions,
.section-profiles {
  margin-top: 2rem !important; /* ✅ Espacio entre secciones */
  padding-top: 3rem !important;
}

/* ========== BADGES INLINE (fallback si no hay CSS) ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}
.badge.urgency { background: rgba(255,107,107,0.15); color: #ff6b6b; }
.badge.live { background: rgba(76,175,80,0.15); color: #4caf50; }
.badge.beta { background: rgba(156,39,176,0.15); color: #9c27b0; }

/* ========== PASOS EN FILA ========== */
.landing-steps,
[style*="display: flex"][style*="justify-content: center"] {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 0.8rem 1.2rem !important;
  margin: 1rem 0 !important;
}

/* ========== RESPONSIVE: MÓVIL ========== */
@media (max-width: 768px) {
  .hero {
    padding: 1.5rem 1rem 2rem !important;
  }
  .hero .logo-wrapper img {
    max-width: 400px !important;
  }
  .landing-title {
    font-size: 1.8rem !important;
  }
  [style*="display: flex"][style*="justify-content: center"] {
    flex-direction: column !important;
    gap: 0.4rem !important;
    align-items: center !important;
  }
}
/* ========== HOME.HTML: LOGO GRANDE (landing-page) ========== */
/* Fuerza logo grande específicamente para home.html con clase landing-page */

/* Desktop: Logo 600px */
header.hero.landing-page .logo-container,
.hero.landing-page .logo-container {
  max-width: 600px !important;
  margin: 0 auto 2.5rem !important;
  width: 100% !important;
}

header.hero.landing-page .logo-wrapper,
.hero.landing-page .logo-wrapper {
  width: 100% !important;
  max-width: 600px !important;
  display: block !important;
  margin: 0 auto !important;
}

header.hero.landing-page .logo-wrapper img,
.hero.landing-page .logo-wrapper img {
  width: 100% !important;
  max-width: 600px !important;
  height: auto !important;
  max-height: none !important;
  display: block !important;
  margin: 0 auto !important;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6)) !important;
}

/* Desktop grande (≥1024px): Logo 650px */
@media (min-width: 1024px) {
  header.hero.landing-page .logo-container,
  .hero.landing-page .logo-container {
    max-width: 650px !important;
  }
  header.hero.landing-page .logo-wrapper img,
  .hero.landing-page .logo-wrapper img {
    max-width: 650px !important;
  }
}

/* Tablet (≤768px): Logo 400px */
@media (max-width: 768px) {
  header.hero.landing-page .logo-container,
  .hero.landing-page .logo-container {
    max-width: 400px !important;
  }
  header.hero.landing-page .logo-wrapper img,
  .hero.landing-page .logo-wrapper img {
    max-width: 400px !important;
  }
}

/* Móvil (≤480px): Logo 300px */
@media (max-width: 480px) {
  header.hero.landing-page .logo-container,
  .hero.landing-page .logo-container {
    max-width: 300px !important;
  }
  header.hero.landing-page .logo-wrapper img,
  .hero.landing-page .logo-wrapper img {
    max-width: 300px !important;
  }
}

/* Móvil pequeño (≤360px): Logo 250px */
@media (max-width: 360px) {
  header.hero.landing-page .logo-container,
  .hero.landing-page .logo-container {
    max-width: 250px !important;
  }
  header.hero.landing-page .logo-wrapper img,
  .hero.landing-page .logo-wrapper img {
    max-width: 250px !important;
  }
}
/* ========== 🚨 EMERGENCIA: LOGO HOME.HTML GRANDE 🚨 ========== */
/* Fuerza logo grande específicamente para home.html con estructura correcta */

/* Selector ultra-específico para ganar sobre cualquier otra regla */
body header.hero .logo-container.centered .logo-wrapper img[src*="code_ebel"] {
  width: 100% !important;
  max-width: 600px !important;
  height: auto !important;
  max-height: none !important;
  min-height: 150px !important; /* ✅ Evita altura de 48px */
  display: block !important;
  margin: 0 auto !important;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6)) !important;
  object-fit: contain !important;
}

/* Desktop grande: aún más impacto */
@media (min-width: 1024px) {
  body header.hero .logo-container.centered .logo-wrapper img[src*="code_ebel"] {
    max-width: 650px !important;
    min-height: 160px !important;
  }
}

/* Tablet */
@media (max-width: 768px) {
  body header.hero .logo-container.centered .logo-wrapper img[src*="code_ebel"] {
    max-width: 400px !important;
    min-height: 100px !important;
  }
}

/* Móvil */
@media (max-width: 480px) {
  body header.hero .logo-container.centered .logo-wrapper img[src*="code_ebel"] {
    max-width: 300px !important;
    min-height: 80px !important;
  }
}

/* Fallback visual si la imagen falla */
body header.hero .logo-container.centered .logo-wrapper img[src*="code_ebel"]:not([src]),
body header.hero .logo-container.centered .logo-wrapper img[src*="code_ebel"][width="0"] {
  min-width: 600px !important;
  min-height: 150px !important;
  background: linear-gradient(135deg, rgba(0,170,255,0.2), rgba(168,85,247,0.2)) !important;
  border: 2px dashed rgba(0,170,255,0.4) !important;
}
/* ========== HERO REFINADO: Menos ruido, más conversión ========== */

/* Hook emocional */
.emotion-hook {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0.5rem 0 1rem;
  opacity: 0.9;
}

/* Estado vivo con contexto completo */
.live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1rem 0;
  padding: 0.4rem 0.9rem;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

/* Micro-confianza (debajo del CTA) */
.micro-trust {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  opacity: 0.8;
}

/* Pasos compactos (movidos abajo del hero) */
.section-steps-compact {
  padding: 2rem 1rem;
  background: rgba(10, 10, 25, 0.4);
  border-bottom: 1px solid rgba(0, 170, 255, 0.15);
}

.steps-compact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.step-compact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.3rem 0.7rem;
  background: rgba(0, 170, 255, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(0, 170, 255, 0.2);
}

.step-compact span {
  font-size: 1.1rem;
}

/* Badge pequeño para Beta */
.badge-small {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: rgba(156, 39, 176, 0.15);
  color: #9c27b0;
  border-radius: 12px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Nota de ranking Beta */
.ranking-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Feature destacada (WhatsApp) */
.feature-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.2);
  transform: scale(1.02);
}

/* Responsive para pasos compactos */
@media (max-width: 768px) {
  .emotion-hook {
    font-size: 1rem;
  }
  .steps-compact-grid {
    gap: 0.6rem 1rem;
  }
  .step-compact {
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .steps-compact-grid {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }
  .step-compact {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .emotion-hook {
    font-size: 0.95rem;
  }
  .micro-trust {
    font-size: 0.8rem;
  }
}
/* ========== REGISTRO: Flujo en 2 pasos ========== */
#step1, #step2 {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#step2.show {
  animation: fadeInUp 0.4s ease-out;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Micro-confianza para teléfono */
.trust-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.trust-note span {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.trust-note p {
  margin: 0;
  line-height: 1.4;
}

/* Badge de urgencia */
.urgency-badge {
  background: rgba(255, 107, 107, 0.15);
  color: #ff6b6b;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 1.5rem;
  border: 1px solid rgba(255, 107, 107, 0.3);
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}

/* Hint de zona detectada */
#zoneHint {
  display: none;
  font-size: 0.85rem;
  color: var(--primary);
  margin-top: 0.3rem;
  font-style: italic;
}

/* Botón en estado de carga */
.btn-hero.loading {
  position: relative;
  pointer-events: none;
}
.btn-hero.loading .pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse 1s infinite;
}

/* Panel de éxito post-registro */
.registration-ritual {
  text-align: center;
  padding: 1.8rem 1rem;
  background: rgba(5, 10, 25, 0.9);
  border-radius: 16px;
  margin: 1rem 0;
  font-weight: 600;
  color: white;
  border: 1px solid rgba(0, 170, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(0, 170, 255, 0.2), 0 8px 32px rgba(0, 10, 30, 0.8);
  animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.registration-ritual.show {
  display: block !important;
}
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.95) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.success-highlight {
  color: #4ade80;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.hunter-id-display {
  font-size: 1.8rem;
  margin: 0.5rem 0;
  display: block;
  color: #ffd700;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.success-subtext {
  font-size: 0.95rem;
  opacity: 0.9;
  display: block;
  margin-top: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.instant-rewards {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0;
  text-align: left;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.instant-rewards li {
  margin: 0.4rem 0;
  font-size: 0.9rem;
  padding-left: 1.2rem;
  position: relative;
}
.instant-rewards li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4ade80;
  font-weight: bold;
}

/* Responsive para formulario */
@media (max-width: 480px) {
  .trust-note {
    font-size: 0.85rem;
    padding: 0.7rem 0.9rem;
  }
  .urgency-badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  .hunter-id-display {
    font-size: 1.5rem;
  }
}
/* ========== REGISTRO: Optimizado para volumen ========== */

/* Señal "live" visible (prueba social) */
.live-signal {
  text-align: center;
  font-size: 0.95rem;
  color: #4caf50;
  font-weight: 600;
  margin: 0.8rem 0 1.5rem;
  padding: 0.4rem 1rem;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(76, 175, 80, 0.3);
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}

/* Micro-confianza para teléfono */
.trust-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(0, 170, 255, 0.1);
  border: 1px solid rgba(0, 170, 255, 0.3);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.trust-note span {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.trust-note p {
  margin: 0;
  line-height: 1.4;
}

/* Checkbox opcional (estilo diferenciado) */
.consent-checkbox.optional {
  opacity: 0.9;
  margin-top: 0.4rem;
}
.consent-checkbox.optional input {
  accent-color: var(--secondary);
}

/* Hint de zona sugerida */
#zoneHint {
  font-size: 0.85rem;
  color: var(--primary);
  margin-top: 0.3rem;
  font-style: italic;
}

/* Botón en estado de carga */
.btn-hero.loading {
  position: relative;
  pointer-events: none;
}
.btn-hero.loading .pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse 1s infinite;
}

/* Panel de éxito post-registro */
.registration-ritual {
  text-align: center;
  padding: 1.8rem 1rem;
  background: rgba(5, 10, 25, 0.95);
  border-radius: 16px;
  margin: 1rem 0;
  font-weight: 600;
  color: white;
  border: 1px solid rgba(0, 170, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(0, 170, 255, 0.2), 0 8px 32px rgba(0, 10, 30, 0.8);
  animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.registration-ritual.show {
  display: block !important;
}
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.95) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.success-highlight {
  color: #4ade80;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.hunter-id-display {
  font-size: 1.8rem;
  margin: 0.5rem 0;
  display: block;
  color: #ffd700;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.success-subtext {
  font-size: 0.95rem;
  opacity: 0.9;
  display: block;
  margin-top: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

#dynamicStatus {
  display: block;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.8rem;
  animation: pulseText 2s infinite;
}
@keyframes pulseText {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.instant-rewards {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0;
  text-align: left;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.instant-rewards li {
  margin: 0.4rem 0;
  font-size: 0.9rem;
  padding-left: 1.2rem;
  position: relative;
}
.instant-rewards li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4ade80;
  font-weight: bold;
}

/* Responsive para registro */
@media (max-width: 480px) {
  .live-signal {
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
  }
  .trust-note {
    font-size: 0.85rem;
    padding: 0.7rem 0.9rem;
  }
  .hunter-id-display {
    font-size: 1.5rem;
  }
  .btn-hero {
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
    width: 100%;
  }
}
/* ========== APP: PANTALLA DE ACTIVACIÓN ========== */
#activation-screen {
  background: linear-gradient(135deg, var(--bg-dark), #000) !important;
}

.activation-status {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ========== APP: TIMER GLOBAL ========== */
.global-timer {
  text-align: center;
  font-weight: 600;
  animation: pulse 2s infinite;
}

/* ========== APP: BADGE DE NIVEL ========== */
.level-badge {
  background: rgba(0, 170, 255, 0.15);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-weight: 700;
  display: inline-block;
}

/* ========== APP: RESUMEN DE PROGRESO ========== */
#progress-summary {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(0, 170, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(0, 170, 255, 0.2);
}

/* ========== APP: MODAL CÓDIGO MANUAL ========== */
#manualCodeModal {
  z-index: 3500;
}

#manual-code-input {
  font-family: monospace;
  text-transform: uppercase;
}

/* ========== APP: RADAR DE JUGADORES ========== */
#radar-section {
  margin-bottom: 1.5rem;
}

#nearby-players {
  background: rgba(0, 170, 255, 0.05);
  border-radius: 8px;
  padding: 0.8rem;
}

/* ========== APP: COORDINACIÓN DE EQUIPO ========== */
#team-coordination {
  border-left: 3px solid var(--secondary);
}

/* ========== RESPONSIVE: MÓVIL ========== */
@media (max-width: 480px) {
  #activation-screen h2 {
    font-size: 1.3rem;
  }
  #activation-screen p {
    font-size: 1rem;
  }
  .mission-card {
    padding: 1.2rem !important;
  }
  .pista {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }
}
/* ===== SOCIAL ICONS ===== */
.social-list {
  display: flex;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary, #00aaff);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-link:hover {
  background: var(--primary, #00aaff);
  color: #000;
  transform: translateY(-2px);
}

.social-link:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .social-link {
    width: 36px;
    height: 36px;
  }
  .social-link svg {
    width: 18px;
    height: 18px;
  }
}