:root {
  --red: #dc2626;
  --red-dark: #b91c1c;
  --orange: #ea580c;
  --green: #14532d;
  --green-soft: #dcfce7;
  --blue: #2563eb;
  --purple: #9333ea;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f9fafb;
  --card: #ffffff;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.78);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 12px 22px rgba(220, 38, 38, 0.28);
}

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

.brand-copy strong {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy small {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--muted);
}

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

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  color: #374151;
  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(--red);
  background: #fef2f2;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #374151;
}

.mobile-nav {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

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

main {
  min-height: 70vh;
}

.hero-carousel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7ed, #fff1f2 46%, #fef2f2);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.8s ease, visibility 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 247, 237, 0.95), rgba(255, 241, 242, 0.84), rgba(17, 24, 39, 0.22)), var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(54px);
  opacity: 0.32;
}

.hero-bg::before {
  width: 360px;
  height: 360px;
  left: 8%;
  top: 18%;
  background: #f97316;
}

.hero-bg::after {
  width: 420px;
  height: 420px;
  right: 8%;
  bottom: 14%;
  background: #dc2626;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 128px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.48fr);
  gap: 48px;
  align-items: center;
}

.eyebrow,
.section-title p,
.page-hero p {
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero-text h1,
.detail-intro h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--red-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-summary {
  width: min(680px, 100%);
  margin: 26px 0 0;
  color: #374151;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.8;
  font-weight: 600;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(254, 226, 226, 0.88);
  font-weight: 800;
  font-size: 0.84rem;
}

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

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

.primary-btn {
  color: #fff;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  box-shadow: 0 18px 36px rgba(220, 38, 38, 0.28);
}

.ghost-btn {
  color: var(--red-dark);
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid rgba(220, 38, 38, 0.38);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 44px rgba(220, 38, 38, 0.24);
}

.hero-poster {
  position: relative;
  justify-self: center;
  width: min(340px, 86vw);
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 34px 70px rgba(15, 23, 42, 0.3);
  transform: rotate(2.2deg);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: inherit;
  pointer-events: none;
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #fee2e2, #fed7aa);
}

.hero-control {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
  font-size: 2.2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-control.prev {
  left: 24px;
}

.hero-control.next {
  right: 24px;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.25);
  transition: width 0.25s ease, background 0.25s ease;
}

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

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

.intro-strip {
  padding-top: 90px;
}

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

.section-title.centered {
  display: block;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-title h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-title span,
.page-hero span {
  display: block;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 600;
}

.section-title a {
  color: var(--red);
  font-weight: 900;
}

.search-panel {
  margin: 0 auto 30px;
}

.search-box {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--line);
}

.search-box span {
  color: var(--red);
  font-size: 1.35rem;
  font-weight: 900;
}

.search-box input {
  flex: 1;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  min-height: 40px;
}

.empty-state {
  display: none;
  margin-top: 22px;
  padding: 28px;
  border-radius: 18px;
  text-align: center;
  color: var(--muted);
  background: #fff;
}

.empty-state.show {
  display: block;
}

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

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  margin: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fee2e2, #ffedd5);
}

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

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

.poster-tag,
.poster-year,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  color: #fff;
  font-weight: 900;
  font-size: 0.74rem;
}

.poster-tag {
  left: 10px;
  top: 10px;
  background: rgba(220, 38, 38, 0.94);
}

.poster-year {
  right: 10px;
  bottom: 10px;
  background: rgba(17, 24, 39, 0.82);
}

.rank-badge {
  right: 10px;
  top: 10px;
  min-width: 30px;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #dc2626);
}

.card-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.card-body h2 {
  margin: 0;
  min-height: 2.75em;
  font-size: 0.98rem;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-meta,
.card-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

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

.category-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1240px) / 2));
  padding-right: max(16px, calc((100% - 1240px) / 2));
  background: linear-gradient(135deg, #052e16, #14532d);
  color: #fff;
}

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

.category-tile,
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.16);
}

.category-tile {
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-tile::before,
.category-card::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.category-tile strong {
  position: relative;
  z-index: 1;
  font-size: 1.6rem;
}

.category-tile p,
.category-tile div,
.category-card p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.category-tile div {
  display: grid;
  gap: 5px;
  font-size: 0.82rem;
}

.category-tile.green,
.category-card.green,
.page-hero.green {
  background: linear-gradient(135deg, #16a34a, #14532d);
}

.category-tile.blue,
.category-card.blue,
.page-hero.blue {
  background: linear-gradient(135deg, #2563eb, #0891b2);
}

.category-tile.purple,
.category-card.purple,
.page-hero.purple {
  background: linear-gradient(135deg, #9333ea, #db2777);
}

.category-tile.orange,
.category-card.orange,
.page-hero.orange {
  background: linear-gradient(135deg, #ea580c, #f59e0b);
}

.split-section {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 34px;
  align-items: start;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}

.compact-card:hover {
  transform: translateX(4px);
  background: #fff7ed;
}

.compact-card img {
  width: 64px;
  height: 86px;
  object-fit: cover;
  border-radius: 12px;
  background: #fee2e2;
}

.compact-card h3 {
  margin: 0 0 6px;
  font-size: 0.94rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.compact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.compact-card > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-weight: 900;
  font-size: 0.78rem;
}

.page-hero {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 120px 16px 56px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #991b1b, #ea580c);
}

.page-hero.small {
  background: linear-gradient(135deg, #7f1d1d, #ea580c 52%, #14532d);
}

.page-hero.ranking-hero {
  background: linear-gradient(135deg, #111827, #7f1d1d 48%, #ea580c);
}

.page-hero.search-hero {
  background: linear-gradient(135deg, #14532d, #166534 50%, #ea580c);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero h1 {
  color: #fff;
  background: none;
  max-width: 980px;
}

.page-hero span {
  max-width: 780px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.88);
}

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

.category-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 250px;
}

.category-cover {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  padding: 16px;
}

.category-cover img {
  width: 100%;
  height: 100%;
  min-height: 92px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
}

.category-card-body {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
}

.category-card h2 {
  margin: 0 0 12px;
  font-size: 1.8rem;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.category-samples a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 700;
  font-size: 0.78rem;
}

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

.rank-feature {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 26px;
  color: #fff;
  box-shadow: var(--shadow);
}

.rank-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.08));
}

.rank-feature div {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.rank-feature span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #fed7aa;
  font-weight: 900;
}

.rank-feature h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.rank-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.detail-hero {
  position: relative;
  min-height: 680px;
  padding: 118px 16px 72px;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(127, 29, 29, 0.72), rgba(17, 24, 39, 0.42)), var(--detail-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

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

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

.detail-poster {
  width: 280px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.36);
  background: #fee2e2;
}

.detail-intro h1 {
  color: #fff;
  background: none;
}

.detail-intro p:not(.eyebrow) {
  max-width: 820px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
  line-height: 1.85;
  font-weight: 600;
}

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

.detail-main,
.detail-aside {
  min-width: 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  background: #050505;
  box-shadow: var(--shadow);
}

.movie-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at center, rgba(220, 38, 38, 0.22), rgba(0, 0, 0, 0.42));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-button {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding-left: 6px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 20px 42px rgba(220, 38, 38, 0.42);
  font-size: 2.15rem;
}

.content-card,
.sticky-panel {
  margin-top: 24px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.content-card h2,
.sticky-panel h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.content-card p {
  margin: 0;
  color: #374151;
  line-height: 1.9;
  font-size: 1rem;
}

.content-card.accent {
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
  border-left: 5px solid var(--red);
}

.movie-info {
  display: grid;
  gap: 12px;
  margin: 0;
}

.movie-info div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.movie-info dt {
  color: var(--muted);
  font-weight: 900;
}

.movie-info dd {
  margin: 0;
  color: #1f2937;
  font-weight: 700;
}

.sticky-panel {
  position: sticky;
  top: 96px;
  margin-top: 0;
}

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

.ranking-list.compact .compact-card img {
  width: 58px;
  height: 78px;
}

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, #052e16, #14532d 52%, #052e16);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.footer-logo span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.footer-brand p,
.footer-block a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.footer-block h2 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  color: #fecaca;
}

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

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

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.9rem;
}

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

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

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

  .sticky-panel {
    position: static;
  }
}

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

  .nav-toggle {
    display: inline-flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 116px;
    text-align: center;
  }

  .hero-summary,
  .hero-tags,
  .hero-actions {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-poster {
    width: min(260px, 70vw);
  }

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

  .category-grid,
  .category-overview,
  .rank-leads {
    grid-template-columns: 1fr;
  }

  .category-card {
    grid-template-columns: 1fr;
  }

  .detail-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .detail-poster {
    margin: 0 auto;
  }

  .detail-intro .hero-tags {
    justify-content: center;
  }

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

@media (max-width: 620px) {
  .header-inner {
    min-height: 66px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-carousel {
    min-height: 850px;
  }

  .hero-control {
    display: none;
  }

  .section {
    padding: 54px 0;
  }

  .section-title {
    display: block;
  }

  .section-title a {
    display: inline-flex;
    margin-top: 14px;
  }

  .cards-6,
  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-body {
    padding: 12px;
  }

  .card-body h2 {
    font-size: 0.92rem;
  }

  .detail-hero {
    min-height: 620px;
  }

  .detail-poster {
    width: 210px;
  }

  .content-card,
  .sticky-panel {
    padding: 20px;
    border-radius: 18px;
  }

  .movie-info div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
