/* ════════════════════════════════════════════════════════════════
   ALAMOvoice — CINEMATIC PIMP PASS  (loaded AFTER _shared.css)
   aurora depth · film grain · gold-glow frames · cinemagraph voice
   tiles · full-bleed product showcase band.
   Lives in its own file on purpose — does not touch _shared.css.
   ════════════════════════════════════════════════════════════════ */

/* Slow-drifting gold/navy aurora behind every standard section — alive,
   never competing with content. Pure CSS, GPU-cheap. */
.section { position: relative; }
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 55% at 12% 18%, rgba(212,175,55,0.07), transparent 70%),
    radial-gradient(45% 50% at 88% 82%, rgba(80,120,220,0.06), transparent 72%);
  animation: cineAurora 26s ease-in-out infinite alternate;
}
.section > * { position: relative; z-index: 1; }
@keyframes cineAurora {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(0,-2.5%,0) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .section::before { animation: none; } }

/* Faint film grain over the whole page — the "shot on film" texture. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

/* Gold-glow cinematic frame for product/section art (BUDDY/HANK cards) */
.cine-frame {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.38);
  box-shadow:
    0 30px 90px -28px rgba(0,0,0,0.8),
    0 0 0 1px rgba(212,175,55,0.12),
    0 0 70px -10px rgba(212,175,55,0.28);
  transition: transform .35s ease, box-shadow .35s ease;
}
.cine-frame img { width: 100%; height: auto; display: block; }
.cine-frame::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.10) 0%, transparent 30%);
  opacity: 0; transition: opacity .5s ease;
}
.cine-frame:hover {
  transform: translateY(-3px);
  box-shadow:
    0 40px 110px -28px rgba(0,0,0,0.85),
    0 0 0 1px rgba(212,175,55,0.3),
    0 0 90px -6px rgba(212,175,55,0.42);
}
.cine-frame:hover::after { opacity: 1; }
/* Cinematic banner inside a product card */
.pc-banner { margin: 0 0 22px; }
.pc-banner img { aspect-ratio: 16 / 9; object-fit: cover; }

.cine-tag {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 18px 12px;
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-bright, #e8d48b);
  text-align: center;
  background: linear-gradient(to top, rgba(5,13,26,0.85), transparent);
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

/* ───── Full-bleed cinematic product showcase band ───── */
.showcase {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(212,175,55,0.08), transparent 60%),
    linear-gradient(180deg, var(--navy-deep, #050d1a) 0%, #07101f 100%);
  border-top: 1px solid var(--border, #1d2d44);
  border-bottom: 1px solid var(--border, #1d2d44);
}
.showcase .wrap { max-width: 1180px; }
.showcase-head { text-align: center; margin-bottom: 46px; }
.showcase-head h2 { font-size: 38px; margin: 12px 0 0; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 880px) { .showcase-grid { grid-template-columns: 1fr; gap: 24px; } }
.showcase-card { display: flex; flex-direction: column; gap: 18px; }
.showcase-card .sc-copy { text-align: center; padding: 0 6px; }
.showcase-card .sc-copy h3 { font-size: 22px; color: var(--text-bright, #fff); margin: 0 0 6px; }
.showcase-card .sc-copy p { color: var(--muted, #8e9bb0); font-size: 14px; margin: 0 0 16px; line-height: 1.55; }
.showcase-card .sc-copy .btn { align-self: center; }

/* ───── Cinemagraph voice tiles — idle clip auto-loops; tap plays the
   lip-synced answer (the existing .vc-video). ───── */
.vc-idle {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  z-index: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.voice-card.has-avatar .vc-idle.ready { opacity: 1; }
.voice-card.playing .vc-idle { opacity: 0 !important; }
/* Talking answer video sits above the idle loop; chyron/play stay on top (z2) */
.vc-avatar video.vc-video { position: relative; z-index: 1; }
