:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --blue-600: #2563eb;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--sky-50), #ffffff 420px);
  color: var(--gray-900);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  height: var(--header-height);
  margin: 0 auto;
}

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

.brand-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.brand-text {
  font-size: 1.24rem;
  background: linear-gradient(90deg, var(--sky-600), var(--blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--gray-700);
  font-weight: 650;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a {
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
  color: var(--sky-600);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--gray-700);
}

.mobile-nav {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

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

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--gray-50);
}

.hero-carousel {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 70vh;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 42%, rgba(14, 165, 233, 0.38), transparent 36%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.22)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.96), transparent 54%);
}

.hero-content {
  position: absolute;
  left: max(28px, calc((100vw - 1180px) / 2));
  bottom: 72px;
  width: min(650px, calc(100% - 48px));
  color: #ffffff;
}

.hero-eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--sky-600);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: #bae6fd;
}

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(2.7rem, 7vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 620px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2.2vw, 1.28rem);
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--sky-600);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.ghost-button,
.section-more,
.site-search-box button,
.global-search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button,
.site-search-box button,
.global-search-form button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.22);
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero-dots {
  position: absolute;
  right: max(28px, calc((100vw - 1180px) / 2));
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

.quick-search-panel,
.content-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-search-panel {
  position: relative;
  z-index: 3;
  margin-top: -36px;
  padding: 26px;
  border: 1px solid rgba(226, 232, 240, 0.78);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.quick-search-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 28px;
  align-items: center;
}

.quick-search-inner h2,
.section-heading h2,
.page-hero h1 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.quick-search-inner p {
  margin: 10px 0 0;
  color: var(--gray-500);
}

.global-search-form,
.site-search-box {
  display: flex;
  gap: 10px;
}

.global-search-form input,
.site-search-box input,
.filter-panel input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  outline: none;
  background: #ffffff;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.global-search-form input:focus,
.site-search-box input:focus,
.filter-panel input:focus {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

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

.stat-card {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--sky-50), #ffffff);
  border: 1px solid rgba(125, 211, 252, 0.45);
}

.stat-card strong {
  display: block;
  color: var(--sky-600);
  font-size: 1.7rem;
  line-height: 1;
}

.stat-card span {
  color: var(--gray-500);
  font-size: 0.88rem;
}

.content-section {
  padding: 76px 0;
}

.content-section.no-padding {
  padding: 0;
}

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

.section-heading.slim {
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-more {
  min-height: 38px;
  color: var(--sky-600);
  background: var(--sky-50);
}

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

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

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

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

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, var(--sky-100), var(--gray-100));
}

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

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

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.74), transparent 52%);
}

.card-badge,
.play-dot {
  position: absolute;
  color: #ffffff;
  font-weight: 800;
}

.card-badge {
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.88);
  font-size: 0.75rem;
}

.play-dot {
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.card-content {
  padding: 15px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--gray-500);
  font-size: 0.78rem;
}

.card-content h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.28;
}

.card-content h3 a:hover,
.rank-item h3 a:hover,
.sitemap-block a:hover {
  color: var(--sky-600);
}

.card-content p {
  display: -webkit-box;
  min-height: 42px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--gray-500);
  font-size: 0.87rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card.compact .card-content p {
  min-height: auto;
}

.blue-band {
  padding: 70px 0;
  background: linear-gradient(100deg, rgba(240, 249, 255, 0.96), rgba(219, 234, 254, 0.88));
}

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

.category-card,
.category-overview-card {
  display: block;
  padding: 22px;
  border: 1px solid rgba(125, 211, 252, 0.46);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.category-card span,
.category-overview-card span {
  color: var(--sky-600);
  font-weight: 800;
}

.category-card strong,
.category-overview-card h2 {
  display: block;
  margin: 8px 0;
  font-size: 1.2rem;
}

.category-card em,
.category-overview-card strong {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gray-500);
  font-style: normal;
  font-size: 0.86rem;
}

.category-card p,
.category-overview-card p {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.92rem;
}

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

.rank-panel,
.detail-side-card,
.detail-main-card {
  padding: 22px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

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

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

.rank-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-500);
  font-weight: 900;
}

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

.rank-thumb {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  background: var(--sky-100);
}

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

.rank-item h3 {
  margin: 0 0 3px;
  font-size: 0.94rem;
  line-height: 1.25;
}

.rank-item p,
.rank-item small {
  display: block;
  margin: 0;
  color: var(--gray-500);
  font-size: 0.78rem;
}

.page-hero {
  display: grid;
  min-height: 340px;
  place-items: center;
  padding: 64px 24px;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at 30% 10%, rgba(56, 189, 248, 0.55), transparent 32%),
    linear-gradient(135deg, #0f172a, #0369a1 54%, #2563eb);
}

.page-hero.small-hero {
  min-height: 270px;
}

.page-hero.category-hero {
  min-height: 300px;
}

.page-hero .section-kicker {
  color: #bae6fd;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.page-hero p {
  max-width: 760px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero strong {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

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

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

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.category-cover-stack img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: var(--sky-100);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 390px) minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.filter-panel label span {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-500);
  font-size: 0.86rem;
  font-weight: 700;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-buttons button,
.search-hints button {
  padding: 9px 13px;
  border: 0;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-700);
  cursor: pointer;
  font-weight: 700;
}

.filter-buttons button.active,
.search-hints button:hover {
  color: #ffffff;
  background: var(--sky-500);
}

.result-summary {
  margin-bottom: 18px;
  color: var(--gray-500);
  font-weight: 700;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
  color: var(--gray-500);
  font-size: 0.92rem;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 34px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 44px;
  padding: 32px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.18), transparent 35%),
    #ffffff;
  box-shadow: var(--shadow-soft);
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

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

.detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.detail-one-line {
  margin: 0 0 20px;
  color: var(--gray-700);
  font-size: 1.1rem;
}

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

.detail-meta-list li {
  padding: 14px;
  border-radius: 16px;
  background: var(--sky-50);
}

.detail-meta-list span {
  display: block;
  color: var(--gray-500);
  font-size: 0.78rem;
}

.detail-meta-list strong {
  display: block;
  margin-top: 4px;
}

.detail-tags {
  margin-bottom: 24px;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(14, 165, 233, 0.2), transparent 30%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.42));
  cursor: pointer;
}

.player-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.player-play-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  box-shadow: 0 18px 44px rgba(14, 165, 233, 0.35);
  font-size: 2rem;
}

.player-overlay strong {
  font-size: 1.35rem;
}

.player-overlay em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.detail-main-card h2,
.detail-side-card h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.detail-main-card h2:not(:first-child) {
  margin-top: 28px;
}

.detail-main-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 1.02rem;
}

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

.ranking-block {
  padding: 22px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.ranking-block h2 {
  margin: 0 0 18px;
}

.ranking-page-list {
  gap: 16px;
}

.search-page {
  max-width: 920px;
}

.site-search-box {
  margin-bottom: 18px;
}

.search-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--gray-500);
}

.search-results {
  display: grid;
  gap: 14px;
}

.search-result-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.search-result-card img {
  width: 74px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: var(--sky-100);
}

.search-result-card h2 {
  margin: 0 0 4px;
  font-size: 1.04rem;
}

.search-result-card p {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.88rem;
}

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

.sitemap-block {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.sitemap-block h2 {
  margin: 0 0 12px;
}

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

.sitemap-block li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 8px;
  color: var(--gray-700);
}

.sitemap-block span {
  flex: 0 0 auto;
  color: var(--gray-500);
  font-size: 0.84rem;
}

.site-footer {
  margin-top: 42px;
  background: linear-gradient(180deg, #ffffff, var(--gray-100));
  border-top: 1px solid var(--gray-200);
}

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

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer-grid p {
  margin: 14px 0 0;
  color: var(--gray-500);
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--gray-500);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 0.88rem;
}

[hidden],
.movie-card.is-hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 14px;
    font-size: 0.92rem;
  }

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

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

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

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

  .mobile-menu-button {
    display: block;
  }

  .hero-content {
    bottom: 88px;
  }

  .hero-dots {
    left: 28px;
    right: auto;
  }

  .quick-search-inner,
  .filter-panel,
  .detail-hero,
  .category-overview-card,
  .footer-grid,
  .ranking-layout,
  .sitemap-layout {
    grid-template-columns: 1fr;
  }

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

  .movie-grid,
  .large-grid,
  .compact-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 560px) {
  .hero-carousel,
  .hero-image {
    min-height: 72vh;
  }

  .hero-content h1 {
    font-size: 2.35rem;
  }

  .quick-search-panel {
    margin-top: -22px;
    padding: 18px;
  }

  .global-search-form,
  .site-search-box {
    flex-direction: column;
  }

  .stat-grid,
  .movie-grid,
  .large-grid,
  .compact-grid,
  .category-grid,
  .category-overview-grid,
  .detail-meta-list {
    grid-template-columns: 1fr;
  }

  .search-result-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .search-result-card .primary-button {
    grid-column: 1 / -1;
  }
}
