/* The trailer section on the home page + the hero / menu links to it (3 Nov 2026). */
.trl { position: relative; padding: 110px 0 96px; overflow: hidden; isolation: isolate; }
.trl__bg { position: absolute; inset: 0; z-index: -1; background: url("/template/ascendance/img/hero_throne.jpg") center / cover; opacity: .13; filter: blur(3px) saturate(.8); }
.trl__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.trl .sh { margin-bottom: 40px; }
.trl__frame { position: relative; max-width: 1080px; margin: 0 auto; aspect-ratio: 16 / 9; padding: 2px; border-radius: 14px;
  background: linear-gradient(135deg, #f2d595, #8a6326 38%, #f2d595 62%, #8a6326);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .65), 0 0 70px rgba(214, 171, 92, .18); }
.trl__player, .trl__iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 12px; overflow: hidden; background: #000; }
.trl__player { position: relative; padding: 0; cursor: pointer; }
.trl__player img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s ease; }
.trl__player:hover img, .trl__player:focus-visible img { transform: scale(1.03); filter: brightness(1.08); }
.trl__player::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(closest-side, transparent 55%, rgba(0, 0, 0, .35)); }
.trl__play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 112px; height: 112px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%; border: 2px solid #f2d595; color: #1d1408;
  background: linear-gradient(180deg, #e8c47b, #c08d42); animation: trlPulse 2.2s infinite; transition: transform .25s ease; }
body.asc .trl__play .ico { width: 48px; height: 48px; margin-left: 8px; fill: currentColor; stroke: none; }
.trl__player:hover .trl__play, .trl__player:focus-visible .trl__play { transform: translate(-50%, -50%) scale(1.08); }
@keyframes trlPulse {
  0% { box-shadow: 0 10px 40px rgba(0, 0, 0, .6), 0 0 0 0 rgba(242, 213, 149, .55); }
  70% { box-shadow: 0 10px 40px rgba(0, 0, 0, .6), 0 0 0 28px rgba(242, 213, 149, 0); }
  100% { box-shadow: 0 10px 40px rgba(0, 0, 0, .6), 0 0 0 0 rgba(242, 213, 149, 0); }
}
.trl__len { position: absolute; right: 14px; bottom: 12px; z-index: 2; padding: 5px 10px; border-radius: 6px; background: rgba(0, 0, 0, .75); color: #f3ecdd; font: 600 13px/1 var(--sans); }
.trl__yt { margin: 22px 0 0; text-align: center; }
.trl__yt a { color: var(--gold2); font: 600 14px var(--sans); letter-spacing: .04em; text-decoration: none; }
.trl__yt a:hover { color: #fff; }
body.asc .trl__yt .ico, body.asc .nv__trailer .ico { width: 13px; height: 13px; vertical-align: -1px; }
body.asc .nv__trailer .ico, body.asc .asc-btn--play .ico { fill: currentColor; stroke: none; }
@media (prefers-reduced-motion: reduce) { .trl__play { animation: none; } }
@media (max-width: 640px) {
  .trl { padding: 70px 0 60px; }
  .trl__play { width: 76px; height: 76px; }
  body.asc .trl__play .ico { width: 32px; height: 32px; margin-left: 5px; }
}

/* the menu's Trailer link: the word glows and breathes so nobody misses it (owner 3 Nov: "make it so it glows and pulses
   so u cant miss it", then picked option C - no icon) */
body.asc .nv__menu a.nv__trailer { color: #f6dc9c; font-weight: 700; letter-spacing: .04em; animation: trlNavGlow 2.2s ease-in-out infinite; }
body.asc .nv__menu a.nv__trailer:hover { color: #fff; }
@keyframes trlNavGlow {
  0%, 100% { color: #e9cf8e; text-shadow: 0 0 5px rgba(242, 213, 149, .25); }
  50% { color: #fff1c8; text-shadow: 0 0 14px rgba(242, 213, 149, 1), 0 0 30px rgba(214, 171, 92, .7); }
}
@media (prefers-reduced-motion: reduce) {
  body.asc .nv__menu a.nv__trailer { animation: none; text-shadow: 0 0 10px rgba(242, 213, 149, .6); }
}
