:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-soft: #f1f5f9;
  --color-slate: #0f172a;
  --color-muted: #64748b;
  --color-line: #e2e8f0;
  --color-blue: #2563eb;
  --color-blue-dark: #1d4ed8;
  --color-cyan: #06b6d4;
  --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-slate);
  background: var(--color-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}

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

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

.brand-text small {
  color: var(--color-muted);
  font-size: 12px;
  margin-top: 3px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #334155;
  font-weight: 600;
}

.nav-link {
  border: 0;
  background: transparent;
  color: #334155;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-blue);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  gap: 4px;
  width: 220px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

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

.dropdown-menu a,
.mobile-category-list a {
  padding: 9px 12px;
  border-radius: 10px;
  color: #475569;
}

.dropdown-menu a:hover,
.mobile-category-list a:hover {
  background: #eff6ff;
  color: var(--color-blue);
}

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

.header-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--color-slate);
  outline: none;
  transition: 0.2s ease;
}

.header-search input {
  width: 230px;
  padding: 10px 14px;
}

.header-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  background: #ffffff;
}

.header-search button,
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.26);
}

.header-search button {
  padding: 10px 18px;
}

.btn-primary {
  padding: 13px 24px;
}

.btn-primary.small {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-primary:hover,
.header-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.32);
}

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

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--color-slate);
  font-size: 22px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-line);
  background: #ffffff;
  padding: 14px 24px 20px;
}

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

.mobile-nav-link {
  padding: 10px 0;
  color: #334155;
  font-weight: 700;
}

.mobile-nav-link.active {
  color: var(--color-blue);
}

.mobile-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--color-line);
}

.hero-carousel {
  position: relative;
  height: 580px;
  overflow: hidden;
  background: #020617;
}

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

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

.hero-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.35), transparent 40%), #020617;
}

.hero-bg-image,
.detail-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.50;
  transform: scale(1.03);
}

.hero-bg-image.is-missing-image,
.detail-bg-image.is-missing-image {
  opacity: 0;
}

.hero-overlay,
.detail-bg-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(15, 23, 42, 0.78) 46%, rgba(2, 6, 23, 0.3) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0) 34%);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 330px;
  align-items: center;
  gap: 60px;
  height: 100%;
}

.hero-copy {
  color: #ffffff;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #60a5fa;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero-copy h1 {
  font-size: clamp(42px, 7vw, 72px);
  max-width: 780px;
}

.hero-copy p {
  max-width: 620px;
  margin: 20px 0 0;
  color: #cbd5e1;
  font-size: 19px;
}

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

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  background: linear-gradient(135deg, #1e293b, #0f172a);
  transform: rotate(2deg);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  pointer-events: none;
}

.hero-poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster-image.is-missing-image {
  opacity: 0;
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: #ffffff;
}

.content-section {
  padding: 72px 0;
}

.bg-white {
  background: #ffffff;
}

.bg-soft {
  background: var(--color-soft);
}

.bg-slate {
  background: #0f172a;
}

.bg-gradient-block {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 52%, #ecfeff 100%);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.03em;
}

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

.light-heading h2,
.light-heading p {
  color: #ffffff;
}

.section-link {
  color: var(--color-blue);
  font-weight: 800;
  white-space: nowrap;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 300px);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 24px;
  scroll-snap-type: x proximity;
}

.movie-card {
  min-width: 0;
}

.card-link,
.horizontal-card a,
.category-tile,
.category-overview-card,
.detail-side-card,
.detail-article {
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-link:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-card);
}

.poster-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.30), rgba(15, 23, 42, 0.94)),
    #1e293b;
}

.poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.poster-image.is-missing-image {
  opacity: 0;
}

.card-link:hover .poster-image {
  transform: scale(1.06);
}

.poster-badge,
.poster-region {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.poster-badge {
  right: 10px;
  bottom: 10px;
  background: rgba(15, 23, 42, 0.82);
}

.poster-region {
  top: 10px;
  left: 10px;
  background: rgba(37, 99, 235, 0.88);
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 0 0 10px;
  overflow: hidden;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.card-meta,
.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.card-meta {
  color: #64748b;
  font-size: 13px;
}

.tag-row {
  margin-top: 12px;
}

.tag-row span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  color: #1d4ed8;
  background: #eff6ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.feature-card .poster-frame {
  aspect-ratio: 16 / 10;
}

.feature-card .card-body h3 {
  font-size: 24px;
}

.editor-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

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

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

.category-tile {
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-count {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  color: var(--color-blue);
  background: #eff6ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.category-tile h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.category-tile p {
  margin: 0;
  color: var(--color-muted);
}

.category-mini-links {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  color: #475569;
}

.category-mini-links a:hover {
  color: var(--color-blue);
}

.page-hero {
  position: relative;
  padding: 84px 0;
  color: #ffffff;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.28), transparent 36%),
    linear-gradient(135deg, #0f172a, #1e3a8a);
}

.page-hero p {
  max-width: 820px;
  margin: 14px 0 0;
  color: #dbeafe;
  font-size: 18px;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 60px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.category-overview-list {
  display: grid;
  gap: 28px;
  padding: 46px 0 72px;
}

.category-overview-card {
  padding: 26px;
}

.category-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.category-overview-head h2 {
  margin: 0;
  font-size: 30px;
}

.category-overview-head p {
  margin: 8px 0 0;
  max-width: 760px;
  color: var(--color-muted);
}

.mini-grid .movie-card:nth-child(n + 5) {
  display: none;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 14px;
}

.filter-panel strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  color: #ffffff;
  background: #0f172a;
  border-radius: 14px;
  padding: 0 16px;
}

.empty-result {
  padding: 28px;
  color: var(--color-muted);
  text-align: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
}

.ranking-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: start;
}

.ranking-list {
  display: grid;
  gap: 14px;
}

.horizontal-card a {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.horizontal-card a:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.horizontal-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
}

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

.rank-number {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 30px;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.90);
  border-radius: 10px;
  font-weight: 900;
}

.horizontal-body h3 {
  margin: 4px 0 8px;
  font-size: 20px;
}

.horizontal-body p {
  display: -webkit-box;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--color-muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ranking-aside,
.detail-side-card {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.ranking-aside {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.ranking-aside p {
  color: #cbd5e1;
}

.search-page-form {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin-top: 28px;
}

.search-page-form input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.92);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  padding: 56px 0 72px;
  color: #ffffff;
  background: #020617;
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
}

.detail-main {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

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

.detail-poster-image.is-missing-image {
  opacity: 0;
}

.detail-info h1 {
  font-size: clamp(36px, 6vw, 70px);
}

.detail-one-line {
  max-width: 820px;
  margin: 18px 0 26px;
  color: #cbd5e1;
  font-size: 20px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin-bottom: 20px;
}

.detail-meta-grid div {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.detail-meta-grid strong {
  color: #93c5fd;
  font-size: 12px;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.site-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #ffffff;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.45), rgba(2, 6, 23, 0.62));
  border: 0;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-start span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.92);
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.36);
  font-size: 32px;
}

.player-shell.is-playing .player-start {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 14px;
  margin: 0;
  padding: 7px 12px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.72);
  border-radius: 999px;
  font-size: 13px;
  backdrop-filter: blur(10px);
}

.detail-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

.detail-article {
  padding: 30px;
}

.detail-article h2,
.detail-side-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.detail-article p {
  margin: 0 0 26px;
  color: #334155;
  font-size: 17px;
}

.detail-side-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.detail-side-card li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
  color: #475569;
}

.detail-side-card li:last-child {
  border-bottom: 0;
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: 54px 0;
}

.footer-brand {
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 17px;
}

.site-footer p {
  color: #94a3b8;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li {
  margin: 8px 0;
}

.site-footer a:hover {
  color: #93c5fd;
}

.footer-bottom {
  padding: 18px 24px;
  text-align: center;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

[hidden] {
  display: none !important;
}

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

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content,
  .detail-main,
  .detail-content-layout,
  .ranking-page-layout,
  .editor-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

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

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

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

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

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

  .hero-carousel {
    height: 560px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .content-section {
    padding: 46px 0;
  }

  .section-heading,
  .category-overview-head {
    display: grid;
    align-items: start;
  }

  .grid-3,
  .grid-4,
  .category-grid,
  .editor-list,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .horizontal-card a {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .detail-hero {
    padding-top: 34px;
  }

  .detail-poster {
    width: min(230px, 80vw);
  }

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

  .search-page-form {
    display: grid;
  }
}
