:root {
  --color-primary: #ec4899;
  --color-primary-dark: #db2777;
  --color-secondary: #f97316;
  --color-accent: #facc15;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-soft: #fff7ed;
  --color-white: #ffffff;
  --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.08);
  --shadow-strong: 0 24px 60px rgba(236, 72, 153, 0.25);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  color: var(--color-text);
  background: #fffaf7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  min-height: 60vh;
}

.container,
.navbar,
.footer-inner,
.footer-bottom {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(14px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  border-radius: 50%;
  background: linear-gradient(135deg, #f472b6, #fb923c);
  box-shadow: 0 12px 26px rgba(236, 72, 153, 0.26);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  color: var(--color-muted);
  font-size: 12px;
}

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

.nav-link {
  position: relative;
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-primary-dark);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #374151;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-border);
  background: #fff;
  padding: 12px 16px 18px;
}

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

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  border-radius: 14px;
  color: #374151;
  font-weight: 700;
}

.mobile-nav-link.is-active,
.mobile-nav-link:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.hero-carousel {
  position: relative;
  height: min(720px, calc(100vh - 76px));
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #f472b6, #fb923c 56%, #facc15);
}

.hero-background-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.45), transparent 28%),
    radial-gradient(circle at 76% 12%, rgba(250, 204, 21, 0.36), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(236, 72, 153, 0.35), transparent 30%);
  opacity: 0.85;
}

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

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

.hero-slide img {
  position: absolute;
  right: max(32px, calc((100vw - var(--max-width)) / 2));
  bottom: 70px;
  width: min(34vw, 380px);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 34px 80px rgba(17, 24, 39, 0.35);
  transform: rotate(3deg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
}

.hero-slide.image-missing img,
.poster-wrap.image-missing img,
.detail-poster.image-missing img,
.detail-backdrop.image-missing img {
  opacity: 0;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.52), rgba(17, 24, 39, 0.18) 48%, rgba(17, 24, 39, 0.48));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  max-width: 720px;
  padding-right: min(42vw, 480px);
}

.eyebrow,
.section-heading span,
.section-title-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.hero-copy p,
.page-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 2vw, 22px);
}

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

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

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

.primary-btn {
  color: var(--color-primary-dark);
  background: #fff;
  box-shadow: var(--shadow-strong);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover {
  transform: translateY(-2px) scale(1.02);
}

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

.ghost-btn.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.56);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 999px;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.stats-section,
.content-section {
  padding: 72px 0;
}

.content-section.compact {
  padding: 46px 0;
}

.soft-bg {
  background: linear-gradient(135deg, #fff7ed, #fdf2f8 50%, #fefce8);
}

.stats-section {
  background: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.stat-card,
.category-card,
.info-card,
.article-card,
.player-card,
.ranking-box,
.filter-panel,
.cta-card {
  border: 1px solid rgba(229, 231, 235, 0.78);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 30px;
  text-align: center;
  transition: transform 0.2s ease;
}

.stat-card:hover,
.category-card:hover,
.movie-card:hover,
.info-card:hover {
  transform: translateY(-4px);
}

.stat-card strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  font-weight: 950;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: #1f2937;
  font-size: 20px;
  font-weight: 900;
}

.stat-card p {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading span,
.section-title-row span {
  color: var(--color-primary-dark);
  background: #fff;
  border-color: rgba(236, 72, 153, 0.12);
}

.section-heading h2,
.section-title-row h2,
.ranking-head h2 {
  margin: 12px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 950;
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading p,
.section-title-row p {
  margin: 0;
  color: var(--color-muted);
  font-size: 17px;
}

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

.movie-card {
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
  box-shadow: 0 22px 42px rgba(236, 72, 153, 0.16);
}

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

.movie-card-link {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fbcfe8, #fed7aa 58%, #fef3c7);
}

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

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

.poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.44);
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding-left: 4px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.24);
}

.card-badge,
.score-pill {
  position: absolute;
  z-index: 2;
  padding: 6px 10px;
  color: #fff;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.card-badge {
  top: 10px;
  left: 10px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.score-pill {
  right: 10px;
  bottom: 10px;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(10px);
}

.movie-card-body {
  padding: 16px;
}

.movie-card-body h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 8px;
  overflow: hidden;
  color: #111827;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-body p {
  display: -webkit-box;
  height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 12px;
}

.movie-meta span,
.detail-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f4f6;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag-row span {
  padding: 5px 8px;
  color: var(--color-primary-dark);
  border-radius: 999px;
  background: #fdf2f8;
  font-size: 12px;
  font-weight: 700;
}

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

.category-card {
  position: relative;
  display: block;
  padding: 26px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: auto -30px -44px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(249, 115, 22, 0.24));
}

.category-card.large {
  min-height: 170px;
}

.category-count {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 11px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  font-weight: 900;
  font-size: 13px;
}

.category-card h3 {
  position: relative;
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 950;
}

.category-card p {
  position: relative;
  margin: 0;
  color: var(--color-muted);
}

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

.ranking-box {
  position: sticky;
  top: 100px;
  padding: 24px;
}

.ranking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ranking-head span {
  color: #fff;
  padding: 7px 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  font-weight: 900;
}

.ranking-head h2 {
  margin: 0;
  font-size: 26px;
}

.ranking-head a,
.text-link {
  color: var(--color-primary-dark);
}

.ranking-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-list a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 48px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #fff7ed;
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score {
  color: var(--color-secondary);
  font-weight: 900;
}

.cta-section {
  padding: 74px 0;
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #f97316 62%, #facc15);
}

.cta-card {
  padding: 44px;
  text-align: center;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
}

.cta-card h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.cta-card p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-hero {
  position: relative;
  padding: 98px 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.38), transparent 27%),
    linear-gradient(135deg, #ec4899, #fb923c 64%, #facc15);
}

.page-hero.small {
  padding: 74px 0;
}

.page-hero.category-hero {
  padding: 88px 0;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.filter-panel {
  margin-bottom: 30px;
  padding: 22px;
}

.filter-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 190px 170px 170px;
  gap: 14px;
}

.search-box {
  position: relative;
  display: block;
}

.search-box span {
  position: absolute;
  left: 15px;
  top: 50%;
  color: var(--color-muted);
  transform: translateY(-50%);
}

.search-box input,
.filter-row select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: #111827;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input {
  padding-left: 42px;
}

.search-box input:focus,
.filter-row select:focus {
  border-color: rgba(236, 72, 153, 0.48);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.11);
}

.filter-count {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-weight: 700;
}

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

.section-title-row h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.ranking-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

.ranking-table th,
.ranking-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.ranking-table th {
  color: #fff;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.ranking-table tr:hover td {
  background: #fff7ed;
}

.ranking-table a {
  color: var(--color-primary-dark);
  font-weight: 800;
}

.narrow {
  max-width: 880px;
}

.info-card,
.article-card {
  padding: 28px;
  margin-bottom: 20px;
}

.info-card h2,
.article-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 950;
}

.info-card p,
.article-card p {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ec4899, #f97316);
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) brightness(0.55);
  transform: scale(1.08);
  opacity: 0.5;
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.68));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 34px 0 70px;
}

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

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

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

.detail-poster {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background: linear-gradient(135deg, #fbcfe8, #fed7aa);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

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

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

.detail-one-line {
  max-width: 860px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.detail-meta span {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.detail-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.player-card {
  padding: 16px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #020617;
  aspect-ratio: 16 / 9;
}

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

.video-play-button {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.28), rgba(2, 6, 23, 0.72));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-play-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  padding-left: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 22px 50px rgba(236, 72, 153, 0.34);
  font-size: 36px;
}

.video-play-button strong {
  font-size: 20px;
}

.video-shell.is-playing .video-play-button {
  opacity: 0;
  pointer-events: none;
}

.video-status {
  position: absolute;
  left: 18px;
  bottom: 14px;
  margin: 0;
  padding: 7px 12px;
  color: #fff;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.62);
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.sitemap-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.full-width {
  grid-column: 1 / -1;
}

.link-list,
.sitemap-movies {
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list li,
.sitemap-movies li {
  break-inside: avoid;
  margin: 0 0 8px;
}

.link-list a,
.sitemap-movies a {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.sitemap-movies {
  columns: 4 220px;
}

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 48px 0;
}

.footer-logo-row .brand-mark {
  width: 42px;
  height: 42px;
  font-size: 21px;
}

.footer-logo-row div {
  display: flex;
  flex-direction: column;
}

.footer-logo-row strong {
  font-size: 22px;
}

.footer-logo-row span:not(.brand-mark) {
  color: #9ca3af;
  font-size: 12px;
}

.footer-brand p {
  max-width: 420px;
  color: #9ca3af;
}

.footer-col h3 {
  margin: 0 0 14px;
  color: #f9a8d4;
}

.footer-col a {
  display: block;
  margin: 8px 0;
  color: #d1d5db;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #f9a8d4;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 28px;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.back-top {
  border: 0;
  color: #f9a8d4;
  background: transparent;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .ranking-box {
    position: static;
  }

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

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

  .nav-toggle {
    display: block;
  }

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

  .hero-carousel {
    height: auto;
    min-height: 700px;
  }

  .hero-slide {
    align-items: flex-start;
    padding-top: 54px;
  }

  .hero-slide img {
    right: 50%;
    bottom: 92px;
    width: min(62vw, 280px);
    transform: translateX(50%) rotate(2deg);
  }

  .hero-copy {
    padding-right: 0;
    text-align: center;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .stats-grid,
  .detail-content-grid,
  .sitemap-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .footer-bottom,
  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container,
  .navbar,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 24px, var(--max-width));
  }

  .navbar {
    min-height: 66px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .brand-subtitle {
    display: none;
  }

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

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .hero-slide img {
    width: min(68vw, 230px);
  }

  .stats-section,
  .content-section {
    padding: 52px 0;
  }

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

  .movie-card-body {
    padding: 12px;
  }

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

  .movie-card-body p {
    display: none;
  }

  .category-grid,
  .filter-row {
    grid-template-columns: 1fr;
  }

  .cta-card,
  .info-card,
  .article-card {
    padding: 22px;
  }

  .detail-hero-inner {
    padding-bottom: 48px;
  }

  .video-play-button span {
    width: 66px;
    height: 66px;
    font-size: 28px;
  }
}
