:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --blue-900: #1e3a8a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --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;
  --amber: #f59e0b;
  --green: #16a34a;
  --red: #dc2626;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 24px 60px rgba(15, 23, 42, 0.24);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--white);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.24);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.32);
  transition: transform 0.3s ease, background 0.3s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.06);
  background: var(--blue-700);
}

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

.brand-text strong {
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.02em;
}

.brand-text small {
  margin-top: 5px;
  color: var(--gray-300);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--gray-300);
  font-weight: 600;
  font-size: 15px;
}

.nav-link {
  transition: color 0.25s ease;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.mobile-link {
  padding: 8px 0;
  color: var(--gray-300);
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.42), transparent 32%), linear-gradient(135deg, var(--slate-950), var(--blue-900), var(--slate-900));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-slider {
  position: relative;
  min-height: 680px;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 72px 0 96px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: blur(10px) saturate(1.2);
  transform: scale(1.05);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.64), rgba(2, 6, 23, 0.92));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
  align-items: center;
  gap: 56px;
  width: 100%;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gray-300);
  backdrop-filter: blur(8px);
}

.hero h1,
.hero h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero h3 {
  margin: 20px 0 0;
  color: var(--blue-100);
  font-size: clamp(24px, 3vw, 36px);
}

.hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--gray-300);
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.75;
}

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

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

.hero-tags span,
.detail-tags a,
.card-tags span,
.tag-cloud a {
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

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

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

.primary-button {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.34);
}

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

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(8px);
}

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

.hero-poster {
  position: relative;
  display: block;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
  transition: transform 0.35s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) scale(1.02);
}

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

.hero-poster span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue-600);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.hero-controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  opacity: 0.6;
}

.hero-dot.is-active {
  width: 28px;
  opacity: 1;
  background: var(--blue-500);
}

.quick-search-block {
  margin-top: -42px;
  position: relative;
  z-index: 4;
}

.quick-search-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 26px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-strong);
}

.quick-search-inner h2,
.section-heading h2,
.page-hero h1,
.detail-copy h1,
.article-body h2,
.detail-side h2 {
  margin: 0;
  color: var(--gray-900);
}

.quick-search-inner p,
.section-heading p,
.page-hero p {
  margin: 8px 0 0;
  color: var(--gray-600);
  line-height: 1.7;
}

.quick-search {
  display: flex;
  gap: 10px;
}

.quick-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 0 14px;
  outline: none;
  background: var(--white);
  color: var(--gray-900);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.quick-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.quick-search button {
  min-width: 110px;
  border: 0;
  border-radius: 12px;
  background: var(--blue-600);
  color: var(--white);
  font-weight: 800;
}

.feature-strip,
.content-section,
.filter-panel,
.detail-content {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 72px 0 28px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.feature-card span {
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 800;
}

.feature-card strong {
  display: block;
  margin-top: 10px;
  color: var(--gray-900);
  font-size: 20px;
}

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

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

.alt-section {
  width: 100%;
  padding-left: max(16px, calc((100% - 1240px) / 2));
  padding-right: max(16px, calc((100% - 1240px) / 2));
  background: var(--gray-50);
}

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

.section-heading h2 {
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.03em;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 3 / 4;
}

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

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

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

.poster-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: rgba(0, 0, 0, 0.36);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.region-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

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

.rank-badge {
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--amber);
}

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

.movie-card h3 {
  min-height: 46px;
  margin: 0 0 8px;
  color: var(--gray-900);
  font-size: 15px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.movie-card p {
  min-height: 40px;
  margin: 0 0 10px;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.card-tags {
  margin-top: 12px;
}

.card-tags span,
.detail-tags a,
.tag-cloud a {
  padding: 5px 9px;
}

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--slate-900);
  box-shadow: var(--shadow);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  opacity: 0.56;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
  opacity: 0.4;
}

.category-tile span,
.category-tile small {
  position: absolute;
  left: 20px;
  right: 20px;
}

.category-tile span {
  bottom: 68px;
  font-size: 24px;
  font-weight: 900;
}

.category-tile small {
  bottom: 24px;
  color: var(--gray-200);
  line-height: 1.5;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 82px 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.ranking-cover {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
}

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

.ranking-number {
  color: var(--blue-600);
  font-size: 28px;
  font-weight: 900;
  text-align: center;
}

.ranking-info h3 {
  margin: 0;
  color: var(--gray-900);
  font-size: 18px;
}

.ranking-info h3 a:hover {
  color: var(--blue-600);
}

.ranking-info p {
  margin: 8px 0 0;
  color: var(--gray-600);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.score-pill {
  min-width: 58px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-weight: 900;
  text-align: center;
}

.page-hero {
  color: var(--white);
  background: radial-gradient(circle at 12% 24%, rgba(59, 130, 246, 0.42), transparent 35%), linear-gradient(135deg, var(--slate-950), var(--blue-900), var(--slate-900));
}

.page-hero > div {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.page-hero span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gray-200);
  font-weight: 800;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
}

.page-hero p {
  max-width: 760px;
  color: var(--gray-300);
  font-size: 18px;
}

.filter-panel {
  margin-top: 36px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 220px;
  gap: 16px;
}

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

.filter-grid label {
  display: grid;
  gap: 8px;
  color: var(--gray-700);
  font-weight: 800;
}

.empty-result {
  display: none;
  margin: 36px 0 0;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  color: var(--gray-600);
  text-align: center;
}

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

.category-list-large {
  display: grid;
  gap: 24px;
}

.category-card-large {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.category-card-posters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.category-card-posters img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.category-card-large h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: 28px;
}

.category-card-large p {
  margin: 12px 0 20px;
  color: var(--gray-600);
  line-height: 1.8;
}

.detail-page {
  background: var(--white);
}

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

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: blur(12px) saturate(1.12);
  transform: scale(1.06);
}

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

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 42px;
  padding: 64px 0;
  align-items: center;
}

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

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gray-300);
  font-size: 14px;
}

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

.detail-copy h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
}

.detail-one-line {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--gray-200);
  font-size: 20px;
  line-height: 1.75;
}

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

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gray-200);
  font-weight: 800;
}

.detail-tags {
  margin-top: 18px;
}

.detail-tags a {
  background: rgba(59, 130, 246, 0.18);
  color: var(--white);
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--gray-950);
  box-shadow: var(--shadow-strong);
  aspect-ratio: 16 / 9;
}

.movie-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--gray-950);
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.62));
  color: var(--white);
  text-align: center;
  transition: opacity 0.25s ease;
}

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

.play-circle {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-600);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.42);
  font-size: 32px;
}

.player-overlay strong {
  max-width: 80%;
  font-size: clamp(20px, 3vw, 34px);
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding: 56px 0 20px;
}

.article-body,
.detail-side {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-body {
  padding: 32px;
}

.article-body h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 26px;
}

.article-body h2:not(:first-child) {
  margin-top: 34px;
}

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

.detail-side {
  align-self: start;
  padding: 24px;
}

.detail-side h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px 16px;
  margin: 0;
}

.detail-side dt {
  color: var(--gray-500);
  font-weight: 800;
}

.detail-side dd {
  margin: 0;
  color: var(--gray-900);
}

.related-section {
  padding-top: 36px;
}

.site-footer {
  margin-top: 40px;
  color: var(--gray-300);
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

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

.footer-inner h2,
.footer-inner h3 {
  margin: 0 0 16px;
  color: var(--white);
}

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

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

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

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.back-top {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--slate-800);
  color: var(--white);
}

.full-ranking {
  width: min(980px, 100%);
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 12px;
    font-size: 14px;
  }

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

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

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

  .menu-toggle {
    display: flex;
  }

  .hero-slider {
    min-height: 780px;
  }

  .hero-slide {
    padding-top: 46px;
  }

  .hero-grid,
  .quick-search-inner,
  .detail-inner,
  .detail-content,
  .category-card-large,
  .filter-grid,
  .filter-grid.wide,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-poster,
  .detail-poster {
    max-width: 280px;
    margin: 0 auto;
  }

  .quick-search,
  .section-heading,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-search {
    display: grid;
  }

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

  .detail-inner {
    text-align: center;
  }

  .breadcrumb,
  .detail-meta,
  .detail-tags,
  .detail-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 68px;
  }

  .brand-text small {
    display: none;
  }

  .hero-slider {
    min-height: 820px;
  }

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

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

  .ranking-item {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
  }

  .ranking-number,
  .score-pill {
    grid-column: span 1;
  }

  .ranking-info {
    grid-column: 2;
  }

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

  .article-body,
  .detail-side,
  .filter-panel {
    padding: 20px;
  }
}

@media (max-width: 430px) {
  .movie-grid,
  .compact-grid {
    gap: 12px;
  }

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

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

  .hero-actions,
  .detail-actions {
    display: grid;
  }
}
