:root {
  --red-900: #7f1d1d;
  --red-800: #991b1b;
  --red-700: #b91c1c;
  --red-600: #dc2626;
  --red-500: #ef4444;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--slate-50), var(--slate-100));
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--red-900), var(--red-700));
  color: #fff;
  box-shadow: 0 8px 22px rgba(127, 29, 29, 0.25);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--red-800);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-1px) scale(1.03);
  background: #fee2e2;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.brand-text em {
  font-size: 12px;
  font-style: normal;
  color: #fecaca;
}

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

.desktop-nav a,
.desktop-nav button {
  color: #fee2e2;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav button:hover {
  color: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -18px;
  width: 190px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  color: #374151;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 12px;
  color: #374151;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.nav-dropdown-menu a:hover {
  color: var(--red-800);
  background: #fee2e2;
}

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

.global-search {
  position: relative;
  width: 260px;
}

.global-search-input,
[data-local-filter] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 11px 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: all 0.2s ease;
}

.global-search-input::placeholder {
  color: #fecaca;
}

.global-search-input:focus {
  background: #fff;
  color: #111827;
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.18);
}

.global-search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(420px, calc(100vw - 32px));
  max-height: 520px;
  overflow: auto;
  border-radius: 16px;
  background: #fff;
  color: #111827;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}

.global-search-panel.is-open {
  display: block;
}

.search-result {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.search-result:hover {
  background: #fef2f2;
}

.search-result img {
  width: 48px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 8px;
  background: linear-gradient(135deg, #111827, #7f1d1d);
}

.search-result strong {
  display: block;
  font-size: 14px;
}

.search-result span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255,255,255,0.16);
}

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

.mobile-nav-inner {
  display: grid;
  gap: 10px;
  padding: 16px 0;
}

.mobile-nav a {
  color: #fee2e2;
  font-weight: 700;
  padding: 8px 0;
}

.mobile-search {
  position: relative;
  margin-top: 8px;
}

.hero,
.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #111827, #1f2937);
}

.hero {
  height: 600px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg,
.detail-backdrop {
  position: absolute;
  inset: 0;
}

.hero-img,
.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.02);
  background: linear-gradient(135deg, #111827, #7f1d1d);
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17,24,39,0.92), rgba(17,24,39,0.52), rgba(17,24,39,0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
  color: #fff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--red-600);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero p,
.detail-info p {
  margin: 0 0 24px;
  color: #d1d5db;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  color: #e5e7eb;
}

.hero-meta span,
.detail-meta span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.75);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #fff;
  background: var(--red-600);
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.28);
}

.btn.primary:hover {
  background: var(--red-700);
  box-shadow: 0 18px 34px rgba(220, 38, 38, 0.36);
}

.btn.ghost {
  color: #fff;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.28);
  transform: translateY(-1px);
}

.hero-arrow.prev {
  left: 28px;
}

.hero-arrow.next {
  right: 28px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 4;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--red-500);
}

.section-block {
  padding: 56px 0;
}

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

.section-heading > div,
.ranking-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-heading span,
.ranking-title span {
  color: var(--red-600);
  font-size: 22px;
}

.section-heading h2,
.list-toolbar h2,
.ranking-title h2,
.story-card h2,
.site-footer h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-more,
.text-link,
.panel-link {
  color: var(--red-600);
  font-weight: 800;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #7f1d1d);
}

.movie-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.movie-card:hover .movie-cover {
  transform: scale(1.06);
}

.play-dot {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--red-600);
  box-shadow: 0 12px 24px rgba(0,0,0,0.24);
  transform: translateY(4px);
  opacity: 0;
  transition: all 0.22s ease;
}

.movie-card:hover .play-dot {
  transform: translateY(0);
  opacity: 1;
}

.rank-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--red-600), #f59e0b);
  font-size: 14px;
}

.movie-info {
  padding: 14px;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.movie-info h3 a:hover {
  color: var(--red-700);
}

.movie-info p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 44px;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
}

.movie-meta,
.movie-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.movie-meta span,
.movie-tags span,
.detail-tags span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f3f4f6;
}

.movie-tags {
  margin-top: 9px;
}

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

.category-card {
  position: relative;
  min-height: 188px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--slate-900), var(--red-900));
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  background: linear-gradient(135deg, var(--slate-900), var(--red-900));
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.16));
}

.category-card span,
.category-card strong {
  position: relative;
  z-index: 1;
}

.category-card span {
  font-size: 23px;
  font-weight: 900;
}

.category-card strong {
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 600;
}

.split-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 32px;
}

.ranking-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

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

.ranking-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.rank-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
  transition: background 0.2s ease;
}

.rank-row:hover {
  background: #fef2f2;
}

.rank-row b {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--red-600);
}

.rank-row span {
  overflow: hidden;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.page-hero {
  min-height: 360px;
  color: #fff;
}

.small-hero {
  min-height: 300px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 20% 20%, rgba(220,38,38,0.35), transparent 32%), linear-gradient(135deg, var(--slate-950), var(--red-900));
}

.small-hero .container {
  position: relative;
  z-index: 2;
}

.small-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.small-hero p {
  max-width: 760px;
  margin: 0;
  color: #e5e7eb;
  font-size: 18px;
}

.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.category-overview-cover {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.category-overview-cover span {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #111827, #7f1d1d);
}

.category-overview-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.category-overview-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.list-toolbar p {
  margin: 8px 0 0;
  color: var(--muted);
}

[data-local-filter] {
  max-width: 360px;
  border: 1px solid var(--line);
  background: #fff;
  color: #111827;
  box-shadow: var(--soft-shadow);
}

[data-local-filter]::placeholder {
  color: #9ca3af;
}

.rank-table {
  display: grid;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.rank-table-row {
  display: grid;
  grid-template-columns: 60px 1fr 260px 90px;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.rank-table-row:hover {
  background: #fef2f2;
}

.rank-table-row b {
  color: var(--red-700);
  font-size: 18px;
}

.rank-table-row span {
  font-weight: 800;
}

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

.rank-table-row strong {
  color: var(--red-600);
  text-align: right;
}

.detail-hero {
  min-height: 620px;
  color: #fff;
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 42px 0 60px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  color: #fecaca;
  font-size: 14px;
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: #fff;
}

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

.detail-poster {
  overflow: hidden;
  border: 5px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  background: linear-gradient(135deg, #111827, #7f1d1d);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  aspect-ratio: 2 / 3;
}

.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  max-width: 760px;
}

.detail-tags {
  margin: 0 0 28px;
}

.detail-tags span {
  color: #fff;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.22);
}

.player-section {
  margin-top: -96px;
  position: relative;
  z-index: 3;
}

.video-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  box-shadow: 0 30px 70px rgba(0,0,0,0.28);
  aspect-ratio: 16 / 9;
}

.video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  outline: 0;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at 50% 45%, rgba(220,38,38,0.35), rgba(0,0,0,0.78));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-cover span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red-600);
  box-shadow: 0 18px 40px rgba(220,38,38,0.32);
  font-size: 30px;
}

.player-cover strong {
  width: min(90%, 760px);
  font-size: clamp(20px, 4vw, 34px);
  line-height: 1.25;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px;
  padding: 40px 0 8px;
}

.story-card {
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.story-card:first-child {
  grid-row: span 2;
}

.story-card h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.story-card p {
  margin: 0;
  color: #374151;
  white-space: pre-line;
}

.meta-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.meta-card dl div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.meta-card dt {
  color: var(--muted);
  font-weight: 700;
}

.meta-card dd {
  margin: 0;
  font-weight: 700;
}

.meta-card dd span {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
}

.site-footer {
  margin-top: 56px;
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 32px;
  padding: 46px 0;
}

.site-footer h2 {
  color: #fff;
  font-size: 20px;
}

.site-footer p {
  margin: 12px 0 0;
  color: #9ca3af;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.footer-links a:hover {
  color: #f87171;
}

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

.footer-bottom {
  padding: 16px;
  text-align: center;
  color: #9ca3af;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.is-filtered-out {
  display: none !important;
}

@media (max-width: 1100px) {
  .movie-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .ranking-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .header-actions > .global-search {
    display: none;
  }

  .mobile-toggle {
    display: grid;
    place-items: center;
  }

  .hero {
    height: 540px;
  }

  .hero-arrow {
    top: auto;
    bottom: 28px;
  }

  .hero-arrow.prev {
    left: 20px;
  }

  .hero-arrow.next {
    right: 20px;
  }

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

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

  .category-overview-card {
    grid-template-columns: 150px 1fr;
  }

  .detail-layout {
    grid-template-columns: 180px 1fr;
    align-items: start;
  }

  .rank-table-row {
    grid-template-columns: 42px 1fr;
  }

  .rank-table-row em,
  .rank-table-row strong {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

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

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    height: 520px;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: 34px;
  }

  .hero-actions {
    display: grid;
  }

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

  .movie-info {
    padding: 12px;
  }

  .movie-info p {
    min-height: 40px;
  }

  .category-card {
    min-height: 150px;
  }

  .section-heading,
  .list-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  [data-local-filter] {
    max-width: none;
  }

  .detail-hero {
    min-height: auto;
  }

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

  .detail-poster {
    width: 190px;
  }

  .player-section {
    margin-top: -42px;
  }

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

  .player-cover span {
    width: 64px;
    height: 64px;
  }

  .story-card {
    padding: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .category-overview-cover {
    max-width: 190px;
  }
}
