/* Production hero fan — live boards from /meta/latest.json */

.hero-stage {
  overflow: visible !important;
  height: 560px;
  perspective: none;
}

.fan-kicker {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acid-dim);
  white-space: nowrap;
}
.fan-fmt {
  display: inline-flex;
  padding: 2px;
  border-radius: 999px;
  background: rgba(16, 18, 12, 0.9);
  border: 1px solid rgba(53, 61, 40, 0.95);
}
.fan-fmt button {
  font: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
}
.fan-fmt button.on {
  background: rgba(184, 240, 0, 0.18);
  color: var(--acid);
}
.fan-fmt button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.fan-dock.is-flash {
  border-color: rgba(184, 240, 0, 0.5);
  box-shadow: 0 0 18px rgba(184, 240, 0, 0.12);
}

.fan-hand {
  position: absolute;
  inset: 36px 0 128px;
  z-index: 5;
  pointer-events: none;
}

.fan-card {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 172px;
  aspect-ratio: 5 / 7;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transform-origin: center center;
  transition: transform 0.5s var(--ease), filter 0.3s;
  filter: brightness(0.78) saturate(0.9);
}
.fan-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(184, 240, 0, 0.22);
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  background: #151822;
  pointer-events: none;
}
.fan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 38%,
    transparent 64%,
    rgba(184, 240, 0, 0.08) 100%
  );
  pointer-events: none;
  opacity: 0.5;
}
.fan-card.is-up {
  filter: brightness(1.06) saturate(1.06);
  z-index: 20 !important;
}
.fan-card.is-up img {
  border-color: rgba(184, 240, 0, 0.55);
  box-shadow:
    0 28px 50px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(184, 240, 0, 0.28),
    0 0 28px rgba(184, 240, 0, 0.16);
}

.fan-dock {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: min(400px, 92%);
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(10, 11, 8, 0.88);
  border: 1px solid rgba(184, 240, 0, 0.22);
  backdrop-filter: blur(10px);
  transition: border-color 0.35s, box-shadow 0.35s;
}
.fan-dock-rank {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--acid);
  letter-spacing: -0.03em;
}
.fan-dock strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.fan-dock span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}
.fan-dock-go {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--acid);
  text-decoration: none;
  white-space: nowrap;
}
.fan-dock-go:hover { color: var(--acid-bright); }

.fan-controls {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

@media (prefers-reduced-motion: reduce) {
  .fan-card { transition: none; }
}

@media (max-width: 700px) {
  .hero-stage { height: 500px; }
  .fan-card { width: 128px; }
  .fan-dock { min-width: 0; width: 92%; }
  .fan-kicker {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    gap: 0.4rem;
    width: 92%;
  }
  .fan-fmt button { padding: 0.26rem 0.5rem; }
}
