:root {
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --cyan-500: #06b6d4;
  --blue-600: #2563eb;
  --red-500: #ef4444;
  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --shadow-soft: 0 16px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 34px rgba(15, 23, 42, 0.12);
  --radius-xl: 22px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-900);
  background: var(--gray-50);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.site-header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-900);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 22px;
}

.site-logo-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  font-size: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-600), var(--cyan-500));
  box-shadow: 0 10px 22px rgba(13, 148, 136, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 16px;
  color: var(--gray-600);
  border-radius: 999px;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-600);
  background: rgba(37, 99, 235, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--gray-700);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #0f766e, #0d9488 45%, #06b6d4);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7) 0 2px, transparent 2px), radial-gradient(circle at 70% 45%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px);
  background-size: 48px 48px, 36px 36px;
  pointer-events: none;
}

.hero-slider {
  position: relative;
  min-height: 680px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 0.65s ease;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: center;
  padding: 96px max(32px, calc((100vw - 1180px) / 2)) 116px;
}

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

.hero-copy {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #e0faff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.hero-line {
  margin: 26px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  color: #ecfeff;
  line-height: 1.7;
  font-weight: 650;
}

.hero-summary {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(236, 254, 255, 0.86);
  line-height: 1.8;
  font-size: 16px;
}

.hero-tags,
.movie-tags,
.tag-list,
.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.hero-tags span,
.tag-list span,
.detail-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ecfeff;
  font-size: 13px;
  font-weight: 700;
}

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

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

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

.btn-light {
  color: var(--blue-600);
  background: var(--white);
  box-shadow: 0 16px 35px rgba(255, 255, 255, 0.24);
}

.btn-ghost {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.hero-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
  background: rgba(255, 255, 255, 0.12);
}

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

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 30px;
  background: var(--white);
}

.stats-band {
  margin-top: -42px;
  position: relative;
  z-index: 4;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  min-height: 132px;
  padding: 28px;
  border-radius: var(--radius-xl);
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.stat-card strong {
  display: block;
  font-size: 38px;
  line-height: 1;
  color: var(--gray-900);
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--gray-600);
  font-weight: 650;
}

.page-section {
  padding: 76px 0;
  background: var(--white);
}

.page-section.muted,
.page-shell {
  background: var(--gray-50);
}

.page-section.dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--gray-950), var(--gray-800));
}

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

.section-head h2 {
  margin: 0 0 8px;
  color: inherit;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}

.dark .section-head p {
  color: var(--gray-300);
}

.section-more {
  flex: none;
  color: var(--blue-600);
  font-weight: 800;
}

.dark .section-more {
  color: #67e8f9;
}

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

.category-tile,
.category-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-panel {
  min-height: 170px;
  flex-direction: row;
  align-items: flex-start;
}

.category-tile:hover,
.category-panel:hover,
.movie-card:hover,
.rank-card:hover,
.ranking-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.category-icon {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal-600), var(--blue-600));
}

.category-tile strong,
.category-panel strong {
  font-size: 20px;
  color: var(--gray-900);
}

.category-tile em,
.category-panel em {
  color: var(--blue-600);
  font-style: normal;
  font-weight: 800;
}

.category-tile small,
.category-panel small {
  color: var(--gray-600);
  line-height: 1.7;
}

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

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

.movie-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0f766e, #06b6d4);
}

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

.movie-card:hover .movie-poster img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent);
}

.movie-year {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(239, 68, 68, 0.92);
  font-size: 12px;
  font-weight: 800;
}

.movie-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.movie-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--gray-500);
  font-size: 13px;
}

.movie-meta strong {
  color: var(--blue-600);
}

.movie-meta em {
  font-style: normal;
}

.movie-title {
  display: -webkit-box;
  min-height: 54px;
  margin-bottom: 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--gray-900);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
}

.movie-desc {
  display: -webkit-box;
  flex: 1;
  min-height: 48px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--gray-600);
  line-height: 1.65;
  font-size: 14px;
}

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

.movie-tags span {
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--gray-600);
  background: var(--gray-100);
  font-size: 12px;
  font-weight: 700;
}

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

.rank-card {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 260px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-card:hover {
  background: rgba(255, 255, 255, 0.16);
}

.rank-cover {
  position: absolute;
  inset: 0;
}

.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transition: transform 0.4s ease;
}

.rank-card:hover .rank-cover img {
  transform: scale(1.08);
}

.rank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 7, 18, 0.9), rgba(3, 7, 18, 0.12));
}

.rank-number,
.rank-title,
.rank-desc {
  position: relative;
  z-index: 2;
  align-self: end;
  margin-left: 20px;
  margin-right: 20px;
}

.rank-number {
  width: max-content;
  align-self: start;
  margin-top: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--red-500);
  font-weight: 900;
}

.rank-title {
  margin-top: auto;
  font-size: 22px;
  font-weight: 900;
}

.rank-desc {
  margin-top: 8px;
  margin-bottom: 20px;
  color: var(--gray-200);
  line-height: 1.6;
}

.cta-band {
  padding: 82px 0;
  color: var(--white);
  background: linear-gradient(120deg, var(--blue-600), var(--cyan-500));
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
}

.cta-inner p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: #ecfeff;
  line-height: 1.8;
}

.page-hero {
  padding: 72px 0;
  color: var(--white);
  background: radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.3), transparent 32%), linear-gradient(135deg, var(--gray-950), var(--teal-700));
}

.small-hero h1 {
  max-width: 760px;
}

.small-hero p:last-child {
  max-width: 780px;
  margin: 18px 0 0;
  color: #dffbff;
  line-height: 1.8;
  font-size: 18px;
}

.filter-panel {
  position: sticky;
  top: 72px;
  z-index: 30;
  background: rgba(249, 250, 251, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  backdrop-filter: blur(18px);
}

.filter-inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
  padding: 18px 0;
}

.search-box,
.sort-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 800;
}

.search-box input,
.sort-box select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 0 14px;
  outline: none;
  color: var(--gray-900);
  background: var(--white);
}

.search-box input:focus,
.sort-box select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.quick-links {
  padding: 18px 0 0;
  background: var(--gray-50);
}

.quick-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-link-row a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue-600);
  background: rgba(37, 99, 235, 0.08);
  font-weight: 800;
}

.empty-state {
  display: none;
  margin-top: 24px;
  padding: 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--gray-600);
  background: var(--white);
}

.empty-state.active {
  display: block;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 58px 94px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-pos {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-500), #f97316);
  font-weight: 900;
}

.ranking-row img {
  width: 94px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--gray-200);
}

.ranking-main strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 900;
}

.ranking-main em {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  color: var(--gray-600);
  font-style: normal;
}

.ranking-meta {
  color: var(--gray-500);
  font-weight: 800;
}

.detail-shell {
  padding: 36px 0 70px;
  background: var(--gray-50);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--gray-600);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--blue-600);
  font-weight: 800;
}

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

.detail-card,
.side-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.detail-top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  padding: 28px;
  background: linear-gradient(135deg, #ecfeff, #eff6ff);
}

.detail-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--teal-600), var(--cyan-500));
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.detail-copy {
  align-self: center;
}

.detail-copy h1 {
  margin-top: 18px;
  color: var(--gray-900);
  font-size: clamp(32px, 5vw, 54px);
}

.detail-badges span {
  color: var(--blue-600);
  background: var(--white);
  border-color: var(--gray-200);
}

.lead-text {
  margin: 20px 0 18px;
  color: var(--gray-700);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 650;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--gray-600);
}

.detail-meta a,
.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue-600);
  font-weight: 800;
}

.watch-block,
.content-block,
.review-block,
.tag-block {
  padding: 28px;
  border-top: 1px solid var(--gray-200);
}

.watch-block h2,
.content-block h2,
.review-block h2,
.tag-block h2,
.side-card h2,
.related-section h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 900;
  color: var(--gray-900);
}

.video-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: var(--gray-950);
}

.video-node {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--gray-950);
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle, rgba(15, 118, 110, 0.18), rgba(0, 0, 0, 0.42));
  cursor: pointer;
}

.play-overlay span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  padding-left: 7px;
  border-radius: 50%;
  color: var(--blue-600);
  background: var(--white);
  font-size: 34px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

.play-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.player-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
  padding: 18px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.video-player:hover .player-bar,
.video-player.is-playing .player-bar {
  opacity: 1;
}

.player-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  font-weight: 800;
}

.content-block p,
.review-block p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.9;
  font-size: 16px;
}

.summary-line {
  margin-bottom: 14px !important;
  font-size: 18px !important;
  font-weight: 800;
  color: var(--gray-900) !important;
}

.review-block {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.tag-list span {
  color: var(--gray-700);
  background: var(--gray-100);
  border-color: var(--gray-200);
}

.detail-sidebar {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 98px;
}

.side-card {
  padding: 22px;
}

.side-card.soft {
  background: linear-gradient(135deg, #eff6ff, #f0fdfa);
}

.side-links {
  display: grid;
  gap: 14px;
}

.side-links a {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 12px;
}

.side-links img {
  width: 96px;
  height: 62px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--gray-200);
}

.side-links span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-weight: 800;
  line-height: 1.45;
}

.side-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 10px;
  border-radius: 12px;
  color: var(--blue-600);
  background: var(--white);
  font-weight: 900;
}

.related-section {
  padding-bottom: 0;
  background: transparent;
}

.site-footer {
  padding: 42px 0;
  color: var(--gray-300);
  background: var(--gray-950);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.site-footer p {
  max-width: 600px;
  margin: 12px 0 0;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1100px) {
  .hero-slide {
    grid-template-columns: 1fr 300px;
  }

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

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

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

  .detail-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-card);
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .hero-slider {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
    padding: 84px 20px 104px;
  }

  .hero-cover {
    width: min(250px, 70vw);
    margin: 0 auto;
  }

  .stats-grid,
  .rank-grid,
  .filter-inner,
  .detail-top,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }

  .category-grid,
  .category-panel-grid,
  .movie-grid,
  .movie-grid.compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .ranking-row {
    grid-template-columns: 44px 78px 1fr;
  }

  .ranking-meta {
    grid-column: 3;
  }

  .filter-panel {
    top: 64px;
  }

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

@media (max-width: 560px) {
  .container,
  .site-header-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .site-logo,
  .footer-logo {
    font-size: 18px;
  }

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

  .hero-line {
    font-size: 17px;
  }

  .stats-grid,
  .category-grid,
  .category-panel-grid,
  .movie-grid,
  .movie-grid.compact,
  .rank-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

  .page-section {
    padding: 52px 0;
  }

  .detail-top,
  .watch-block,
  .content-block,
  .review-block,
  .tag-block {
    padding: 18px;
  }

  .side-links a {
    grid-template-columns: 82px 1fr;
  }

  .side-links img {
    width: 82px;
    height: 56px;
  }

  .player-bar {
    opacity: 1;
    flex-wrap: wrap;
  }
}
