:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --orange-500: #f97316;
  --red-500: #ef4444;
  --blue-500: #3b82f6;
  --green-500: #22c55e;
  --purple-500: #a855f7;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 36%, #fff7ed 100%);
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72));
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark,
.footer-brand span {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.28);
}

.brand-text strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-500));
  -webkit-background-clip: text;
  color: transparent;
}

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

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

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 650;
  color: #374151;
  padding: 28px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--amber-600);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.site-search,
.mobile-search {
  position: relative;
  display: flex;
  align-items: center;
}

.site-search input,
.mobile-search input,
.filter-controls input,
.filter-controls select {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  outline: 0;
  color: #374151;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search input {
  width: 210px;
  padding: 10px 42px 10px 16px;
}

.site-search button {
  position: absolute;
  right: 5px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
  cursor: pointer;
}

.site-search input:focus,
.mobile-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff7ed;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #92400e;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(229, 231, 235, 0.7);
  background: rgba(255, 255, 255, 0.98);
}

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

.mobile-panel nav {
  display: grid;
  gap: 8px;
  margin: 12px auto;
  width: min(1180px, 100%);
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 650;
  color: #374151;
}

.mobile-link.active,
.mobile-link:hover {
  background: var(--amber-50);
  color: var(--amber-600);
}

.mobile-search {
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: 10px;
}

.mobile-search input {
  flex: 1;
  padding: 11px 14px;
}

.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
}

.home-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 0.8s ease, transform 1.1s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.05);
  transform: scale(1.04);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.92), rgba(234, 88, 12, 0.74), rgba(15, 23, 42, 0.55));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 15px 15px, rgba(255, 255, 255, 0.55) 2px, transparent 3px);
  background-size: 44px 44px;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 54px;
  padding-top: 84px;
}

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

.hero-pill,
.section-pill,
.detail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 750;
}

.hero-pill {
  margin-bottom: 22px;
  color: #fffbeb;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.hero-copy h1,
.hero-copy h2,
.hero-title {
  margin: 0;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: -1px;
}

.hero-copy h2 {
  margin-top: 12px;
  color: #fde68a;
}

.hero-copy p {
  margin: 24px 0 0;
  max-width: 660px;
  color: #fffbeb;
  font-size: 18px;
  line-height: 1.85;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags span,
.tag-row span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

.hero-tags span {
  padding: 8px 12px;
  color: #fffbeb;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

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

.btn-primary,
.btn-ghost,
.btn-light,
.category-link,
.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  padding: 14px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
  box-shadow: 0 14px 30px rgba(217, 119, 6, 0.32);
}

.btn-light {
  padding: 14px 24px;
  color: var(--amber-600);
  background: #fff;
  box-shadow: 0 14px 30px rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  padding: 13px 23px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-light:hover,
.more-link:hover,
.category-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.4);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.72));
  z-index: 1;
}

.hero-poster span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-weight: 800;
}

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

.hero-dot {
  width: 38px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dot.is-active {
  background: #fff;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 90px;
  background: linear-gradient(180deg, transparent, #fff);
}

.section {
  padding: 82px 0;
}

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

.section-amber {
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}

.section-white {
  background: #fff;
}

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

.section-head.center {
  display: block;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-pill {
  color: var(--amber-600);
  background: var(--amber-100);
}

.section-head h2,
.page-hero h1,
.detail-main h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.section-head p,
.page-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.more-link {
  padding: 11px 18px;
  color: var(--amber-700, #b45309);
  background: #fff7ed;
}

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

.stat-card {
  padding: 28px;
  border-radius: 26px;
  text-align: center;
  background: #fff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.stat-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 26px;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
}

.stat-card strong {
  display: block;
  font-size: 26px;
  margin-bottom: 5px;
}

.stat-card span {
  color: var(--muted);
  font-size: 14px;
}

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

.movie-grid.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

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

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

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f3f4f6;
}

.movie-poster img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-grid.compact .movie-poster img,
.related-grid .movie-poster img {
  aspect-ratio: 3 / 4;
}

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

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.65));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.movie-card:hover .movie-poster::after {
  opacity: 1;
}

.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.year-badge {
  right: 12px;
  background: var(--amber-500);
}

.rank-badge {
  left: 12px;
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.poster-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.poster-overlay span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

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

.movie-card-body {
  padding: 18px;
}

.movie-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
  color: #111827;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.movie-card-title:hover {
  color: var(--amber-600);
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 28px;
}

.tag-row span {
  padding: 6px 9px;
  color: #b45309;
  background: #fffbeb;
}

.movie-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
  color: #6b7280;
  font-size: 13px;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 215px;
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card::before {
  content: "";
  position: absolute;
  right: -45px;
  top: -45px;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.14);
}

.category-card h2,
.category-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
}

.category-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.category-link {
  padding: 10px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
}

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

.category-samples a {
  color: #92400e;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-hero {
  padding: 142px 0 58px;
  color: #fff;
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.98), rgba(249, 115, 22, 0.96), rgba(239, 68, 68, 0.9));
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 18px 18px, rgba(255, 255, 255, 0.55) 2px, transparent 3px);
  background-size: 46px 46px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero p {
  max-width: 780px;
  color: #fffbeb;
}

.filter-panel {
  position: relative;
  z-index: 3;
  margin: -36px auto 38px;
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.filter-title {
  margin-bottom: 14px;
  color: #92400e;
  font-size: 18px;
  font-weight: 850;
}

.filter-controls {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 14px;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  padding: 12px 16px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 92px 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
}

.rank-cover {
  border-radius: 16px;
  overflow: hidden;
}

.rank-cover img {
  width: 92px;
  height: 120px;
  object-fit: cover;
}

.rank-num {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
}

.rank-copy a {
  color: #111827;
  font-size: 19px;
  font-weight: 850;
}

.rank-copy p {
  margin: 8px 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.rank-copy div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #92400e;
  font-size: 13px;
  font-weight: 650;
}

.rank-copy div span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fffbeb;
}

.detail-hero {
  padding: 122px 0 68px;
  background: radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.22), transparent 34%), linear-gradient(135deg, #111827, #78350f 55%, #f97316);
  color: #fff;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: #fde68a;
  font-size: 14px;
}

.breadcrumbs a {
  color: #fff7ed;
  font-weight: 650;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 32px;
  align-items: start;
}

.player-card,
.detail-side-card,
.content-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.player-card {
  overflow: hidden;
}

.player-frame {
  position: relative;
  background: #030712;
  aspect-ratio: 16 / 9;
}

.player-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #030712;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.5));
}

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

.play-ring {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--amber-600);
  font-size: 32px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.player-overlay strong {
  font-size: 18px;
}

.detail-side-card {
  padding: 22px;
}

.detail-cover {
  overflow: hidden;
  border-radius: 22px;
  margin-bottom: 20px;
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-main h1 {
  color: #fff;
}

.detail-main p {
  color: #fffbeb;
  line-height: 1.85;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.detail-meta span {
  padding: 12px;
  border-radius: 16px;
  color: #fffbeb;
  background: rgba(255, 255, 255, 0.14);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.detail-tags span {
  padding: 8px 11px;
  color: #fffbeb;
  background: rgba(255, 255, 255, 0.15);
}

.detail-content {
  padding: 72px 0;
  background: #fff;
}

.content-card {
  padding: 30px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  backdrop-filter: none;
}

.content-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.content-card p {
  margin: 0 0 28px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.95;
}

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

.related-grid .movie-card-title {
  font-size: 15px;
}

.site-footer {
  background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 34px;
  padding: 54px 0;
}

.footer-brand {
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

.site-footer p {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.site-footer a:not(.footer-brand) {
  display: block;
  margin: 10px 0;
  color: #4b5563;
}

.site-footer a:hover {
  color: var(--amber-600);
}

.footer-bottom {
  padding: 18px 16px 26px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.empty-state {
  display: none;
  padding: 36px;
  border-radius: 24px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.empty-state.is-visible {
  display: block;
}

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

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

  .menu-toggle {
    display: block;
  }

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

  .hero-poster {
    display: none;
  }

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

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

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

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

  .header-inner {
    min-height: 68px;
  }

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

  .brand-text small {
    display: none;
  }

  .home-hero,
  .hero-content {
    min-height: 650px;
  }

  .hero-content {
    padding-top: 76px;
  }

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

  .hero-actions a {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    display: block;
  }

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

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

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

  .rank-cover img {
    width: 74px;
    height: 96px;
  }

  .rank-num {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 16px;
  }

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

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

  .content-card {
    padding: 22px;
  }
}
