/* Portada pública de Muzza. Independiente de style.css: la aplicación interna
   y la portada no comparten ni tipografías ni superficies. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

:root {
  --black: #0a0a0d;
  --white: #f8f8f6;
  --blue: #0033ff;
  --blue-600: #0028cc;
  --gray-600: #454550;
  --gray-500: #6b6b76;
  --gray-200: #dededf;

  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Manrope', 'Inter', -apple-system, sans-serif;
  --font-mono: 'SF Mono', ui-monospace, 'Menlo', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--white); }

::selection { background: var(--blue); color: #fff; }

@keyframes muzzaDash { to { stroke-dashoffset: -240; } }

/* Estados que un atributo style no puede expresar. Cada clase corresponde a
   un `style-hover` o `style-focus` del diseño original. */

.mz-nav-link:hover { color: var(--white); }

.mz-btn-primary:hover { background: var(--blue-600); color: #fff; }

.mz-btn-ghost:hover { border-color: var(--white); color: var(--white); }

.mz-artist:hover,
.mz-artist:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 0 0 1px rgba(0, 51, 255, 0.6), 0 40px 90px rgba(0, 51, 255, 0.14);
}

.mz-artist:focus-visible { outline: none; }

.mz-oyentes {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  background: rgba(0, 24, 145, 0.82);
  backdrop-filter: blur(5px);
  transition: opacity 260ms ease;
}

.mz-oyentes span {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.mz-oyentes small {
  max-width: 18ch;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 248, 246, 0.78);
}

.mz-artist:hover .mz-oyentes,
.mz-artist:focus-visible .mz-oyentes { opacity: 1; }

.mz-node:hover {
  border-color: var(--blue);
  color: var(--white);
  transform: translate(-50%, -50%) scale(1.06);
}

.mz-field:focus { border-color: var(--blue); }

/* Retratos del carrusel de artistas. Los que todavía no tienen foto muestran
   una superficie sobria con el nombre pendiente, no un hueco vacío. */
.mz-retrato {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mz-retrato-pendiente {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 248, 246, 0.28);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(0, 51, 255, 0.14), rgba(16, 16, 23, 0) 70%),
    #101017;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mz-artist,
  .mz-oyentes { transition: none; }
  [data-reveal] { opacity: 1 !important; translate: none !important; }
}
