/* Coverflow styles */
.coverflow {
  position: relative;
  width: 100%;
  height: 490px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.coverflow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.coverflow-slide {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(830px, 93%);
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 480ms cubic-bezier(.2,.9,.2,1), opacity 360ms, box-shadow 360ms;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  will-change: transform, opacity;
  background: #0f172a;
}

.coverflow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coverflow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2000;
}
.coverflow-nav.prev { left: 12px; }
.coverflow-nav.next { right: 12px; }

/* Reduced sizes for small viewports (mesma proporção 16:9 em todo lugar,
   só muda a largura — evita cortar as imagens) */
@media (max-width: 900px) {
  .coverflow { height: 358px; }
  .coverflow-slide { width: min(600px, 90%); }
}

@media (max-width: 520px) {
  .coverflow { height: auto; padding: 12px 0; }
  .coverflow-slide { width: min(400px, 95%); border-radius: 8px; }
  .coverflow-nav { width: 40px; height: 40px; }
}

/* Dots (reuse existing gallery-dots container) */
.gallery-dots { display:flex; gap:8px; justify-content:center; margin-top:12px; }
.gallery-dot { width:12px; height:12px; border-radius:50%; background:rgba(0,0,0,0.2); border:none; }
.gallery-dot.is-active { background:linear-gradient(90deg,#06b6d4,#7c3aed); }

