:root {
  --bg: #f7f7f8;
  --paper: #ffffff;
  --paper-soft: #fff7f7;
  --ink: #171923;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #dc2626;
  --brand-dark: #991b1b;
  --brand-soft: #fee2e2;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.86);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1280px;
  height: 74px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #991b1b);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.28);
}

.brand-text {
  font-size: 20px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #374151;
  font-weight: 700;
}

.desktop-nav a,
.nav-dropdown > button {
  color: #374151;
  border: 0;
  background: transparent;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.nav-dropdown > button:hover {
  color: var(--brand);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: 36px;
  left: 0;
  display: grid;
  min-width: 190px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  padding: 9px 12px;
  border-radius: 10px;
}

.nav-dropdown-panel a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.top-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.top-search input {
  width: 240px;
  padding: 10px 16px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
}

.top-search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.top-search button,
.primary-button,
.home-search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.24);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-search button:hover,
.primary-button:hover,
.home-search-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(220, 38, 38, 0.32);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: #374151;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.mobile-nav {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 18px 18px;
}

.mobile-nav a {
  padding: 12px 10px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 800;
}

.hero-carousel {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.hero-track {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 150px max(24px, calc((100vw - 1280px) / 2 + 24px)) 110px;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 1.4s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  max-width: 760px;
}

.hero-kicker,
.detail-kicker,
.page-hero > span,
.category-hero > span,
.section-heading span,
.ranking-title span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 12px;
  color: #ffffff;
  background: rgba(220, 38, 38, 0.92);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-side-card {
  position: absolute;
  right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 92px;
  width: min(360px, calc(100vw - 48px));
  padding: 24px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.hero-side-card span {
  color: #fecaca;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.hero-side-card strong {
  display: block;
  margin-top: 10px;
  font-size: 26px;
}

.hero-side-card p {
  color: rgba(255, 255, 255, 0.78);
}

.hero-side-card a {
  display: inline-flex;
  margin-top: 8px;
  color: #ffffff;
  font-weight: 900;
}

.hero-dots {
  position: absolute;
  right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 42px;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 38px;
  height: 7px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  border: 0;
  border-radius: 999px;
}

.hero-dots button.is-active {
  background: #ffffff;
}

.home-search-block {
  max-width: 1180px;
  margin: -72px auto 0;
  padding: 34px;
  position: relative;
  z-index: 3;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.home-search-block h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.home-search-block p {
  margin: 12px 0 24px;
  color: var(--muted);
}

.home-search-form {
  display: flex;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.home-search-form input {
  min-width: 0;
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
}

.home-search-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.content-section,
.split-section,
.category-overview-grid,
.wide-ranking,
.detail-content-section,
.player-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 0;
}

.no-top-padding {
  padding-top: 34px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2,
.ranking-title h2,
.detail-article h2,
.detail-side h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
}

.section-link {
  flex: 0 0 auto;
  color: var(--brand);
  font-weight: 900;
}

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

.category-tile {
  min-height: 145px;
  padding: 22px;
  background: radial-gradient(circle at 20% 20%, rgba(248, 113, 113, 0.24), transparent 36%), #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover,
.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(220, 38, 38, 0.34);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
}

.category-tile strong {
  display: block;
  color: var(--brand-dark);
  font-size: 22px;
}

.category-tile span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto 30px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.content-section .filter-panel {
  margin: 0 0 30px;
}

.filter-panel h2 {
  margin: 0;
  font-size: 24px;
}

.filter-panel p {
  margin: 6px 0 0;
  color: var(--muted);
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 0.7fr));
  gap: 10px;
  flex: 1;
  max-width: 760px;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
}

.filter-controls input:focus,
.filter-controls select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

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

.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.movie-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #991b1b);
}

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

.movie-card:hover .poster-link img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.05);
}

.play-dot {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: rgba(220, 38, 38, 0.92);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  color: #ffffff;
  background: #111827;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  font-size: 14px;
}

.card-body {
  padding: 18px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 58px;
  margin: 10px 0 8px;
  overflow: hidden;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-body h3 a:hover {
  color: var(--brand);
}

.card-body p {
  display: -webkit-box;
  min-height: 50px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row span {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 0;
}

.card-category {
  display: inline-flex;
  margin-top: 13px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.split-main .content-section {
  padding: 0;
}

.ranking-panel,
.detail-side {
  position: sticky;
  top: 96px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.ranking-title h2 {
  font-size: 32px;
}

.rank-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.rank-item span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #ffffff;
  background: #111827;
  border-radius: 10px;
  font-weight: 900;
}

.rank-item strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-item em {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.ranking-more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  padding: 12px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 14px;
  font-weight: 900;
}

.page-main,
.detail-main {
  padding-top: 74px;
}

.page-hero,
.category-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 78px 24px 38px;
}

.page-hero h1,
.category-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.page-hero p,
.category-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.category-hero {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: none;
  color: #ffffff;
  background-position: center;
  background-size: cover;
}

.category-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.category-hero .primary-button {
  margin-top: 26px;
}

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

.category-overview-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.category-cover {
  display: flex;
  align-items: end;
  min-height: 190px;
  padding: 20px;
  color: #ffffff;
  background-position: center;
  background-size: cover;
}

.category-cover span {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.category-overview-card > div {
  padding: 20px;
}

.category-overview-card h2 {
  margin: 0;
  font-size: 24px;
}

.category-overview-card p {
  color: var(--muted);
}

.category-sample-links {
  display: grid;
  gap: 8px;
}

.category-sample-links a {
  overflow: hidden;
  color: var(--brand);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 800;
}

.wide-ranking {
  display: grid;
  gap: 12px;
}

.wide-rank-row {
  display: grid;
  grid-template-columns: 46px 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.wide-rank-row > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: var(--brand);
  border-radius: 12px;
  font-weight: 900;
}

.wide-rank-row img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}

.wide-rank-row strong {
  display: block;
  font-size: 18px;
}

.wide-rank-row p {
  margin: 4px 0 0;
  color: var(--muted);
}

.wide-rank-row em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.detail-hero {
  min-height: 640px;
  color: #ffffff;
  background-position: center;
  background-size: cover;
}

.detail-hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 116px 24px 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.breadcrumb a {
  color: #ffffff;
  font-weight: 900;
}

.breadcrumb em {
  font-style: normal;
}

.detail-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.detail-poster {
  width: 310px;
  height: 430px;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.36);
}

.detail-info h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 820px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.detail-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.detail-meta-list span {
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-weight: 800;
}

.compact-heading {
  margin-bottom: 18px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #05070d;
  border-radius: 28px;
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.28);
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #05070d;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(220, 38, 38, 0.30), rgba(0, 0, 0, 0.42));
  border: 0;
  z-index: 3;
}

.video-overlay span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding-left: 5px;
  background: rgba(220, 38, 38, 0.94);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  font-size: 34px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}

.video-overlay strong {
  font-size: 22px;
}

.video-shell.is-playing .video-overlay {
  display: none;
}

.detail-content-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.detail-article {
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.detail-article h2 {
  margin-top: 28px;
  font-size: 30px;
}

.detail-article h2:first-child {
  margin-top: 0;
}

.detail-article p,
.detail-article li {
  color: #374151;
  font-size: 17px;
}

.detail-article ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.related-section {
  padding-bottom: 80px;
}

.site-footer {
  margin-top: 80px;
  color: #ffffff;
  background: #111827;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 24px;
}

.footer-shell p {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: flex-start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

[data-card].is-hidden {
  display: none;
}

@media (max-width: 1100px) {
  .desktop-nav,
  .top-search {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .hero-side-card {
    display: none;
  }

  .hero-dots {
    left: 24px;
    right: auto;
  }

  .category-grid,
  .movie-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .detail-content-section {
    grid-template-columns: 1fr;
  }

  .ranking-panel,
  .detail-side {
    position: static;
  }

  .filter-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-controls {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    height: 66px;
    padding: 0 16px;
  }

  .brand-text {
    font-size: 17px;
  }

  .hero-carousel {
    min-height: 650px;
  }

  .hero-slide {
    padding: 118px 18px 88px;
  }

  .home-search-block {
    margin: -42px 16px 0;
    padding: 24px;
  }

  .home-search-form,
  .footer-shell {
    flex-direction: column;
  }

  .content-section,
  .split-section,
  .category-overview-grid,
  .wide-ranking,
  .detail-content-section,
  .player-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .category-grid,
  .movie-grid,
  .compact-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .filter-controls {
    grid-template-columns: 1fr;
  }

  .wide-rank-row {
    grid-template-columns: 36px 78px minmax(0, 1fr);
  }

  .wide-rank-row em {
    grid-column: 3;
  }

  .wide-rank-row img {
    width: 78px;
    height: 54px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(100%, 280px);
    height: 390px;
  }

  .detail-hero-content {
    padding: 96px 16px 54px;
  }

  .video-shell {
    border-radius: 18px;
  }

  .video-overlay span {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}
