/* /videos · Holy Voltage Cinema — layered on /assets/voltage-core/css/site.css */
:root { --yt: #ff2d2d; }
body.v-page { background: var(--black); }
.v-page main { position: relative; z-index: 3; }

/* ---------- Marquee hero (projector) ---------- */
.v-hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; padding: calc(var(--top-h) + 40px) var(--pad) clamp(28px, 6vh, 64px); overflow: hidden; isolation: isolate; }
.v-reel { position: absolute; inset: 0; z-index: -2; background: #000; }
.v-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.6s var(--ease); filter: saturate(1.1) contrast(1.05); }
.v-reel img.on { opacity: .62; animation: kb 12s linear forwards; }
@keyframes kb { from { transform: scale(1.08) translate3d(0,0,0); } to { transform: scale(1.18) translate3d(-1.5%, -1%, 0); } }
.v-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(2,2,6,.85) 0%, rgba(2,2,6,.15) 30%, rgba(2,2,6,.35) 60%, #020206 100%),
  linear-gradient(90deg, rgba(2,2,6,.92) 0%, rgba(2,2,6,.35) 55%, rgba(2,2,6,.1) 100%); }
.v-beam { position: absolute; z-index: -1; top: -20%; left: 55%; width: 70vw; height: 140%; pointer-events: none; opacity: .35; mix-blend-mode: screen;
  background: conic-gradient(from 200deg at 50% 0%, transparent 0 40%, rgba(34,230,255,.18) 46%, rgba(139,92,255,.14) 50%, rgba(255,43,214,.16) 54%, transparent 60%); filter: blur(10px); animation: beam 9s ease-in-out infinite alternate; }
@keyframes beam { to { transform: translateX(-8vw) rotate(-4deg); opacity: .5; } }
.v-hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.v-hero .mega { font-size: clamp(64px, 10.5vw, 188px); }
.v-hero .lede { max-width: 40ch; }
.v-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.btn-yt { background: #fff; color: #07070f; gap: 12px; }
.btn-yt .yt-dot { width: 26px; height: 18px; border-radius: 6px; background: var(--yt); display: inline-grid; place-items: center; box-shadow: 0 0 18px rgba(255,45,45,.6); }
.btn-yt .yt-dot::after { content: ""; border-left: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; margin-left: 2px; }
.btn-yt small { font: 700 11px/1 var(--mono); letter-spacing: .08em; color: #5b5f7a; margin-left: 4px; }
.v-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.v-stats li { font: 600 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.v-stats b { display: block; font: 900 clamp(30px, 3.2vw, 46px)/1 var(--display); letter-spacing: 0; color: #fff; margin-bottom: 4px; }

/* Now showing card */
.v-now { position: relative; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 40px 120px -30px rgba(34,230,255,.35), 0 0 0 1px var(--line-strong); cursor: pointer; aspect-ratio: 16 / 9; }
.v-now img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.v-now:hover img { transform: scale(1.04); }
.v-now::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,2,6,.92) 0%, transparent 58%); pointer-events: none; }
.v-now-meta { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.v-now-meta h2 { margin: 6px 0 0; font: 900 clamp(30px, 3.4vw, 52px)/.92 var(--display); text-transform: uppercase; }
.tag { display: inline-flex; gap: 8px; align-items: center; font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--yt); box-shadow: 0 0 12px var(--yt); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.v-bigplay { flex: none; width: 74px; height: 74px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.95); box-shadow: 0 0 0 10px rgba(255,255,255,.12), 0 0 60px rgba(34,230,255,.6); cursor: pointer; transition: transform .4s var(--ease); }
.v-bigplay::after { content: ""; border-left: 22px solid #07070f; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.v-now:hover .v-bigplay { transform: scale(1.08); }

/* ---------- Sections ---------- */
.v-sec { position: relative; padding: clamp(60px, 9vw, 130px) 0 0; overflow-x: clip; }
.v-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; padding: 0 var(--pad); margin-bottom: 28px; }
.v-head .h2 { font-size: clamp(42px, 5.6vw, 96px); }
.v-head p.sub { max-width: 46ch; margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.v-arrows { display: flex; gap: 10px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; font-size: 18px; }
.round:hover { border-color: var(--cyan); }

/* Rail of posters */
.v-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 30vw, 460px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px var(--pad) 26px; scrollbar-width: none; overscroll-behavior-x: contain; }
.v-rail::-webkit-scrollbar { display: none; }
.video-card { position: relative; scroll-snap-align: start; margin: 0; }
.v-card-btn { all: unset; display: block; width: 100%; cursor: pointer; border-radius: 16px; }
.v-card-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.v-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0b0b16; box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.v-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease), filter .5s; }
.v-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,2,6,.75), transparent 55%); }
.v-card-btn:hover .v-thumb { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(34,230,255,.6), 0 26px 60px -20px rgba(34,230,255,.55), 0 10px 80px -30px rgba(255,43,214,.6); }
.v-card-btn:hover .v-thumb img { transform: scale(1.06); filter: saturate(1.2); }
.v-dur { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 5px 8px; border-radius: 6px; background: rgba(0,0,0,.78); font: 700 12px/1 var(--mono); color: #fff; }
.v-rank { position: absolute; left: 12px; top: 8px; z-index: 2; font: 900 64px/1 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.9); text-shadow: 0 0 30px rgba(34,230,255,.6); }
.v-mini { position: absolute; left: 50%; top: 50%; z-index: 2; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: .35s var(--ease); }
.v-mini::after { content: ""; border-left: 16px solid #07070f; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.v-card-btn:hover .v-mini, .v-card-btn:focus-visible .v-mini { opacity: 1; transform: none; }
.v-card-meta { padding: 14px 4px 0; }
.v-card-meta h3 { margin: 0; font: 800 clamp(20px, 1.6vw, 26px)/1.02 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.v-card-meta p { margin: 7px 0 0; font: 600 12px/1.3 var(--mono); letter-spacing: .06em; color: #aab0d0; }
.v-card-meta p b { color: var(--cyan); font-weight: 700; }

/* Most loved: bigger posters */
.v-rail.loved { grid-auto-columns: clamp(290px, 38vw, 620px); }

/* Library grid + filters */
.v-filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 var(--pad); margin-bottom: 26px; }
.v-filters button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: var(--muted); font: 700 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.v-filters button[aria-pressed="true"] { color: #07070f; background: #fff; border-color: #fff; box-shadow: 0 0 30px rgba(34,230,255,.4); }
.v-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 34px 20px; padding: 0 var(--pad); }
.v-grid .video-card[hidden] { display: none; }

/* Subscribe finale */
.v-sub { position: relative; margin: clamp(80px, 11vw, 160px) var(--pad) 0; padding: clamp(40px, 6vw, 90px); border-radius: 30px; overflow: hidden; isolation: isolate; text-align: center; border: 1px solid var(--line-strong);
  background: radial-gradient(80% 120% at 0% 0%, rgba(34,230,255,.22), transparent 60%), radial-gradient(80% 120% at 100% 100%, rgba(255,43,214,.22), transparent 60%), #06060d; }
.v-sub::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(34,230,255,.12), transparent 30%, rgba(255,43,214,.12), transparent 60%); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.v-sub .h2 { font-size: clamp(46px, 7vw, 120px); }
.v-sub p.sub { max-width: 52ch; margin: 18px auto 0; color: #d6d9f2; font-size: 18px; }
.v-sub .v-cta { justify-content: center; }
.v-sub .btn-yt { font-size: 18px; padding: 20px 30px; }
.v-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; font: 600 13px/1.3 var(--mono); letter-spacing: .06em; color: var(--muted); }
.v-perks li::before { content: "⚡ "; }

/* Sticky subscribe pill */
.v-pill { position: fixed; z-index: 40; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(8,8,16,.86); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line-strong); box-shadow: 0 20px 60px -10px rgba(0,0,0,.8), 0 0 40px -10px rgba(34,230,255,.5); transition: transform .6s var(--ease); max-width: calc(100vw - 24px); }
.v-pill.show { transform: translate(-50%, 0); }
.v-pill p { margin: 0; font: 600 14px/1.2 var(--body); color: #e4e7fb; white-space: nowrap; }
.v-pill p b { color: #fff; }
.v-pill .btn { padding: 12px 18px; font-size: 14px; min-height: 44px; }
.v-pill-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }

/* ---------- Theater ---------- */
.theater { position: fixed; top: 0; right: 0; bottom: 0; left: 0; margin: 0; z-index: 95; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; overflow-y: auto; overscroll-behavior: contain; padding: clamp(10px, 3vw, 40px); background: rgba(0,0,0,.94); backdrop-filter: blur(8px); opacity: 0; transition: opacity .45s var(--ease); }
.theater[hidden] { display: none; }
.theater.open { opacity: 1; }
.th-box { width: 100%; max-width: 1280px; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 56px; }
.th-screen { position: relative; aspect-ratio: 16 / 9; width: min(100%, calc(72vh * 16 / 9)); margin: 0 auto; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 140px -20px rgba(34,230,255,.45), 0 0 200px -40px rgba(255,43,214,.45); }
.th-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.th-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.th-bar h2 { margin: 0; font: 900 clamp(24px, 3vw, 40px)/1 var(--display); text-transform: uppercase; }
.th-bar p { margin: 6px 0 0; font: 600 12px/1.3 var(--mono); letter-spacing: .08em; color: var(--muted); }
.th-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.th-close { position: fixed; top: calc(14px + env(safe-area-inset-top)); right: 14px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(0,0,0,.6); color: #fff; font-size: 22px; cursor: pointer; }
.th-next { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 17vw, 220px); gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.th-next::-webkit-scrollbar { display: none; }
.th-next button { all: unset; cursor: pointer; }
.th-next img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; display: block; opacity: .75; transition: opacity .3s; }
.th-next button:hover img, .th-next button:focus-visible img { opacity: 1; }
.th-next span { display: block; margin-top: 6px; font: 700 12px/1.2 var(--mono); color: #cfd3ee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.th-lock { overflow: hidden; }

/* ---------- Phones: one column ---------- */
@media (max-width: 900px) {
  .v-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .v-hero { align-items: end; padding-top: calc(var(--top-h) + 24px); }
}
@media (max-width: 760px) {
  .v-hero .mega { font-size: clamp(52px, 15vw, 84px); }
  .v-hero .lede { font-size: 17px; }
  .v-cta .btn { width: 100%; justify-content: center; }
  .v-stats { gap: 10px 20px; }
  .v-stats b { font-size: 30px; }
  .v-now-meta { left: 14px; right: 14px; bottom: 12px; }
  .v-bigplay { width: 58px; height: 58px; }
  .v-rail, .v-rail.loved { grid-auto-columns: 84vw; }
  .v-grid { grid-template-columns: minmax(0, 1fr); }
  .v-arrows { display: none; }
  .v-pill { left: 12px; right: 12px; transform: translateY(140%); justify-content: space-between; }
  .v-pill.show { transform: none; }
  .v-pill p { white-space: normal; font-size: 13px; }
  .th-actions .btn { flex: 1 1 auto; justify-content: center; }
  .th-screen { border-radius: 8px; }
}
.motion-off .v-reel img.on, .motion-off .v-beam, .motion-off .v-sub::before, .motion-off .tag i { animation: none; }
@media (prefers-reduced-motion: reduce) { .v-reel img.on, .v-beam, .v-sub::before, .tag i { animation: none; } }

/* v2 polish */
.v-now { aspect-ratio: auto; background: rgba(8,8,16,.85); }
.v-now::after { display: none; }
.v-now-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.v-now-art img { width: 100%; height: 100%; object-fit: cover; }
.v-now-art .v-bigplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.v-now:hover .v-bigplay { transform: translate(-50%, -50%) scale(1.08); }
.v-now-cap { padding: 16px 20px 18px; }
.v-now-cap h2 { margin: 8px 0 0; font: 900 clamp(28px, 2.8vw, 44px)/.95 var(--display); text-transform: uppercase; }
.v-now-cap p { margin: 6px 0 0; color: #cfd3ee; }
.v-reel img { filter: blur(14px) saturate(1.25) brightness(.8); }
.v-reel img.on { opacity: .55; }
.v-hero .mega { font-size: clamp(60px, 8.6vw, 156px); }
.v-rail { scroll-padding-inline: var(--pad); }
.v-rank { left: 0; top: 0; padding: 6px 14px 10px 12px; font-size: 52px; color: #fff; -webkit-text-stroke: 0; background: linear-gradient(135deg, rgba(2,2,6,.92), rgba(2,2,6,.55)); border-bottom-right-radius: 16px; text-shadow: 0 0 22px rgba(34,230,255,.8); }
.v-card-meta p { color: #c3c8e6; font-size: 13px; }
.v-stats li { color: #c9cde8; }
.btn-yt small { color: #c21f1f; }
.btn-ghost { box-shadow: 0 0 0 1px rgba(255,255,255,.45) inset; background: rgba(255,255,255,.06); }
.top .btn-yt { background: transparent; color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset; }
.v-pill { bottom: calc(18px + env(safe-area-inset-bottom)); }
@media (min-width: 761px) { .v-pill { left: auto; right: 22px; transform: translateY(160%); } .v-pill.show { transform: none; } }
@media (max-width: 760px) { .v-stats li { flex: 1 1 28%; } .v-stats b { font-size: 26px; } .v-now-cap { padding: 12px 14px 14px; } }

/* v3 polish */
body.th-lock .v-pill { transform: translateY(200%) !important; opacity: 0; pointer-events: none; }
.theater { top: 0 !important; height: 100vh; height: 100dvh; }
.btn-yt .yt-dot { flex: 0 0 26px; }
.v-now-art .v-bigplay { left: auto; top: auto; right: 18px; bottom: 18px; transform: none; width: 64px; height: 64px; }
.v-now:hover .v-bigplay { transform: scale(1.08); }
.v-reel img { filter: blur(28px) saturate(1.4) brightness(.75); }
.v-stats { margin-top: 40px; }
@media (max-width: 760px) {
  .btn-yt small { display: none; }
  .v-sub { padding: 40px 20px; }
  .v-sub .btn-yt { width: 100%; justify-content: center; padding: 18px 20px; }
  .v-now-art .v-bigplay { width: 52px; height: 52px; right: 12px; bottom: 12px; }
}

/* neutralize shared site.css .theater (dialog) rules on this page */
.v-page .theater { width: auto; max-width: none; max-height: none; height: 100vh; height: 100dvh; margin: 0; border: 0; border-radius: 0; box-shadow: none; color: var(--text); }
