:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-700: #be123c;
  --red-600: #dc2626;
  --pink-500: #ec4899;
  --slate-50: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 22px 55px rgba(15, 23, 42, 0.16);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gray-50);
  color: var(--gray-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--rose-600);
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--red-600));
  box-shadow: 0 12px 22px rgba(225, 29, 72, 0.28);
}

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

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

.nav-link,
.mobile-link {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--gray-600);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--rose-50);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--rose-600);
  transition: transform 0.2s ease;
}

.mobile-nav {
  display: none;
  padding: 0 18px 14px;
  max-width: var(--container);
  margin: 0 auto;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  min-height: 640px;
  background: linear-gradient(135deg, var(--red-600), var(--rose-500) 52%, var(--pink-500));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 255, 255, 0.18), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.22), transparent 22%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.25), transparent 58%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 86px 18px 120px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 20px 0 16px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy h1 span {
  color: #ffe4e6;
}

.hero-copy p,
.page-hero p,
.detail-one-line {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

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

.primary-btn,
.ghost-btn,
.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  min-height: 48px;
  padding: 0 24px;
  color: var(--rose-600);
  background: var(--white);
  box-shadow: 0 16px 30px rgba(127, 29, 29, 0.22);
}

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

.ghost-btn {
  min-height: 48px;
  padding: 0 24px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
}

.ghost-btn.light {
  background: rgba(255, 255, 255, 0.14);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-chips a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #fff1f2;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-chips a:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.hero-media {
  position: relative;
}

.hero-slider {
  position: relative;
  height: 438px;
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 36px 80px rgba(127, 29, 29, 0.35);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

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

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

.hero-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.28), rgba(17, 24, 39, 0.52));
}

.hero-slide-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 9px;
}

.hero-slide-content em,
.compact-info em {
  color: #fecdd3;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.hero-slide-content strong {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
}

.hero-slide-content span {
  color: rgba(255, 255, 255, 0.86);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

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

.hero-side-list {
  position: absolute;
  left: -28px;
  right: 28px;
  bottom: -48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
}

.search-band,
.section-block {
  padding: 56px 0;
}

.search-band {
  padding-top: 28px;
}

.search-band h2,
.section-title-row h2,
.category-overview-card h2,
.text-panel h2,
.info-panel h2 {
  margin: 0 0 8px;
  color: var(--gray-900);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.search-band p,
.section-title-row p,
.category-overview-card p {
  margin: 0;
  color: var(--gray-600);
}

.filter-panel {
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.filter-search input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 2px solid var(--gray-200);
  border-radius: 14px;
  color: var(--gray-900);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

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

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
  margin-top: 16px;
}

.filter-controls label {
  display: grid;
  gap: 5px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-controls select {
  min-width: 150px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  color: var(--gray-800);
  background: var(--gray-50);
}

.clear-filter {
  min-height: 42px;
  padding: 0 15px;
  border: 0;
  border-radius: 12px;
  color: var(--rose-600);
  background: var(--rose-50);
  font-weight: 800;
}

.result-count {
  margin-left: auto;
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 800;
}

.white-block {
  background: var(--white);
}

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

.section-title-row.compact {
  margin-bottom: 18px;
}

.text-link {
  color: var(--rose-600);
  font-weight: 900;
}

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

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

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

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

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

.poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, var(--rose-100), var(--gray-100));
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.year-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.year-badge {
  right: 12px;
  background: var(--rose-500);
}

.rank-badge {
  left: 12px;
  background: linear-gradient(135deg, #111827, #be123c);
}

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

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--rose-600);
  font-size: 12px;
  font-weight: 900;
}

.card-body h3 {
  margin: 8px 0 8px;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.25;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-body p {
  margin: 0 0 12px;
  color: var(--gray-600);
  font-size: 14px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tag {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--rose-700);
  background: var(--rose-50);
  font-size: 12px;
  font-weight: 800;
}

.tag.large {
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff1f2;
}

.watch-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  color: var(--rose-600);
  font-size: 14px;
  font-weight: 900;
}

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

.category-card {
  min-height: 226px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--rose-50), var(--white));
  border: 1px solid var(--rose-100);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.category-card:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--red-600));
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.category-icon {
  font-size: 30px;
}

.category-card strong {
  display: block;
  margin-top: 12px;
  font-size: 20px;
}

.category-card em {
  display: block;
  margin-top: 4px;
  color: var(--rose-600);
  font-style: normal;
  font-weight: 900;
}

.category-card:hover em,
.category-card:hover p,
.category-card:hover .category-samples span {
  color: rgba(255, 255, 255, 0.86);
}

.category-card p {
  margin: 10px 0;
  color: var(--gray-600);
  font-size: 14px;
}

.category-samples {
  display: grid;
  gap: 3px;
  color: var(--gray-500);
  font-size: 12px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
  gap: 30px;
}

.compact-grid,
.rank-stack {
  display: grid;
  gap: 12px;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.compact-card img {
  width: 62px;
  height: 82px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--rose-100);
}

.compact-rank {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--red-600));
  font-weight: 900;
}

.compact-card:has(.compact-rank) {
  grid-template-columns: 34px 62px minmax(0, 1fr);
}

.compact-info {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.compact-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-info em {
  color: var(--gray-500);
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--gray-900), var(--rose-700));
}

.page-hero {
  padding: 78px 0;
}

.simple-hero,
.category-hero,
.rank-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(244, 63, 94, 0.45), transparent 34%),
    linear-gradient(135deg, #111827, #be123c 75%);
}

.page-hero .eyebrow {
  color: #ffe4e6;
}

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

.hero-mini-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px;
  align-items: center;
}

.stat-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.stat-card strong {
  display: block;
  font-size: 58px;
  line-height: 1;
}

.stat-card span,
.stat-card em {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
}

.category-overview-list {
  display: grid;
  gap: 20px;
}

.category-overview-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.category-overview-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.category-overview-head > span {
  font-size: 34px;
}

.small-btn {
  min-height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--red-600));
}

.category-total {
  margin: 14px 0 0;
  color: var(--gray-500);
  font-weight: 800;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 54px 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ranking-num {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--red-600));
  font-weight: 900;
}

.ranking-row img {
  width: 64px;
  height: 82px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--rose-100);
}

.ranking-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.ranking-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-main em,
.ranking-meta {
  color: var(--gray-500);
  font-style: normal;
  font-size: 13px;
}

.ranking-main em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-hero {
  padding: 54px 0 70px;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  filter: blur(16px);
  transform: scale(1.06);
}

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

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.95), rgba(190, 18, 60, 0.76));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  background: var(--rose-100);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-copy h1 {
  font-size: clamp(38px, 6vw, 68px);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.detail-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff1f2;
  font-weight: 800;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #020617;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle, rgba(244, 63, 94, 0.22), rgba(2, 6, 23, 0.72));
  transition: opacity 0.2s ease;
}

.play-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.play-icon {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose-500), var(--red-600));
  box-shadow: 0 20px 44px rgba(244, 63, 94, 0.32);
  font-size: 30px;
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  margin: 0;
  color: #fecdd3;
  text-align: center;
  font-weight: 700;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
}

.text-panel,
.info-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.text-panel p {
  margin: 0 0 22px;
  color: var(--gray-700);
  font-size: 17px;
}

.info-panel dl {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
}

.info-panel dt {
  color: var(--gray-500);
  font-weight: 900;
}

.info-panel dd {
  margin: 0;
  color: var(--gray-800);
}

.inline-links {
  margin-top: 24px;
}

.inline-links h3 {
  margin: 0 0 10px;
}

.inline-links a {
  display: inline-flex;
  margin: 0 8px 8px 0;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--rose-700);
  background: var(--rose-50);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  padding: 50px 0;
  color: #d1d5db;
  background: #111827;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
  gap: 30px;
}

.brand-dark {
  color: var(--white);
}

.footer-brand p {
  max-width: 520px;
  margin: 14px 0 0;
  color: #9ca3af;
}

.footer-count {
  font-weight: 800;
}

.footer-column h3 {
  margin: 0 0 12px;
  color: var(--white);
}

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

.footer-links a {
  color: #9ca3af;
}

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

.is-hidden-by-filter {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero-grid,
  .detail-grid,
  .detail-content,
  .two-col,
  .hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-side-list {
    position: static;
    margin-top: 12px;
  }

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

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

  .menu-toggle {
    display: inline-block;
  }

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

  .hero-section {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 56px;
    padding-bottom: 100px;
  }

  .hero-slider {
    height: 360px;
  }

  .hero-side-list,
  .compact-grid.small {
    grid-template-columns: 1fr;
  }

  .section-title-row,
  .footer-inner,
  .category-overview-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-title-row {
    display: grid;
  }

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

  .card-body h3 {
    font-size: 16px;
  }

  .filter-controls {
    display: grid;
  }

  .filter-controls select,
  .clear-filter {
    width: 100%;
  }

  .result-count {
    margin-left: 0;
  }

  .ranking-row {
    grid-template-columns: 42px 58px minmax(0, 1fr);
  }

  .ranking-meta {
    display: none;
  }

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

  .detail-content {
    gap: 16px;
  }
}

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

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

  .hero-copy p,
  .page-hero p,
  .detail-one-line {
    font-size: 17px;
  }

  .hero-slider {
    height: 310px;
  }
}
