:root {
  --bg: #f8fafc;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #e2e8f0;
  --line: #dbe4ee;
  --dark: #020617;
  --dark-2: #0f172a;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --cyan: #0891b2;
  --emerald: #059669;
  --red: #ef4444;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.10);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(30, 41, 59, 0.98), rgba(69, 26, 3, 0.98));
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #111827;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  margin-top: 3px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a,
.mobile-links a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.mobile-links a:hover {
  color: #fbbf24;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(2, 6, 23, 0.96);
}

.mobile-panel.is-open {
  display: block;
}

.mobile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 0 20px;
}

.mobile-links a {
  padding: 12px 14px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.hero-slider {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #020617;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  min-height: 680px;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 900ms ease;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(245, 158, 11, 0.24), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(8, 145, 178, 0.20), transparent 34%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.82));
}

.hero-slide.is-active {
  z-index: 2;
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) 340px;
  gap: 56px;
  align-items: center;
  padding: 92px 0 146px;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 8px 13px;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-copy h1,
.sub-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero-lead,
.sub-hero p,
.detail-copy p {
  max-width: 780px;
  margin: 22px 0 0;
  color: #e2e8f0;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.tag-row,
.detail-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hero-tags span,
.tag-row span,
.detail-tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: #111827;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.34);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-soft {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.hero-search {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin-top: 30px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(16px);
}

.hero-search input {
  width: 100%;
  min-width: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0 14px;
}

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

.hero-search button {
  border: 0;
  border-radius: 13px;
  padding: 11px 18px;
  color: #111827;
  background: #fbbf24;
  font-weight: 800;
  cursor: pointer;
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: linear-gradient(135deg, #1e293b, #78350f);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.36);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  color: #111827;
  background: #fbbf24;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.hero-thumbs {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 32px;
  margin-top: 560px;
}

.hero-thumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.hero-thumb.is-active {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.24);
  border-color: rgba(245, 158, 11, 0.45);
}

.hero-thumb img {
  width: 44px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
  background: #1e293b;
}

.hero-thumb span {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-section {
  padding: 72px 0;
}

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

.section-green {
  background: linear-gradient(120deg, #ecfdf5, #f0fdfa);
}

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

.section-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-more,
.text-link {
  color: var(--amber-dark);
  font-weight: 900;
}

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

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

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

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

.movie-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.movie-poster {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  background: linear-gradient(135deg, #1e293b, #78350f);
}

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

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, opacity 220ms ease;
}

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

.year-badge,
.rank-badge,
.play-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.year-badge {
  top: 12px;
  right: 12px;
  min-height: 30px;
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.76);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.rank-badge {
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  color: #111827;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.30);
}

.play-float {
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  color: #111827;
  background: rgba(251, 191, 36, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 220ms ease, transform 220ms ease;
}

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

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

.movie-meta-line {
  color: var(--amber-dark);
  font-size: 12px;
  font-weight: 900;
}

.movie-card h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 54px;
  margin: 8px 0 0;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 9px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row {
  margin-top: auto;
}

.tag-row span {
  color: #92400e;
  background: #fffbeb;
}

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

.movie-card-wide .movie-card-link {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
}

.movie-card-wide .movie-poster {
  height: 100%;
  min-height: 210px;
  aspect-ratio: auto;
}

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

.category-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 260px;
  overflow: hidden;
  padding: 22px;
  color: #ffffff;
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.category-tile span,
.category-tile em {
  color: #fde68a;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.category-tile strong {
  margin: 8px 0;
  font-size: 24px;
  line-height: 1.15;
}

.sub-hero {
  color: #ffffff;
  background:
    radial-gradient(circle at 16% 22%, rgba(245, 158, 11, 0.24), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(8, 145, 178, 0.18), transparent 32%),
    linear-gradient(115deg, #020617, #0f172a 58%, #78350f);
  padding: 86px 0 72px;
}

.sub-hero-category {
  background:
    radial-gradient(circle at 10% 10%, rgba(16, 185, 129, 0.22), transparent 32%),
    linear-gradient(115deg, #020617, #0f172a 60%, #064e3b);
}

.sub-hero-ranking {
  background:
    radial-gradient(circle at 14% 14%, rgba(239, 68, 68, 0.22), transparent 30%),
    linear-gradient(115deg, #020617, #111827 58%, #7f1d1d);
}

.sub-hero-search {
  background:
    radial-gradient(circle at 16% 20%, rgba(14, 165, 233, 0.22), transparent 30%),
    linear-gradient(115deg, #020617, #172554 58%, #0e7490);
}

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

.breadcrumb a:hover {
  color: #fbbf24;
}

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

.category-card-large {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.category-card-cover {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 260px;
  padding: 24px;
  color: #ffffff;
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
}

.category-card-cover span {
  color: #fde68a;
  font-weight: 900;
}

.category-card-cover strong {
  margin-top: 8px;
  font-size: 30px;
}

.category-card-body {
  padding: 22px;
}

.category-card-body p {
  margin: 0 0 16px;
  color: var(--muted);
}

.mini-title-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.mini-title-list span {
  overflow: hidden;
  padding: 10px 12px;
  color: #334155;
  background: #f8fafc;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-panel {
  position: sticky;
  top: 76px;
  z-index: 60;
  background: rgba(248, 250, 252, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
  backdrop-filter: blur(18px);
}

.filter-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding: 18px 0;
}

.filter-search,
.filter-selects label {
  display: grid;
  gap: 6px;
}

.filter-search span,
.filter-selects span {
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.filter-search input,
.filter-selects select {
  width: 100%;
  min-height: 44px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #dbe4ee;
  border-radius: 14px;
  outline: 0;
}

.filter-search input {
  padding: 0 14px;
}

.filter-selects {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
}

.filter-selects select {
  padding: 0 36px 0 12px;
}

.empty-state {
  display: none;
  margin: 28px 0 0;
  padding: 24px;
  color: #64748b;
  text-align: center;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
}

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

.detail-hero {
  color: #ffffff;
  background-color: #020617;
  background-size: cover;
  background-position: center;
  padding: 78px 0;
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #1e293b, #78350f);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

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

.player-section {
  padding-bottom: 38px;
}

.compact-heading {
  margin-bottom: 18px;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(2, 6, 23, 0.26);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(245, 158, 11, 0.28), transparent 32%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.72));
  border: 0;
  cursor: pointer;
  transition: opacity 220ms ease, visibility 220ms ease;
}

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

.player-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  color: #111827;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 999px;
  box-shadow: 0 24px 56px rgba(245, 158, 11, 0.36);
  font-size: 34px;
}

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

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

.detail-article,
.detail-side {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.detail-article {
  padding: 30px;
}

.detail-side {
  position: sticky;
  top: 158px;
  padding: 24px;
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.detail-article p {
  margin: 0 0 26px;
  color: #334155;
  font-size: 17px;
}

.info-table {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
}

.info-table div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 14px;
}

.info-table dt {
  color: #64748b;
  font-weight: 900;
}

.info-table dd {
  margin: 0;
  color: #0f172a;
  font-weight: 750;
}

.info-table a {
  color: var(--amber-dark);
}

.detail-tag-cloud span {
  color: #075985;
  background: #e0f2fe;
}

.side-list {
  display: grid;
  gap: 10px;
}

.side-list a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #f8fafc;
  border-radius: 14px;
}

.side-list a:hover {
  background: #fffbeb;
}

.side-list span {
  color: var(--amber-dark);
  font-weight: 900;
}

.side-list strong {
  overflow: hidden;
  color: #0f172a;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(180deg, #0f172a, #020617);
  margin-top: 28px;
  padding: 54px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1.2fr;
  gap: 32px;
}

.footer-brand {
  color: #ffffff;
  font-size: 24px;
}

.site-footer p {
  margin: 14px 0 0;
  color: #94a3b8;
}

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

.footer-links {
  display: grid;
  gap: 10px;
}

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

.footer-links a {
  color: #cbd5e1;
}

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

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

  .nav-toggle {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-poster {
    display: none;
  }

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

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

  .ranking-grid,
  .ranking-list,
  .category-overview-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-slider,
  .hero-slide {
    min-height: 740px;
  }

  .hero-content {
    padding: 78px 0 210px;
  }

  .hero-thumbs {
    grid-template-columns: 1fr;
    margin-top: 540px;
  }

  .hero-thumb:nth-child(n+4) {
    display: none;
  }

  .hero-search {
    flex-direction: column;
  }

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

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

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

  .movie-card h3 {
    min-height: 48px;
    font-size: 16px;
  }

  .movie-card-wide .movie-card-link {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .movie-card-wide .movie-poster {
    min-height: 184px;
  }

  .filter-panel {
    position: static;
  }

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

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

  .detail-poster {
    max-width: 260px;
  }

  .detail-article {
    padding: 22px;
  }

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

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

  .mobile-links,
  .filter-selects {
    grid-template-columns: 1fr;
  }

  .movie-card-wide .movie-card-link {
    grid-template-columns: 1fr;
  }

  .movie-card-wide .movie-poster {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .info-table div {
    grid-template-columns: 1fr;
  }
}
