:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --rose: #f43f5e;
  --amber: #f59e0b;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-600: #475569;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 24px 70px rgba(15, 23, 42, 0.25);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 48%, #ecfeff 100%);
}

body.is-locked {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.logo-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.25);
}

.logo-text {
  font-size: 21px;
  line-height: 1;
  color: transparent;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

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

.nav-link {
  position: relative;
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 700;
  transition: color 0.25s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  background: var(--blue);
  transition: transform 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  border-radius: 12px;
  background: #f8fafc;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: var(--slate-800);
}

.quick-bar {
  border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.quick-inner {
  display: flex;
  gap: 10px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px 24px 12px;
  overflow-x: auto;
}

.quick-category {
  flex: 0 0 auto;
  padding: 7px 14px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(59, 130, 246, 0.14);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.8);
  transition: all 0.25s ease;
}

.quick-category:hover {
  color: #ffffff;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
}

.mobile-panel {
  display: none;
  padding: 12px 24px 22px;
  border-top: 1px solid var(--gray-200);
}

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

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

.mobile-link.is-active,
.mobile-link:hover {
  color: var(--blue);
  background: #eff6ff;
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-dark), var(--cyan), var(--teal));
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.26;
  background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.42) 0, rgba(255, 255, 255, 0.42) 2px, transparent 3px);
  background-size: 58px 58px;
}

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

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

.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02);
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(29, 78, 216, 0.98) 0%, rgba(6, 182, 212, 0.82) 45%, rgba(20, 184, 166, 0.36) 100%);
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.34), rgba(2, 6, 23, 0.04));
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 76px 24px 96px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  color: #dffafe;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero h1 {
  max-width: 900px;
  margin: 0 0 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-tags span {
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-primary,
.btn-ghost,
.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  font-weight: 800;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.btn-primary {
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(2, 6, 23, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  background: #eff6ff;
}

.btn-ghost {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-soft {
  color: var(--blue);
  background: #eff6ff;
}

.btn-soft:hover {
  color: #ffffff;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.hero-dots {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: all 0.25s ease;
}

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

.section {
  padding: 72px 24px;
}

.section.white {
  background: #ffffff;
}

.section.blue {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

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

.section-head.center {
  display: block;
  text-align: center;
}

.section-head h2,
.page-hero h1 {
  margin: 0 0 8px;
  color: var(--gray-900);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-head p,
.page-hero p {
  margin: 0;
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.7;
}

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

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

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-box {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.movie-card.featured .poster-box {
  aspect-ratio: 4 / 3;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.12) 68%);
  transition: opacity 0.25s ease;
}

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

.poster-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #ffffff;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.88);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.35);
  transition: all 0.25s ease;
}

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

.year-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  z-index: 3;
  padding: 6px 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.58);
  backdrop-filter: blur(10px);
}

.year-badge {
  right: 12px;
}

.rank-badge {
  left: 12px;
  background: linear-gradient(90deg, #f59e0b, #f43f5e);
}

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

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

.movie-meta,
.movie-desc {
  margin: 0;
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.55;
}

.movie-desc {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.wide-card a {
  display: grid;
  grid-template-columns: 64px 84px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 126px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: all 0.25s ease;
}

.wide-card a:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  box-shadow: var(--shadow);
}

.wide-rank {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.wide-card img {
  width: 84px;
  height: 104px;
  object-fit: cover;
  border-radius: 14px;
}

.wide-card h3 {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wide-card p {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

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

.category-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 24px;
  color: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.category-card:nth-child(2n) {
  background: linear-gradient(135deg, #f43f5e, #fb7185);
}

.category-card:nth-child(3n) {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
}

.category-card:nth-child(4n) {
  background: linear-gradient(135deg, #059669, #14b8a6);
}

.category-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 900;
}

.category-card p,
.category-card span {
  position: relative;
  z-index: 2;
  margin: 0;
}

.category-card p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.category-card span {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 13px;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.category-thumbs {
  position: absolute;
  right: -16px;
  bottom: -18px;
  display: grid;
  grid-template-columns: repeat(2, 72px);
  gap: 8px;
  opacity: 0.34;
  transform: rotate(-6deg);
}

.category-thumbs img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.35);
}

.page-hero {
  padding: 76px 24px;
  background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(150px, 210px));
  gap: 12px;
  align-items: center;
  margin-bottom: 30px;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--gray-900);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  outline: 0;
  background: #ffffff;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.result-count {
  margin: -12px 0 24px;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 700;
}

.detail-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 38px 24px 72px;
}

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

.breadcrumb a {
  color: var(--blue);
  font-weight: 800;
}

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

.player-card,
.info-card,
.sidebar-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.64), rgba(2, 6, 23, 0.12));
  transition: opacity 0.25s ease;
}

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

.play-circle {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  padding-left: 5px;
  font-size: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.42);
}

.info-card {
  padding: 28px;
  margin-top: 22px;
}

.info-card h1 {
  margin: 0 0 14px;
  color: var(--gray-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  font-weight: 900;
}

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

.detail-meta span,
.tag-list span {
  display: inline-flex;
  padding: 7px 12px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  background: #f1f5f9;
}

.detail-section {
  padding-top: 22px;
  border-top: 1px solid var(--gray-200);
}

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

.detail-section h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 900;
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.sidebar-card {
  padding: 22px;
}

.sidebar-card + .sidebar-card {
  margin-top: 22px;
}

.sidebar-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 900;
}

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

.related-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.25s ease;
}

.related-item:hover {
  background: #f8fafc;
}

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

.related-item h3 {
  display: -webkit-box;
  margin: 0 0 6px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-item p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.poster-side {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

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

.pagination-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}

.pagination-strip a,
.pagination-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--gray-700);
  font-weight: 800;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.pagination-strip span {
  color: #ffffff;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
}

.footer-logo {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 900;
}

.footer-brand p,
.footer-links a {
  color: #cbd5e1;
  line-height: 1.8;
}

.footer-links h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a:hover {
  color: #67e8f9;
}

.empty-state {
  display: none;
  padding: 36px;
  text-align: center;
  color: var(--gray-600);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

@media (max-width: 1100px) {
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

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

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

  .mobile-toggle {
    display: block;
  }

  .hero {
    min-height: 620px;
  }

  .hero-image {
    width: 100%;
    opacity: 0.35;
  }

  .hero-slide::before {
    background: linear-gradient(90deg, rgba(29, 78, 216, 0.96), rgba(6, 182, 212, 0.82));
  }

  .section-head {
    display: block;
  }

  .section-head .section-actions {
    margin-top: 18px;
  }

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

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

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

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

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

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

  .hero-inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .featured-grid,
  .movie-grid,
  .compact-grid,
  .category-grid,
  .wide-list {
    grid-template-columns: 1fr;
  }

  .wide-card a {
    grid-template-columns: 52px 76px minmax(0, 1fr);
  }

  .wide-rank {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .wide-card img {
    width: 76px;
    height: 98px;
  }

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

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