/* Estilos propios del sitio: sólo lo que Bootstrap no cubre. Minificar en producción a app.min.css. */
:root { --mouse-x: 50%; --mouse-y: 50%; }

.site-header, .site-footer { border-color: rgba(255, 255, 255, 0.12) !important; }

/* Spotlight: luz que sigue al cursor en tarjetas */
.spotlight-card { position: relative; overflow: hidden; isolation: isolate; transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.spotlight-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mouse-x) var(--mouse-y), rgba(251, 191, 36, 0.18), transparent 60%);
  transition: opacity 0.3s ease;
}
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); }

/* Entrada escalonada de listas y tarjetas */
@keyframes subir-entrada { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.stagger > * { animation: subir-entrada 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
.stagger > *:nth-child(2) { animation-delay: 80ms; }
.stagger > *:nth-child(3) { animation-delay: 160ms; }
.stagger > *:nth-child(4) { animation-delay: 240ms; }

/* Skeleton con shimmer mientras carga el estado de la sala */
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.16) 37%, rgba(255,255,255,0.06) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 0.5rem; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* Foco visible para teclado */
:focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
