:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-line: #e2e8f0;
  --color-blue: #2563eb;
  --color-cyan: #06b6d4;
  --color-teal: #14b8a6;
  --color-pink: #ec4899;
  --shadow-soft: 0 12px 35px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 28px 70px rgba(15, 23, 42, 0.22);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 22px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.25);
}

.brand-text,
.footer-brand span:last-child {
  display: flex;
  flex-direction: column;
}

.brand strong,
.footer-brand strong {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand small,
.footer-brand small {
  color: var(--color-muted);
  font-size: 12px;
}

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

.nav-link,
.mobile-link {
  color: #334155;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.active,
.mobile-link.active {
  color: var(--color-blue);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #ffffff;
}

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

.nav-search button,
.mobile-search button {
  border: 0;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
}

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

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #1e293b;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--color-line);
  background: #ffffff;
  padding: 16px;
}

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

.mobile-panel nav {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.mobile-search {
  display: flex;
  gap: 8px;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 6px;
}

.mobile-search input {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8, #0891b2 48%, #0f766e);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 24%, rgba(255, 255, 255, 0.22), transparent 28%),
    radial-gradient(circle at 86% 80%, rgba(59, 130, 246, 0.35), transparent 34%);
}

.hero-slider,
.hero-slide,
.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 0.7s ease;
}

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

.hero-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

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

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 160px;
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #2563eb;
  background: #dbeafe;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #fef3c7;
  background: rgba(15, 23, 42, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-line {
  max-width: 680px;
  margin: 0;
  color: #e0f2fe;
  font-size: clamp(18px, 2vw, 24px);
}

.hero-tags,
.detail-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  color: #075985;
  background: #e0f2fe;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.28);
}

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

.btn-ghost.dark {
  color: #075985;
  border-color: #bae6fd;
  background: #f0f9ff;
}

.hero-cover {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100vw - 1180px) / 2));
  bottom: 130px;
  width: min(360px, 30vw);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
}

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

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 96px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-dot.is-active {
  width: 38px;
  background: #ffffff;
}

.hero-stats {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  transform: translateX(-50%);
}

.hero-stats a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(18px);
}

.hero-stats strong {
  font-size: 22px;
}

.hero-stats span {
  color: #dbeafe;
  font-size: 13px;
}

.section {
  padding: 72px 0;
}

.section-white {
  background: #ffffff;
}

.section-soft {
  background: linear-gradient(135deg, #f8fafc, #eff6ff);
}

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

.section-head.centered {
  justify-content: center;
  text-align: center;
}

.section-head h2 {
  margin: 10px 0 8px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0;
  color: var(--color-muted);
}

.text-link {
  color: var(--color-blue);
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.48));
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--color-blue);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-badge,
.poster-year {
  position: absolute;
  z-index: 2;
  padding: 5px 9px;
  color: #ffffff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.card-badge {
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ef4444, var(--color-pink));
}

.poster-year {
  right: 12px;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.72);
}

.movie-info {
  padding: 16px;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.movie-info h3 a:hover,
.rank-content h3 a:hover {
  color: var(--color-blue);
}

.movie-info p,
.rank-content p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
  color: var(--color-muted);
  font-size: 12px;
}

.movie-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f5f9;
}

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

.category-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 24px;
  color: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.2));
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.category-card span,
.category-card strong,
.category-card small {
  position: relative;
  z-index: 2;
  display: block;
}

.category-card span {
  font-size: 24px;
  font-weight: 900;
}

.category-card strong {
  margin: 8px 0;
  font-size: 15px;
}

.category-card small {
  max-width: 220px;
  color: #dbeafe;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 72px 150px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--color-line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #1e293b;
  border-radius: 18px;
  background: #f1f5f9;
  font-size: 20px;
  font-weight: 900;
}

.top-rank .rank-number {
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, var(--color-pink));
}

.rank-cover {
  display: block;
  height: 86px;
  overflow: hidden;
  border-radius: 16px;
  background: #e0f2fe;
}

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

.rank-content h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.rank-action {
  justify-self: end;
  padding: 10px 18px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  font-weight: 800;
}

.page-main {
  padding-top: 68px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8, #0891b2 48%, #0f766e);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding: 78px 0;
}

.page-hero h1 {
  margin: 18px 0 12px;
  max-width: 780px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
}

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0 8px;
  padding: 20px;
  border: 1px solid var(--color-line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.filter-panel h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.filter-panel p {
  margin: 0;
  color: var(--color-muted);
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-controls input,
.filter-controls select {
  min-height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  outline: none;
  padding: 0 14px;
  background: #f8fafc;
}

.filter-controls input:focus,
.filter-controls select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.filter-empty {
  flex-basis: 100%;
  color: #dc2626;
  font-weight: 700;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.category-overview-cover {
  overflow: hidden;
  border-radius: 18px;
  background: #dbeafe;
}

.category-overview-cover img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.category-overview-card h2 {
  margin: 0 0 8px;
}

.category-overview-card p {
  margin: 0 0 10px;
  color: var(--color-muted);
}

.category-overview-card strong {
  color: var(--color-blue);
}

.category-overview-card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.category-overview-card li {
  margin: 4px 0;
  color: #334155;
}

.category-overview-card li a:hover {
  color: var(--color-blue);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 0 18px;
  color: var(--color-muted);
  font-size: 14px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.9fr);
  gap: 26px;
  padding-bottom: 68px;
}

.detail-primary,
.detail-side {
  display: grid;
  gap: 24px;
  align-content: start;
}

.player-card,
.detail-card,
.side-card,
.about-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.38), rgba(15, 23, 42, 0.72));
  font-size: 18px;
  font-weight: 900;
}

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

.big-play {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: var(--color-blue);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.player-message {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 5;
  margin: 0;
  color: #dbeafe;
  font-size: 13px;
}

.player-card.is-playing .player-message {
  display: none;
}

.detail-card {
  padding: 24px;
}

.detail-heading {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: start;
}

.detail-cover {
  width: 180px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  background: #dbeafe;
}

.detail-heading h1 {
  margin: 12px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.detail-heading p {
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: 18px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-meta span {
  padding: 7px 12px;
  color: #075985;
  border-radius: 999px;
  background: #e0f2fe;
  font-weight: 800;
  font-size: 13px;
}

.detail-tags {
  margin: 22px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-line);
}

.detail-content h2,
.side-card h2,
.about-card h2 {
  margin: 24px 0 10px;
  font-size: 22px;
}

.detail-content h2:first-child,
.side-card h2:first-child,
.about-card h2:first-child {
  margin-top: 0;
}

.detail-content p,
.about-card p {
  margin: 0 0 16px;
  color: #334155;
  font-size: 16px;
  line-height: 1.85;
}

.side-card {
  padding: 18px;
  position: sticky;
  top: 92px;
}

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

.movie-card-list {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 12px;
  padding: 10px;
  box-shadow: none;
}

.movie-card-list .movie-poster {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

.movie-card-list .movie-info {
  padding: 0;
}

.movie-card-list .movie-info h3 {
  font-size: 14px;
}

.movie-card-list .movie-info p,
.movie-card-list .tag-row {
  display: none;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
}

.about-card {
  padding: 24px;
}

.stat-card ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat-card li {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
}

.stat-card strong {
  display: block;
  color: var(--color-blue);
  font-size: 28px;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, #0f172a, #1e293b 58%, #0f172a);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 52px 0;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

.site-footer p {
  margin: 14px 0 0;
  color: #94a3b8;
}

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

.site-footer li {
  margin: 9px 0;
}

.site-footer a:hover {
  color: #67e8f9;
}

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

[hidden] {
  display: none !important;
}

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

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

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

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 720px;
  }

  .hero-cover {
    display: none;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
    bottom: 22px;
  }

  .section-head,
  .filter-panel {
    align-items: stretch;
    flex-direction: column;
  }

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

  .side-card {
    position: static;
  }
}

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

  .hero {
    min-height: 650px;
  }

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

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

  .hero-dots {
    bottom: 188px;
  }

  .hero-stats {
    display: none;
  }

  .movie-grid,
  .all-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .rank-item {
    grid-template-columns: 48px 92px 1fr;
    gap: 12px;
  }

  .rank-action {
    display: none;
  }

  .rank-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 16px;
  }

  .rank-cover {
    height: 74px;
  }

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

  .detail-cover {
    width: 100%;
    max-height: 420px;
  }

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

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

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-actions,
  .filter-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

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

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

  .page-hero .container {
    padding: 56px 0;
  }

  .movie-card-list {
    grid-template-columns: 98px 1fr;
  }
}
