:root {
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --amber-500: #f59e0b;
  --yellow-500: #eab308;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --white: #ffffff;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.10);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: linear-gradient(180deg, var(--slate-50), var(--slate-100));
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--orange-600), var(--amber-500), var(--yellow-500));
  box-shadow: 0 8px 24px rgba(180, 83, 9, 0.30);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--orange-600);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(120, 53, 15, 0.24);
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff7bd;
  transform: translateY(-1px);
}

.nav-search {
  position: relative;
  width: 280px;
}

.nav-search input,
.hero-search input,
.search-page-form input,
.filter-toolbar input,
.filter-toolbar select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  outline: none;
}

.nav-search input {
  padding: 10px 46px 10px 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.nav-search input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.nav-search button {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

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

.hero-bg {
  position: absolute;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  object-fit: cover;
  filter: blur(12px) saturate(1.18);
  transform: scale(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 40%, rgba(251, 191, 36, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(124, 45, 18, 0.96), rgba(180, 83, 9, 0.82) 46%, rgba(234, 179, 8, 0.58));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-500);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-content .eyebrow,
.page-hero .eyebrow {
  color: #fed7aa;
}

.hero-content h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 8vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.hero-summary {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
}

.hero-tags,
.detail-meta,
.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hero-tags span,
.detail-meta span {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

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

.btn-primary,
.btn-ghost,
.hero-search button,
.search-page-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary,
.hero-search button,
.search-page-form button {
  padding: 14px 26px;
  color: var(--white);
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
  box-shadow: 0 18px 34px rgba(234, 88, 12, 0.32);
}

.btn-ghost {
  padding: 13px 24px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.btn-primary:hover,
.btn-ghost:hover,
.hero-search button:hover,
.search-page-form button:hover {
  transform: translateY(-2px) scale(1.02);
}

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

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

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

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 58px;
  z-index: 4;
  display: flex;
  width: min(760px, calc(100% - 32px));
  padding: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.hero-search input {
  flex: 1;
  padding: 0 18px;
  color: var(--white);
  background: transparent;
  border: 0;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

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

.section-block {
  padding: 64px 0;
}

.section-warm {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.92), rgba(254, 243, 199, 0.75));
}

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

.section-heading p {
  margin: 0 0 6px;
  color: var(--orange-600);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.section-heading a {
  color: var(--orange-600);
  font-weight: 800;
}

.compact-heading {
  display: block;
}

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

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

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

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

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

.movie-card-compact .poster-wrap {
  aspect-ratio: 16 / 10;
}

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

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

.poster-wrap::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.68));
}

.movie-type-badge,
.movie-duration,
.rank-badge {
  position: absolute;
  z-index: 2;
  padding: 5px 9px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
}

.movie-type-badge {
  top: 10px;
  right: 10px;
  background: rgba(249, 115, 22, 0.94);
}

.movie-duration {
  right: 10px;
  bottom: 10px;
  background: rgba(15, 23, 42, 0.75);
}

.rank-badge {
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ef4444, var(--orange-500));
}

.movie-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

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

.movie-card-body em {
  display: -webkit-box;
  overflow: hidden;
  min-height: 42px;
  color: var(--gray-500);
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta-line {
  color: var(--gray-500);
  font-size: 13px;
}

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

.tag-row span {
  padding: 5px 9px;
  color: #9a3412;
  background: var(--orange-50);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

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

.category-tile {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  padding: 24px;
  color: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

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

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(124, 45, 18, 0.86));
}

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

.category-tile strong {
  margin-top: 92px;
  font-size: 24px;
}

.category-tile em {
  margin-top: 6px;
  color: #fed7aa;
  font-style: normal;
  font-weight: 800;
}

.category-tile small {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.two-column-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.rank-panel,
.side-card,
.detail-card,
.content-card,
.overview-card,
.player-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.rank-panel,
.side-card,
.content-card,
.overview-card {
  padding: 24px;
}

.rank-panel h2,
.side-card h2,
.content-card h2 {
  margin: 0 0 18px;
}

.media-link {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f7;
}

.media-link:last-child {
  border-bottom: 0;
}

.media-thumb {
  position: relative;
  flex: 0 0 92px;
  height: 62px;
  overflow: hidden;
  border-radius: 12px;
}

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

.side-rank {
  position: absolute;
  top: 6px;
  left: 6px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--white);
  background: var(--orange-600);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.media-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.media-info strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.media-info em {
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
}

.page-main {
  padding: 32px 0 72px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 34px;
  padding: 58px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(124, 45, 18, 0.94), rgba(234, 88, 12, 0.82)),
    var(--hero-poster, none);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.slim-hero {
  background: linear-gradient(135deg, var(--orange-600), var(--amber-500));
}

.page-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.7;
}

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

.breadcrumb a {
  color: var(--orange-600);
  font-weight: 700;
}

.filter-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 160px 160px 160px auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  padding: 16px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.filter-toolbar input,
.filter-toolbar select,
.search-page-form input {
  padding: 12px 16px;
  color: var(--gray-800);
  background: var(--slate-50);
  border: 1px solid #e5e7eb;
}

.filter-count {
  color: var(--gray-500);
  font-weight: 700;
  text-align: right;
}

.overview-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.overview-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.overview-preview img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}

.overview-card strong {
  font-size: 22px;
}

.overview-card em {
  color: var(--orange-600);
  font-style: normal;
  font-weight: 800;
}

.overview-card p {
  margin: 0;
  color: var(--gray-500);
  line-height: 1.65;
}

.ranking-list {
  padding-top: 18px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 56px 90px minmax(0, 1fr) 180px 120px;
  gap: 18px;
  align-items: center;
  padding: 16px;
  margin-bottom: 14px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.ranking-index {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #ef4444, var(--orange-500));
  border-radius: 14px;
  font-weight: 900;
}

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

.ranking-main {
  min-width: 0;
}

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

.ranking-main em,
.ranking-meta {
  color: var(--gray-500);
  font-size: 14px;
  font-style: normal;
}

.ranking-views {
  color: var(--orange-600);
  font-weight: 900;
  text-align: right;
}

.search-page-form {
  display: flex;
  gap: 12px;
  width: min(720px, 100%);
  margin-top: 26px;
}

.search-page-form button {
  flex: 0 0 110px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
}

.player-card {
  overflow: hidden;
  padding: 0;
}

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.70));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  padding-left: 4px;
  color: var(--orange-600);
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
  font-size: 34px;
}

.player-overlay strong {
  font-size: 22px;
}

.player-overlay em {
  max-width: 80%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.detail-card {
  margin-top: 24px;
  padding: 28px;
}

.detail-card h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.detail-meta {
  margin-bottom: 26px;
}

.detail-meta span {
  color: #9a3412;
  background: var(--orange-50);
}

.detail-card section {
  padding: 24px 0;
  border-top: 1px solid #edf2f7;
}

.detail-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.detail-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.9;
}

.intro-box,
.review-box {
  padding-right: 20px !important;
  padding-left: 20px !important;
  background: linear-gradient(135deg, var(--orange-50), #fef3c7);
  border-left: 5px solid var(--orange-500);
  border-radius: 18px;
}

.detail-side {
  position: relative;
}

.side-card {
  position: sticky;
  top: 96px;
  margin-bottom: 20px;
}

.next-prev-card {
  position: static;
}

.next-prev-card a {
  display: block;
  padding: 12px 0;
  color: var(--orange-600);
  border-bottom: 1px solid #f1f5f9;
  font-weight: 800;
}

.content-stack {
  display: grid;
  gap: 20px;
}

.content-card p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.8;
}

.empty-state {
  padding: 28px;
  color: var(--gray-500);
  background: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.site-footer {
  color: var(--white);
  background: linear-gradient(180deg, var(--slate-800), var(--slate-900));
}

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

.footer-brand {
  margin-bottom: 14px;
  color: #fed7aa;
  font-size: 22px;
  font-weight: 900;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

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

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

.site-footer a {
  display: block;
  margin: 8px 0;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

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

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

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

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

  .filter-toolbar {
    grid-template-columns: 1fr 1fr;
  }

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

  .ranking-meta {
    display: none;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 62px;
  }

  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 62px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(154, 52, 18, 0.96);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 11px 12px;
    border-radius: 12px;
  }

  .nav-link:hover,
  .nav-link.is-active {
    background: rgba(255, 255, 255, 0.12);
    transform: none;
  }

  .hero-carousel {
    min-height: 660px;
  }

  .hero-content {
    padding-bottom: 92px;
  }

  .hero-actions,
  .search-page-form {
    flex-direction: column;
  }

  .hero-search {
    bottom: 72px;
  }

  .hero-search button {
    padding: 12px 18px;
  }

  .section-heading {
    display: block;
  }

  .section-heading a {
    display: inline-block;
    margin-top: 10px;
  }

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

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

  .movie-card-body strong {
    font-size: 15px;
  }

  .page-hero {
    padding: 34px 24px;
  }

  .filter-toolbar {
    grid-template-columns: 1fr;
  }

  .filter-count {
    text-align: left;
  }

  .ranking-row {
    grid-template-columns: 38px 70px minmax(0, 1fr);
    gap: 12px;
  }

  .ranking-views {
    grid-column: 3;
    text-align: left;
  }

  .detail-card {
    padding: 20px;
  }

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

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

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

  .hero-search {
    border-radius: 24px;
  }
}
