*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080706;
  --bg-soft: #100f0d;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #f7f1e7;
  --muted: #aaa298;
  --faint: #706a63;
  --gold: #f2bd55;
  --gold-dark: #9a6b24;
  --red: #ff4d5a;
  --cyan: #61d8e8;
  --green: #44cf8c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --nav-h: 74px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 22% 0%, rgba(242, 189, 85, 0.12), transparent 30rem),
    linear-gradient(180deg, #0d0b09 0%, #080706 38%, #0d0c0a 100%);
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: rgba(242, 189, 85, 0.28);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #070605;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold), var(--red));
  border-radius: 999px;
  border: 2px solid #070605;
}

.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;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 0 48px;
  background: rgba(8, 7, 6, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  animation: fadeDown 0.45s ease both;
}

.nav-logo,
.footer-logo {
  font-family: "Bebas Neue", Arial, sans-serif;
  letter-spacing: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  color: var(--text);
  font-size: 29px;
  line-height: 1;
}

.nav-logo img,
.footer-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-logo span {
  color: var(--text);
}

.footer-logo span {
  color: var(--gold);
}

.nav-logo::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255, 77, 90, 0.9);
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  min-width: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  color: var(--muted);
  border-radius: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn,
.btn-search {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn-play,
.btn-info,
.ad-inline-btn,
.newsletter button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.icon-btn:hover,
.btn-search:hover,
.btn-play:hover,
.btn-info:hover,
.ad-inline-btn:hover,
.newsletter button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 760px;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-poster,
.hero-bg,
.hero-particles {
  position: absolute;
  inset: 0;
}

.hero-poster {
  z-index: -3;
  background: url("https://images.unsplash.com/photo-1536440136628-849c177e76a1?w=1800&q=82") center / cover no-repeat;
  transform: scale(1.04);
  transition: background-image 0.35s ease, transform 0.5s ease;
}

.hero-bg {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.98) 0%, rgba(8, 7, 6, 0.8) 34%, rgba(8, 7, 6, 0.28) 100%),
    linear-gradient(0deg, #080706 0%, rgba(8, 7, 6, 0.82) 16%, transparent 58%);
}

.hero-particles {
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: particleFloat var(--dur) ease-in-out var(--delay) infinite;
}

.hero-content {
  width: min(720px, calc(100% - 96px));
  margin: 0 0 104px 64px;
  animation: fadeUp 0.75s ease 0.1s both;
}

.hero-kicker,
.section-eyebrow,
.eyebrow,
.ad-card-label,
.ad-inline-label,
.ad-strip-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-kicker {
  width: max-content;
  padding: 7px 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(242, 189, 85, 0.32);
  border-radius: 8px;
  background: rgba(242, 189, 85, 0.12);
}

.hero-title {
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 94px;
  line-height: 0.92;
  letter-spacing: 0;
  max-width: 680px;
  text-wrap: balance;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.62);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 22px 0 20px;
}

.hero-meta span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: #ded7ca;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 700;
}

.hero-meta .hero-score {
  background: rgba(242, 189, 85, 0.16);
  color: var(--gold);
  border-color: rgba(242, 189, 85, 0.38);
}

.hero-desc {
  max-width: 560px;
  color: #d1c9bb;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 26px;
  background: var(--gold);
  color: #100c06;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(242, 189, 85, 0.24);
}

.play-icon,
.overlay-play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
}

.btn-info {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 22px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--border);
}

.hero-thumbnails {
  position: absolute;
  right: 48px;
  bottom: 94px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 86px);
  gap: 12px;
}

.thumb {
  position: relative;
  height: 122px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) brightness(0.76);
  transition: filter 0.2s ease, transform 0.25s ease;
}

.thumb:hover,
.thumb.active {
  transform: translateY(-4px);
  border-color: rgba(242, 189, 85, 0.8);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.thumb:hover img,
.thumb.active img {
  filter: saturate(1.05) brightness(1);
  transform: scale(1.05);
}

.ad-strip {
  padding: 14px 48px;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.ad-strip-inner,
.ad-strip-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ad-strip-inner {
  max-width: 1304px;
  margin: 0 auto;
}

.ad-strip-content {
  flex: 1;
  justify-content: space-between;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ad-strip-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ddd5c8;
  font-size: 13px;
}

.ad-badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.ad-cta,
.see-all,
.ad-card-action,
.ad-sidebar-cta {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.main-layout {
  width: min(1400px, calc(100% - 96px));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 42px) 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
}

.content-area {
  min-width: 0;
}

.sidebar {
  min-width: 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-eyebrow {
  color: var(--cyan);
  display: inline-block;
  margin-bottom: 4px;
}

.section-title,
.sidebar-title,
.featured-name,
.footer-col h5,
.newsletter h4 {
  font-family: "Bebas Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.section-title {
  font-size: 36px;
  line-height: 1;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
}

.cat-btn {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.category-link {
  text-decoration: none;
}

.cat-btn:hover,
.cat-btn.active {
  background: var(--text);
  color: #15100b;
  border-color: var(--text);
  transform: translateY(-1px);
}

.films-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 18px;
  margin-bottom: 58px;
}

.film-card,
.featured-card,
.ad-sidebar,
.newsletter,
.ad-card,
.ad-inline {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.utility-page {
  padding: 26px;
  margin-bottom: 52px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.utility-lead {
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.utility-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--gold);
  color: #120d05;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.settings-tile {
  min-height: 168px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.settings-tile span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.settings-tile h3 {
  margin-top: 12px;
  color: var(--text);
  font-size: 17px;
}

.settings-tile p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-page,
.search-page {
  margin-bottom: 54px;
}

.category-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 190px;
  gap: 16px;
}

.category-card {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card.large {
  grid-row: span 2;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.3s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.08) 0%, rgba(8, 7, 6, 0.92) 100%);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 189, 85, 0.42);
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card span {
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.category-card strong {
  margin-top: 8px;
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.genre-pill {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 17px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.genre-pill span {
  min-width: 34px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(242, 189, 85, 0.14);
  color: var(--gold);
  font-size: 12px;
}

.genre-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(97, 216, 232, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.compact-featured {
  margin-bottom: 0;
}

.search-panel {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.search-field {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--gold);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
}

.search-field input::placeholder {
  color: var(--faint);
}

.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.search-filter {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.search-filter.active,
.search-filter:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #120d05;
}

.result-count {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-results {
  display: grid;
  gap: 12px;
}

.search-result-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.search-result-card:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 189, 85, 0.35);
}

.search-result-card[hidden] {
  display: none;
}

.search-result-card img {
  width: 92px;
  height: 122px;
  border-radius: 7px;
  object-fit: cover;
}

.search-result-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-result-card h3 {
  margin-top: 5px;
  color: var(--text);
  font-size: 19px;
}

.search-result-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.search-result-card strong {
  min-width: 46px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(242, 189, 85, 0.14);
  color: var(--gold);
}

.empty-search {
  display: none;
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
}

.empty-search.visible {
  display: block;
}

.empty-library,
.video-detail-shell,
.video-blog {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.empty-library {
  margin-bottom: 54px;
}

.empty-library p {
  max-width: 720px;
  margin-top: 12px;
  color: var(--muted);
}

.empty-library code {
  color: var(--gold);
}

.video-detail-shell {
  display: grid;
  gap: 24px;
  margin-bottom: 54px;
}

.video-player-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #050505;
}

.video-player-frame video {
  width: 100%;
  max-height: 68vh;
  display: block;
  background: #050505;
}

.sbevil-player-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 7, 6, 0.82);
  backdrop-filter: blur(14px);
}

.sbevil-player-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #f4eadb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.46));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sbevil-player-loader span:last-child {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 7, 6, 0.68);
  backdrop-filter: blur(10px);
}

.sbevil-player.is-ready .sbevil-player-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sbevil-loader-ring {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: sbevilSpin 0.85s linear infinite;
  box-shadow: 0 0 24px rgba(242, 189, 85, 0.24);
}

.sbevil-player-toggle {
  width: 44px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: #120d07;
  background: var(--gold);
  cursor: pointer;
}

.sbevil-player-icon {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-block: 8px solid transparent;
  border-left: 13px solid currentColor;
}

.sbevil-player.is-playing .sbevil-player-icon {
  width: 13px;
  height: 16px;
  margin-left: 0;
  border: 0;
  border-inline: 4px solid currentColor;
}

.sbevil-player-progress-wrap {
  min-width: 0;
}

.sbevil-player-progress {
  width: 100%;
  height: 6px;
  display: block;
  accent-color: var(--gold);
  cursor: pointer;
}

.sbevil-player-time {
  min-width: 92px;
  color: #e8dfd2;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.video-detail-body {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.video-lead {
  max-width: 760px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}

.video-blog {
  background: rgba(0, 0, 0, 0.18);
}

.video-blog h3 {
  color: var(--text);
  font-size: 22px;
}

.video-blog-content {
  margin-top: 16px;
  color: #d8d0c4;
}

.video-blog-content p + p {
  margin-top: 14px;
}

.film-card {
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.film-card:hover {
  transform: translateY(-7px);
  border-color: rgba(242, 189, 85, 0.4);
  box-shadow: var(--shadow);
}

.card-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #171310;
}

.card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.film-card:hover .card-poster img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.card-badge,
.card-quality {
  position: absolute;
  top: 10px;
  z-index: 2;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.card-badge {
  left: 10px;
  background: var(--red);
  color: #fff;
}

.card-quality {
  right: 10px;
  color: #160f04;
  background: var(--gold);
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 12px;
  opacity: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 7, 6, 0.9) 100%);
  transition: opacity 0.22s ease;
}

.film-card:hover .card-overlay {
  opacity: 1;
}

.overlay-play {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #100c06;
  background: var(--gold);
  box-shadow: 0 14px 32px rgba(242, 189, 85, 0.26);
}

.overlay-play-icon {
  margin-left: 3px;
}

.overlay-title {
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.card-info {
  padding: 13px 13px 14px;
}

.card-title {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.card-meta span:last-child {
  color: var(--gold);
}

.featured-wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 58px;
}

.featured-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}

.featured-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.featured-card:hover img {
  transform: scale(1.04);
}

.featured-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(180deg, transparent 20%, rgba(8, 7, 6, 0.92) 100%);
}

.featured-tag {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-name {
  margin-top: 6px;
  font-size: 33px;
  line-height: 1;
}

.featured-desc {
  max-width: 360px;
  margin-top: 8px;
  color: #d3cabd;
  font-size: 13px;
}

.ad-inline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  margin-bottom: 54px;
  overflow: hidden;
}

.ad-inline::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--cyan), var(--gold), var(--red));
}

.ad-inline-label {
  position: absolute;
  top: 12px;
  right: 14px;
  color: var(--faint);
}

.ad-inline-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.ad-logo-box {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(97, 216, 232, 0.35);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(97, 216, 232, 0.08);
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 26px;
}

.ad-inline-text h4 {
  color: var(--text);
  font-size: 17px;
}

.ad-inline-text p {
  max-width: 520px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.ad-inline-btn {
  flex: 0 0 auto;
  padding: 0 20px;
  background: var(--cyan);
  color: #061113;
}

.ad-sidebar {
  overflow: hidden;
  margin-bottom: 28px;
}

.ad-sidebar-img {
  position: relative;
  height: 155px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(242, 189, 85, 0.28), rgba(255, 77, 90, 0.13)),
    url("https://images.unsplash.com/photo-1593784991095-a205069470b6?w=650&q=78") center / cover;
}

.ad-sidebar-img.alt {
  background:
    linear-gradient(135deg, rgba(97, 216, 232, 0.22), rgba(68, 207, 140, 0.13)),
    url("https://images.unsplash.com/photo-1593305841991-05c297ba4575?w=650&q=78") center / cover;
}

.ad-sidebar-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, 0.42);
}

.ad-sidebar-img-text {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.84);
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 58px;
}

.ad-promo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 7px;
  color: #fff;
  background: var(--red);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.ad-promo-badge.green {
  background: var(--green);
  color: #06120c;
}

.ad-sidebar-body {
  padding: 17px;
}

.ad-sidebar-title {
  margin-top: 5px;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.ad-sidebar-sub {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.ad-sidebar-cta {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  border: 1px solid rgba(242, 189, 85, 0.44);
  border-radius: 8px;
}

.ad-sidebar-cta:hover {
  background: var(--gold);
  color: #130d05;
}

.sidebar-section {
  margin-bottom: 30px;
}

.sidebar-title {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 25px;
}

.top-list {
  list-style: none;
}

.top-item {
  display: grid;
  grid-template-columns: 30px 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.top-item:last-child {
  border-bottom: 0;
}

.top-num {
  color: rgba(255, 255, 255, 0.25);
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 28px;
}

.top-item:nth-child(1) .top-num {
  color: var(--gold);
}

.top-thumb {
  width: 52px;
  height: 70px;
  border-radius: 7px;
  object-fit: cover;
  background: var(--surface);
}

.top-info {
  min-width: 0;
}

.top-name {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-name:hover {
  color: var(--gold);
}

.sidebar-empty {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
}

.top-rating {
  width: max-content;
  margin-top: 5px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(242, 189, 85, 0.13);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.newsletter {
  padding: 20px;
  margin-bottom: 28px;
}

.newsletter h4 {
  font-size: 25px;
}

.newsletter p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.newsletter input {
  width: 100%;
  min-height: 43px;
  margin-top: 16px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
}

.newsletter input:focus {
  border-color: rgba(242, 189, 85, 0.7);
}

.newsletter button {
  width: 100%;
  margin-top: 9px;
  background: var(--gold);
  color: #110c05;
}

.ad-bottom-section {
  width: min(1400px, calc(100% - 96px));
  margin: 0 auto;
  padding: 0 0 52px;
}

.ad-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ad-card {
  display: flex;
  flex-direction: column;
  min-height: 178px;
  padding: 20px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ad-card:hover {
  transform: translateY(-4px);
  border-color: rgba(97, 216, 232, 0.38);
}

.ad-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 12px 0 10px;
  border-radius: 8px;
  background: rgba(242, 189, 85, 0.12);
  color: var(--gold);
  font-size: 20px;
  font-weight: 900;
}

.ad-card-title {
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.ad-card-desc {
  flex: 1;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.ad-card-action {
  margin-top: 14px;
}

footer {
  padding: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.footer-grid,
.footer-bottom {
  width: min(1304px, 100%);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 42px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  color: var(--text);
  font-size: 34px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
}

.footer-desc {
  max-width: 330px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.social-links {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.social-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.social-btn:hover {
  color: #130d05;
  background: var(--gold);
  transform: translateY(-2px);
}

.footer-col h5 {
  margin-bottom: 14px;
  font-size: 22px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li + li {
  margin-top: 9px;
}

.footer-col a,
.footer-legal a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-col a:hover,
.footer-legal a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  color: var(--faint);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sbevilSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  25% {
    opacity: 0.78;
  }
  100% {
    opacity: 0;
    transform: translateY(-210px) scale(1.4);
  }
}

@media (max-width: 1180px) {
  .site-nav {
    padding: 0 28px;
    gap: 18px;
  }

  .nav-links {
    gap: 3px;
  }

  .nav-links a {
    padding: 0 9px;
    font-size: 11px;
  }

  .hero-content {
    margin-left: 42px;
  }

  .hero-thumbnails {
    right: 28px;
    grid-template-columns: repeat(2, 86px);
  }

  .main-layout {
    width: min(100% - 56px, 1120px);
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .sidebar > * {
    margin-bottom: 0;
  }

  .sidebar-section {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-h: 66px;
  }

  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: calc(100% - 48px);
    margin: 0 24px 178px;
  }

  .hero-title {
    font-size: 70px;
  }

  .hero-thumbnails {
    left: 24px;
    right: auto;
    bottom: 42px;
    grid-template-columns: repeat(4, minmax(58px, 1fr));
    width: calc(100% - 48px);
  }

  .thumb {
    height: 98px;
  }

  .ad-strip,
  footer {
    padding-inline: 24px;
  }

  .ad-strip-inner,
  .ad-strip-content,
  .ad-strip-text,
  .ad-inline,
  .ad-inline-left {
    align-items: stretch;
    flex-direction: column;
  }

  .main-layout,
  .ad-bottom-section {
    width: calc(100% - 48px);
  }

  .featured-wide,
  .ad-bottom-grid,
  .footer-grid,
  .sidebar,
  .settings-grid,
  .category-showcase,
  .genre-grid {
    grid-template-columns: 1fr;
  }

  .category-showcase {
    grid-auto-rows: 210px;
  }

  .category-card.large {
    grid-row: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .site-nav {
    padding: 0 16px;
  }

  .nav-logo {
    font-size: 26px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 154px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-actions {
    gap: 9px;
  }

  .btn-play,
  .btn-info {
    width: 100%;
    justify-content: center;
  }

  .hero-thumbnails {
    left: 16px;
    width: calc(100% - 32px);
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .thumb {
    height: 82px;
  }

  .main-layout,
  .ad-bottom-section {
    width: calc(100% - 32px);
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .video-detail-body {
    align-items: flex-start;
    flex-direction: column;
  }

  .sbevil-player-controls {
    left: 8px;
    right: 8px;
    bottom: 8px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
  }

  .sbevil-player-toggle {
    width: 38px;
    height: 34px;
  }

  .sbevil-player-time {
    grid-column: 1 / -1;
    min-width: 0;
    text-align: left;
  }

  .films-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .search-result-card {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
  }

  .search-result-card img {
    width: 72px;
    height: 100px;
  }

  .search-result-card strong {
    grid-column: 2;
    width: max-content;
  }

  .featured-card,
  .featured-card img {
    min-height: 230px;
  }

  footer {
    padding: 36px 16px;
  }
}
