:root {
  --brand: #ec4899;
  --brand-2: #f97316;
  --brand-3: #facc15;
  --ink: #1f2937;
  --muted: #6b7280;
  --soft: #fff7ed;
  --line: #f3e8e8;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(236, 72, 153, 0.16);
}

body {
  background: #ffffff;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.top-ribbon {
  background: linear-gradient(90deg, #fb923c, #ec4899, #ef4444);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.24);
}

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

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
}

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

.quick-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 16px 12px;
  overflow-x: auto;
}

.quick-nav a {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff7ed;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand);
  border-radius: 10px;
}

.home-hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background: linear-gradient(135deg, #fce7f3 0%, #fff7ed 48%, #fef9c3 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.24;
  animation: softPulse 6s ease-in-out infinite;
}

.glow-a {
  width: 190px;
  height: 190px;
  left: 7%;
  top: 10%;
  background: #ec4899;
}

.glow-b {
  width: 260px;
  height: 260px;
  right: 7%;
  bottom: 10%;
  background: #f97316;
  animation-delay: 1.2s;
}

.glow-c {
  width: 210px;
  height: 210px;
  left: 43%;
  top: 45%;
  background: #facc15;
  animation-delay: 0.6s;
}

@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.16;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px 92px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #9a3412;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.13);
}

.home-hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.06em;
  margin: 0 0 20px;
  background: linear-gradient(90deg, #db2777, #f97316, #eab308);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 760px;
  color: #5b6472;
  font-size: 20px;
  line-height: 1.85;
  margin-bottom: 34px;
}

.hero-stage {
  position: relative;
  min-height: 360px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 42px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-copy h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 950;
  margin: 0 0 18px;
  color: #111827;
}

.hero-copy p {
  color: #4b5563;
  font-size: 18px;
  line-height: 1.8;
  max-width: 660px;
}

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

.hero-tags span,
.tag-chip {
  padding: 7px 12px;
  border-radius: 999px;
  background: #fdf2f8;
  color: #be185d;
  font-size: 13px;
  font-weight: 800;
}

.hero-actions,
.detail-actions,
.center-action {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.primary-btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  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: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.26);
}

.ghost-btn {
  color: #374151;
  background: #fff;
  border: 2px solid #f4d7de;
}

.text-link {
  color: var(--brand);
  padding-left: 0;
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(236, 72, 153, 0.18);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  background: #f3f4f6;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

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

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand);
  font-size: 26px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.hero-prev,
.hero-next,
.hero-dot {
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.12);
}

.hero-prev,
.hero-next {
  width: 42px;
  height: 42px;
  font-size: 30px;
  line-height: 1;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  opacity: 0.45;
}

.hero-dot.is-active {
  width: 32px;
  opacity: 1;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.stats-strip {
  max-width: 1180px;
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0 24px;
}

.stats-strip div {
  padding: 26px 20px;
  border-radius: 24px;
  background: #fff;
  text-align: center;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.08);
}

.stats-strip strong {
  display: block;
  font-size: 30px;
  color: #111827;
}

.stats-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section-block,
.split-section,
.detail-content,
.player-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 82px 24px;
}

.soft-bg {
  max-width: none;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.soft-bg > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-heading span {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  font-weight: 950;
  color: #111827;
  margin: 0 0 12px;
}

.section-heading p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

.filter-panel {
  margin: 0 auto 34px;
  padding: 22px;
  border: 1px solid #ffe4e6;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.filter-title {
  font-weight: 950;
  margin-bottom: 14px;
  color: #111827;
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(140px, 180px));
  gap: 12px;
}

.filter-input,
.filter-grid select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 0 16px;
  background: #fff;
  color: #374151;
  outline: none;
}

.filter-input:focus,
.filter-grid select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
}

.filter-empty {
  margin-top: 14px;
  color: #be123c;
  font-weight: 800;
}

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

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

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 58px rgba(236, 72, 153, 0.18);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f4f6, #fff7ed);
}

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

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

.poster-mask {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(17, 24, 39, 0);
  color: #fff;
  font-size: 42px;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.movie-card:hover .poster-mask {
  opacity: 1;
  background: rgba(17, 24, 39, 0.24);
}

.poster-badge {
  position: absolute;
  top: 12px;
  max-width: calc(50% - 16px);
  padding: 5px 9px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster-badge.left {
  left: 12px;
  background: var(--brand);
}

.poster-badge.right {
  right: 12px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 17px;
}

.card-body strong {
  color: #111827;
  font-size: 17px;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-body em {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 43px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 800;
}

.movie-card.compact {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  border-radius: 18px;
}

.movie-card.compact .poster-wrap {
  aspect-ratio: 3 / 4;
}

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

.movie-card.compact .card-body em {
  -webkit-line-clamp: 2;
  min-height: auto;
}

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

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

.category-tile {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 28px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
  isolation: isolate;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.82));
}

.category-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-tile strong {
  display: block;
  font-size: 24px;
  font-weight: 950;
  margin-bottom: 8px;
}

.category-tile em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
}

.split-section .section-heading {
  text-align: left;
}

.split-section .section-heading p {
  margin-left: 0;
}

.rank-list,
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rank-row,
.ranking-item {
  display: grid;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row {
  grid-template-columns: 54px minmax(0, 1fr);
  padding: 16px;
}

.rank-row:hover,
.ranking-item:hover {
  transform: translateX(6px);
  box-shadow: 0 18px 44px rgba(236, 72, 153, 0.14);
}

.rank-row span,
.rank-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-weight: 950;
}

.rank-row strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 950;
}

.rank-row em {
  grid-column: 2;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.page-hero {
  padding: 86px 24px;
  text-align: center;
  background: linear-gradient(135deg, #fdf2f8, #fff7ed 50%, #fef9c3);
}

.page-hero.slim {
  padding-top: 74px;
  padding-bottom: 74px;
}

.page-hero h1 {
  margin: 0 auto 16px;
  max-width: 860px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 950;
  line-height: 1.12;
  color: #111827;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.9;
  font-size: 18px;
}

.ranking-item {
  grid-template-columns: 58px 86px minmax(0, 1fr);
  padding: 14px;
}

.ranking-item img {
  width: 86px;
  height: 112px;
  object-fit: cover;
  border-radius: 14px;
  background: #f3f4f6;
}

.ranking-info strong,
.ranking-info em,
.ranking-info small {
  display: block;
}

.ranking-info strong {
  font-size: 20px;
  font-weight: 950;
  margin-bottom: 8px;
}

.ranking-info em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranking-info small {
  margin-top: 8px;
  color: #9ca3af;
  font-weight: 800;
}

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

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  filter: blur(6px);
  transform: scale(1.04);
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.48), rgba(17, 24, 39, 0.9));
}

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

.detail-wrap {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 24px 74px;
}

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

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

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

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

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

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 950;
}

.detail-copy p {
  max-width: 840px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.85;
}

.detail-copy .ghost-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.player-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 24px 76px rgba(15, 23, 42, 0.22);
  aspect-ratio: 16 / 9;
}

.movie-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  cursor: pointer;
}

.play-toggle {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
  cursor: pointer;
}

.play-toggle span {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  padding-left: 5px;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.92);
  font-size: 36px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}

.play-toggle:hover span {
  transform: scale(1.08);
}

.play-toggle.is-hidden {
  display: none;
}

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

.detail-content article,
.detail-content aside {
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.08);
  padding: 30px;
}

.detail-content h2 {
  font-size: 26px;
  font-weight: 950;
  margin: 0 0 18px;
  color: #111827;
}

.detail-content p {
  color: #4b5563;
  line-height: 2;
  margin-bottom: 26px;
}

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

.movie-info div {
  padding: 16px;
  border-radius: 18px;
  background: #fff7ed;
}

.movie-info dt {
  color: #9a3412;
  font-size: 13px;
  font-weight: 900;
}

.movie-info dd {
  margin: 5px 0 0;
  color: #111827;
  font-weight: 800;
}

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

.site-footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

.line-clamp-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.line-clamp-2 {
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  -webkit-line-clamp: 3;
}

[hidden] {
  display: none !important;
}

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

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

  .detail-content aside {
    padding: 24px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    height: 66px;
    padding: 0 18px;
  }

  .site-logo {
    font-size: 21px;
  }

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

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 118px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 13px 12px;
  }

  .nav-link::after {
    display: none;
  }

  .quick-nav {
    justify-content: flex-start;
  }

  .hero-inner {
    padding: 52px 18px 78px;
  }

  .home-hero h1 {
    letter-spacing: -0.035em;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 24px;
  }

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

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -30px;
  }

  .section-block,
  .split-section,
  .detail-content,
  .player-section {
    padding: 56px 18px;
  }

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

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

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

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

  .ranking-item {
    grid-template-columns: 48px 72px minmax(0, 1fr);
  }

  .ranking-item img {
    width: 72px;
    height: 96px;
  }
}

@media (max-width: 560px) {
  .top-ribbon {
    font-size: 12px;
  }

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

  .hero-lead,
  .hero-copy p,
  .detail-copy p,
  .page-hero p {
    font-size: 16px;
  }

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

  .hero-slide {
    position: relative;
    display: none;
    border-radius: 24px;
  }

  .hero-slide.is-active {
    display: grid;
  }

  .movie-grid,
  .category-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

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

  .category-tile {
    min-height: 190px;
  }

  .detail-wrap {
    padding: 32px 18px 54px;
  }

  .player-shell {
    border-radius: 18px;
  }

  .play-toggle span {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }

  .movie-info {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
