:root {
  color-scheme: dark;
  --slate-950: #020617;
  --slate-925: #07111f;
  --slate-900: #0f172a;
  --slate-850: #141f33;
  --slate-800: #1e293b;
  --slate-750: #263449;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --white: #ffffff;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-300: #fcd34d;
  --amber-soft: rgba(251, 191, 36, 0.18);
  --panel: rgba(30, 41, 59, 0.56);
  --panel-strong: rgba(15, 23, 42, 0.86);
  --border: rgba(148, 163, 184, 0.22);
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.42);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--slate-200);
  background:
    radial-gradient(circle at 18% 4%, rgba(251, 191, 36, 0.15), transparent 28rem),
    radial-gradient(circle at 86% 0%, rgba(59, 130, 246, 0.12), transparent 30rem),
    linear-gradient(180deg, var(--slate-950), var(--slate-900) 48%, var(--slate-950));
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(251, 191, 36, 0.32);
  font-size: 14px;
}

.brand-text,
.footer-brand {
  font-size: 22px;
  background: linear-gradient(90deg, var(--amber-400), #fff1b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-link,
.mobile-link {
  position: relative;
  color: var(--slate-300);
  font-weight: 700;
  transition: color 0.24s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--amber-400);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 3px;
  border-radius: 999px;
  background: var(--amber-400);
}

.header-search {
  position: relative;
  width: 270px;
}

.header-search input,
.mobile-search input,
.filter-input-wrap input {
  width: 100%;
  color: var(--white);
  background: rgba(51, 65, 85, 0.56);
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.header-search input {
  height: 40px;
  padding: 0 44px 0 18px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-input-wrap input:focus {
  border-color: var(--amber-400);
  background: rgba(51, 65, 85, 0.86);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.08);
}

.header-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  color: var(--amber-400);
  background: transparent;
  border: 0;
  font-size: 22px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  background: rgba(51, 65, 85, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--slate-200);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4px 0 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

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

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.mobile-search input {
  height: 42px;
  padding: 0 16px;
}

.mobile-search button,
.btn-primary,
.btn-ghost,
.section-more,
.filter-chip {
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.mobile-search button,
.btn-primary {
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
  box-shadow: 0 16px 34px rgba(251, 191, 36, 0.24);
}

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

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.2)),
    linear-gradient(0deg, var(--slate-950), rgba(2, 6, 23, 0.72) 28%, transparent 72%);
}

.hero-content {
  position: absolute;
  left: max(32px, calc((100vw - 1240px) / 2));
  bottom: 70px;
  width: min(760px, calc(100% - 64px));
  z-index: 2;
}

.hero-tags,
.hero-meta,
.hero-actions,
.card-meta,
.detail-meta,
.horizontal-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags a,
.hero-tags span,
.category-pill,
.rating-pill,
.rank-badge,
.filter-chip.active {
  color: var(--slate-950);
  background: var(--amber-400);
  border-radius: 999px;
  font-weight: 900;
}

.hero-tags a,
.hero-tags span {
  padding: 9px 16px;
}

.hero h1 {
  margin: 20px 0 14px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.64);
}

.hero p {
  margin: 0 0 22px;
  color: var(--slate-200);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.7;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.72);
}

.hero-meta {
  color: var(--slate-300);
  font-weight: 700;
}

.hero-meta span + span::before {
  content: "•";
  margin-right: 12px;
  color: var(--slate-500);
}

.hero-actions {
  margin-top: 30px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
}

.btn-primary:hover,
.btn-ghost:hover,
.section-more:hover,
.filter-chip:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--white);
  background: rgba(15, 23, 42, 0.66);
  border: 1px solid rgba(226, 232, 240, 0.26);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  color: var(--white);
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(226, 232, 240, 0.22);
  border-radius: 50%;
  font-size: 42px;
  line-height: 1;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.hero-arrow:hover {
  color: var(--slate-950);
  background: var(--amber-400);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

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

.feature-band {
  width: min(1240px, calc(100% - 32px));
  padding: 54px 28px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.52), rgba(30, 41, 59, 0.46));
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

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

.section-heading > div {
  min-width: 0;
}

.section-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  place-items: center;
  color: var(--slate-950);
  background: var(--amber-400);
  border-radius: 12px;
  font-weight: 900;
}

.section-heading h2 {
  display: inline;
  margin: 0;
  color: var(--white);
  font-size: clamp(28px, 4vw, 38px);
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--slate-400);
  line-height: 1.7;
}

.section-more {
  flex: 0 0 auto;
  padding: 11px 18px;
  color: var(--amber-300);
  background: rgba(251, 191, 36, 0.09);
  border: 1px solid rgba(251, 191, 36, 0.22);
}

.card-grid,
.large-grid,
.mini-grid {
  display: grid;
  gap: 22px;
}

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

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

.card-grid.six-cols,
.mini-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.movie-card,
.movie-card-large,
.movie-card-horizontal {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.24);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.movie-card,
.movie-card-large {
  display: block;
  border-radius: var(--radius-md);
}

.movie-card-large {
  min-height: 260px;
  border-radius: var(--radius-lg);
}

.movie-card:hover,
.movie-card-large:hover,
.movie-card-horizontal:hover {
  transform: translateY(-6px);
  background: rgba(30, 41, 59, 0.82);
  border-color: rgba(251, 191, 36, 0.52);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.44);
}

.poster,
.poster-wide,
.poster-side {
  position: relative;
  overflow: hidden;
  background: var(--slate-800);
}

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

.poster-wide {
  aspect-ratio: 16 / 9;
  height: 100%;
}

.poster-side {
  width: 164px;
  min-height: 178px;
  flex: 0 0 164px;
}

.poster img,
.poster-wide img,
.poster-side img,
.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.movie-card:hover img,
.movie-card-large:hover img,
.movie-card-horizontal:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.05);
}

.rating-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 9px;
  color: var(--amber-400);
  background: rgba(2, 6, 23, 0.88);
  font-size: 13px;
  border: 1px solid rgba(251, 191, 36, 0.22);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  font-size: 12px;
}

.poster .rank-badge,
.poster-wide .rank-badge {
  position: absolute;
  left: 10px;
  top: 10px;
}

.card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.44), transparent);
}

.category-pill {
  display: inline-flex;
  padding: 7px 11px;
  margin-bottom: 12px;
  font-size: 13px;
}

.category-pill.small {
  margin-bottom: 0;
  padding: 5px 9px;
  font-size: 12px;
}

.movie-card h3,
.movie-card-large h3,
.movie-card-horizontal h3 {
  margin: 0;
  color: var(--white);
  transition: color 0.24s ease;
}

.movie-card:hover h3,
.movie-card-large:hover h3,
.movie-card-horizontal:hover h3 {
  color: var(--amber-400);
}

.card-overlay h3 {
  margin-bottom: 9px;
  font-size: 26px;
  line-height: 1.2;
}

.card-overlay p,
.card-body p,
.horizontal-body p {
  color: var(--slate-300);
  line-height: 1.6;
}

.card-overlay p {
  margin: 0 0 14px;
}

.card-body {
  padding: 14px;
}

.card-body h3 {
  min-height: 44px;
  font-size: 16px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body p {
  min-height: 46px;
  margin: 9px 0 12px;
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  justify-content: space-between;
  color: var(--slate-400);
  font-size: 12px;
}

.card-meta span:first-child {
  padding: 5px 8px;
  background: rgba(51, 65, 85, 0.72);
  border-radius: 8px;
}

.card-meta.muted {
  justify-content: flex-start;
  gap: 14px;
}

.card-meta.muted span:first-child {
  padding: 0;
  background: transparent;
}

.movie-card-horizontal {
  display: flex;
  gap: 18px;
  border-radius: var(--radius-md);
}

.horizontal-body {
  min-width: 0;
  padding: 18px 18px 18px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.horizontal-body h3 {
  margin: 10px 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.horizontal-body p {
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-rating {
  color: var(--amber-400);
  font-weight: 900;
}

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

.full-rank-list {
  margin-bottom: 34px;
}

.page-main {
  min-height: 70vh;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.18), transparent 22rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.68));
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.compact-hero {
  padding: 82px 0 70px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 13px;
  color: var(--slate-950);
  background: var(--amber-400);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.1;
}

.page-hero p {
  width: min(720px, 100%);
  margin: 18px 0 0;
  color: var(--slate-300);
  font-size: 18px;
  line-height: 1.8;
}

.filter-bar {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 20px;
  align-items: center;
}

.filter-input-wrap input {
  height: 48px;
  padding: 0 18px;
}

.filter-input-wrap.large input {
  height: 56px;
  font-size: 17px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  padding: 11px 17px;
  color: var(--slate-300);
  background: rgba(30, 41, 59, 0.64);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.filter-item.is-hidden {
  display: none;
}

.category-overview {
  display: grid;
  gap: 28px;
  padding: 56px 0 70px;
}

.category-panel {
  padding: 26px;
  background: rgba(15, 23, 42, 0.54);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.category-panel-link {
  display: block;
  margin-bottom: 24px;
}

.category-kicker {
  color: var(--amber-400);
  font-weight: 900;
}

.category-panel h2 {
  margin: 8px 0 10px;
  color: var(--white);
  font-size: 31px;
}

.category-panel p {
  margin: 0;
  color: var(--slate-400);
  line-height: 1.7;
}

.detail-main {
  min-height: 100vh;
}

.detail-backdrop {
  position: relative;
  height: 50vh;
  min-height: 390px;
  background-size: cover;
  background-position: center;
}

.detail-backdrop-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--slate-950), rgba(2, 6, 23, 0.78) 42%, rgba(2, 6, 23, 0.36)),
    linear-gradient(90deg, rgba(2, 6, 23, 0.8), transparent 68%);
}

.detail-shell {
  position: relative;
  z-index: 2;
  margin-top: -240px;
  padding-bottom: 70px;
}

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

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

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

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.42));
  border: 0;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(251, 191, 36, 0.34);
  font-size: 30px;
  transform: scale(1);
  transition: transform 0.24s ease;
}

.player-overlay:hover .play-icon {
  transform: scale(1.08);
}

.detail-card,
.info-card,
.poster-card {
  background: rgba(30, 41, 59, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.detail-card {
  margin-top: 28px;
  padding: 30px;
}

.detail-card h1 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
}

.detail-meta {
  margin-bottom: 28px;
  color: var(--slate-300);
}

.detail-meta span,
.detail-meta a {
  padding: 8px 12px;
  background: rgba(51, 65, 85, 0.72);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.detail-meta span:first-child,
.detail-meta a {
  color: var(--amber-400);
  background: rgba(251, 191, 36, 0.12);
}

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

.detail-card h2,
.info-card h2 {
  margin: 0 0 12px;
  color: var(--amber-400);
  font-size: 22px;
}

.detail-card p {
  margin: 0;
  color: var(--slate-300);
  line-height: 1.9;
  font-size: 16px;
}

.detail-card .lead {
  margin-bottom: 12px;
  color: var(--slate-100);
  font-size: 18px;
  font-weight: 700;
}

.tag-cloud div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  padding: 7px 11px;
  color: var(--slate-300);
  background: rgba(51, 65, 85, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  font-size: 13px;
}

.detail-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 20px;
}

.poster-card {
  overflow: hidden;
}

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

.info-card {
  padding: 24px;
}

.info-card dl {
  margin: 0;
  display: grid;
  gap: 16px;
}

.info-card dt {
  color: var(--slate-400);
  font-size: 13px;
}

.info-card dd {
  margin: 4px 0 0;
  color: var(--white);
  font-weight: 800;
  line-height: 1.55;
}

.info-card a {
  color: var(--amber-300);
}

.related-section {
  padding-bottom: 0;
}

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

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 26px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}

.footer-inner p {
  margin: 14px 0 0;
  color: var(--slate-400);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-links a {
  color: var(--slate-300);
  font-weight: 700;
}

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

.footer-copy {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 26px;
  color: var(--slate-500);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .large-grid,
  .card-grid.four-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .detail-side {
    position: static;
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 920px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner {
    gap: 14px;
  }

  .hero {
    height: 72vh;
    min-height: 520px;
  }

  .hero-content {
    left: 24px;
    bottom: 64px;
    width: calc(100% - 48px);
  }

  .hero-arrow {
    display: none;
  }

  .large-grid,
  .card-grid.four-cols,
  .card-grid.six-cols,
  .mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rank-list {
    grid-template-columns: 1fr;
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .container,
  .header-inner,
  .mobile-nav,
  .footer-inner,
  .footer-copy,
  .feature-band {
    width: min(100% - 24px, 1240px);
  }

  .brand-text {
    font-size: 20px;
  }

  .hero {
    min-height: 560px;
  }

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

  .hero p {
    font-size: 16px;
  }

  .hero-tags,
  .hero-meta,
  .hero-actions {
    gap: 9px;
  }

  .content-section {
    padding: 42px 0;
  }

  .feature-band {
    padding: 38px 16px;
  }

  .section-heading {
    display: block;
  }

  .section-more {
    display: inline-flex;
    margin-top: 18px;
  }

  .large-grid,
  .card-grid.four-cols,
  .card-grid.six-cols,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-card-large {
    min-height: 220px;
  }

  .card-overlay {
    padding: 18px;
  }

  .card-overlay h3 {
    font-size: 21px;
  }

  .card-overlay p {
    display: none;
  }

  .movie-card-horizontal {
    gap: 12px;
  }

  .poster-side {
    width: 112px;
    min-height: 146px;
    flex-basis: 112px;
  }

  .horizontal-body {
    padding: 12px 12px 12px 0;
  }

  .horizontal-body p {
    display: none;
  }

  .detail-shell {
    margin-top: -180px;
  }

  .detail-card {
    padding: 22px;
  }

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

  .poster-card {
    display: none;
  }

  .play-icon {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
}

@media (max-width: 460px) {
  .card-grid.six-cols,
  .card-grid.four-cols,
  .large-grid,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .card-body {
    padding: 12px;
  }

  .card-body h3 {
    min-height: 40px;
    font-size: 14px;
  }

  .card-body p {
    display: none;
  }

  .rating-pill {
    font-size: 12px;
  }

  .compact-hero {
    padding: 58px 0 48px;
  }
}
