* {
  box-sizing: border-box;
}

:root {
  --red: #dc2626;
  --red-dark: #b91c1c;
  --orange: #f97316;
  --yellow: #facc15;
  --green: #16a34a;
  --blue: #2563eb;
  --purple: #7c3aed;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.14);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.1);
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 42%, #f1f5f9 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
}

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

.brand-icon {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 0.85rem;
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.24);
  transition: transform 0.3s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(-3deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  background: linear-gradient(90deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  color: var(--gray-500);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  color: var(--gray-700);
  font-weight: 650;
  transition: color 0.2s ease;
}

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

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--gray-100);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 4px auto;
  background: var(--gray-800);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--gray-200);
}

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

.mobile-nav-panel {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 0;
}

.mobile-nav-link {
  display: block;
  padding: 0.8rem 0.9rem;
  color: var(--gray-700);
  font-weight: 650;
  border-radius: 0.75rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--red);
  background: #fff1f2;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--slate-900);
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.52) 45%, rgba(0, 0, 0, 0.08) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: end;
  gap: 2rem;
  padding-bottom: 5.5rem;
}

.hero-copy {
  max-width: 780px;
  color: var(--white);
  animation: fadeUp 0.8s ease both;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-kicker::before,
.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 0.35rem rgba(250, 204, 21, 0.2);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: rgba(255, 255, 255, 0.72);
}

.hero-title {
  margin: 0 0 1rem !important;
  font-size: clamp(2.4rem, 7vw, 4.6rem) !important;
  line-height: 1.02;
  color: var(--white) !important;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.hero-summary {
  max-width: 680px;
  margin: 0 0 1.25rem;
  color: #e5e7eb;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.8;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-tags span,
.tag-row a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.tag-row a {
  color: var(--gray-700);
  background: var(--gray-100);
}

.tag-row a:hover {
  color: var(--white);
  background: var(--red);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.45rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 18px 30px rgba(220, 38, 38, 0.32);
}

.btn-primary:hover {
  background: var(--red-dark);
}

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

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-card {
  align-self: end;
  overflow: hidden;
  color: var(--white);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

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

.hero-card div {
  padding: 1rem;
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card span {
  margin-top: 0.3rem;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 5;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.search-strip {
  position: relative;
  z-index: 10;
  margin-top: -2rem;
  padding: 1rem;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.home-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.home-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.home-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(220, 38, 38, 0.48);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.home-search button {
  min-width: 7rem;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--orange));
  cursor: pointer;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.quick-links a {
  display: inline-flex;
  padding: 0.42rem 0.85rem;
  color: var(--gray-700);
  border-radius: 999px;
  background: var(--gray-100);
  font-size: 0.92rem;
}

.quick-links a:hover {
  color: var(--white);
  background: var(--red);
}

.content-section {
  padding-top: 4rem;
}

.section-head,
.rank-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.section-head h2,
.rank-panel-head h2,
.side-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gray-800);
}

.section-head p {
  margin: 0.5rem 0 0;
  max-width: 640px;
  color: var(--gray-600);
  line-height: 1.7;
}

.section-more,
.rank-panel-head a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--red);
  font-weight: 800;
}

.movie-grid {
  display: grid;
  gap: 1.4rem;
}

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

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

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

.movie-card {
  min-width: 0;
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-xl);
  background: var(--slate-800);
  box-shadow: var(--shadow-md);
  transform: translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 56%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--red);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-badge,
.rank-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  color: var(--white);
  background: var(--red);
  border-radius: 0.45rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.rank-badge {
  left: 0.65rem;
  right: auto;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.movie-card:hover .poster-link {
  transform: scale(1.045);
  box-shadow: var(--shadow-lg);
}

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

.movie-card:hover .poster-shade,
.movie-card:hover .play-mark {
  opacity: 1;
}

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

.movie-card-body {
  padding-top: 0.85rem;
}

.movie-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--gray-800);
}

.movie-card h3 a:hover {
  color: var(--red);
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.45rem;
  color: var(--gray-500);
  font-size: 0.86rem;
}

.movie-desc {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.category-wrap {
  padding: 3rem;
  margin-top: 4rem;
  border-radius: var(--radius-3xl);
  background: linear-gradient(135deg, #fff1f2, #ffedd5);
}

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

.category-card {
  display: block;
  min-height: 11rem;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--gray-800);
  font-size: 1.15rem;
  font-weight: 900;
}

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

.two-column-section,
.ranking-layout,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 2rem;
  align-items: start;
}

.rank-panel,
.side-card {
  padding: 1.35rem;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.sticky-panel,
.detail-side .side-card {
  position: sticky;
  top: 6.5rem;
}

.rank-list {
  display: grid;
  gap: 0.85rem;
}

.mini-movie {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.5rem;
  border-radius: 0.85rem;
  transition: background 0.2s ease;
}

.mini-movie:hover {
  background: var(--gray-100);
}

.mini-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  background: var(--slate-800);
}

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

.mini-thumb span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mini-movie:hover .mini-thumb img {
  transform: scale(1.08);
}

.mini-movie:hover .mini-thumb span {
  opacity: 1;
}

.mini-info {
  min-width: 0;
}

.mini-info strong,
.mini-info em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-info strong {
  color: var(--gray-800);
  font-size: 0.95rem;
}

.mini-info em {
  margin-top: 0.3rem;
  color: var(--gray-500);
  font-size: 0.8rem;
  font-style: normal;
}

.mini-rank {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

.page-hero {
  padding: 4rem 0 2.5rem;
}

.small-page-hero {
  max-width: 850px;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 1rem;
  color: var(--gray-800);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--gray-600);
  font-size: 1.1rem;
  line-height: 1.8;
}

.small-page-hero p:not(.eyebrow) {
  margin-inline: auto;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 180px auto;
  gap: 1rem;
  align-items: end;
  padding: 1.2rem;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.wide-filter {
  grid-template-columns: minmax(280px, 1fr) 180px 220px auto;
}

.filter-panel label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 800;
}

.filter-status {
  color: var(--gray-600);
  font-weight: 800;
  white-space: nowrap;
  padding-bottom: 0.9rem;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding-bottom: 4rem;
}

.overview-card {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.overview-cover {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--slate-900);
}

.overview-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 0.5rem;
}

.overview-body {
  padding: 1.4rem;
}

.overview-body h2 {
  margin: 0 0 0.65rem;
}

.overview-body p {
  margin: 0 0 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.player-section {
  background: #000;
  padding: 1rem 0 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 0 1rem;
  color: #cbd5e1;
  font-size: 0.92rem;
}

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

.player-frame {
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: background 0.25s ease, opacity 0.25s ease;
}

.player-cover:hover {
  background: rgba(0, 0, 0, 0.45);
}

.player-cover span {
  display: grid;
  width: 6rem;
  height: 6rem;
  place-items: center;
  background: var(--red);
  border-radius: 999px;
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.35);
  font-size: 2.4rem;
  transform: translateX(0.15rem);
  transition: transform 0.25s ease;
}

.player-cover:hover span {
  transform: translateX(0.15rem) scale(1.08);
}

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

.detail-layout {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.detail-card,
.info-card {
  padding: clamp(1.3rem, 3vw, 2rem);
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.detail-card h1 {
  margin: 0 0 1rem;
  color: var(--gray-800);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.detail-card h2,
.info-card h2 {
  margin: 1.8rem 0 0.75rem;
  color: var(--gray-800);
  font-size: 1.25rem;
}

.detail-card p,
.info-card p {
  color: var(--gray-600);
  line-height: 1.9;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.detail-meta span {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  color: var(--gray-700);
  background: var(--gray-100);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.review-box,
.accent-card {
  margin-top: 1.6rem;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #fff1f2, #ffedd5);
}

.review-box h2,
.accent-card h2 {
  margin-top: 0;
}

.info-page {
  display: grid;
  gap: 1.2rem;
  padding-bottom: 4rem;
}

.site-footer {
  margin-top: 5rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-900), #7f1d1d 50%, var(--slate-800));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-brand {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: #d1d5db;
}

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

.site-footer h3 {
  margin: 0 0 1rem;
  color: #fecaca;
}

.site-footer ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom div {
  display: flex;
  gap: 1rem;
}

.is-hidden-card {
  display: none !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 0.85rem;
  }

  .movie-grid-six,
  .movie-grid-five {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .two-column-section,
  .ranking-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .sticky-panel,
  .detail-side .side-card {
    position: static;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 4rem;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .brand-icon {
    width: 2.35rem;
    height: 2.35rem;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    height: 540px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-bottom: 4.5rem;
  }

  .hero-card {
    display: none;
  }

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

  .filter-status {
    padding-bottom: 0;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 1rem, 1200px);
  }

  .hero {
    height: 520px;
  }

  .hero-title {
    font-size: 2.2rem !important;
  }

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

  .search-strip,
  .category-wrap {
    border-radius: 1.2rem;
  }

  .category-wrap {
    padding: 1.2rem;
  }

  .movie-grid-six,
  .movie-grid-five,
  .movie-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .movie-desc {
    display: none;
  }

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

  .mini-movie {
    grid-template-columns: 86px minmax(0, 1fr) auto;
  }

  .player-cover span {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.8rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
