* {
  box-sizing: border-box;
}

:root {
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --accent-50: #ecfdf5;
  --accent-600: #059669;
  --secondary-50: #f8fafc;
  --secondary-100: #f1f5f9;
  --secondary-200: #e2e8f0;
  --secondary-500: #64748b;
  --secondary-600: #475569;
  --secondary-700: #334155;
  --secondary-800: #1e293b;
  --secondary-900: #0f172a;
  --white: #ffffff;
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 18px 45px rgba(15, 23, 42, 0.16);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--secondary-800);
  background: var(--secondary-50);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--secondary-200);
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(16px);
}

.nav-shell {
  max-width: 1240px;
  height: 64px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--secondary-900);
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
  font-size: 14px;
}

.brand-text {
  font-size: 20px;
  white-space: nowrap;
}

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

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

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

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
}

.nav-search input {
  width: 100%;
  height: 40px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--secondary-200);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.nav-search button {
  position: absolute;
  right: 6px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 10px;
  color: var(--secondary-600);
  background: var(--secondary-100);
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--secondary-900);
  background: var(--secondary-100);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 10px 20px 18px;
  border-top: 1px solid var(--secondary-200);
  background: var(--white);
}

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--secondary-700);
  background: var(--secondary-50);
  font-weight: 700;
}

.mobile-link.is-active,
.mobile-link:hover {
  color: var(--primary-700);
  background: var(--primary-50);
}

.mobile-link.muted {
  font-weight: 600;
  color: var(--secondary-500);
}

.hero-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700) 45%, var(--secondary-900));
  overflow: hidden;
}

.hero-shell {
  max-width: 1240px;
  min-height: 560px;
  margin: 0 auto;
  padding: 72px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--primary-100);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy h1 span {
  color: var(--primary-200);
}

.hero-copy p,
.page-hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--primary-100);
  font-size: 18px;
}

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

.hero-actions a,
.text-button,
.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-actions a {
  padding: 12px 18px;
  color: var(--primary-700);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.hero-actions a:hover,
.text-button:hover,
.more-link:hover {
  transform: translateY(-2px);
}

.hero-feature {
  position: relative;
  min-height: 390px;
  border-radius: 28px;
  box-shadow: var(--shadow-medium);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

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

.hero-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}

.hero-kicker,
.year-pill,
.rank-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary-600);
  font-size: 12px;
  font-weight: 800;
}

.hero-kicker {
  padding: 6px 12px;
  margin-bottom: 12px;
}

.hero-poster-overlay strong {
  max-width: 90%;
  font-size: 25px;
  line-height: 1.2;
}

.hero-poster-overlay em {
  max-width: 90%;
  margin-top: 10px;
  color: #d1d5db;
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--primary-600);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.hero-slide:hover .hero-play {
  color: var(--white);
  background: var(--primary-600);
  transform: translate(-50%, -50%) scale(1.1);
}

.hero-dots {
  position: absolute;
  left: 28px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

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

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

.content-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 52px 20px;
}

.content-section.narrow {
  max-width: 920px;
}

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

.section-head h2 {
  margin: 0;
  color: var(--secondary-900);
  font-size: 28px;
  line-height: 1.2;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--primary-600);
}

.more-link,
.text-button {
  color: var(--primary-600);
}

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

.category-tile,
.category-cover {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: var(--secondary-900);
}

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

.category-tile:hover img,
.category-cover:hover img {
  transform: scale(1.08);
}

.category-tile span,
.category-cover span {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0));
}

.category-tile strong {
  font-size: 22px;
}

.category-tile em {
  color: #cbd5e1;
  font-style: normal;
}

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

.movie-grid.compact {
  gap: 22px;
}

.movie-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.poster-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--secondary-200);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}

.year-pill,
.rank-badge {
  position: absolute;
  top: 12px;
  padding: 5px 10px;
}

.year-pill {
  right: 12px;
  background: rgba(15, 23, 42, 0.82);
}

.rank-badge {
  left: 12px;
  background: var(--primary-600);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.card-body strong {
  color: var(--secondary-900);
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body em {
  margin-top: 9px;
  min-height: 44px;
  color: var(--secondary-600);
  font-size: 14px;
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-line {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--secondary-100);
  color: var(--secondary-500);
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag-row span,
.detail-tags span {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--accent-600);
  background: var(--accent-50);
  font-size: 12px;
  font-weight: 700;
}

.page-hero {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
}

.page-hero.slim .page-hero-shell {
  min-height: 280px;
}

.page-hero-shell {
  max-width: 1240px;
  min-height: 340px;
  margin: 0 auto;
  padding: 56px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

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

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

.category-panel {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.category-cover {
  min-height: 260px;
  border-radius: 0;
}

.category-info {
  padding: 28px;
}

.category-info h2 {
  margin: 0 0 10px;
  color: var(--secondary-900);
  font-size: 26px;
}

.category-info p {
  margin: 0 0 18px;
  color: var(--secondary-600);
}

.category-info ul {
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--secondary-700);
}

.category-info li + li {
  margin-top: 6px;
}

.filter-panel {
  margin-bottom: 26px;
  padding: 20px;
  border: 1px solid var(--secondary-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.filter-title {
  display: block;
  color: var(--secondary-900);
  font-size: 18px;
  font-weight: 800;
}

.filter-count {
  color: var(--secondary-500);
  font-size: 14px;
}

.filter-tools {
  display: flex;
  gap: 14px;
}

.filter-tools label {
  display: grid;
  gap: 6px;
  color: var(--secondary-600);
  font-size: 12px;
  font-weight: 800;
}

.filter-tools input,
.filter-tools select,
.hero-search input {
  min-width: 220px;
  height: 42px;
  border: 1px solid var(--secondary-200);
  border-radius: 12px;
  padding: 0 12px;
  outline: none;
  background: var(--white);
}

.filter-tools input:focus,
.filter-tools select:focus,
.hero-search input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

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

.ranking-row,
.result-card {
  display: grid;
  align-items: center;
  gap: 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row {
  grid-template-columns: 56px 110px minmax(0, 1fr);
  padding: 14px;
}

.ranking-row:hover,
.result-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.ranking-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
  font-weight: 900;
}

.ranking-row img {
  width: 110px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.ranking-copy,
.result-body {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.ranking-copy strong,
.result-body strong {
  color: var(--secondary-900);
  font-size: 18px;
}

.ranking-copy em,
.result-body em {
  color: var(--secondary-600);
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranking-copy small,
.result-body span {
  color: var(--secondary-500);
}

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

.hero-search button {
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: var(--primary-700);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.search-status {
  margin-bottom: 20px;
  color: var(--secondary-700);
  font-weight: 800;
}

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

.result-card {
  grid-template-columns: 220px minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
}

.result-poster {
  position: relative;
  height: 150px;
  overflow: hidden;
}

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

.result-poster span {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.result-body {
  padding: 22px;
}

.detail-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.detail-shell > .breadcrumb {
  color: var(--secondary-600);
}

.detail-shell > .breadcrumb strong {
  color: var(--secondary-900);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 24px;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--secondary-900);
  box-shadow: var(--shadow-medium);
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--white);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.16));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-button {
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 999px;
  color: var(--primary-600);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-medium);
  font-size: 28px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.play-button:hover {
  transform: scale(1.08);
  color: var(--white);
  background: var(--primary-600);
}

.detail-card,
.side-card {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.detail-card {
  padding: 28px;
}

.detail-card h1 {
  margin: 0 0 18px;
  color: var(--secondary-900);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.16;
}

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

.detail-meta a,
.detail-meta span {
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--secondary-700);
  background: var(--secondary-100);
  font-size: 14px;
  font-weight: 800;
}

.detail-meta a {
  color: var(--primary-700);
  background: var(--primary-50);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.detail-card section + section {
  margin-top: 30px;
}

.detail-card h2,
.side-card h2 {
  margin: 0 0 14px;
  color: var(--secondary-900);
  font-size: 22px;
}

.detail-card p {
  margin: 0;
  color: var(--secondary-700);
}

.lead-text {
  margin-bottom: 14px !important;
  font-weight: 800;
}

.review-box {
  padding: 20px;
  border-radius: 16px;
  color: var(--secondary-700);
  background: var(--secondary-50);
}

.detail-aside {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 22px;
}

.side-card {
  padding: 20px;
}

.poster-side img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
}

.poster-side dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.poster-side div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
}

.poster-side dt {
  color: var(--secondary-500);
}

.poster-side dd {
  margin: 0;
  color: var(--secondary-900);
  font-weight: 800;
}

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

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

.related-item img {
  width: 112px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.related-item span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.related-item strong {
  color: var(--secondary-900);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-item em {
  color: var(--secondary-500);
  font-size: 13px;
  font-style: normal;
}

.site-footer {
  color: var(--secondary-300, #cbd5e1);
  background: var(--secondary-900);
}

.footer-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.footer-brand {
  margin-bottom: 14px;
  color: var(--white);
}

.footer-about p {
  max-width: 520px;
  margin: 0;
  color: #94a3b8;
}

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

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

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary-200);
}

.footer-bottom {
  padding: 18px 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #64748b;
  text-align: center;
  font-size: 14px;
}

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

  .nav-search {
    min-width: 220px;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-feature {
    min-height: 460px;
  }

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

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

  .detail-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    padding: 0 14px;
  }

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

  .nav-search {
    display: none;
  }

  .hero-shell,
  .page-hero-shell,
  .content-section,
  .detail-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-shell {
    padding-top: 48px;
    padding-bottom: 44px;
    gap: 34px;
  }

  .hero-feature {
    min-height: 360px;
  }

  .hero-poster-overlay {
    padding: 22px;
  }

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

  .filter-tools {
    display: grid;
  }

  .filter-tools input,
  .filter-tools select,
  .hero-search input {
    min-width: 0;
    width: 100%;
  }

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

  .poster-wrap {
    height: 190px;
  }

  .category-panel,
  .result-card {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 44px 84px minmax(0, 1fr);
  }

  .ranking-row img {
    width: 84px;
    height: 64px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .category-grid,
  .movie-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-feature {
    min-height: 300px;
  }

  .related-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .related-item img {
    width: 92px;
    height: 64px;
  }
}
