:root {
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --taro: #b794f6;
  --rose: #f5576c;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: 0 2px 8px rgba(0, 0, 0, 0.05);
  --purple-shadow: 0 10px 40px rgba(167, 85, 247, 0.30);
  --taro-shadow: 0 4px 14px rgba(176, 127, 214, 0.35);
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(183, 148, 246, 0.26), transparent 36rem),
    linear-gradient(180deg, #faf5ff 0%, #ffffff 42%, #ffffff 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--purple-100);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: var(--taro-shadow);
  animation: float 6s ease-in-out infinite;
}

.brand-name {
  font-size: 20px;
  background: linear-gradient(90deg, var(--purple-600), #d946ef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: #4b5563;
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--purple-600);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 30px;
  left: -14px;
  width: 210px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--purple-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.dropdown-panel a {
  padding: 8px 10px;
  border-radius: 12px;
  color: #4b5563;
  font-size: 14px;
}

.dropdown-panel a:hover {
  color: var(--purple-700);
  background: linear-gradient(135deg, #b794f6, #e0c3fc);
}

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

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--purple-200);
  border-radius: 999px;
  background: var(--purple-50);
}

.nav-search input,
.mobile-search input {
  width: 210px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 9px 12px;
  color: var(--text);
}

.nav-search button,
.mobile-search button,
.search-panel button,
.filter-panel button {
  border: 0;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: var(--taro-shadow);
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--purple-600);
  font-size: 28px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid var(--purple-100);
  background: #fff;
}

.mobile-panel.is-open {
  display: block;
  animation: slideUp 0.35s ease-out;
}

.mobile-panel a {
  display: block;
  padding: 12px 8px;
  color: #4b5563;
  border-radius: 12px;
}

.mobile-panel a:hover {
  color: var(--purple-700);
  background: var(--purple-50);
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin: 16px 0 8px;
  padding: 4px;
  border: 1px solid var(--purple-200);
  border-radius: 999px;
  background: var(--purple-50);
}

.mobile-search input {
  flex: 1;
  width: auto;
}

.mobile-category-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

main {
  min-height: 60vh;
}

.hero-section,
.page-hero {
  position: relative;
  overflow: hidden;
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(183, 148, 246, 0.30), rgba(224, 195, 252, 0.10)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(250, 245, 255, 0.86));
  box-shadow: var(--purple-shadow);
}

.hero-section {
  min-height: 640px;
  padding: 52px;
}

.hero-glow {
  position: absolute;
  inset: auto -12% -30% auto;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.22);
  filter: blur(20px);
}

.hero-cloud,
.footer-cloud {
  position: absolute;
  inset: 0 0 auto;
  height: 92px;
  color: var(--purple-300);
  opacity: 0.28;
  pointer-events: none;
}

.hero-cloud svg,
.footer-cloud svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 44px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 14px;
  color: var(--purple-700);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--purple-200);
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(36px, 5.8vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-copy h2 {
  margin: 16px 0 0;
  color: var(--purple-700);
  font-size: clamp(22px, 3vw, 34px);
}

.hero-copy p,
.page-hero p {
  margin: 18px 0 0;
  max-width: 650px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.8;
}

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

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

.hero-tags span,
.detail-meta span,
.tag-row span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(216, 180, 254, 0.65);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions,
.slim-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primary-button,
.secondary-button,
.ghost-button,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: var(--purple-shadow);
}

.secondary-button {
  color: var(--purple-700);
  background: #fff;
  border: 1px solid var(--purple-200);
  box-shadow: var(--soft);
}

.ghost-button {
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.46);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.section-link:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-visual {
  position: relative;
  min-height: 470px;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--purple-shadow);
  transform: rotate(1deg);
}

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

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(31, 41, 55, 0.76));
}

.hero-poster-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
}

.hero-poster-caption strong {
  display: block;
  font-size: 28px;
  line-height: 1.2;
}

.hero-poster-caption span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-controls {
  position: absolute;
  left: 52px;
  bottom: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.hero-controls button {
  border: 0;
  cursor: pointer;
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  color: var(--purple-700);
  font-size: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--soft);
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--purple-200);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: var(--purple-600);
}

.hero-shortcuts {
  position: absolute;
  right: 52px;
  bottom: 42px;
  z-index: 3;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 440px;
}

.hero-shortcuts a {
  padding: 8px 13px;
  color: var(--purple-700);
  font-size: 14px;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--purple-200);
}

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

.tinted-section,
.split-section {
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(183, 148, 246, 0.22), rgba(224, 195, 252, 0.08));
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.section-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 18px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: var(--taro-shadow);
}

.section-title h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
}

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

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

.movie-grid.large-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft);
  border: 1px solid rgba(233, 213, 255, 0.70);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card.is-hidden,
.rank-item.is-hidden {
  display: none;
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f3e8ff;
}

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

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

.year-badge,
.play-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  box-shadow: var(--soft);
}

.year-badge {
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(147, 51, 234, 0.90);
  font-size: 13px;
}

.play-badge {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.card-body {
  padding: 16px;
}

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

.card-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--purple-300);
}

.movie-card h3 {
  margin: 9px 0 8px;
  font-size: 18px;
  line-height: 1.34;
}

.movie-card h3 a:hover,
.rank-info h3 a:hover,
.footer-inner a:hover {
  color: var(--purple-600);
}

.movie-card p {
  min-height: 46px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.tag-row span {
  min-height: 24px;
  padding: 4px 8px;
  font-size: 12px;
}

.wide-card {
  grid-column: span 2;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(233, 213, 255, 0.75);
  box-shadow: var(--soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--purple-shadow);
}

.category-tile::before,
.category-overview-card::before,
.category-hero::before,
.ranking-hero::before,
.search-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.from-rose::before {
  background: linear-gradient(135deg, #fb7185, #f5576c);
}

.from-indigo::before {
  background: linear-gradient(135deg, #6366f1, #7c3aed);
}

.from-blue::before {
  background: linear-gradient(135deg, #38bdf8, #3b82f6);
}

.from-pink::before {
  background: linear-gradient(135deg, #f472b6, #d946ef);
}

.from-orange::before {
  background: linear-gradient(135deg, #fb923c, #ef4444);
}

.from-green::before {
  background: linear-gradient(135deg, #34d399, #10b981);
}

.from-cyan::before {
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
}

.category-tile > *,
.category-overview-card > * {
  position: relative;
  z-index: 2;
}

.category-icon,
.category-main-link span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  border-radius: 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: var(--taro-shadow);
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
}

.category-tile strong,
.category-main-link h2 {
  display: block;
  margin: 0 0 8px;
  font-size: 20px;
}

.category-tile em,
.category-main-link p {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  font-style: normal;
}

.category-overview-card {
  min-height: 260px;
}

.category-samples {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.category-samples a {
  padding: 9px 12px;
  border-radius: 12px;
  color: #4b5563;
  background: rgba(255, 255, 255, 0.70);
}

.page-hero {
  min-height: 300px;
  padding: 54px;
  display: flex;
  align-items: center;
}

.page-hero > div:not(.hero-cloud) {
  position: relative;
  z-index: 2;
}

.filter-panel,
.search-panel {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--purple-100);
  box-shadow: var(--soft);
}

.search-panel {
  grid-template-columns: 2fr 1fr 1fr auto;
}

.filter-field {
  display: grid;
  gap: 7px;
}

.filter-field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-field input,
.filter-field select,
.search-panel input,
.search-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--purple-200);
  border-radius: 14px;
  outline: 0;
  padding: 0 12px;
  color: var(--text);
  background: var(--purple-50);
}

.rank-list {
  display: grid;
  gap: 16px;
}

.rank-list.compact {
  grid-template-columns: 1fr 1fr;
}

.rank-item {
  display: grid;
  grid-template-columns: 92px 86px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(233, 213, 255, 0.72);
  box-shadow: var(--soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--purple-shadow);
}

.rank-number {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.rank-cover {
  display: block;
  width: 86px;
  height: 112px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--purple-50);
}

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

.rank-info h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.rank-info p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.65;
}

.section-link {
  margin-top: 22px;
  color: var(--purple-700);
  background: #fff;
  box-shadow: var(--soft);
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--purple-700);
  font-weight: 750;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
}

.player-card,
.detail-side,
.detail-article {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(233, 213, 255, 0.72);
  box-shadow: var(--purple-shadow);
}

.player-card {
  overflow: hidden;
  padding: 12px;
}

.video-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 9;
  background: #111827;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #111827;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  padding: 24px;
  color: #fff;
  text-align: center;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.20), rgba(17, 24, 39, 0.72));
}

.player-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-pulse {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 34px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.16);
  animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.player-overlay strong {
  max-width: 80%;
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.35;
}

.detail-side {
  padding: 16px;
}

.detail-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  background: var(--purple-50);
}

.detail-tags {
  margin-top: 14px;
}

.detail-content {
  margin-top: 36px;
}

.detail-article {
  padding: clamp(24px, 5vw, 46px);
}

.detail-article h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
}

.detail-meta {
  margin-top: 18px;
}

.lead-text {
  font-size: 20px;
  color: #4b5563;
  line-height: 1.85;
}

.detail-article h2 {
  margin: 34px 0 12px;
  font-size: 26px;
}

.detail-article p {
  color: #4b5563;
  line-height: 1.95;
  font-size: 17px;
}

.search-result-title {
  margin: 0 0 22px;
  color: var(--purple-700);
  font-size: 22px;
  font-weight: 900;
}

.site-footer {
  position: relative;
  margin-top: 90px;
  background: linear-gradient(180deg, #faf5ff, #fff);
  overflow: hidden;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-brand p,
.footer-inner li,
.footer-bottom {
  color: var(--muted);
  line-height: 1.8;
}

.footer-inner h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

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

.footer-inner li + li {
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--purple-100);
  font-size: 14px;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(16px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  50% {
    opacity: 0.58;
  }
}

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

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

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

  .hero-slide {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual img {
    height: 360px;
  }

  .hero-controls,
  .hero-shortcuts {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 20px;
    justify-content: flex-start;
  }

  .hero-slider {
    min-height: 880px;
  }

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

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

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-shell {
    height: 66px;
  }

  .hero-section,
  .page-hero {
    width: min(100% - 24px, 1180px);
    border-radius: 28px;
  }

  .hero-section {
    padding: 30px;
    min-height: auto;
  }

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

  .hero-slide {
    gap: 28px;
  }

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

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

  .wide-card {
    grid-column: span 1;
  }

  .rank-list.compact {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 72px 76px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-cover {
    width: 76px;
    height: 100px;
  }

  .filter-panel,
  .search-panel {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .brand-name {
    font-size: 17px;
  }

  .hero-section {
    padding: 24px;
  }

  .hero-slider {
    min-height: 720px;
  }

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

  .hero-visual,
  .hero-visual img {
    min-height: 320px;
    height: 320px;
  }

  .hero-actions,
  .slim-actions,
  .hero-shortcuts {
    gap: 10px;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    width: 100%;
  }

  .content-section {
    width: min(100% - 24px, 1180px);
    margin-top: 48px;
  }

  .tinted-section,
  .split-section {
    padding: 20px;
  }

  .movie-grid,
  .movie-grid.large-list,
  .editor-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .movie-card p {
    min-height: auto;
  }

  .page-hero {
    padding: 34px 24px;
  }

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

  .detail-hero {
    width: min(100% - 24px, 1180px);
  }

  .player-pulse {
    width: 68px;
    height: 68px;
  }

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

  .footer-bottom div {
    flex-wrap: wrap;
  }
}
