:root {
  color-scheme: light;
  --site-bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.10);
  --cyan: #06b6d4;
  --cyan-deep: #0891b2;
  --blue: #2563eb;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 44%, #f1f5f9 100%);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.28);
}

.nav-inner {
  max-width: 1280px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #22d3ee, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0f172a;
  background: linear-gradient(135deg, #22d3ee, #60a5fa);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.nav-links a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: #22d3ee;
  transform: translateY(-1px);
}

.nav-search {
  position: relative;
  min-width: 220px;
}

.nav-search input {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(51, 65, 85, 0.92);
  padding: 9px 16px 9px 40px;
  transition: width 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input:focus {
  background: rgba(51, 65, 85, 1);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.35);
}

.nav-search span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(51, 65, 85, 0.65);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

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

.mobile-menu-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 24px;
  display: grid;
  gap: 14px;
}

.mobile-menu a {
  color: #e2e8f0;
  text-decoration: none;
  padding: 8px 0;
}

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

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at 22% 20%, rgba(34, 211, 238, 0.26), transparent 30%), linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #164e63 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(circle at 1px 1px, #ffffff 1px, transparent 0);
  background-size: 34px 34px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.025);
  transition: opacity 0.75s ease, transform 0.75s 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: saturate(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.82) 42%, rgba(15, 23, 42, 0.42) 100%), linear-gradient(0deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.14));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 44px;
  padding: 68px 0 74px;
}

.hero-copy {
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 13px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(12px);
  font-size: 14px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;
  margin-top: 8px;
  color: #22d3ee;
}

.hero-lead {
  margin: 0 0 24px;
  color: #cbd5e1;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.78;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.hero-tags a,
.hero-tags span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  backdrop-filter: blur(10px);
}

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

.button-primary,
.button-secondary,
.button-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-primary {
  color: #ffffff;
  background: #06b6d4;
  box-shadow: 0 14px 28px rgba(6, 182, 212, 0.32);
}

.button-primary:hover {
  background: #0891b2;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 34px rgba(6, 182, 212, 0.42);
}

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.20);
  transform: translateY(-2px);
}

.button-dark {
  color: #ffffff;
  background: #0f172a;
}

.hero-panel {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(18px);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.hero-panel-info {
  padding: 20px;
}

.hero-panel-title {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.hero-panel-text {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.7;
}

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

.hero-dot {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.hero-dot.is-active {
  width: 48px;
  background: #22d3ee;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: linear-gradient(135deg, #ecfeff 0%, #eff6ff 100%);
}

.section-dark {
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a 0%, #164e63 100%);
}

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

.section-heading h2,
.page-title h1,
.detail-title h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.section-dark .section-heading h2 {
  color: #ffffff;
}

.section-heading p,
.page-title p,
.detail-title p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-dark .section-heading p {
  color: #cbd5e1;
}

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

.stat-card,
.category-card,
.info-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.stat-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.stat-title {
  display: block;
  color: #0f172a;
  font-size: 24px;
  font-weight: 850;
}

.stat-desc {
  margin-top: 5px;
  color: #64748b;
}

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

.movie-grid.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.movie-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(6, 182, 212, 0.28);
}

.movie-cover {
  position: relative;
  overflow: hidden;
  background: #cbd5e1;
  aspect-ratio: 16 / 10;
}

.movie-card.poster-card .movie-cover {
  aspect-ratio: 3 / 4;
}

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

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

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.46));
  opacity: 0.88;
}

.play-badge {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%) scale(0.92);
  display: grid;
  place-items: center;
  color: #0891b2;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-badge {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.94);
  font-size: 12px;
  font-weight: 700;
}

.movie-year {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.74);
  font-size: 12px;
  font-weight: 700;
}

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

.movie-title {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.38;
  font-weight: 850;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card:hover .movie-title {
  color: #0891b2;
}

.movie-desc {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.movie-tags span,
.text-chip {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0369a1;
  background: #e0f2fe;
  font-size: 12px;
  font-weight: 700;
}

.category-card {
  padding: 24px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 22px;
  font-weight: 850;
}

.category-card p {
  margin: 0 0 18px;
  color: #64748b;
  line-height: 1.68;
}

.category-card span {
  color: #0891b2;
  font-weight: 800;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 58px 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  background: #ffffff;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  font-weight: 900;
}

.rank-thumb {
  width: 92px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
}

.rank-title {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 17px;
  font-weight: 850;
}

.rank-desc {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-hot {
  color: #0891b2;
  font-weight: 850;
  white-space: nowrap;
}

.page-hero {
  padding: 64px 0;
  color: #ffffff;
  background: radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.24), transparent 32%), linear-gradient(135deg, #0f172a 0%, #1e293b 54%, #164e63 100%);
}

.page-title h1,
.page-title p {
  color: #ffffff;
}

.page-title p {
  max-width: 860px;
  color: #cbd5e1;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #bae6fd;
  font-size: 14px;
}

.breadcrumb a {
  color: #a5f3fc;
  text-decoration: none;
}

.filter-box {
  margin-bottom: 30px;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px 180px;
  gap: 14px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.filter-box input,
.filter-box select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: #f8fafc;
  color: #0f172a;
  padding: 0 14px;
  outline: 0;
}

.filter-box input:focus,
.filter-box select:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--cover-url);
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(1.2);
  transform: scale(1.12);
  opacity: 0.38;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.78));
}

.detail-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  padding: 56px 0;
  align-items: center;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 28px 90px rgba(2, 6, 23, 0.55);
}

.detail-title h1 {
  color: #ffffff;
  font-size: clamp(34px, 5vw, 58px);
}

.detail-title p {
  color: #cbd5e1;
  font-size: 18px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 26px;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #dffafe;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.player-card {
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.34);
}

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

.player-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
  background: #020617;
}

.player-cover.is-hidden {
  display: none;
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

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

.player-play {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0891b2;
  background: rgba(255, 255, 255, 0.94);
  font-size: 34px;
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.45);
}

.player-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.player-caption {
  padding: 18px 22px;
  color: #e2e8f0;
  background: linear-gradient(90deg, #0f172a, #1e293b);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.article-card,
.side-card {
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.article-card h2,
.side-card h2 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 26px;
  font-weight: 900;
}

.article-card p {
  margin: 0 0 18px;
  color: #334155;
  line-height: 1.95;
  font-size: 16px;
}

.related-list {
  display: grid;
  gap: 12px;
}

.related-link {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  padding: 10px;
  border-radius: 16px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.related-link:hover {
  background: #e0f2fe;
  transform: translateY(-2px);
}

.related-link img {
  width: 86px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  object-fit: cover;
}

.related-link strong {
  display: block;
  color: #0f172a;
  margin-bottom: 5px;
  line-height: 1.35;
}

.related-link span {
  color: #64748b;
  font-size: 13px;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.footer-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px;
}

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

.footer-inner p,
.footer-inner li {
  color: #94a3b8;
  line-height: 1.75;
}

.footer-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-inner a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-inner a:hover {
  color: #22d3ee;
}

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

.hidden-by-filter {
  display: none !important;
}

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

  .menu-button {
    display: grid;
    place-items: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-panel {
    max-width: 520px;
  }

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

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

  .filter-box,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container,
  .footer-inner {
    width: min(100% - 32px, 1280px);
  }

  .nav-inner {
    padding: 0 16px;
  }

  .logo {
    font-size: 20px;
  }

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

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

  .hero h1 {
    font-size: 42px;
  }

  .section {
    padding: 52px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .stats-grid,
  .category-grid,
  .movie-grid,
  .movie-grid.featured-grid {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 42px 78px minmax(0, 1fr);
  }

  .rank-hot {
    display: none;
  }

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

  .detail-poster {
    max-width: 260px;
  }

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