:root {
  color-scheme: light;
  --bg: #fff7fb;
  --surface: #ffffff;
  --surface-soft: #fff1f7;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(148, 163, 184, 0.25);
  --pink: #ec4899;
  --purple: #8b5cf6;
  --orange: #f97316;
  --blue: #2563eb;
  --dark: #111827;
  --shadow: 0 20px 55px rgba(88, 28, 135, 0.16);
  --soft-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(236, 72, 153, 0.14), transparent 30rem),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.14), transparent 32rem),
    var(--bg);
}

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: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 247, 251, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.nav-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.28);
}

.brand-text {
  font-size: 20px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link,
.mobile-nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.nav-search input {
  width: 210px;
  border: 0;
  outline: 0;
  padding: 8px 10px;
  background: transparent;
}

.nav-search button,
.primary-btn,
.ghost-btn,
.section-more {
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.nav-search button,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  padding: 11px 20px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover,
.nav-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(139, 92, 246, 0.35);
}

.primary-btn.small {
  padding: 9px 16px;
  font-size: 14px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.ghost-btn.dark {
  color: var(--pink);
  border-color: rgba(236, 72, 153, 0.28);
  background: #fff1f7;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

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

.mobile-nav {
  display: none;
  padding: 0 22px 16px;
}

.hero-carousel {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

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

.hero-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.08);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(236, 72, 153, 0.42), transparent 30%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(88, 28, 135, 0.7) 48%, rgba(15, 23, 42, 0.88));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  min-height: 720px;
  padding: 110px 22px 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 390px;
  align-items: center;
  gap: 52px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffe4f2;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.hero-copy h1 {
  margin: 18px 0 18px;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero-line {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff7fb;
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.55;
  font-weight: 800;
}

.hero-summary {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.8;
}

.hero-tags,
.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin: 24px 0 28px;
}

.hero-tags span,
.detail-tags span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
}

.hero-tags span {
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

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

.hero-poster {
  position: relative;
  display: block;
  transform: rotate(2deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 28px -18px -18px 24px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.7), rgba(139, 92, 246, 0.62));
  filter: blur(16px);
}

.hero-poster img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

.quick-cats,
.content-section,
.page-main,
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.quick-cats {
  padding-top: 72px;
}

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

.section-head.narrow {
  max-width: 900px;
}

.section-head h2,
.page-hero h1,
.category-hero h1,
.detail-copy h1 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-kicker {
  color: var(--pink);
}

.section-more {
  color: var(--pink);
  padding: 10px 16px;
  background: #fff1f7;
  border: 1px solid rgba(236, 72, 153, 0.18);
}

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

.category-card,
.category-overview-card,
.story-card,
.filter-bar,
.rank-panel,
.movie-card,
.ranking-row,
.podium-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.category-card {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: 26px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.movie-card:hover,
.category-overview-card:hover,
.podium-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.82));
}

.category-card span,
.category-card small {
  position: relative;
  z-index: 2;
}

.category-card span {
  font-size: 22px;
  font-weight: 900;
}

.category-card small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.content-section {
  padding-top: 72px;
}

.content-section.no-top {
  padding-top: 32px;
}

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

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

.movie-grid.small-grid,
.movie-grid.all-movies,
.movie-grid.category-movies {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111827;
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.82));
  transition: opacity 0.2s ease;
}

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

.play-chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.32);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  color: #ffffff;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  font-weight: 900;
}

.card-body {
  padding: 16px;
}

.card-title {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.32;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-title:hover {
  color: var(--pink);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.card-meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: #c4b5fd;
}

.card-body p {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-tags {
  margin-top: 12px;
}

.card-tags span,
.detail-tags span {
  padding: 6px 9px;
  color: var(--pink);
  font-size: 12px;
  background: #fff1f7;
}

.rank-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
  border-radius: 28px;
}

.compact-head {
  margin-bottom: 16px;
}

.compact-head h2 {
  font-size: 28px;
}

.mini-row {
  display: grid;
  grid-template-columns: auto 58px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mini-row:last-child {
  border-bottom: 0;
}

.mini-row img {
  width: 58px;
  height: 74px;
  object-fit: cover;
  border-radius: 14px;
}

.mini-rank {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  font-weight: 900;
}

.mini-row strong,
.mini-row em {
  display: block;
}

.mini-row strong {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 15px;
}

.mini-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.page-main {
  padding-top: 42px;
  padding-bottom: 78px;
}

.page-hero,
.category-hero {
  overflow: hidden;
  margin-bottom: 28px;
  border-radius: 34px;
  padding: clamp(36px, 6vw, 72px);
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.42), transparent 24rem),
    linear-gradient(135deg, #111827, #581c87 55%, #be185d);
  box-shadow: var(--shadow);
}

.page-hero h1,
.category-hero h1 {
  color: #ffffff;
}

.page-hero p,
.category-hero p {
  max-width: 780px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.category-hero {
  min-height: 360px;
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center;
}

.category-hero .hero-actions {
  margin-top: 24px;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(150px, 0.6fr));
  gap: 14px;
  border-radius: 26px;
  padding: 18px;
  margin: 26px 0 0;
}

.filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  padding: 13px 14px;
  background: #fffafd;
  color: var(--text);
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  border-radius: 28px;
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-cover img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 22px;
}

.category-overview-card h2 {
  margin: 10px 0 10px;
  font-size: 28px;
  line-height: 1.18;
}

.category-overview-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.preview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.preview-links a {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--pink);
  background: #fff1f7;
  font-size: 13px;
  font-weight: 800;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 26px;
}

.podium-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 30px;
  padding: 22px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.podium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.9));
}

.podium-card span,
.podium-card strong,
.podium-card em {
  position: relative;
  z-index: 2;
}

.podium-card span {
  width: max-content;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  font-weight: 900;
}

.podium-card strong {
  font-size: 28px;
  line-height: 1.15;
}

.podium-card em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
}

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

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

.ranking-row {
  display: grid;
  grid-template-columns: 54px 92px 1fr auto;
  gap: 18px;
  align-items: center;
  border-radius: 24px;
  padding: 14px;
}

.ranking-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  font-size: 18px;
  font-weight: 900;
}

.ranking-cover img {
  width: 92px;
  height: 118px;
  object-fit: cover;
  border-radius: 18px;
}

.ranking-row h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.ranking-row p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.65;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 34px;
  align-items: center;
  padding: 28px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 10%, rgba(236, 72, 153, 0.22), transparent 24rem),
    rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 26px 60px rgba(17, 24, 39, 0.24);
}

.detail-copy h1 {
  margin-bottom: 18px;
}

.detail-line {
  margin: 0 0 20px;
  color: #374151;
  font-size: 20px;
  line-height: 1.75;
  font-weight: 800;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-meta span {
  padding: 10px 12px;
  border-radius: 14px;
  color: #4b5563;
  background: #fffafd;
  border: 1px solid var(--line);
  font-weight: 800;
}

.detail-tags {
  margin-bottom: 24px;
}

.player-section {
  padding-top: 42px;
}

.movie-player {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #050816;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.26);
}

.movie-player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050816;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 14px;
  color: #ffffff;
  text-align: center;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(236, 72, 153, 0.22), transparent 18rem),
    linear-gradient(180deg, rgba(17, 24, 39, 0.28), rgba(17, 24, 39, 0.78));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 18px 45px rgba(236, 72, 153, 0.38);
  font-size: 36px;
}

.player-overlay strong {
  max-width: 80%;
  font-size: clamp(22px, 4vw, 42px);
  line-height: 1.2;
}

.player-status {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 5;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.story-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  padding-top: 36px;
}

.story-card {
  border-radius: 28px;
  padding: 28px;
}

.story-card.accent {
  background: linear-gradient(135deg, #fff1f7, #f5f3ff);
}

.story-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.story-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.9;
  font-size: 16px;
}

.related-section {
  padding-top: 44px;
}

.site-footer {
  padding-top: 46px;
  padding-bottom: 34px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 32px;
  border-radius: 30px;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #581c87 60%, #be185d);
  box-shadow: var(--shadow);
}

.footer-brand {
  color: #ffffff;
  font-size: 24px;
}

.footer-inner p {
  max-width: 560px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

.footer-bottom {
  padding: 18px 4px 0;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

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

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

  .hero-content {
    grid-template-columns: 1fr 300px;
  }

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

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

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

  .rank-panel {
    position: static;
  }

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

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

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

  .mobile-nav-link {
    display: block;
    background: #ffffff;
  }

  .hero-carousel,
  .hero-content {
    min-height: auto;
  }

  .hero-track,
  .hero-slide,
  .hero-bg {
    position: relative;
  }

  .hero-slide {
    display: none;
  }

  .hero-slide.active {
    display: block;
  }

  .hero-bg {
    position: absolute;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 76px;
    padding-bottom: 82px;
  }

  .hero-poster {
    max-width: 280px;
    margin: 0 auto;
  }

  .category-grid,
  .movie-grid,
  .movie-grid.small-grid,
  .movie-grid.all-movies,
  .movie-grid.category-movies,
  .category-overview-grid,
  .podium-grid,
  .detail-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ranking-row {
    grid-template-columns: 44px 76px 1fr;
  }

  .ranking-row .ghost-btn {
    grid-column: 2 / -1;
    width: max-content;
  }

  .detail-hero {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .quick-cats,
  .content-section,
  .page-main,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

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

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

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

  .hero-actions a,
  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .section-head,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .category-grid,
  .movie-grid,
  .movie-grid.small-grid,
  .movie-grid.all-movies,
  .movie-grid.category-movies,
  .category-overview-grid,
  .podium-grid,
  .detail-hero,
  .filter-bar {
    grid-template-columns: 1fr;
  }

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

  .story-card,
  .detail-hero,
  .page-hero,
  .category-hero {
    border-radius: 24px;
    padding: 22px;
  }

  .ranking-row {
    grid-template-columns: 42px 78px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .ranking-row h2 {
    font-size: 18px;
  }

  .footer-inner {
    padding: 24px;
  }
}
