/* /trailer: the cinematic trailer watch page. Builds on style.css tokens. */

/* ---- theatre: a dark screening room with the trailer's own light behind it ---- */
.theatre { position: relative; overflow: hidden; padding: 64px 0 120px; background: #070e17; }
.theatre-glow {
  position: absolute; inset: -60px; z-index: 0;
  background: url('/assets/trailer/trailer-glow.webp') center 30% / cover no-repeat;
  filter: blur(46px) saturate(1.15); opacity: .38; transform: scale(1.1);
}
.theatre::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(7,14,23,0) 0%, rgba(7,14,23,.55) 58%, rgba(7,14,23,.95) 100%),
    linear-gradient(0deg, rgba(14,28,44,1) 0, rgba(14,28,44,0) 160px);
}
.theatre-wrap { position: relative; z-index: 1; max-width: 1240px; text-align: center; }
.theatre .eyebrow {
  margin: 0 0 .35em; color: var(--gold); font-weight: 800; font-size: .82rem;
  letter-spacing: .28em; text-transform: uppercase;
  animation: hero-rise .7s ease-out both;
}
.theatre h1 {
  margin: 0 0 30px; color: var(--sand); text-shadow: 0 2px 18px rgba(0,0,0,.6);
  animation: hero-rise .7s ease-out .08s both;
}

/* the screen: 16:9, gold outline, soft glow */
.screen {
  position: relative; border-radius: 18px; padding: 3px;
  background: linear-gradient(135deg, rgba(255,211,77,.95), rgba(201,150,46,.55) 45%, rgba(255,211,77,.9));
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 30px 80px rgba(0,0,0,.65), 0 0 90px rgba(255,190,80,.16);
  animation: hero-rise .8s ease-out .16s both;
}
.player { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 15px; overflow: hidden; background: #000; }
.player iframe, .player-poster, .player-poster img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-poster { display: block; cursor: pointer; color: var(--sand); }
.player-poster img { object-fit: cover; transition: transform .8s ease, filter .4s ease; }
.player-poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5,10,18,.82) 0%, rgba(5,10,18,0) 42%), radial-gradient(circle at center, rgba(0,0,0,0) 30%, rgba(0,0,0,.28) 100%);
}
.player-poster:hover { text-decoration: none; }
.player-poster:hover img { transform: scale(1.025); filter: brightness(1.06); }

.play-btn {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: clamp(68px, 9vw, 104px); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(194,46,42,.92); border: 3px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(255,211,77,.16), 0 12px 34px rgba(0,0,0,.55);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.play-btn svg { width: 44%; height: 44%; fill: #fff; margin-left: 7%; }
.play-btn::before {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid rgba(255,211,77,.7); animation: play-ping 2.4s ease-out infinite;
}
@keyframes play-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(1.55); opacity: 0; } }
.player-poster:hover .play-btn, .player-poster:focus-visible .play-btn {
  transform: translate(-50%, -50%) scale(1.08); background: #d8423e;
  box-shadow: 0 0 0 12px rgba(255,211,77,.22), 0 14px 40px rgba(0,0,0,.6);
}
.player-poster:focus-visible { outline: none; }
.player-poster:focus-visible .play-btn { outline: 3px solid #fff; outline-offset: 6px; }

.poster-cap {
  position: absolute; left: 26px; bottom: 20px; z-index: 2; text-align: left;
  display: flex; flex-direction: column; line-height: 1.25; text-shadow: 0 1px 8px rgba(0,0,0,.7);
}
.poster-cap strong { font-size: clamp(1.1rem, 2.4vw, 1.7rem); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.poster-cap span { color: var(--sand); font-weight: 700; font-size: .95rem; }

/* under the screen: meta line + CTAs */
.marquee { margin-top: 26px; animation: hero-rise .8s ease-out .26s both; }
.video-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 0; margin: 0 0 14px; color: var(--mist); font-size: .92rem; font-weight: 700; }
.video-meta > * + *::before { content: "·"; margin: 0 12px; color: var(--brass); }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.btn.cta svg { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ---- about + key dates ---- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.about-copy .lede { font-size: 1.16rem; color: var(--sand); font-weight: 600; }
.about-copy p { color: var(--mist); }
.about-copy .fine-print { font-size: .92rem; border-left: 3px solid var(--brass); padding-left: 14px; margin-top: 1.4em; }

.dates {
  background: rgba(10,20,32,.62); border: 1px solid rgba(201,150,46,.7); border-radius: 16px;
  padding: 26px 26px 28px; box-shadow: 0 18px 40px rgba(0,0,0,.3); backdrop-filter: blur(3px);
}
.dates h2 { margin-bottom: .5em; }
.date-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.date-card { position: relative; padding: 14px 16px 14px 20px; border-radius: 12px; background: rgba(22,40,58,.7); border: 1px solid var(--line); }
.date-card::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: var(--sea); }
.date-card.launch::before { background: var(--gold); }
.date-card .when { margin: 0; color: var(--gold); font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; }
.date-card h3 { margin: .1em 0 .25em; color: var(--sand); font-size: 1.05rem; }
.date-card p { margin: 0; color: var(--mist); font-size: .95rem; }
.date-card .when + h3 + p { margin-top: 0; }
.btn.wide-btn { display: block; text-align: center; margin: 20px 0 0; }

/* ---- more to see ---- */
.band.more { padding-top: 90px; }
.more-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.more-head h2 { margin-bottom: 0; }
.more-head .hint { color: var(--mist); margin: 0; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.shot-card {
  position: relative; margin: 0; border-radius: 14px; overflow: hidden;
  border: 2px solid var(--line); background: var(--panel); aspect-ratio: 16 / 9; max-width: 100%;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.shot-card.big { grid-column: span 2; grid-row: span 2; }
.shot-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shot-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 10px;
  background: linear-gradient(0deg, rgba(10,20,32,.92), rgba(10,20,32,0));
  color: var(--sand); font-weight: 800; font-size: .9rem;
}
.shot-card.big figcaption { font-size: 1.05rem; padding: 40px 18px 14px; color: var(--gold); }
.shot-card:hover { transform: translateY(-3px); border-color: var(--brass); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.shot-card:hover img { transform: scale(1.04); }

.videos-title { margin: 44px 0 14px; }
.video-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.video-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px;
  background: rgba(22,40,58,.7); border: 2px solid var(--line); color: var(--sand);
  transition: transform .2s ease, border-color .2s ease;
}
.video-link:hover { text-decoration: none; border-color: var(--brass); transform: translateY(-3px); }
.vl-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--gold); background: rgba(10,20,32,.7); }
.vl-icon svg { width: 20px; height: 20px; fill: var(--gold); }
.vl-txt { display: flex; flex-direction: column; line-height: 1.3; }
.vl-txt small { color: var(--mist); font-size: .85rem; margin-top: 2px; }

/* ---- finale over the harbor ---- */
.bgband.finale { min-height: 56vh; }
.finale-panel { background: rgba(10,20,32,.55); border: 1px solid rgba(201,150,46,.6); border-radius: 16px; padding: 26px 28px 20px; backdrop-filter: blur(3px); }
.finale-panel h2 { margin-bottom: .3em; }
.finale-panel .btn { padding: 12px 22px; margin-right: 6px; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .video-links { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .theatre { padding: 36px 0 80px; }
  .theatre h1 { margin-bottom: 20px; }
  .screen { border-radius: 12px; padding: 2px; }
  .player { border-radius: 10px; }
  .poster-cap { left: 14px; bottom: 10px; }
  .poster-cap span { font-size: .8rem; }
  .video-meta a { flex-basis: 100%; }
  .video-meta a::before { content: none; }
  .cta-row { display: grid; grid-template-columns: 1fr; }
  .cta-row .btn { justify-content: center; }
  .dates { padding: 20px 16px 22px; }
  .band.more { padding-top: 60px; }
  .shots { grid-template-columns: 1fr; gap: 12px; }
  .shot-card.big { grid-column: auto; grid-row: auto; }
  .more-head { flex-direction: column; gap: 4px; }
  .finale-panel { padding: 20px 18px 14px; }
  .finale-panel .btn { margin-right: 6px; padding: 12px 20px; }
}
