:root {
  --night-950: #0a1929;
  --night-930: #0d2138;
  --night-900: #102a43;
  --night-850: #143654;
  --night-800: #1b3f5f;
  --night-700: #27506f;
  --night-500: #7a8ca0;
  --night-400: #a6b5c5;
  --night-300: #c6d1de;
  --night-200: #e0e8f0;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-600: #d97706;
  --red-500: #ef4444;
  --shadow-night: 0 20px 60px rgba(0, 0, 0, 0.45);
  --glow: 0 0 28px rgba(245, 158, 11, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night-950);
  color: var(--night-200);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  background: rgba(10, 25, 41, 0.9);
  border-bottom: 1px solid rgba(166, 181, 197, 0.12);
  backdrop-filter: blur(18px);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  color: var(--night-950);
  box-shadow: var(--glow);
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--night-300);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--amber-400);
  background: rgba(245, 158, 11, 0.1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

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

.mobile-menu {
  display: none;
  padding: 0 16px 16px;
  background: rgba(10, 25, 41, 0.96);
}

.mobile-menu a {
  display: block;
  padding: 14px 10px;
  color: var(--night-200);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.hero-slider {
  position: relative;
  min-height: 80vh;
  overflow: hidden;
  background: var(--night-950);
}

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

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

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

.hero-slide.active .hero-image {
  animation: heroZoom 8s ease forwards;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 25, 41, 0.95), rgba(10, 25, 41, 0.62), rgba(10, 25, 41, 0.18)), linear-gradient(0deg, var(--night-950), rgba(10, 25, 41, 0.25) 42%, rgba(10, 25, 41, 0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  padding: 128px 0 130px;
}

.hero-copy {
  width: min(760px, 100%);
}

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

.genre-pill,
.card-tags span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-400);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 13px;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.55);
}

.hero-copy p {
  margin: 0;
  max-width: 690px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--night-200);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: var(--night-400);
  font-size: 14px;
}

.hero-meta {
  margin-top: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  color: var(--night-950);
  box-shadow: var(--glow);
}

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

.hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.44);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.68);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 22px;
  transform: translateY(-50%);
}

.hero-next {
  right: 22px;
  transform: translateY(-50%);
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 32px;
  background: var(--amber-500);
}

.hero-search {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
}

.hero-search form {
  display: flex;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(10, 25, 41, 0.82);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-night);
  backdrop-filter: blur(14px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  color: #fff;
  background: transparent;
  padding: 18px 20px;
  outline: 0;
}

.hero-search button {
  border: 0;
  padding: 0 26px;
  background: var(--amber-500);
  color: var(--night-950);
  font-weight: 800;
  cursor: pointer;
}

.section {
  padding: 76px 0;
}

.section-dark {
  background: var(--night-950);
}

.section-alt {
  background: linear-gradient(180deg, var(--night-900), var(--night-950));
}

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

.section-head.compact {
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--amber-400);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-head h2,
.compact-hero h1,
.content-card h2 {
  margin: 0;
  color: #fff;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-head a {
  color: var(--amber-400);
  font-weight: 700;
}

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

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

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

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

.movie-card {
  min-width: 0;
}

.card-link,
.movie-card > a,
.list-card > a,
.ranking-row > a {
  display: block;
  height: 100%;
}

.card-link {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(16, 42, 67, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.card-link:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.32);
  box-shadow: var(--shadow-night);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--night-800);
}

.poster .card-media {
  aspect-ratio: 2 / 3;
}

.wide .card-media {
  aspect-ratio: 16 / 9;
}

.card-media img,
.list-thumb img,
.ranking-row img,
.poster-card img,
.category-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.05) 56%, rgba(0, 0, 0, 0));
  opacity: 0.92;
}

.rating-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.66);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.play-hover {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--amber-500);
  color: var(--night-950);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: var(--glow);
}

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

.card-body {
  padding: 17px;
}

.card-body h3,
.list-content h3,
.ranking-row h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
}

.card-desc,
.list-content p,
.ranking-row p {
  margin: 0 0 12px;
  color: var(--night-400);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.poster .card-desc {
  display: none;
}

.poster .card-tags {
  display: none;
}

.poster .card-body h3 {
  min-height: 46px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
}

.category-grid,
.category-overview-grid {
  display: grid;
  gap: 22px;
}

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

.category-card,
.category-overview-card a {
  display: block;
  min-height: 160px;
  padding: 24px;
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 40%), rgba(16, 42, 67, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.category-card:hover,
.category-overview-card a:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.28);
}

.category-card span,
.category-overview-body h2 {
  display: block;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.category-card p,
.category-overview-body p,
.category-card small {
  color: var(--night-400);
  line-height: 1.65;
}

.category-card small {
  display: block;
  margin-top: 18px;
  color: var(--amber-400);
}

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

.list-stack,
.mini-list {
  display: grid;
  gap: 14px;
}

.list-card a {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(16, 42, 67, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.list-card a:hover {
  background: rgba(27, 63, 95, 0.74);
  border-color: rgba(245, 158, 11, 0.24);
}

.list-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: var(--night-800);
}

.mini-list .list-card a {
  grid-template-columns: 88px minmax(0, 1fr);
}

.mini-list .card-meta,
.mini-list .list-content p {
  display: none;
}

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

.ranking-row a {
  display: grid;
  grid-template-columns: 54px 94px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(16, 42, 67, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ranking-row a:hover {
  transform: translateX(4px);
  border-color: rgba(245, 158, 11, 0.25);
}

.rank-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--night-300);
  font-weight: 900;
}

.ranking-row.top .rank-no {
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  color: var(--night-950);
  box-shadow: var(--glow);
}

.ranking-row img {
  width: 94px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: var(--night-800);
}

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

.compact-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 58px;
  background: radial-gradient(circle at 18% 0, rgba(245, 158, 11, 0.2), transparent 34%), linear-gradient(180deg, var(--night-900), var(--night-950));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compact-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
}

.compact-hero p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--night-300);
  line-height: 1.8;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--night-400);
}

.breadcrumb a {
  color: var(--amber-400);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(16, 42, 67, 0.62);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(10, 25, 41, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

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

.filter-btn,
.sort-select {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 25, 41, 0.72);
  color: var(--night-200);
}

.filter-btn {
  padding: 0 13px;
  cursor: pointer;
}

.filter-btn.is-active,
.filter-btn:hover {
  border-color: rgba(245, 158, 11, 0.38);
  color: var(--amber-400);
  background: rgba(245, 158, 11, 0.1);
}

.sort-select {
  padding: 0 13px;
  outline: 0;
}

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

.category-overview-card a {
  padding: 0;
  overflow: hidden;
}

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  height: 170px;
  background: var(--night-800);
}

.category-overview-body {
  padding: 24px;
}

.category-overview-body span {
  color: var(--amber-400);
  font-weight: 800;
}

.detail-hero {
  position: relative;
  padding: 150px 0 72px;
  overflow: hidden;
  background: var(--night-950);
}

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(16px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.36;
}

.detail-bg-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 41, 0.72), var(--night-950));
}

.detail-hero .container-custom {
  position: relative;
  z-index: 2;
}

.detail-title-row h1 {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
}

.detail-title-row p {
  max-width: 840px;
  color: var(--night-300);
  line-height: 1.8;
  font-size: 18px;
}

.detail-section {
  padding-top: 0;
}

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

.detail-main,
.detail-aside {
  display: grid;
  align-content: start;
  gap: 22px;
}

.player-card,
.content-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(16, 42, 67, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: var(--amber-500);
  color: var(--night-950);
  box-shadow: var(--glow);
  font-size: 28px;
}

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

.content-card {
  padding: 24px;
}

.content-card h2 {
  margin-bottom: 16px;
  font-size: 24px;
}

.content-card p {
  margin: 0;
  color: var(--night-300);
  line-height: 1.9;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  object-fit: cover;
  background: var(--night-800);
}

.poster-card .tag-cloud {
  margin-top: 18px;
}

.meta-grid {
  display: grid;
  gap: 10px;
}

.meta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(10, 25, 41, 0.6);
}

.meta-box span {
  color: var(--night-500);
}

.meta-box strong {
  color: var(--night-100);
  text-align: right;
}

.site-footer {
  padding: 42px 0;
  background: #081522;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  color: var(--night-500);
  max-width: 520px;
  margin: 14px 0 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--night-400);
}

.footer-links a:hover {
  color: var(--amber-400);
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--amber-500);
  color: var(--night-950);
  font-weight: 900;
  box-shadow: var(--glow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.is-hidden-card {
  display: none !important;
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@media (max-width: 1180px) {
  .grid-5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

  .menu-toggle {
    display: flex;
  }

  .hero-arrow {
    display: none;
  }

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

  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

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

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

  .ranking-row a {
    grid-template-columns: 42px 82px minmax(0, 1fr);
  }

  .ranking-row img {
    width: 82px;
  }
}

@media (max-width: 640px) {
  .container-custom {
    width: min(100% - 22px, 1280px);
  }

  .site-logo {
    font-size: 18px;
  }

  .hero-slider,
  .hero-content {
    min-height: 760px;
  }

  .hero-copy p {
    -webkit-line-clamp: 4;
    font-size: 16px;
  }

  .hero-search form {
    border-radius: 14px;
  }

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

  .section {
    padding: 54px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-grid,
  .grid-4,
  .grid-5,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

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

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

  .card-meta,
  .card-desc {
    font-size: 12px;
  }

  .card-desc,
  .card-tags {
    display: none;
  }

  .list-card a {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .list-thumb {
    aspect-ratio: 2 / 3;
  }

  .ranking-row a {
    grid-template-columns: 34px 68px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .rank-no {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 13px;
  }

  .ranking-row img {
    width: 68px;
    aspect-ratio: 2 / 3;
  }

  .detail-hero {
    padding-top: 120px;
  }

  .content-card {
    padding: 18px;
  }

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

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
