body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #06020c;
  font-family: 'Outfit', 'Inter', sans-serif;
  color: #ffffff;
}

/* WebGL Canvas */
#space-scene {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* CAPA de Iluminación Ambiental del Rayo */
#lightningFlash {
  position: fixed;
  inset: 0;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  mix-blend-mode: overlay;
}

/* ==========================================================================
   Header y Logo Superior (Alineado a la Izquierda)
   ========================================================================== */
.cosmic-header {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 1.5rem 3.5rem;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.logo-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.logo-text {
  font-weight: 900;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
  margin: 0;
}

.logo-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 106%;
  height: 38px;
  border: 3.5px solid rgba(6, 182, 212, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  pointer-events: none;
}

.orbiting-rocket {
  position: absolute;
  top: 50%;
  left: 50%;
  animation: rocketOrbitSpin 14s linear infinite;
  pointer-events: none;
  z-index: 12;
}

@keyframes rocketOrbitSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg) translate(130px) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg) translate(130px) rotate(-360deg); }
}

/* ==========================================================================
   Estructura de Cuadrícula Bento HUD (Cabina de Astronauta)
   ========================================================================== */
.main-universe-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  grid-auto-rows: minmax(265px, auto);
  align-items: stretch;
  gap: 24px;
  width: min(1480px, calc(100% - 80px));
  min-height: calc(100vh - 160px);
  height: auto;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  box-sizing: border-box;
}

/* Grid Posiciones en Escritorio (Desktop) */
.vip-card-bento {
  grid-column: 1 / span 4;
  grid-row: 1 / span 2;
}

.park-card-bento {
  grid-column: 5 / span 5;
  grid-row: 1;
}

.gallery-card-bento {
  grid-column: 10 / span 3;
  grid-row: 1;
}

.curi-card-bento {
  grid-column: 5 / span 4;
  grid-row: 2;
}

.pos-card-bento {
  grid-column: 9 / span 4;
  grid-row: 2;
}

/* Animación de Borde Giratorio Multicolor (Estilo Google AI Studio) */
@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotate-border {
  0% {
    --gradient-angle: 0deg;
  }
  100% {
    --gradient-angle: 360deg;
  }
}

.google-glow {
  position: relative;
  z-index: 1;
  background: rgba(8, 3, 18, 0.45) !important;
  border: none !important;
}

.google-glow::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--gradient-angle),
    #4285f4 0%,
    #ea4335 25%,
    #fbbc05 50%,
    #34a853 75%,
    #4285f4 100%
  );
  animation: rotate-border 6s linear infinite;
  z-index: -1;
  pointer-events: none;
  
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Tarjeta HUD Cósmica (Bento Grid Card) */
.card-hud {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(8, 3, 18, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-hud:hover {
  background: rgba(8, 3, 18, 0.65);
  transform: translateY(-2px);
}

/* Esquinas HUD de la tarjeta */
.hud-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid transparent;
  pointer-events: none;
  transition: all 0.3s ease;
}

.hud-corner.top-left {
  top: -1px;
  left: -1px;
  border-top-color: currentColor;
  border-left-color: currentColor;
  border-top-left-radius: 0.8rem;
}

.hud-corner.top-right {
  top: -1px;
  right: -1px;
  border-top-color: currentColor;
  border-right-color: currentColor;
  border-top-right-radius: 0.8rem;
}

.hud-corner.bottom-left {
  bottom: -1px;
  left: -1px;
  border-bottom-color: currentColor;
  border-left-color: currentColor;
  border-bottom-left-radius: 0.8rem;
}

.hud-corner.bottom-right {
  bottom: -1px;
  right: -1px;
  border-bottom-color: currentColor;
  border-right-color: currentColor;
  border-bottom-right-radius: 0.8rem;
}

.card-hud:hover .hud-corner {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 6px currentColor);
}

/* Colores de Glow y Bordes Temáticos HUD */
.hud-purple {
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.2);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.1), inset 0 0 15px rgba(168, 85, 247, 0.04);
}
.hud-purple:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.22), inset 0 0 20px rgba(168, 85, 247, 0.08);
}

.hud-cyan {
  color: #06b6d4;
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.1), inset 0 0 15px rgba(6, 182, 212, 0.04);
}
.hud-cyan:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.22), inset 0 0 20px rgba(6, 182, 212, 0.08);
}

.hud-pink {
  color: #ec4899;
  border-color: rgba(236, 72, 153, 0.2);
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.1), inset 0 0 15px rgba(236, 72, 153, 0.04);
}
.hud-pink:hover {
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow: 0 0 35px rgba(236, 72, 153, 0.22), inset 0 0 20px rgba(236, 72, 153, 0.08);
}

.hud-green {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.1), inset 0 0 15px rgba(16, 185, 129, 0.04);
}
.hud-green:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.22), inset 0 0 20px rgba(16, 185, 129, 0.08);
}

.hud-blue {
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.1), inset 0 0 15px rgba(59, 130, 246, 0.04);
}
.hud-blue:hover {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.22), inset 0 0 20px rgba(59, 130, 246, 0.08);
}

/* Contenido Interno HUD */
.hud-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  gap: 1rem;
}

/* Columna del Rayo Central */
.lightning-column {
  position: relative;
  width: 120px;
  height: 560px;
  overflow: visible;
  pointer-events: none;
}

.lightning-container-svg {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 100vh;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
}

/* ==========================================================================
   Títulos de Cápsulas con Insignias (Mockup Match)
   ========================================================================== */
.capsule-badge-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 0.5rem;
}

.capsule-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0;
  color: #ffffff;
}

.capsule-subtitle {
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #fbbf24;
}

/* ==========================================================================
   Tarjetas VIP (List Item style with glowing icons)
   ========================================================================== */
.vip-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 1rem 0;
}

.vip-item-cosmic {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  padding: 0.8rem 1.1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.vip-item-cosmic:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 5px 15px rgba(219, 39, 119, 0.2);
}

.vip-icon-container {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.vip-icon-container.star { background: rgba(251, 191, 36, 0.15); border: 1.5px solid #fbbf24; color: #fbbf24; }
.vip-icon-container.gem { background: rgba(59, 130, 246, 0.15); border: 1.5px solid #3b82f6; color: #3b82f6; }
.vip-icon-container.gift { background: rgba(236, 72, 153, 0.15); border: 1.5px solid #ec4899; color: #ec4899; }

.vip-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px 0;
}

.vip-item-desc {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* ==========================================================================
   Grilla de Información Parque (3 Columnas x 2 Filas, Circular Icons)
   ========================================================================== */
.park-grid-mockup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem 0.8rem;
  margin: 1.2rem 0;
}

.grid-item-cosmic {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.grid-item-cosmic:hover {
  transform: translateY(-4px);
}

.icon-circle-glow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.grid-item-cosmic:hover .icon-circle-glow {
  box-shadow: 0 0 20px currentColor;
  transform: scale(1.08);
}

.icon-circle-glow.cyan { border-color: #06b6d4; color: #06b6d4; }
.icon-circle-glow.blue { border-color: #3b82f6; color: #3b82f6; }
.icon-circle-glow.warning { border-color: #f59e0b; color: #f59e0b; }
.icon-circle-glow.pink { border-color: #ec4899; color: #ec4899; }
.icon-circle-glow.success { border-color: #10b981; color: #10b981; }
.icon-circle-glow.info { border-color: #0ea5e9; color: #0ea5e9; }

.grid-item-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

/* ==========================================================================
   Botones Premium con Formato Pill Redondeado
   ========================================================================== */
.btn-cosmic-purple {
  background: linear-gradient(90deg, #9333ea 0%, #db2777 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  min-height: 48px;
  border-radius: 2rem !important;
  border: none;
  font-size: 12px;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(219, 39, 119, 0.35);
  transition: all 0.3s ease;
}

.btn-cosmic-purple:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(219, 39, 119, 0.6);
}

.btn-cosmic-cyan {
  background: linear-gradient(90deg, #0284c7 0%, #06b6d4 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  min-height: 48px;
  border-radius: 2rem !important;
  border: none;
  font-size: 12px;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
  transition: all 0.3s ease;
}

.btn-cosmic-cyan:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
}

/* ==========================================================================
   La Curichera (Ahora en el lateral derecho, abajo de Parque)
   ========================================================================== */
.curichera-capsule {
  width: 100% !important;
  max-width: 560px !important;
  min-height: 180px !important;
  margin: 0 !important;
  position: relative;
  z-index: 5;
}

.planet-curichera-visual {
  position: relative;
  width: 44px;
  height: 44px;
}
.planet-green-sphere {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #10b981 0%, #064e3b 70%);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.55);
}
.planet-green-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 16px;
  border: 3px solid rgba(52, 211, 153, 0.7);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  pointer-events: none;
}

.curi-sports-row {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.curi-sport-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.curi-sport-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.95rem;
}

.curi-sport-label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
}

.btn-curi-reserve {
  background: linear-gradient(90deg, #059669 0%, #10b981 100%) !important;
  color: white !important;
  font-weight: 800;
  border-radius: 2rem !important;
  border: none;
  font-size: 11px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
  padding: 0.6rem 1.2rem;
  transition: all 0.3s ease;
}

.btn-curi-reserve:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}

/* ==========================================================================
   Footer Cósmico (Mockup Match)
   ========================================================================== */
.cosmic-footer {
  width: 100%;
  border-top: 1.5px solid rgba(255, 255, 255, 0.05);
  background: rgba(6, 2, 12, 0.6);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 10;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-item.brand {
  flex-direction: column;
  gap: 2px;
  color: #10b981;
}

.footer-brand-title {
  font-weight: 900;
  font-size: 11.5px;
  letter-spacing: 1px;
}

.footer-brand-tag {
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Punto de Impacto Central
   ========================================================================== */
.impact-zone-container {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 140px;
  height: 50px;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.crater-rock {
  position: absolute;
  width: 12px;
  height: 8px;
  background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
  border-radius: 3px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.rock-1 { left: 15px; top: 15px; width: 10px; height: 7px; transform: rotate(15deg); }
.rock-2 { right: 20px; top: 12px; width: 13px; height: 9px; transform: rotate(-25deg); }
.rock-3 { left: 55px; top: 25px; width: 8px; height: 6px; transform: rotate(5deg); }

.fissure-glow {
  position: absolute;
  width: 100px;
  height: 4px;
  background: radial-gradient(ellipse, #ecfeff 0%, #06b6d4 50%, transparent 100%);
  box-shadow: 0 0 15px #06b6d4, 0 0 30px #db2777;
  border-radius: 50%;
  bottom: 8px;
}

/* Safe Zone Indicator */
.safe-zone-guide {
  position: absolute;
  inset: 12%;
  border: 2px dashed rgba(32, 201, 151, 0.45);
  border-radius: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(32, 201, 151, 0.04);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.safe-zone-guide.show { opacity: 1; }
.safe-zone-label { color: #20c997; font-size: .75rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }

/* Panel de Mandos del Laboratorio */
.lab-interface {
  position: fixed;
  top: 1.5rem;
  right: -360px;
  z-index: 1000;
  width: 320px;
  background: rgba(6, 2, 12, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.lab-interface.open { right: 1.5rem; }
.lab-toggle-btn {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 2, 12, 0.8);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Responsividad Móvil y Modo Simulación Celular (Bento HUD)
   ========================================================================== */
@media (max-width: 992px) {
  /* Ocultar simulador de desarrollo en celulares para evitar desbordamientos de pantalla */
  .lab-toggle-btn, .lab-interface {
    display: none !important;
  }

  .main-universe-layout {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: minmax(160px, auto) !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 1rem 12px 2.5rem 12px !important;
    height: auto !important;
    overflow-y: visible !important;
    box-sizing: border-box !important;
  }
  .card-hud {
    height: auto !important;
    min-height: 160px !important;
    padding: 1rem !important;
  }
  .vip-card-bento {
    grid-column: span 2 !important; /* Siempre ocupa todo el ancho arriba en móvil */
    grid-row: auto !important;
    min-height: 160px !important;
  }
  .vip-card-bento.logged-in {
    min-height: 220px !important;
  }
  .park-card-bento {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  .gallery-card-bento {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  .curi-card-bento {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  .pos-card-bento {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    min-height: 160px !important;
  }
  .cosmic-footer {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px 18px !important;
    padding: 1.5rem 1rem !important;
  }
  .footer-item.brand {
    width: 100% !important;
    order: -1 !important;
    text-align: center !important;
  }
}

/* Modo Simulación Celular en Escritorio (body.mobile-mode) */
body.mobile-mode .main-universe-layout {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  grid-auto-rows: minmax(160px, auto) !important;
  gap: 12px !important;
  width: 420px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 1rem !important;
  height: auto !important;
  overflow-y: visible !important;
  box-sizing: border-box !important;
}

body.mobile-mode .card-hud {
  height: auto !important;
  min-height: 160px !important;
  padding: 1rem !important;
}

body.mobile-mode .vip-card-bento {
  grid-column: span 2 !important;
  grid-row: auto !important;
  min-height: 160px !important;
}

body.mobile-mode .vip-card-bento.logged-in {
  min-height: 220px !important;
}

body.mobile-mode .park-card-bento {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}

body.mobile-mode .gallery-card-bento {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}

body.mobile-mode .curi-card-bento {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}

body.mobile-mode .pos-card-bento {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
  min-height: 160px !important;
}

body.mobile-mode .cosmic-footer {
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px 18px !important;
  padding: 1.5rem 1rem !important;
}

body.mobile-mode .footer-item.brand {
  width: 100% !important;
  order: -1 !important;
  text-align: center !important;
}

/* ==========================================================================
   Estilos de Formulario y Estados de Socio Cósmicos
   ========================================================================== */
.form-control-cosmic {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(168, 85, 247, 0.25) !important;
  border-radius: 1rem !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease !important;
  text-align: center;
}

.form-control-cosmic:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #a855f7 !important;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4) !important;
  outline: none;
}

/* Contenedor de Socio Logueado */
.socio-logged-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0.8rem;
  box-sizing: border-box;
}

.socio-avatar {
  font-size: 2.2rem;
  animation: floating 4s infinite ease-in-out;
}

.socio-name {
  font-size: 18px;
  font-weight: 800;
  color: #a855f7;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
  margin: 0;
}

.socio-ci {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.socio-stars-title {
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0.3rem 0 0 0;
}

.socio-stars-row {
  display: flex;
  justify-content: center;
  gap: 3px;
  font-size: 1.6rem;
  line-height: 1;
}

.socio-star {
  color: rgba(255, 255, 255, 0.12);
  text-shadow: none;
  transition: all 0.3s ease;
}

.socio-star.filled {
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

.socio-passes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Personalizar Scrollbar de pases */
.socio-passes-list::-webkit-scrollbar {
  width: 4px;
}
.socio-passes-list::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 2px;
}

.socio-pass-item {
  display: flex;
  justify-content: justify;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.8rem;
  padding: 0.5rem 0.8rem;
  font-size: 11px;
  transition: all 0.3s ease;
}

.socio-pass-item.active {
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.04);
}

.socio-pass-item.pending {
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.04);
}

.socio-pass-details {
  flex-grow: 1;
  text-align: left;
}

.socio-pass-child {
  font-weight: 700;
  color: #ffffff;
}

.socio-pass-plan {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  text-transform: uppercase;
}

.socio-pass-badge {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.socio-pass-badge.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.socio-pass-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

/* ==========================================================================
   Panel Deslizable de Canchas y Radar (La Curichera)
   ========================================================================== */
.curichera-panel {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  height: 85vh;
  background: #06020c;
  border-top: 2px solid #10b981;
  z-index: 2000;
  transition: bottom 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.25);
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  padding: 2.5rem;
  overflow-y: auto;
  box-sizing: border-box;
}

.curichera-panel.open {
  bottom: 0;
}

.radar-grid {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  border: 1px dashed rgba(16, 185, 129, 0.2);
  border-radius: 1.5rem;
  position: relative;
}

/* ==========================================================================
   Split Layout para Área VIP (Estilo Univalle)
   ========================================================================== */
.vip-split-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.vip-benefits ul {
  padding-left: 0;
}

.vip-benefits li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
}

.vip-benefits li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #a855f7;
  font-weight: bold;
}

@media (max-width: 992px) {
  .vip-split-layout {
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .vip-action-side {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 12px;
  }
  .vip-passes-side {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 12px;
  }
}

body.mobile-mode .vip-split-layout {
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
}

body.mobile-mode .vip-action-side {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 12px;
}

body.mobile-mode .vip-passes-side {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 12px;
}

/* ==========================================================================
   Responsividad Móvil Prolija (Bento 2 Columnas como Imagen de Referencia)
   ========================================================================== */
@media (max-width: 991px) {
  .main-universe-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto auto !important;
    gap: 6px !important;
    width: calc(100% - 16px) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 4px 0 12px 0 !important;
    box-sizing: border-box !important;
  }

  .vip-card-bento {
    grid-column: 1 / span 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .vip-card-bento .hud-content {
    padding: 0.85rem 0.75rem !important;
  }

  .vip-card-bento .logo-text {
    font-size: 1.25rem !important;
  }

  .vip-benefits h6 {
    font-size: 0.85rem !important;
    margin-bottom: 4px !important;
  }

  .vip-benefits ul {
    gap: 3px !important;
  }

  .vip-benefits li {
    font-size: 0.7rem !important;
    line-height: 1.25 !important;
  }

  .vip-action-side button {
    padding: 6px 14px !important;
    font-size: 0.72rem !important;
  }

  .park-card-bento {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
  }

  .gallery-card-bento {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
  }

  .curi-card-bento {
    grid-column: 1 !important;
    grid-row: 3 !important;
    width: 100% !important;
  }

  .pos-card-bento {
    grid-column: 2 !important;
    grid-row: 3 !important;
    width: 100% !important;
  }

  .park-card-bento .hud-content,
  .gallery-card-bento .hud-content,
  .curi-card-bento .hud-content,
  .pos-card-bento .hud-content {
    padding: 0.65rem 0.45rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 118px !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .park-card-bento h5,
  .gallery-card-bento h6,
  .curi-card-bento h6,
  .pos-card-bento h6 {
    font-size: 0.86rem !important;
    margin-bottom: 2px !important;
  }

  .park-card-bento p,
  .gallery-card-bento p,
  .curi-card-bento p,
  .pos-card-bento p,
  .gallery-card-bento span.text-white-50 {
    font-size: 0.65rem !important;
    margin-bottom: 4px !important;
    line-height: 1.18 !important;
  }

  .park-card-bento .d-flex {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 3px !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .park-card-bento .btn {
    padding: 2.5px 5px !important;
    font-size: 0.6rem !important;
    line-height: 1 !important;
  }

  .curi-card-bento .btn {
    padding: 4px 7px !important;
    font-size: 0.64rem !important;
    line-height: 1 !important;
  }

  .gallery-card-bento span.fs-2,
  .pos-card-bento span.fs-3,
  .curi-card-bento span.fs-4,
  .park-card-bento span.fs-4 {
    font-size: 1.2rem !important;
    margin-bottom: 2px !important;
  }

  .vip-split-layout {
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .vip-action-side {
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-left: 10px !important;
  }
}


