:root {
  color-scheme: dark;
  --bg: #060710;
  --bg-soft: #0b0d1a;
  --surface: rgba(18, 21, 40, .72);
  --surface-solid: #121528;
  --surface-hover: #181c34;
  --text: #f6f7ff;
  --muted: #9ba4bd;
  --muted-strong: #c1c7d8;
  --line: rgba(255, 255, 255, .1);
  --line-bright: rgba(255, 255, 255, .18);
  --violet: #8b7bff;
  --violet-bright: #ad93ff;
  --cyan: #58d7ff;
  --pink: #dd7cff;
  --green: #6de7b7;
  --container: 1280px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% -10%, rgba(118, 86, 255, .14), transparent 33rem),
    radial-gradient(circle at 96% 20%, rgba(41, 180, 255, .08), transparent 30rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: .35;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .75) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(139, 123, 255, .7) 0 1px, transparent 1.3px);
  background-position: 0 0, 42px 56px;
  background-size: 95px 95px, 137px 137px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

a { color: inherit; }
button, input { font: inherit; }
img, video { max-width: 100%; }
::selection { color: #fff; background: rgba(139, 123, 255, .55); }

.ambient {
  position: fixed;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: .09;
}
.ambient-one { top: 12rem; left: -18rem; background: var(--violet); }
.ambient-two { top: 48rem; right: -22rem; background: var(--cyan); }

.header-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(6, 7, 16, .72);
  backdrop-filter: blur(20px) saturate(140%);
}
.site-header, .site-main, .site-footer, .video-page {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -.025em;
  text-decoration: none;
}
.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(139, 123, 255, .28), rgba(88, 215, 255, .1));
  box-shadow: inset 0 0 14px rgba(173, 147, 255, .18), 0 0 22px rgba(139, 123, 255, .13);
}
.brand-mark::before {
  position: absolute;
  width: 38px;
  height: 13px;
  content: "";
  border: 1px solid rgba(173, 147, 255, .75);
  border-radius: 50%;
  transform: rotate(-24deg);
}
.brand-mark span { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--violet-bright)); box-shadow: 0 0 12px var(--violet); }
.main-nav { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .035); }
.nav-link { padding: 8px 16px; border-radius: 999px; color: var(--muted); font-size: .87rem; font-weight: 650; text-decoration: none; transition: color .2s ease, background .2s ease; }
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--text); background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px rgba(255, 255, 255, .06); }
.header-search { justify-self: end; display: inline-flex; align-items: center; gap: 8px; color: var(--muted-strong); font-size: .9rem; font-weight: 620; text-decoration: none; }
.header-search span, .search-icon { position: relative; width: 15px; height: 15px; display: block; border: 1.6px solid currentColor; border-radius: 50%; }
.header-search span::after, .search-icon::after { position: absolute; right: -4px; bottom: -3px; width: 6px; height: 1.5px; content: ""; border-radius: 2px; background: currentColor; transform: rotate(45deg); }

.site-main { padding: 38px 0 96px; }
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(44px, 6vw, 82px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(110deg, rgba(19, 22, 43, .94) 0%, rgba(13, 16, 32, .8) 55%, rgba(12, 15, 31, .54) 100%),
    radial-gradient(circle at 80% 40%, rgba(139, 123, 255, .13), transparent 40%);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .055);
}
.hero::before { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, .045), transparent 28%); }
.hero-content { position: relative; z-index: 2; width: min(720px, 66%); }
.eyebrow, .section-kicker {
  margin: 0 0 18px;
  color: var(--violet-bright);
  font-size: .75rem;
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(109, 231, 183, .85); }
.hero h1, .video-heading h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  font-weight: 780;
  line-height: .93;
  letter-spacing: -.065em;
}
.hero h1 em { color: transparent; font-style: normal; background: linear-gradient(92deg, var(--violet-bright), var(--cyan) 85%); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 610px; margin: 26px 0 30px; color: var(--muted-strong); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.65; }
.hero-compact { min-height: 430px; }
.hero-compact h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1.03; }

.search {
  width: min(670px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 7px 7px 7px 19px;
  border: 1px solid var(--line-bright);
  border-radius: 16px;
  background: rgba(5, 7, 17, .7);
  box-shadow: 0 14px 35px rgba(0, 0, 0, .26), inset 0 1px rgba(255, 255, 255, .05);
  backdrop-filter: blur(12px);
}
.search-icon { color: var(--muted); }
.search input { min-width: 0; padding: 10px 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.search input::placeholder { color: #6f7891; }
.search button, .source-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(115deg, var(--violet), #6f88ff);
  color: #fff;
  font-weight: 720;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(111, 97, 255, .26), inset 0 1px rgba(255, 255, 255, .22);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.search button:hover, .source-button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(111, 97, 255, .36), inset 0 1px rgba(255, 255, 255, .22); }
.hero-facts { display: flex; gap: clamp(24px, 4vw, 52px); margin-top: 36px; }
.hero-facts div { display: grid; gap: 2px; }
.hero-facts strong { font-size: .9rem; color: var(--text); }
.hero-facts span { color: #747e97; font-size: .72rem; }

.hero-visual { position: absolute; z-index: 1; right: -2%; width: 42%; aspect-ratio: 1; }
.planet { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #b8f1ff 0 3%, #7185e5 8%, #3a347e 30%, #171834 63%, #080a16 75%); box-shadow: inset -30px -25px 50px rgba(0, 0, 0, .55), 0 0 45px rgba(109, 121, 255, .22), 0 0 110px rgba(92, 84, 208, .16); }
.planet::after { position: absolute; inset: 13% 5% 45% 28%; content: ""; border-radius: 50%; background: linear-gradient(145deg, rgba(255,255,255,.16), transparent); filter: blur(5px); transform: rotate(-20deg); }
.orbit { position: absolute; inset: 7%; border: 1px solid rgba(174, 157, 255, .25); border-radius: 50%; transform: rotate(-22deg) scaleY(.35); }
.orbit-two { inset: -3%; border-color: rgba(88, 215, 255, .13); transform: rotate(32deg) scaleY(.5); }
.visual-star { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 2px rgba(255,255,255,.8); }
.star-one { top: 20%; left: 14%; }.star-two { right: 14%; bottom: 22%; width: 3px; height: 3px; }.star-three { top: 9%; right: 28%; width: 2px; height: 2px; }

.catalog { padding-top: 92px; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-kicker { margin-bottom: 8px; color: var(--cyan); }
.section-header h2, .detail-card h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.1; letter-spacing: -.04em; }
.result-count { flex: none; margin-bottom: 6px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .78rem; background: rgba(255,255,255,.035); }

.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 18px; }
.card { min-width: 0; padding: 7px; border: 1px solid transparent; border-radius: 19px; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.card:hover { border-color: var(--line); background: rgba(255,255,255,.025); transform: translateY(-5px); }
.poster { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 14px; background: linear-gradient(145deg, var(--surface-solid), #0b0d19); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.poster img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s cubic-bezier(.2,.75,.2,1), filter .3s ease; }
.card:hover .poster img { transform: scale(1.045); filter: saturate(1.08); }
.poster-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,5,12,.65), transparent 55%); }
.duration-badge { position: absolute; right: 9px; bottom: 9px; padding: 4px 7px; border-radius: 5px; color: #fff; background: rgba(3,4,10,.82); box-shadow: 0 2px 8px rgba(0,0,0,.3); font-size: .68rem; font-weight: 720; font-variant-numeric: tabular-nums; letter-spacing: .02em; line-height: 1; backdrop-filter: blur(6px); }
.poster-placeholder { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(139,123,255,.28), transparent 35%), linear-gradient(145deg, #171a31, #0b0d18); }
.card-body { padding: 13px 6px 5px; }
.card h3 { min-height: 2.7em; margin: 0 0 11px; font-size: 1rem; font-weight: 690; line-height: 1.34; letter-spacing: -.018em; }
.card h3 a { display: -webkit-box; overflow: hidden; color: var(--text); text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-meta { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 7px; color: var(--muted); font-size: .76rem; }
.card-meta span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-meta span:last-child { opacity: 0; color: var(--violet-bright); transform: translate(-5px, 3px); transition: opacity .2s ease, transform .2s ease; }
.card:hover .card-meta span:last-child { opacity: 1; transform: translate(0, 0); }
.source-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(109,231,183,.55); }

.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 62px; }
.pagination > :last-child { justify-self: end; }
.page-button { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 0 16px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted-strong); font-size: .84rem; font-weight: 650; text-decoration: none; background: rgba(255,255,255,.035); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.page-button:hover { border-color: var(--line-bright); background: rgba(255,255,255,.07); transform: translateY(-2px); }
.page-status { display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: .85rem; }.page-status strong { color: var(--text); font-size: 1.1rem; }.page-status span { opacity: .4; }
.infinite-pagination { min-height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin-top: 42px; }
.load-more { min-width: 180px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 20px; border: 1px solid var(--line-bright); border-radius: 999px; color: var(--muted-strong); background: rgba(255,255,255,.045); font-size: .82rem; font-weight: 690; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.load-more:hover:not(:disabled) { border-color: rgba(173,147,255,.48); background: rgba(139,123,255,.12); color: var(--text); transform: translateY(-2px); }
.load-more:disabled { cursor: wait; }
.load-orbit { position: relative; width: 17px; height: 17px; border: 1px solid rgba(173,147,255,.65); border-radius: 50%; }
.load-orbit::after { position: absolute; top: -2px; left: 6px; width: 4px; height: 4px; content: ""; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.is-loading .load-orbit { animation: loading-orbit .85s linear infinite; }
.load-status { min-height: 1.4em; margin: 0; color: var(--muted); font-size: .76rem; }
.infinite-pagination.is-complete { min-height: 90px; }
.card.is-new { animation: card-arrival .42s ease both; }
@keyframes loading-orbit { to { transform: rotate(360deg); } }
@keyframes card-arrival { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.empty { padding: 80px 24px; border: 1px dashed var(--line-bright); border-radius: 20px; text-align: center; background: rgba(255,255,255,.02); }
.empty > span { color: var(--violet-bright); font-size: 2rem; }.empty h3 { margin: 10px 0 4px; font-size: 1.4rem; }.empty p { margin: 0; color: var(--muted); }

.video-page { padding: 45px 0 100px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 52px; color: #717b94; font-size: .8rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }.breadcrumb a:hover { color: var(--text); }
.video-heading { max-width: 1040px; margin-bottom: 38px; }
.video-heading h1 { font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1.03; }
.video-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.video-tags span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-strong); font-size: .72rem; background: rgba(255,255,255,.035); }
.player-frame { position: relative; margin-bottom: 38px; padding: 6px; border: 1px solid var(--line-bright); border-radius: 23px; background: rgba(255,255,255,.055); box-shadow: 0 35px 90px rgba(0,0,0,.5); }
.player-glow { position: absolute; inset: 15% 8% -8%; z-index: -1; border-radius: 50%; background: rgba(100,85,255,.22); filter: blur(65px); }
.player-slot { width: 100%; max-height: 76vh; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 17px; background: #000; }
.player-slot video, .player-fallback { width: 100%; height: 100%; display: block; border-radius: 17px; background: #000; object-fit: contain; }
.blaine-player__vpaid-layer > iframe { opacity: 0; }
.player-fallback { max-height: 76vh; aspect-ratio: 16 / 9; }
.player-ad-status { position: absolute; top: 18px; left: 18px; z-index: 4; padding: 6px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; background: rgba(3,4,10,.76); font-size: .72rem; font-weight: 720; letter-spacing: .02em; backdrop-filter: blur(8px); }
.player-ad-status[hidden] { display: none; }
.player-play-overlay { position: absolute; top: 50%; left: 50%; z-index: 2; width: clamp(78px, 9vw, 118px); aspect-ratio: 1; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; color: #fff; background: linear-gradient(145deg, rgba(139,123,255,.94), rgba(87,210,255,.82)); box-shadow: 0 18px 55px rgba(0,0,0,.5), 0 0 42px rgba(118,111,255,.42), inset 0 1px rgba(255,255,255,.52); cursor: pointer; transform: translate(-50%, -50%); transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; backdrop-filter: blur(12px); }
.player-play-overlay[hidden] { display: none; }
.player-play-overlay:hover { filter: brightness(1.1); box-shadow: 0 20px 64px rgba(0,0,0,.56), 0 0 54px rgba(118,111,255,.58), inset 0 1px rgba(255,255,255,.6); transform: translate(-50%, -50%) scale(1.06); }
.player-play-overlay:active { transform: translate(-50%, -50%) scale(.98); }
.player-play-icon { width: 0; height: 0; margin-left: 8%; border-top: clamp(13px, 1.7vw, 21px) solid transparent; border-bottom: clamp(13px, 1.7vw, 21px) solid transparent; border-left: clamp(20px, 2.6vw, 32px) solid currentColor; filter: drop-shadow(0 3px 5px rgba(0,0,0,.28)); }
.video-details { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .7fr); gap: 18px; }
.detail-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: inset 0 1px rgba(255,255,255,.035); backdrop-filter: blur(18px); }
.detail-card h2 { font-size: 1.65rem; }
.description { margin: 22px 0 0; color: var(--muted-strong); line-height: 1.8; white-space: pre-line; }
.muted-copy { color: var(--muted); }
.metadata { display: grid; gap: 0; margin: 22px 0 28px; }
.metadata div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.metadata dt { color: var(--muted); font-size: .78rem; }.metadata dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: var(--muted-strong); font-size: .82rem; }.metadata a { color: var(--violet-bright); }
.source-button { width: 100%; min-height: 48px; font-size: .86rem; }
.related-section { margin-top: 90px; padding-top: 56px; border-top: 1px solid var(--line); }
.related-header { margin-bottom: 26px; }
.related-header h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.1; letter-spacing: -.04em; }
.related-all { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 6px; color: var(--muted-strong); font-size: .82rem; font-weight: 650; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.related-all:hover { color: var(--violet-bright); transform: translateX(3px); }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.related-card { padding: 6px; }

.footer-wrap { border-top: 1px solid var(--line); background: rgba(4,5,11,.48); }
.site-footer { min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; color: var(--muted); font-size: .78rem; }
.footer-brand { font-size: .98rem; }.footer-brand .brand-mark { transform: scale(.88); }
.site-footer > p { margin: 0; }.footer-note { justify-self: end; color: #6f7890; }.compact-footer { min-height: 110px; grid-template-columns: 1fr 1fr; }

.error-body { display: flex; flex-direction: column; }
.error-page { position: relative; width: min(620px, calc(100% - 40px)); flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; padding: 100px 0 150px; text-align: center; }
.error-code { margin: 0; color: transparent; font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: .9; letter-spacing: -.08em; background: linear-gradient(135deg, var(--violet-bright), var(--cyan)); background-clip: text; -webkit-background-clip: text; }
.error-page h1 { margin: 18px 0 8px; font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.04em; }.error-page > p:not(.error-code) { margin: 0 0 28px; color: var(--muted); }
.error-page .source-button { width: auto; }
.error-orbit { position: absolute; z-index: -1; width: 360px; height: 120px; border: 1px solid rgba(139,123,255,.22); border-radius: 50%; transform: rotate(-18deg); }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.metrika-noscript { position: absolute; left: -9999px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 1050px) {
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-content { width: 75%; }
  .hero-visual { right: -10%; opacity: .76; }
  .video-details { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header, .site-main, .site-footer, .video-page { width: min(100% - 28px, var(--container)); }
  .site-header { grid-template-columns: 1fr auto; min-height: 68px; }
  .main-nav { display: none; }
  .header-search { font-size: 0; }
  .header-search span { width: 17px; height: 17px; }
  .site-main { padding-top: 18px; }
  .hero { min-height: 520px; padding: 36px 24px; border-radius: 22px; align-items: flex-start; }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5.2rem); }
  .hero-compact h1 { font-size: clamp(2.3rem, 10vw, 3.8rem); }
  .hero-lead { max-width: 100%; }
  .hero-visual { right: -27%; bottom: -20%; width: 72%; opacity: .38; }
  .hero-facts { gap: 20px; flex-wrap: wrap; }
  .hero-facts div:last-child { display: none; }
  .catalog { padding-top: 65px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: 1fr; gap: 12px; padding: 36px 0; text-align: left; }
  .footer-note { justify-self: start; }
  .site-footer > p:nth-child(2) { display: none; }
  .breadcrumb { margin-bottom: 35px; }
  .related-section { margin-top: 70px; padding-top: 44px; }
}

@media (max-width: 520px) {
  .search { grid-template-columns: auto minmax(0, 1fr); padding-right: 12px; }
  .search button { grid-column: 1 / -1; width: 100%; }
  .hero { min-height: 590px; }
  .hero-facts { margin-top: 26px; }
  .video-grid { grid-template-columns: 1fr; gap: 24px; }
  .poster { aspect-ratio: 16 / 9; }
  .section-header { align-items: start; }.result-count { margin-top: 5px; }
  .pagination { grid-template-columns: 1fr auto 1fr; gap: 8px; }.page-button { padding: 0 12px; font-size: .78rem; }
  .video-page { padding-top: 30px; }
  .video-heading h1 { font-size: 2.35rem; }
  .detail-card { padding: 24px 20px; }
  .metadata div { grid-template-columns: 1fr; gap: 4px; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
