
:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-500: #ec4899;
  --orange-500: #f97316;
  --amber-50: #fffbeb;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-soft: 0 18px 45px rgba(17, 24, 39, 0.12);
  --shadow-card: 0 12px 30px rgba(17, 24, 39, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--gray-900);
  background: linear-gradient(135deg, var(--amber-50), var(--rose-50) 48%, #fdf2f8);
}

body.nav-open {
  overflow: hidden;
}

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: 50;
  background: rgba(255, 245, 247, 0.92);
  border-bottom: 1px solid rgba(244, 63, 94, 0.12);
  box-shadow: 0 8px 24px rgba(190, 18, 60, 0.08);
  backdrop-filter: blur(16px);
}

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

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

.brand-text,
.footer-brand span:last-child {
  font-size: 24px;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-500), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  font-size: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose-600), var(--pink-500), var(--orange-500));
  box-shadow: 0 10px 22px rgba(225, 29, 72, 0.28);
}

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

.nav-link,
.mobile-link {
  color: var(--gray-700);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

.nav-link:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 8px;
  background: var(--gray-800);
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-link {
  display: block;
  padding: 13px 0;
  border-top: 1px solid var(--gray-200);
}

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

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-500), var(--orange-500));
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  min-height: 620px;
  background-position: center;
  background-size: cover;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
  transition: opacity 0.55s ease, transform 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.86), rgba(190, 18, 60, 0.58) 52%, rgba(249, 115, 22, 0.26)),
    linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.50));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 620px;
}

.hero-copy {
  width: min(680px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--rose-600);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.90);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.7;
}

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

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

.hero-pill,
.meta-pill,
.tag-chip,
.small-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-style: normal;
  font-weight: 800;
}

.hero-pill {
  min-height: 34px;
  padding: 6px 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.meta-pill,
.tag-chip {
  padding: 9px 14px;
  color: var(--rose-700, #be123c);
  background: linear-gradient(90deg, #ffe4e6, #fce7f3);
}

.small-pill {
  padding: 5px 9px;
  color: var(--gray-600);
  background: var(--gray-100);
  font-size: 12px;
}

.small-pill.hot {
  color: var(--rose-600);
  background: var(--rose-100);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  color: var(--rose-600);
  background: #fff;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.18);
}

.btn.secondary {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.btn.light.primary {
  color: var(--rose-600);
  background: #fff;
}

.btn.light.secondary {
  color: #fff;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  font-size: 38px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  cursor: pointer;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.search-band {
  margin-top: -44px;
  position: relative;
  z-index: 8;
}

.search-panel,
.filter-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(244, 63, 94, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.search-panel {
  justify-content: space-between;
}

.search-panel h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: -0.04em;
}

.search-input {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: min(420px, 100%);
}

.search-input span {
  position: absolute;
  left: 18px;
  color: var(--gray-400);
  font-size: 20px;
}

.search-input input,
.filter-panel select {
  width: 100%;
  height: 52px;
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  color: var(--gray-800);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input input {
  padding: 0 18px 0 52px;
}

.filter-panel select {
  max-width: 220px;
  padding: 0 14px;
  cursor: pointer;
}

.search-input input:focus,
.filter-panel select:focus {
  border-color: var(--rose-500);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.10);
}

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

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

.section-head h2,
.center-head h2,
.panel-head h2,
.page-hero h1,
.detail-info-card h1,
.detail-info-card h2,
.side-card h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.section-head h2,
.center-head h2,
.panel-head h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-head p,
.center-head p,
.page-hero p,
.side-card p,
.search-panel p {
  margin: 8px 0 0;
  color: var(--gray-600);
  line-height: 1.7;
}

.section-action,
.panel-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--rose-600);
  font-weight: 900;
}

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

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

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

.movie-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card-link:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 52px rgba(17, 24, 39, 0.16);
}

.poster-box {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose-100), #fed7aa);
}

.poster-box img,
.compact-thumb img,
.cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-box img {
  transition: transform 0.35s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.78));
  transition: opacity 0.25s ease;
}

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

.poster-play,
.compact-play {
  position: absolute;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.poster-play {
  inset: 50% auto auto 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%) scale(0.88);
}

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

.poster-year {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  color: #fff;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.68);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

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

.movie-card-body strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 48px;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card-link:hover strong {
  color: var(--rose-600);
}

.card-desc {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  color: var(--gray-500);
  font-size: 13px;
}

.card-meta em {
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-strip {
  background: #fff;
}

.center-head {
  max-width: 640px;
  margin: 0 auto 34px;
  text-align: center;
}

.category-grid,
.category-overview-grid {
  display: grid;
  gap: 24px;
}

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

.category-card,
.category-overview {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--gray-50), #fff);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover,
.category-overview:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 63, 94, 0.22);
  box-shadow: var(--shadow-card);
}

.category-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--rose-600);
  border-radius: 18px;
  background: var(--rose-100);
  font-size: 18px;
}

.category-card strong,
.category-overview strong {
  display: block;
  color: var(--gray-900);
  font-size: 22px;
  font-weight: 900;
}

.category-card em,
.category-overview em {
  color: var(--gray-600);
  font-style: normal;
  line-height: 1.7;
}

.accent-orange .category-icon {
  color: #ea580c;
  background: #ffedd5;
}

.accent-pink .category-icon {
  color: #db2777;
  background: #fce7f3;
}

.accent-amber .category-icon {
  color: #d97706;
  background: #fef3c7;
}

.accent-blue .category-icon {
  color: #2563eb;
  background: #dbeafe;
}

.accent-purple .category-icon {
  color: #7c3aed;
  background: #ede9fe;
}

.accent-emerald .category-icon {
  color: #059669;
  background: #d1fae5;
}

.accent-slate .category-icon {
  color: #334155;
  background: #e2e8f0;
}

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

.ranking-panel,
.side-card,
.detail-info-card,
.category-overview {
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.ranking-panel {
  position: sticky;
  top: 96px;
  padding: 26px;
}

.compact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compact-list.mini {
  margin-top: 6px;
}

.compact-card {
  display: grid;
  grid-template-columns: auto 94px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.compact-list.mini .compact-card {
  grid-template-columns: 78px minmax(0, 1fr);
}

.compact-list.mini .rank-number {
  display: none;
}

.compact-card:hover {
  background: var(--gray-50);
  transform: translateX(2px);
}

.rank-number {
  width: 38px;
  color: var(--rose-600);
  font-size: 19px;
  font-weight: 950;
  text-align: center;
}

.compact-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rose-100), #fed7aa);
}

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

.compact-play {
  inset: 50% auto auto 50%;
  width: 34px;
  height: 34px;
  font-size: 12px;
  transform: translate(-50%, -50%) scale(0.9);
}

.compact-info {
  display: block;
  min-width: 0;
}

.compact-info strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gray-900);
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.compact-info em {
  display: block;
  overflow: hidden;
  margin-top: 6px;
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-more {
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.22);
}

.collection-band {
  background: linear-gradient(90deg, var(--rose-100), #fce7f3, #ffedd5);
}

.cta-band {
  padding: 70px 0;
  color: #fff;
  text-align: center;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-500), var(--orange-500));
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.05em;
}

.cta-band p {
  max-width: 720px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.7;
}

.cta-actions {
  justify-content: center;
}

.page-shell {
  padding: 44px 0 20px;
}

.page-hero {
  padding: 42px;
  border: 1px solid rgba(244, 63, 94, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
}

.page-hero p {
  max-width: 760px;
  font-size: 18px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--gray-600);
  font-size: 14px;
}

.crumbs a {
  color: var(--rose-600);
  font-weight: 800;
}

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

.category-overview-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.filter-section {
  padding-top: 36px;
}

.filter-panel {
  margin-bottom: 28px;
}

.empty-state {
  margin-top: 30px;
  padding: 60px 20px;
  border-radius: var(--radius-xl);
  color: var(--gray-600);
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.empty-state strong {
  display: block;
  color: var(--gray-800);
  font-size: 24px;
  margin-bottom: 8px;
}

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

.detail-top {
  margin-bottom: 20px;
}

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

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #000;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.30);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at center, rgba(244, 63, 94, 0.12), rgba(17, 24, 39, 0.62));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-start-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  color: var(--rose-600);
  background: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
}

.player-start span:last-child {
  font-size: 18px;
  font-weight: 900;
}

.detail-info-card {
  padding: 30px;
}

.detail-info-card h1 {
  font-size: clamp(32px, 5vw, 48px);
}

.detail-info-card h2 {
  margin-top: 30px;
  margin-bottom: 14px;
  font-size: 24px;
}

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

.lead-text {
  color: var(--gray-900) !important;
  font-size: 19px !important;
  font-weight: 800;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-200);
}

.detail-meta span,
.detail-meta a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--gray-700);
  background: var(--gray-100);
  font-weight: 800;
}

.detail-meta a {
  color: var(--rose-600);
  background: var(--rose-100);
}

.detail-tags {
  margin: 12px 0 4px;
}

.tag-cloud {
  margin-top: 14px;
}

.detail-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-card {
  padding: 22px;
}

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

.cover-card img {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--rose-100), #fed7aa);
}

.cover-card h2 {
  margin-top: 18px;
  font-size: 24px;
}

.site-footer {
  margin-top: 80px;
  color: var(--gray-300);
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 54px 0 36px;
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer p,
.site-footer li {
  color: var(--gray-400);
  line-height: 1.8;
}

.site-footer h2 {
  margin: 4px 0 16px;
  color: #fff;
  font-size: 17px;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a {
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--rose-500);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--gray-400);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .movie-grid,
  .compact-grid,
  .collection-grid,
  .featured-rank-grid,
  .related-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .two-column-section,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .ranking-panel,
  .sticky-card {
    position: static;
  }

  .detail-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .menu-toggle {
    display: block;
  }

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

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

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

  .hero-arrow {
    display: none;
  }

  .search-panel,
  .filter-panel,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .search-input,
  .filter-panel select {
    min-width: 100%;
    max-width: none;
  }

  .movie-grid,
  .compact-grid,
  .collection-grid,
  .featured-rank-grid,
  .related-grid,
  .category-grid,
  .category-overview-grid,
  .ranking-list,
  .footer-grid,
  .detail-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  .nav-shell {
    min-height: 64px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

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

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

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

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

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .movie-grid,
  .compact-grid,
  .collection-grid,
  .featured-rank-grid,
  .related-grid,
  .category-grid,
  .category-overview-grid,
  .ranking-list,
  .footer-grid,
  .detail-side {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .detail-info-card {
    padding: 24px;
  }

  .compact-card {
    grid-template-columns: auto 86px minmax(0, 1fr);
  }
}
