:root {
  --pink: #ec4899;
  --pink-dark: #db2777;
  --red: #ef4444;
  --orange: #f97316;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #fff7fb;
  --line: rgba(236, 72, 153, 0.14);
  --shadow: 0 18px 45px rgba(236, 72, 153, 0.12);
  --shadow-strong: 0 28px 70px rgba(17, 24, 39, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #fff6fb 38%, #ffffff 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(253, 242, 248, 0.96), rgba(255, 241, 242, 0.96), rgba(255, 247, 237, 0.96));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(236, 72, 153, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--pink), var(--red), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--red));
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.25);
  font-size: 15px;
}

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

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  color: #4b5563;
  font-size: 15px;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover {
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.12);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.82);
}

.menu-toggle svg,
.search-box svg,
.primary-btn svg,
.detail-meta svg,
.play-float svg,
.play-overlay svg,
.section-more svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-mark + span {
  white-space: nowrap;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-nav.open {
  display: flex;
}

.hero-section {
  position: relative;
  min-height: 620px;
  padding: 78px 0 116px;
  overflow: hidden;
  background: radial-gradient(circle at 18% 18%, rgba(244, 114, 182, 0.28), transparent 30%),
    radial-gradient(circle at 84% 20%, rgba(249, 115, 22, 0.2), transparent 28%),
    linear-gradient(135deg, #fce7f3 0%, #fff1f2 48%, #ffedd5 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  opacity: 0.22;
  animation: pulseOrb 4s ease-in-out infinite;
}

.orb-one {
  width: 86px;
  height: 86px;
  top: 70px;
  left: 8%;
  background: var(--pink);
}

.orb-two {
  width: 150px;
  height: 150px;
  top: 170px;
  right: 10%;
  background: var(--red);
  animation-delay: 0.5s;
}

.orb-three {
  width: 112px;
  height: 112px;
  bottom: 90px;
  left: 32%;
  background: var(--orange);
  animation-delay: 0.9s;
}

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

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

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 36px;
  align-items: center;
}

.hero-intro h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  background: linear-gradient(90deg, var(--pink), var(--red), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-intro p,
.page-hero p {
  max-width: 690px;
  margin: 22px 0 0;
  color: #4b5563;
  font-size: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--pink-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn,
.ghost-btn,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--red));
  box-shadow: 0 14px 32px rgba(236, 72, 153, 0.28);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover {
  transform: translateY(-2px) scale(1.01);
}

.ghost-btn,
.hero-chip-row a,
.section-more {
  color: #4b5563;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(236, 72, 153, 0.1);
}

.hero-chip-row a {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s ease;
}

.hero-chip-row a:hover {
  color: var(--pink-dark);
  background: #ffffff;
  transform: translateY(-2px);
}

.hero-slider {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-strong);
  background: #111827;
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #f9a8d4, #fb7185, #fdba74);
}

.hero-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.84) 0%, rgba(17, 24, 39, 0.52) 46%, rgba(17, 24, 39, 0.16) 100%);
}

.hero-copy {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  color: #ffffff;
}

.hero-copy .eyebrow {
  color: #fbcfe8;
}

.hero-copy h2 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
}

.hero-copy p {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.hero-tags,
.tag-row,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin: 18px 0;
}

.hero-tags span,
.tag-row span,
.tag-cloud span,
.tag-cloud a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  padding: 6px 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-controls button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.hero-controls div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-dot {
  width: 8px !important;
  height: 8px !important;
  padding: 0;
  background: rgba(255, 255, 255, 0.38) !important;
}

.hero-dot.active {
  width: 24px !important;
  background: #ffffff !important;
}

.feature-overlap {
  position: relative;
  z-index: 3;
  margin-top: -62px;
}

.feature-grid,
.movie-grid,
.category-grid,
.category-large-grid,
.horizontal-grid {
  display: grid;
  gap: 20px;
}

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

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

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

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

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

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

.section-block {
  padding: 64px 0 0;
}

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

.section-head h2,
.side-panel h2,
.detail-card h2 {
  margin: 0;
  color: #111827;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

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

.movie-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #f9a8d4, #fecdd3, #fed7aa);
}

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

.movie-card:hover img,
.horizontal-card:hover img,
.category-posters img:hover {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17, 24, 39, 0.64));
}

.play-float {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  opacity: 0;
  transition: 0.25s ease;
}

.play-float svg {
  width: 58px;
  height: 58px;
  padding: 16px;
  fill: currentColor;
  stroke: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 35px rgba(17, 24, 39, 0.22);
}

.movie-card:hover .play-float {
  opacity: 1;
}

.type-pill,
.rank-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(236, 72, 153, 0.94);
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  left: 12px;
  right: auto;
  min-width: 30px;
  text-align: center;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.movie-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px;
}

.movie-info strong {
  overflow: hidden;
  color: #111827;
  font-size: 16px;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.movie-card:hover .movie-info strong {
  color: var(--pink-dark);
}

.movie-info em,
.horizontal-info em {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.tag-row {
  margin-top: 12px;
}

.tag-row span {
  padding: 4px 8px;
  color: var(--pink-dark);
  background: #fce7f3;
}

.category-tile,
.category-card-large {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.category-tile:hover,
.category-card-large:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.category-tile span,
.category-card-copy span {
  font-size: 38px;
}

.category-tile strong,
.category-card-copy h2 {
  margin: 16px 0 8px;
  color: #111827;
  font-size: 24px;
  line-height: 1.2;
}

.category-tile em,
.category-card-copy p {
  color: #4b5563;
  font-style: normal;
}

.category-tile b,
.category-card-copy b {
  margin-top: 18px;
  color: var(--pink-dark);
}

.from-pink {
  background: linear-gradient(135deg, #fce7f3, #fff1f2);
}

.from-red {
  background: linear-gradient(135deg, #fee2e2, #ffedd5);
}

.from-rose {
  background: linear-gradient(135deg, #ffe4e6, #fce7f3);
}

.from-purple {
  background: linear-gradient(135deg, #ede9fe, #fce7f3);
}

.from-orange {
  background: linear-gradient(135deg, #ffedd5, #fef3c7);
}

.from-amber {
  background: linear-gradient(135deg, #fef3c7, #fee2e2);
}

.from-green {
  background: linear-gradient(135deg, #dcfce7, #ecfeff);
}

.from-blue {
  background: linear-gradient(135deg, #dbeafe, #e0f2fe);
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.side-panel,
.detail-card,
.player-card {
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.side-panel {
  padding: 24px;
}

.horizontal-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.horizontal-card {
  display: flex;
  gap: 14px;
  padding: 10px;
  border-radius: 18px;
  transition: 0.25s ease;
}

.horizontal-card:hover {
  background: #fdf2f8;
}

.horizontal-poster {
  position: relative;
  overflow: hidden;
  width: 110px;
  height: 76px;
  flex: 0 0 auto;
  border-radius: 16px;
  background: linear-gradient(135deg, #f9a8d4, #fed7aa);
}

.horizontal-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.25s ease;
}

.horizontal-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.horizontal-info strong {
  overflow: hidden;
  color: #111827;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.horizontal-info span {
  margin-top: auto;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
}

.list-rank {
  position: absolute;
  top: 7px;
  left: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--red));
  font-size: 12px;
  font-weight: 900;
}

.page-hero {
  padding: 76px 0;
  text-align: center;
}

.soft-hero,
.category-hero {
  background: radial-gradient(circle at 50% 0%, rgba(236, 72, 153, 0.16), transparent 42%), linear-gradient(135deg, #fdf2f8, #fff7ed);
}

.category-icon {
  display: block;
  margin-bottom: 12px;
  font-size: 54px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 160px;
  gap: 12px;
  max-width: 900px;
  margin: 30px auto 0;
}

.single-filter {
  grid-template-columns: minmax(240px, 1fr) 180px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box svg {
  position: absolute;
  left: 18px;
  color: #9ca3af;
}

.search-box input,
.filter-bar select {
  width: 100%;
  min-height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #374151;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.1);
  outline: none;
  transition: 0.25s ease;
}

.search-box input {
  padding: 0 18px 0 50px;
}

.filter-bar select {
  padding: 0 18px;
}

.search-box input:focus,
.filter-bar select:focus {
  border-color: #f9a8d4;
  background: #ffffff;
}

.empty-state {
  display: none;
  margin: 34px 0;
  padding: 32px;
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.category-card-large {
  min-height: 300px;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}

.category-posters {
  position: relative;
  width: 45%;
  min-height: 220px;
}

.category-posters img {
  position: absolute;
  width: 48%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  box-shadow: 0 12px 25px rgba(17, 24, 39, 0.18);
  transition: 0.25s ease;
}

.category-posters img:nth-child(1) {
  left: 0;
  top: 16px;
  transform: rotate(-8deg);
}

.category-posters img:nth-child(2) {
  left: 28%;
  top: 0;
  z-index: 2;
}

.category-posters img:nth-child(3) {
  right: 0;
  top: 22px;
  transform: rotate(8deg);
}

.category-card-copy {
  position: relative;
  z-index: 3;
  flex: 1;
}

.detail-page {
  padding: 34px 0 76px;
  background: linear-gradient(180deg, #fff7fb, #ffffff);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--pink-dark);
  font-weight: 800;
}

.player-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #030712;
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #030712;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.15), rgba(17, 24, 39, 0.5));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay svg {
  width: 72px;
  height: 72px;
  padding: 18px;
  fill: currentColor;
  stroke: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--red));
  box-shadow: 0 18px 40px rgba(236, 72, 153, 0.38);
}

.play-overlay span {
  font-size: 18px;
  font-weight: 900;
}

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

.detail-card {
  margin-top: 22px;
  padding: 28px;
}

.detail-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.detail-title-row h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 70px;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  font-size: 26px;
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.28);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-meta svg {
  width: 17px;
  height: 17px;
}

.tag-cloud {
  margin: 22px 0;
}

.tag-cloud span,
.tag-cloud a {
  padding: 7px 12px;
  color: var(--pink-dark);
  background: #fce7f3;
}

.detail-card section {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid #f3f4f6;
}

.detail-card p {
  margin: 12px 0 0;
  color: #374151;
}

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

.info-list div {
  padding: 13px 15px;
  border-radius: 16px;
  background: #f9fafb;
}

.info-list dt {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 900;
}

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

.sticky-panel {
  position: sticky;
  top: 92px;
}

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

.ranking-list {
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.rank-row {
  display: grid;
  grid-template-columns: 58px 74px minmax(0, 1fr) 180px 76px;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #f3f4f6;
  transition: 0.22s ease;
}

.rank-row:hover {
  background: #fdf2f8;
}

.rank-row img {
  width: 74px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
  background: linear-gradient(135deg, #f9a8d4, #fed7aa);
}

.rank-num {
  color: var(--pink-dark);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.rank-title {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.rank-title strong {
  overflow: hidden;
  color: #111827;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.rank-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.rank-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 38px;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  font-weight: 900;
}

.site-footer {
  margin-top: 76px;
  padding: 44px 0 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, #fff7fb, #fff7ed);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 30px;
}

.footer-logo {
  margin-bottom: 16px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 17px;
}

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

.footer-links a {
  padding: 7px 12px;
  border-radius: 999px;
  color: #4b5563;
  background: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--pink-dark);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #9ca3af;
  font-size: 13px;
  text-align: center;
}

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

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

  .detail-side {
    order: 2;
  }

  .sticky-panel {
    position: static;
  }
}

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

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

  .hero-section {
    padding: 48px 0 96px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-slider {
    min-height: 420px;
    border-radius: 26px;
  }

  .feature-grid,
  .ranking-top,
  .category-large-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .category-card-large {
    flex-direction: column;
    align-items: stretch;
  }

  .category-posters {
    width: 100%;
  }

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

  .rank-meta {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

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

  .hero-intro h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .hero-copy {
    left: 20px;
    right: 20px;
    bottom: 22px;
  }

  .hero-slider {
    min-height: 390px;
  }

  .movie-grid,
  .compact-grid,
  .category-grid,
  .horizontal-grid {
    gap: 14px;
  }

  .movie-info {
    padding: 12px;
  }

  .movie-info em,
  .tag-row {
    display: none;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-card {
    padding: 20px;
  }

  .detail-title-row {
    flex-direction: column;
  }

  .score-badge {
    min-width: 60px;
    height: 50px;
    border-radius: 16px;
  }

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

  .horizontal-poster {
    width: 92px;
    height: 68px;
  }
}
