:root {
  --video-ink: #f4f1ff;
  --video-muted: #a8a8c3;
  --video-cyan: #29e7ff;
  --video-pink: #ff4fc3;
  --video-violet: #8c5bff;
  --video-panel: rgba(11, 13, 28, .88);
  --video-line: rgba(129, 149, 255, .24);
}

.eyebrow { margin: 0; color: var(--video-cyan); font-family: 'Cinzel', serif; font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }

.video-page.container {
  max-width: 1280px;
  margin: 12px auto 48px;
  padding: clamp(18px, 3vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(41, 231, 255, .38);
  background: radial-gradient(circle at 9% 0%, rgba(140, 91, 255, .16), transparent 30%), radial-gradient(circle at 100% 18%, rgba(255, 79, 195, .1), transparent 27%), rgba(7, 8, 19, .9);
  box-shadow: 0 0 42px rgba(41, 231, 255, .15), inset 0 0 80px rgba(140, 91, 255, .04);
  text-align: left;
}
.video-page > .back-link { display: block; width: fit-content; margin: 0 auto 24px; color: var(--video-cyan); font-size: 1rem; font-weight: 700; text-align: center; }

.video-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); min-height: 255px; margin-bottom: clamp(34px, 5vw, 62px); overflow: hidden; border: 1px solid rgba(0, 204, 204, .35); border-radius: 12px; background: rgba(2, 12, 15, .82); box-shadow: 0 0 22px rgba(0, 204, 204, .1); }
.video-hero::after { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 8, 19, .02), rgba(7, 8, 19, .9) 73%, rgba(7, 8, 19, .96)); content: ''; pointer-events: none; }
.video-hero-art { position: relative; min-height: 255px; overflow: hidden; }
.video-hero-art img { display: block; width: 100%; height: 100%; min-height: 255px; object-fit: cover; object-position: center; filter: saturate(1.08) contrast(1.03); }
.video-hero-art::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 7, 17, .03), rgba(6, 7, 17, .38)); content: ''; }
.hero-scanline { position: absolute; right: 12%; bottom: 18px; left: 12%; z-index: 2; height: 1px; background: linear-gradient(90deg, transparent, var(--video-cyan), transparent); box-shadow: 0 0 12px var(--video-cyan); opacity: .8; }
.video-hero-copy { z-index: 2; align-self: center; padding: 30px clamp(24px, 4vw, 52px) 30px 18px; }
.video-hero-copy h2 { margin: 8px 0 10px; color: var(--video-ink); font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.04; letter-spacing: -.02em; }
.video-hero-copy > p:not(.eyebrow) { max-width: 34rem; margin: 0; color: #d2d1e2; font-family: system-ui, sans-serif; font-size: 1rem; line-height: 1.65; }
.artist-bio { max-width: 38rem; }
.artist-bio-themes { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.artist-bio-themes span { padding: 5px 9px; border: 1px solid rgba(41, 231, 255, .28); border-radius: 999px; color: #bfeef2; background: rgba(41, 231, 255, .07); font-family: system-ui, sans-serif; font-size: .68rem; letter-spacing: .03em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 25px; }
.video-button, .text-button { border: 0; font: inherit; }
.video-button { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-family: system-ui, sans-serif; font-size: .86rem; font-weight: 750; letter-spacing: .02em; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.video-button:hover, .video-button:focus-visible { transform: translateY(-2px); }
.video-button-primary { color: #080916; background: linear-gradient(100deg, var(--video-cyan), #a2f6ff); box-shadow: 0 0 22px rgba(41, 231, 255, .3); }
.hero-note { color: var(--video-muted); font-family: system-ui, sans-serif; font-size: .76rem; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--video-pink); box-shadow: 0 0 10px var(--video-pink); }

.library-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.library-heading h2 { margin: 6px 0 8px; color: var(--video-ink); font-size: clamp(1.65rem, 3vw, 2.55rem); letter-spacing: -.03em; }
.library-intro { max-width: 46rem; margin: 0; color: var(--video-muted); font-family: system-ui, sans-serif; font-size: .96rem; }
.library-count { flex: 0 0 auto; padding: 12px 16px; border-left: 2px solid var(--video-pink); color: var(--video-muted); font-family: system-ui, sans-serif; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.library-count strong { display: block; color: var(--video-pink); font-family: 'Cinzel', serif; font-size: 1.55rem; line-height: 1; }

.library-tools { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(145px, .24fr) minmax(145px, .24fr); gap: 10px; margin: 28px 0 10px; }
.search-field, .filter-field { position: relative; display: flex; align-items: center; }
.search-field svg { position: absolute; left: 15px; width: 17px; height: 17px; fill: none; stroke: var(--video-cyan); stroke-linecap: round; stroke-width: 1.8; pointer-events: none; }
.search-field input, .filter-field select, .quality-select { width: 100%; min-height: 44px; border: 1px solid rgba(129, 149, 255, .3); border-radius: 8px; color: var(--video-ink); background: rgba(18, 21, 44, .88); font-family: system-ui, sans-serif; font-size: .84rem; }
.search-field input { padding: 0 14px 0 43px; }
.filter-field select, .quality-select { padding: 0 30px 0 12px; }
.search-field input::placeholder { color: #777894; }
.search-field input:focus, .filter-field select:focus, .quality-select:focus { border-color: var(--video-cyan); outline: 2px solid rgba(41, 231, 255, .22); outline-offset: 1px; }
.video-results-meta { display: flex; align-items: center; justify-content: space-between; min-height: 32px; margin-bottom: 12px; }
.video-results-meta p { margin: 0; color: #8f91af; font-family: system-ui, sans-serif; font-size: .78rem; }
.text-button { padding: 4px 0; color: var(--video-cyan); background: transparent; cursor: url('/images/cursors/hover.cur') 11 0, url('/images/cursors/hover.png') 11 0, pointer; font-family: system-ui, sans-serif; font-size: .78rem; }
.text-button:hover, .text-button:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.video-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--video-line); border-radius: 14px; background: var(--video-panel); box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.video-card.is-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); }
.video-card.is-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #05060d; }
.video-card.is-featured .video-frame { aspect-ratio: auto; min-height: 315px; }
.video-frame::after { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .07); border-radius: inherit; box-shadow: inset 0 -72px 60px rgba(2, 3, 8, .54); content: ''; pointer-events: none; }
.video-player { display: block; width: 100%; height: 100%; min-height: 100%; background: #05060d; object-fit: cover; }
.video-card:not(.is-playing) .video-player { opacity: .96; }
.video-watch { position: absolute; bottom: 17px; left: 17px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .44); border-radius: 999px; color: #fff; background: rgba(7, 8, 19, .76); backdrop-filter: blur(9px); cursor: url('/images/cursors/hover.cur') 11 0, url('/images/cursors/hover.png') 11 0, pointer; font-family: system-ui, sans-serif; font-size: .78rem; font-weight: 700; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.video-watch::before { display: inline-block; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid var(--video-cyan); content: ''; }
.video-watch:hover, .video-watch:focus-visible { border-color: var(--video-cyan); background: rgba(7, 20, 28, .92); box-shadow: 0 0 16px rgba(41, 231, 255, .28); transform: translateY(-2px); outline: none; }
.video-card.is-playing .video-watch { display: none; }

.video-info { display: flex; flex: 1; flex-direction: column; padding: 18px 19px 19px; }
.video-card.is-featured .video-info,
.video-card.is-wide .video-info { justify-content: center; padding: clamp(22px, 3vw, 36px); }
.video-card-kicker { margin: 0 0 5px; color: var(--video-pink); font-family: system-ui, sans-serif; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.video-card h3 { margin: 0; color: var(--video-ink); font-size: clamp(1.2rem, 2.2vw, 1.7rem); line-height: 1.2; }
.video-card-description { margin: 10px 0 16px; color: var(--video-muted); font-family: system-ui, sans-serif; font-size: .88rem; line-height: 1.52; }
.video-card-meta { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: auto; color: #8f91af; font-family: system-ui, sans-serif; font-size: .72rem; }
.video-card-meta span + span::before { margin-right: 12px; color: var(--video-violet); content: '·'; }
.video-card-controls { display: flex; align-items: center; gap: 10px; margin-top: 19px; padding-top: 14px; border-top: 1px solid rgba(129, 149, 255, .16); }
.quality-label { flex: 1; color: #8f91af; font-family: system-ui, sans-serif; font-size: .72rem; }
.quality-label span { display: block; margin-bottom: 4px; color: var(--video-cyan); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.quality-select { width: auto; min-height: 44px; padding-top: 0; padding-bottom: 0; font-size: .74rem; }
.download-link { color: #9d9fbb; font-family: system-ui, sans-serif; font-size: .72rem; text-decoration: none; white-space: nowrap; }
.download-link:hover, .download-link:focus-visible { color: var(--video-cyan); }
.video-status { min-height: 17px; margin: 9px 0 0; color: #8f91af; font-family: system-ui, sans-serif; font-size: .7rem; }

.video-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; }
.page-button { min-width: 38px; min-height: 44px; padding: 0 10px; border: 1px solid var(--video-line); border-radius: 8px; color: var(--video-muted); background: rgba(18, 21, 44, .74); cursor: url('/images/cursors/hover.cur') 11 0, url('/images/cursors/hover.png') 11 0, pointer; font-family: system-ui, sans-serif; font-size: .78rem; }
.page-button:hover, .page-button:focus-visible, .page-button[aria-current='page'] { border-color: var(--video-cyan); color: #07101b; background: var(--video-cyan); }
.page-button:disabled { opacity: .36; }
.video-empty { padding: 66px 20px; border: 1px dashed var(--video-line); border-radius: 12px; text-align: center; }
.empty-glyph { display: block; color: var(--video-pink); font-size: 2.3rem; }
.video-empty h3 { margin: 6px 0; color: var(--video-ink); }
.video-empty p { margin: 0; color: var(--video-muted); font-family: system-ui, sans-serif; }

.video-footnote { display: flex; gap: 16px; align-items: flex-start; max-width: 780px; margin: clamp(46px, 7vw, 90px) auto 10px; padding: 19px 21px; border: 1px solid rgba(255, 79, 195, .21); border-radius: 12px; background: linear-gradient(115deg, rgba(255, 79, 195, .08), rgba(140, 91, 255, .04)); }
.footnote-icon { flex: 0 0 auto; color: var(--video-pink); font-size: 2rem; line-height: 1; text-shadow: 0 0 14px rgba(255, 79, 195, .58); }
.video-footnote h2 { margin: 0 0 5px; color: var(--video-ink); font-size: 1.05rem; }
.video-footnote p, .no-script-note p { margin: 0; color: var(--video-muted); font-family: system-ui, sans-serif; font-size: .82rem; line-height: 1.55; }
.no-script-note { margin-top: 30px; padding: 18px; border: 1px solid var(--video-line); border-radius: 10px; }
.no-script-note h2 { margin-top: 0; color: var(--video-ink); font-size: 1rem; }
.no-script-note a { color: var(--video-cyan); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 820px) {
  .video-hero { grid-template-columns: 1fr; }
  .video-hero::after { background: linear-gradient(180deg, rgba(7, 8, 19, .02), rgba(7, 8, 19, .78) 50%, rgba(7, 8, 19, .98)); }
  .video-hero-art { min-height: 240px; }
  .video-hero-art img { min-height: 240px; }
  .video-hero-copy { margin-top: -64px; padding: 20px 24px 24px; }
  .video-card.is-featured { display: flex; }
  .video-card.is-featured .video-frame { min-height: 0; aspect-ratio: 16 / 9; }
  .video-card.is-wide { display: flex; }
  .video-card.is-wide .video-frame { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  header { padding-top: 16px; }
  .video-page.container { margin: 8px 10px 28px; padding: 14px; border-radius: 12px; }
  .video-hero { margin-bottom: 44px; border-radius: 14px; }
  .video-hero-art, .video-hero-art img { min-height: 205px; }
  .video-hero-copy { margin-top: -52px; padding: 18px; }
  .video-hero-copy h2 { font-size: 2rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .library-heading { align-items: flex-start; flex-direction: column; gap: 17px; }
  .library-count { align-self: stretch; padding: 8px 12px; }
  .library-count strong { display: inline-block; margin-right: 6px; font-size: 1.15rem; }
  .library-tools { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card.is-featured { grid-column: auto; }
  .video-card-controls { align-items: flex-start; flex-wrap: wrap; }
  .quality-label { flex-basis: 100%; }
  .quality-select { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .video-button { transition: none; }
}
