:root {
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-100: #dbeafe;
  --green-800: #166534;
  --green-600: #16a34a;
  --purple-800: #6b21a8;
  --purple-600: #9333ea;
  --orange-500: #f97316;
  --yellow-500: #eab308;
  --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-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 55px rgba(15, 23, 42, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.main-offset {
  padding-top: 64px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(90deg, var(--blue-600), var(--blue-800));
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.site-header.is-scrolled,
.site-header.site-header-solid {
  color: var(--gray-900);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--blue-600);
  background: var(--white);
  font-size: 20px;
  font-weight: 800;
}

.site-header.is-scrolled .brand-mark,
.site-header.site-header-solid .brand-mark {
  color: var(--white);
  background: var(--blue-600);
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 650;
}

.desktop-nav a {
  opacity: 0.92;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--blue-100);
  opacity: 1;
}

.site-header.is-scrolled .desktop-nav a:hover,
.site-header.site-header-solid .desktop-nav a:hover {
  color: var(--blue-600);
}

.nav-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search input,
.mobile-search input {
  width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: 9px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  outline: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.site-header.is-scrolled .nav-search input,
.site-header.site-header-solid .nav-search input,
.mobile-search input {
  color: var(--gray-900);
  border-color: var(--gray-300);
  background: var(--white);
}

.site-header.is-scrolled .nav-search input::placeholder,
.site-header.site-header-solid .nav-search input::placeholder,
.mobile-search input::placeholder {
  color: var(--gray-500);
}

.nav-search input:focus,
.mobile-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

.nav-search button,
.mobile-search button {
  border: 0;
  border-radius: 12px;
  padding: 9px 14px;
  color: var(--blue-700);
  background: var(--white);
  font-weight: 700;
}

.site-header.is-scrolled .nav-search button,
.site-header.site-header-solid .nav-search button,
.mobile-search button {
  color: var(--white);
  background: var(--blue-600);
}

.mobile-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 8px 11px;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  font-size: 24px;
}

.site-header.is-scrolled .mobile-toggle,
.site-header.site-header-solid .mobile-toggle {
  background: var(--gray-100);
}

.mobile-panel {
  display: none;
  padding: 12px 16px 18px;
  color: var(--gray-800);
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

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

.mobile-panel a {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 650;
}

.mobile-panel a:hover {
  background: var(--gray-100);
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--blue-900), var(--blue-800), var(--blue-900));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.12));
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-copy {
  max-width: 670px;
  color: var(--white);
  padding-top: 64px;
}

.hero-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-600);
  font-size: 14px;
  font-weight: 750;
}

.hero h1,
.hero h2 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0 0 22px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.tag-cloud,
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags {
  margin-bottom: 28px;
}

.hero-tags span,
.tag-cloud span,
.footer-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

.hero-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

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

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

.primary-btn {
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.primary-btn:hover {
  transform: translateY(-2px);
  background: var(--blue-700);
}

.ghost-btn {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.ghost-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.28);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  font-size: 38px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.2s ease, background 0.2s ease;
}

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

.page-stack {
  display: grid;
  gap: 64px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.section-block {
  display: grid;
  gap: 24px;
}

.white-panel,
.blue-panel,
.filter-panel {
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.white-panel {
  background: var(--white);
}

.blue-panel {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title.with-link {
  justify-content: space-between;
}

.section-title.with-link > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.section-title a {
  color: var(--blue-600);
  font-weight: 750;
}

.section-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--white);
  font-size: 15px;
  font-weight: 850;
}

.section-icon.orange {
  background: var(--orange-500);
}

.section-icon.blue {
  background: var(--blue-600);
}

.section-icon.yellow {
  background: var(--yellow-500);
}

.section-icon.green {
  background: var(--green-600);
}

.section-icon.purple {
  background: var(--purple-600);
}

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

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card-link {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--gray-200);
}

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

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(0, 0, 0, 0.42);
  transition: opacity 0.25s ease;
}

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

.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.78);
  font-size: 12px;
  font-weight: 750;
}

.year-badge {
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
}

.rank-badge {
  top: 10px;
  left: 10px;
  padding: 6px 9px;
  background: var(--blue-600);
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.24);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  backdrop-filter: blur(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.meta-row,
.ranking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--gray-500);
  font-size: 12px;
}

.meta-row span:first-child {
  color: var(--blue-600);
  background: var(--blue-100);
}

.meta-row span,
.ranking-meta span {
  border-radius: 8px;
  padding: 4px 8px;
  background: var(--gray-100);
}

.movie-card h3,
.ranking-row h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.42;
  transition: color 0.2s ease;
}

.movie-card:hover h3,
.ranking-row h3:hover {
  color: var(--blue-600);
}

.movie-card p,
.ranking-row p {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-large .movie-card-body {
  padding: 20px;
}

.movie-card-large h3 {
  font-size: 20px;
}

.movie-card-large p {
  -webkit-line-clamp: 3;
}

.movie-card-horizontal .movie-card-link {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
}

.movie-card-horizontal .poster-wrap {
  height: 100%;
  min-height: 210px;
}

.movie-card-horizontal .movie-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

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

.category-card,
.category-overview-card a {
  display: block;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card {
  min-height: 170px;
  padding: 22px;
}

.category-card:hover,
.category-overview-card a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card span,
.category-overview-body span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 850;
}

.category-card h3,
.category-overview-body h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

.category-card p,
.category-overview-body p {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.7;
}

.category-covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 150px;
  overflow: hidden;
}

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

.category-overview-body {
  padding: 22px;
}

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

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

.ranking-row {
  display: grid;
  grid-template-columns: auto 84px 1fr auto;
  align-items: center;
  gap: 16px;
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.ranking-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-600);
  font-weight: 850;
}

.ranking-poster {
  display: block;
  width: 84px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: var(--gray-200);
}

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

.ranking-row h3 {
  font-size: 17px;
}

.ranking-action {
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--blue-600);
  font-weight: 750;
}

.page-hero {
  padding: 58px 0;
  color: var(--white);
}

.green-hero {
  background: linear-gradient(90deg, var(--green-600), var(--green-800));
}

.purple-hero {
  background: linear-gradient(90deg, var(--purple-600), var(--purple-800));
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
}

.page-hero p {
  margin: 0;
  max-width: 740px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.7;
}

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

.breadcrumb a:hover {
  color: var(--white);
}

.filter-panel {
  display: grid;
  gap: 18px;
  background: var(--white);
}

.filter-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.filter-head p {
  margin: 0;
  color: var(--gray-600);
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 180px 180px;
  gap: 14px;
}

.filter-controls input,
.filter-controls select {
  min-height: 44px;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
}

.empty-state {
  display: none;
  padding: 60px 20px;
  text-align: center;
  color: var(--gray-500);
  font-size: 18px;
}

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

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--gray-950);
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  filter: blur(18px);
  transform: scale(1.08);
}

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

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.72));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 44px 0 54px;
}

.detail-intro {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--gray-200);
}

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

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

.detail-one-line {
  max-width: 830px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.tag-cloud {
  margin-bottom: 22px;
}

.tag-cloud span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
}

.detail-meta li {
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.detail-meta span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.detail-meta strong {
  font-size: 14px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #000;
  box-shadow: var(--shadow-md);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.52));
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
  font-size: 34px;
  padding-left: 4px;
  transition: transform 0.2s ease;
}

.player-overlay:hover span {
  transform: scale(1.07);
}

.player-shell.is-playing .player-overlay {
  display: none;
}

.article-text {
  margin: 0;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 2;
}

.site-footer {
  color: var(--gray-300);
  background: linear-gradient(180deg, var(--gray-900), #000);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 34px;
  padding-top: 44px;
  padding-bottom: 38px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
}

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

.site-footer a {
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--blue-100);
}

.footer-small {
  color: var(--blue-100);
  font-size: 14px;
}

.footer-tags span {
  color: var(--gray-200);
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-600);
  box-shadow: var(--shadow-md);
  font-size: 22px;
}

.back-to-top.is-visible {
  display: grid;
  place-items: center;
}

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

@media (max-width: 1100px) {
  .three-cols,
  .four-cols,
  .six-cols,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero {
    height: 540px;
  }

  .hero-copy {
    padding-right: 34px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }

  .horizontal-grid,
  .footer-grid,
  .detail-intro {
    grid-template-columns: 1fr;
  }

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

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

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

  .brand-name {
    font-size: 17px;
  }

  .hero {
    height: 520px;
  }

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

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

  .page-stack {
    gap: 42px;
    padding-top: 34px;
  }

  .white-panel,
  .blue-panel,
  .filter-panel {
    padding: 20px;
  }

  .three-cols,
  .four-cols,
  .six-cols,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .movie-card h3 {
    font-size: 15px;
  }

  .movie-card p {
    font-size: 13px;
  }

  .movie-card-horizontal .movie-card-link {
    grid-template-columns: 112px 1fr;
  }

  .movie-card-horizontal .poster-wrap {
    min-height: 160px;
  }

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

  .ranking-number {
    width: 42px;
    height: 42px;
  }

  .ranking-poster {
    width: 100%;
    max-width: 180px;
  }

  .ranking-action {
    text-align: center;
  }
}
