:root {
  --bg-deep: #020617;
  --bg-main: #0f172a;
  --bg-soft: #1e293b;
  --panel: rgba(15, 23, 42, 0.76);
  --panel-strong: rgba(30, 41, 59, 0.88);
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(245, 158, 11, 0.38);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-dark: #94a3b8;
  --accent: #f59e0b;
  --accent-deep: #d97706;
  --danger: #ef4444;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 18px 45px rgba(2, 6, 23, 0.32);
  --shadow-glow: 0 0 0 1px rgba(245, 158, 11, 0.18), 0 24px 80px rgba(245, 158, 11, 0.12);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 10%, rgba(245, 158, 11, 0.16), transparent 26rem),
    radial-gradient(circle at 82% 8%, rgba(14, 165, 233, 0.1), transparent 24rem),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-main) 38%, #111827 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(148, 163, 184, 0.13);
  background: rgba(2, 6, 23, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #fb923c);
  color: #111827;
  box-shadow: var(--shadow-glow);
}

.brand-name {
  font-size: 20px;
  color: var(--text);
}

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

.nav-link,
.mobile-link {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link {
  padding: 9px 14px;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.9);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 10px 24px 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.96);
}

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

.mobile-link {
  display: block;
  padding: 12px 14px;
}

.page-home,
.page-list,
.page-rank,
.page-detail,
.page-player {
  min-height: 70vh;
}

.hero-slider {
  position: relative;
  height: min(72vh, 680px);
  min-height: 560px;
  overflow: hidden;
  background: var(--bg-main);
}

.hero-track,
.hero-slide,
.hero-backdrop,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 620ms ease;
}

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

.hero-backdrop img,
.detail-backdrop img,
.rank-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.hero-backdrop.is-missing-image,
.detail-backdrop.is-missing-image,
.rank-hero-bg.is-missing-image,
.poster-wrap.is-missing-image,
.horizontal-poster.is-missing-image,
.detail-poster.is-missing-image {
  background:
    radial-gradient(circle at 25% 20%, rgba(245, 158, 11, 0.32), transparent 34%),
    linear-gradient(135deg, #1e293b, #020617);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.78) 46%, rgba(15, 23, 42, 0.22) 100%),
    linear-gradient(0deg, var(--bg-main) 0%, rgba(15, 23, 42, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1,
.detail-copy h1,
.rank-hero-content h1,
.player-info h1,
.list-hero h1 {
  max-width: 860px;
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-content p,
.rank-hero-content p,
.player-info p,
.detail-one-line,
.list-hero p {
  max-width: 720px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.62);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

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

.primary-button,
.ghost-button,
.section-more,
.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent), #fb923c);
  color: #111827;
  box-shadow: var(--shadow-glow);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.pagination a:hover {
  transform: translateY(-2px);
}

.ghost-button {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.58);
  color: var(--text);
}

.hero-controls {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: var(--text);
  cursor: pointer;
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  font-size: 28px;
}

.hero-dots {
  display: flex;
  gap: 7px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 99px;
  background: rgba(203, 213, 225, 0.45);
  transition: width 180ms ease, background 180ms ease;
}

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

.quick-search-block,
.content-section,
.detail-body,
.player-wrap,
.sitemap-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 24px;
}

.quick-search-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.13), rgba(30, 41, 59, 0.68));
  box-shadow: var(--shadow-card);
}

.quick-search-inner h2,
.section-heading h2,
.glass-card h2,
.rank-panel h2,
.sitemap-section h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.quick-search-inner p,
.section-heading p,
.rank-panel p {
  margin: 8px 0 0;
  color: var(--muted-dark);
}

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

.section-heading.compact {
  align-items: center;
  margin-bottom: 18px;
}

.section-heading.compact h2 {
  font-size: 24px;
}

.section-more {
  min-height: 38px;
  border: 1px solid rgba(245, 158, 11, 0.26);
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  font-size: 14px;
}

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

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

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

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

.poster-link,
.poster-wrap {
  display: block;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 18px;
  background: #1e293b;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.2);
}

.poster-wrap img,
.horizontal-poster img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease, filter 280ms ease;
}

.movie-card:hover .poster-wrap img,
.horizontal-card:hover .horizontal-poster img {
  transform: scale(1.08);
  filter: brightness(1.06);
}

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

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

.corner-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.74);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.corner-badge {
  top: 10px;
  right: 10px;
  padding: 4px 8px;
}

.rank-badge {
  top: 10px;
  left: 10px;
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #fb923c);
  color: #111827;
}

.card-title {
  margin: 12px 0 4px;
  font-size: 16px;
  line-height: 1.35;
}

.card-title a {
  display: -webkit-box;
  min-height: 2.7em;
  overflow: hidden;
  color: var(--text);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-title a:hover {
  color: #fbbf24;
}

.card-meta,
.card-desc {
  margin: 0;
  color: var(--muted-dark);
  font-size: 13px;
}

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

.split-section,
.rank-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 24px;
}

.split-main .content-section {
  padding: 0;
}

.rank-panel,
.glass-card,
.filter-panel {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.rank-panel {
  padding: 22px;
}

.rank-panel.large {
  align-self: start;
}

.rank-list {
  display: grid;
  gap: 12px;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  transition: background 180ms ease, transform 180ms ease;
}

.horizontal-card:hover {
  background: rgba(30, 41, 59, 0.72);
  transform: translateX(3px);
}

.horizontal-poster {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: #1e293b;
}

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

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

.horizontal-info strong {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.horizontal-info em {
  margin: 3px 0;
  color: #fbbf24;
  font-size: 12px;
  font-style: normal;
}

.horizontal-info small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted-dark);
  font-size: 12px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hot-index {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-right: 6px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  font-size: 12px;
}

.list-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px 28px;
}

.list-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.list-stats span {
  padding: 7px 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.68);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 40px;
}

.pagination a {
  min-width: 44px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(30, 41, 59, 0.74);
  color: var(--muted);
}

.pagination a.is-active {
  border-color: rgba(245, 158, 11, 0.44);
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) minmax(150px, 1fr) minmax(150px, 1fr) auto;
  gap: 16px;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto 8px;
  padding: 22px 24px;
}

.filter-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-field input,
.filter-field select {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.36);
  color: var(--text);
  outline: none;
  padding: 0 14px;
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: rgba(245, 158, 11, 0.58);
}

.filter-result {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted-dark);
  font-size: 14px;
}

.movie-card.is-hidden {
  display: none;
}

.rank-hero,
.detail-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.rank-hero-bg,
.detail-backdrop,
.detail-overlay {
  position: absolute;
  inset: 0;
}

.rank-hero-bg::after,
.detail-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.18)),
    linear-gradient(0deg, var(--bg-main), rgba(15, 23, 42, 0));
}

.rank-hero-content,
.detail-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 24px 60px;
}

.detail-inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  min-height: 560px;
}

.detail-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: #1e293b;
  box-shadow: var(--shadow-card);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 26px;
}

.tag-cloud span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

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

.detail-main {
  display: grid;
  gap: 20px;
}

.glass-card {
  padding: 26px;
}

.glass-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.info-table {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.info-table li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.info-table span {
  color: var(--muted-dark);
}

.info-table strong {
  color: var(--text);
  font-weight: 700;
}

.sticky-panel {
  position: sticky;
  top: 92px;
}

.player-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: center;
  padding-top: 72px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.26);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.16), transparent 30%),
    #020617;
  box-shadow: var(--shadow-card);
}

.player-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #fb923c);
  color: #111827;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-glow);
  transition: opacity 180ms ease, transform 180ms ease;
}

.player-play-button span {
  margin-left: 4px;
  font-size: 30px;
}

.player-frame.is-playing .player-play-button {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.88);
}

.player-status {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.72);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  backdrop-filter: blur(12px);
}

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

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

.sitemap-section {
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 22px;
  background: var(--panel);
}

.sitemap-section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  max-height: 620px;
  margin: 18px 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.sitemap-section a {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sitemap-section a:hover {
  color: #fbbf24;
}

.sitemap-section span {
  color: var(--muted-dark);
  font-size: 12px;
}

.site-footer {
  margin-top: 36px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.74);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1fr 1fr;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 24px;
}

.footer-brand p,
.footer-column a {
  color: var(--muted-dark);
  font-size: 14px;
}

.footer-brand p {
  max-width: 560px;
  margin: 14px 0 0;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px;
}

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

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

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

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

  .menu-toggle {
    display: block;
  }

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

  .quick-search-inner,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .split-section,
  .rank-layout,
  .detail-body,
  .player-wrap {
    grid-template-columns: 1fr;
  }

  .detail-inner {
    grid-template-columns: 190px minmax(0, 1fr);
  }

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

  .filter-field.wide,
  .filter-result {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 720px) {
  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

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

  .hero-content {
    padding: 0 16px 86px;
  }

  .hero-controls {
    right: 16px;
    left: 16px;
    justify-content: center;
  }

  .hero-content h1,
  .detail-copy h1,
  .rank-hero-content h1,
  .player-info h1,
  .list-hero h1 {
    font-size: 36px;
  }

  .quick-search-block,
  .content-section,
  .split-section,
  .rank-layout,
  .detail-body,
  .player-wrap,
  .sitemap-grid {
    padding-right: 16px;
    padding-left: 16px;
  }

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

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

  .detail-inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 78px 16px 40px;
  }

  .detail-poster {
    width: 190px;
  }

  .horizontal-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

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

  .filter-reset {
    width: 100%;
  }

  .sitemap-section ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .movie-grid-standard,
  .movie-grid-list {
    grid-template-columns: 1fr 1fr;
  }

  .card-title {
    font-size: 14px;
  }

  .hero-actions,
  .list-stats {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }
}
