:root {
  --emerald: #059669;
  --emerald-dark: #047857;
  --teal: #0d9488;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 28px rgba(15, 23, 42, 0.1);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition:
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.navbar {
  max-width: 1180px;
  height: 64px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--emerald), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.28);
  transition: transform 0.25s ease;
}

.site-logo:hover .logo-mark {
  transform: scale(1.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  color: var(--slate-700);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--emerald);
}

.top-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 6px;
}

.top-search input,
.mobile-menu input {
  width: 180px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--slate-800);
  padding: 7px 10px;
}

.top-search button,
.mobile-menu button,
.quick-search-card button,
.filter-panel button {
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.2);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 38px;
  height: 38px;
  padding: 8px;
}

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

.mobile-menu {
  display: none;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 18px;
}

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

.mobile-menu a {
  font-weight: 700;
  color: var(--slate-700);
}

.mobile-menu form {
  display: flex;
  gap: 8px;
  background: var(--slate-100);
  border-radius: 16px;
  padding: 8px;
}

.page-shell {
  padding-top: 64px;
}

.hero-slider {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--slate-950);
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(2, 6, 23, 0.88),
    rgba(2, 6, 23, 0.35),
    rgba(2, 6, 23, 0.08)
  );
}

.hero-content {
  position: absolute;
  left: max(22px, calc((100vw - 1180px) / 2 + 20px));
  bottom: 78px;
  width: min(660px, calc(100vw - 44px));
  color: var(--white);
}

.hero-badge,
.card-category,
.detail-tags-top a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--white);
  background: var(--emerald);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-content h1 {
  margin: 18px 0 16px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.hero-content p {
  max-width: 620px;
  margin: 0 0 20px;
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #cbd5e1;
  margin-bottom: 28px;
}

.hero-meta span {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 6px 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.primary-btn {
  color: var(--white);
  background: var(--emerald);
  box-shadow: 0 18px 35px rgba(5, 150, 105, 0.28);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.ghost-btn {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-controls {
  position: absolute;
  right: max(22px, calc((100vw - 1180px) / 2 + 20px));
  bottom: 42px;
  display: flex;
  gap: 10px;
}

.hero-controls button {
  border: 0;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
  transition: background 0.2s ease;
}

.hero-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
}

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

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

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

.content-section,
.quick-search-section,
.category-strip,
.detail-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.content-section,
.category-strip {
  padding: 64px 0;
}

.quick-search-section {
  padding: 36px 0 10px;
}

.quick-search-card {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 620px);
  gap: 24px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

.quick-search-card h2 {
  margin: 0;
  font-size: 28px;
}

.quick-search-card form {
  display: flex;
  gap: 10px;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: var(--slate-50);
  padding: 8px;
}

.quick-search-card input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 14px;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.03em;
}

.section-head a {
  color: var(--emerald);
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card a {
  position: relative;
  display: block;
  height: 390px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  background: var(--slate-900);
}

.feature-card img,
.mini-card img,
.card-cover img,
.related-item img,
.rank-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card img {
  transition: transform 0.55s ease;
}

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

.feature-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.18));
}

.feature-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: var(--white);
}

.feature-content span {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--emerald);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.feature-content h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.feature-content p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  color: #d1d5db;
  line-height: 1.65;
}

.feature-play {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.feature-card:hover .feature-play {
  opacity: 1;
  transform: scale(1);
}

.category-strip {
  background: linear-gradient(
    135deg,
    rgba(236, 253, 245, 0.88),
    rgba(240, 253, 250, 0.88)
  );
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
}

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

.category-tile,
.category-card-large {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.category-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
}

.category-tile:hover,
.category-card-large:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

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

.category-tile span {
  color: var(--slate-500);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.mini-card {
  position: relative;
  display: block;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  background: var(--slate-900);
}

.mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.05));
}

.mini-card img {
  transition: transform 0.45s ease;
}

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

.mini-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.two-column {
  grid-template-columns: repeat(2, 1fr);
}

.rank-item a {
  display: grid;
  grid-template-columns: 52px 92px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 96px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.rank-item a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.rank-number {
  color: var(--emerald);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.rank-item img {
  width: 92px;
  height: 70px;
  border-radius: 12px;
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info em,
.rank-info small {
  display: block;
}

.rank-info strong {
  color: var(--slate-900);
  font-size: 16px;
  margin-bottom: 4px;
}

.rank-info em,
.rank-info small {
  color: var(--slate-500);
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
}

.rank-info small {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.page-hero {
  min-height: 260px;
  display: grid;
  align-items: end;
  padding: 70px max(20px, calc((100vw - 1180px) / 2)) 54px;
}

.gradient-hero {
  color: var(--white);
  background: linear-gradient(120deg, var(--emerald), var(--teal));
}

.page-hero p {
  margin: 0 0 10px;
  opacity: 0.85;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.04em;
}

.page-hero span {
  display: block;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.category-card-large {
  overflow: hidden;
}

.category-main-link {
  display: block;
  padding: 28px;
}

.category-main-link span {
  display: inline-flex;
  color: var(--emerald);
  background: #ecfdf5;
  border-radius: 999px;
  padding: 5px 11px;
  font-weight: 800;
  margin-bottom: 18px;
}

.category-main-link h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.category-main-link p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.7;
}

.category-samples {
  display: grid;
  gap: 8px;
  padding: 0 28px 28px;
}

.category-samples a {
  color: var(--slate-600);
  font-size: 14px;
}

.category-samples a:hover {
  color: var(--emerald);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 360px) 180px 150px;
  gap: 18px;
  align-items: end;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 28px;
}

.filter-panel h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.filter-panel p {
  margin: 0;
  color: var(--slate-500);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--slate-600);
  font-weight: 700;
  font-size: 14px;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: var(--slate-50);
  outline: 0;
  padding: 12px 14px;
  color: var(--slate-800);
}

.filter-count {
  justify-self: end;
  font-weight: 800;
  color: var(--emerald) !important;
}

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

.movie-card[hidden] {
  display: none !important;
}

.card-link {
  display: block;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

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

.card-cover {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--slate-900);
}

.card-cover img {
  transition: transform 0.48s ease;
}

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

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
}

.card-link:hover .card-cover::after {
  background: rgba(0, 0, 0, 0.36);
}

.card-year {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  color: var(--white);
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%) scale(0.68);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--emerald);
  border-radius: 999px;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

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

.card-body {
  padding: 18px;
}

.card-category {
  color: var(--emerald);
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 8px;
}

.card-title {
  margin: 0;
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.card-link:hover .card-title {
  color: var(--emerald);
}

.card-meta,
.card-desc {
  margin: 9px 0 0;
  color: var(--slate-500);
  font-size: 13px;
  line-height: 1.55;
}

.card-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--slate-600);
}

.player-section {
  background: #000000;
}

.player-wrap {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
}

.player-video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  border: 0;
  background: #000000;
  display: grid;
  place-items: center;
}

.player-cover.is-hidden {
  display: none;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.2));
}

.big-play {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  border-radius: 999px;
  font-size: 30px;
  box-shadow: 0 20px 45px rgba(5, 150, 105, 0.38);
}

.player-message {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 3;
  color: var(--white);
  background: rgba(15, 23, 42, 0.75);
  border-radius: 12px;
  padding: 10px 14px;
  display: none;
}

.player-message.is-visible {
  display: block;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 28px;
  padding: 36px 0 72px;
}

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

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

.detail-card,
.side-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

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

.detail-tags-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-tags-top span {
  color: var(--slate-500);
  font-size: 14px;
}

.detail-card h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.detail-card h2 {
  margin: 0 0 14px;
  font-size: 23px;
}

.detail-card p,
.detail-card blockquote {
  color: var(--slate-700);
  line-height: 1.9;
  font-size: 16px;
}

.detail-card blockquote {
  margin: 24px 0;
  border-left: 4px solid var(--emerald);
  background: #ecfdf5;
  border-radius: 0 14px 14px 0;
  padding: 18px 20px;
  font-style: italic;
}

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

.detail-meta span,
.tag-list span {
  color: var(--slate-700);
  background: var(--slate-100);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 14px;
}

.sticky-card {
  position: sticky;
  top: 86px;
}

.side-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

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

.related-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 13px;
  align-items: center;
}

.related-item img {
  width: 118px;
  height: 76px;
  border-radius: 12px;
}

.related-item strong,
.related-item em {
  display: block;
}

.related-item strong {
  font-size: 15px;
  line-height: 1.4;
  color: var(--slate-900);
}

.related-item em {
  margin-top: 5px;
  color: var(--slate-500);
  font-size: 12px;
  font-style: normal;
}

.site-footer {
  color: var(--white);
  background: var(--slate-900);
  margin-top: 40px;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) 1fr;
  gap: 42px;
}

.footer-logo {
  color: var(--white);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.footer-brand p {
  max-width: 520px;
  color: var(--slate-400);
  line-height: 1.8;
}

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

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

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

.footer-grid a {
  color: var(--slate-400);
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: #6ee7b7;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding: 18px 20px;
  text-align: center;
  color: var(--slate-500);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .nav-links,
  .top-search {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .feature-grid,
  .category-tile-grid,
  .category-overview-grid,
  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .filter-count {
    justify-self: start;
  }

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

@media (max-width: 720px) {
  .navbar {
    padding: 0 16px;
  }

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

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

  .hero-content {
    bottom: 96px;
  }

  .hero-meta {
    gap: 8px;
    font-size: 13px;
  }

  .hero-controls {
    right: 20px;
    bottom: 34px;
  }

  .hero-dots {
    left: 22px;
    bottom: 48px;
    transform: none;
  }

  .quick-search-card,
  .feature-grid,
  .category-tile-grid,
  .category-overview-grid,
  .movie-grid,
  .mini-grid,
  .filter-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-search-card form {
    flex-direction: column;
    border-radius: 18px;
  }

  .quick-search-card button {
    width: 100%;
  }

  .rank-item a {
    grid-template-columns: 44px 76px 1fr;
    gap: 10px;
  }

  .rank-item img {
    width: 76px;
    height: 58px;
  }

  .card-cover {
    height: 220px;
  }

  .detail-card,
  .side-card {
    padding: 22px;
  }

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

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