:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --slate-950: #120812;
  --slate-900: #1f1021;
  --slate-800: #35203b;
  --text: #332033;
  --muted: #755f75;
  --line: rgba(244, 63, 94, 0.16);
  --card: rgba(255, 255, 255, 0.88);
  --shadow: 0 24px 60px rgba(136, 19, 55, 0.16);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 228, 230, 0.95), transparent 36rem),
    radial-gradient(circle at top right, rgba(252, 231, 243, 0.9), transparent 34rem),
    linear-gradient(180deg, #fff7f8 0%, #fff 45%, #fff5f6 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 241, 242, 0.92), rgba(255, 247, 250, 0.94), rgba(255, 241, 242, 0.92));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(244, 63, 94, 0.14);
  box-shadow: 0 10px 28px rgba(136, 19, 55, 0.08);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.28);
}

.brand-name {
  font-size: 22px;
  background: linear-gradient(135deg, var(--pink-600), var(--rose-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  color: #5f465f;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--rose-600);
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.header-search {
  width: 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(244, 63, 94, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 8px 6px 8px 12px;
  color: var(--text);
}

.header-search button,
.search-panel button,
.primary-btn {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(244, 63, 94, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.search-panel button:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(244, 63, 94, 0.32);
}

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

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  color: var(--rose-600);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(244, 63, 94, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.ghost-btn:hover {
  transform: translateY(-2px);
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--rose-600);
}

.mobile-panel {
  display: none;
  padding: 12px 20px 20px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(244, 63, 94, 0.12);
}

.mobile-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--text);
}

.mobile-panel a:hover {
  background: var(--rose-50);
  color: var(--rose-600);
}

.mobile-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding-top: 8px;
}

.hero-carousel {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: #210d22;
}

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

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

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

.hero-bg {
  background-size: cover;
  background-position: center;
  filter: blur(8px) saturate(1.15);
  transform: scale(1.05);
}

.hero-overlay {
  background:
    radial-gradient(circle at 74% 32%, rgba(244, 63, 94, 0.48), transparent 24rem),
    linear-gradient(90deg, rgba(22, 6, 24, 0.96), rgba(60, 15, 54, 0.82) 46%, rgba(244, 63, 94, 0.34)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.56));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 660px;
  margin: 0 auto;
  padding: 82px 20px 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  color: #fff;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rose-600);
  background: rgba(255, 228, 230, 0.86);
  border: 1px solid rgba(244, 63, 94, 0.16);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-copy .eyebrow {
  color: #fecdd3;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-copy h1 {
  margin: 22px 0 16px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.hero-copy p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.9;
}

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

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.movie-tags span {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.hero-poster {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46);
  transform: rotate(1.5deg);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4.18;
  object-fit: cover;
  background: linear-gradient(135deg, #3d143d, #f43f5e);
}

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #fff;
  background: rgba(244, 63, 94, 0.9);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 900;
}

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

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

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

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

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

.section-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 66px 20px 0;
}

.intro-strip {
  margin-top: -38px;
  position: relative;
  z-index: 5;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(244, 63, 94, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.intro-strip h2,
.section-head h2,
.page-hero h1,
.detail-copy h1 {
  margin: 10px 0 0;
  color: var(--slate-900);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.intro-strip h2 {
  font-size: clamp(26px, 4vw, 42px);
}

.intro-strip p,
.page-hero p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

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

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 42px);
}

.section-head > a {
  color: var(--rose-600);
  font-weight: 900;
}

.section-head.compact {
  align-items: start;
  margin-bottom: 16px;
}

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

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

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

.category-card a {
  position: relative;
  min-height: 210px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(244, 63, 94, 0.18), transparent 9rem),
    rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(244, 63, 94, 0.14);
  box-shadow: 0 18px 42px rgba(136, 19, 55, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card a:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.category-orb {
  position: absolute;
  right: -24px;
  top: -24px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(244, 63, 94, 0.28));
}

.category-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  color: var(--slate-900);
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.category-samples span,
.category-card strong,
.category-pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.category-samples span {
  color: var(--rose-600);
  background: var(--rose-50);
  padding: 5px 9px;
}

.category-card strong {
  margin-top: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  padding: 8px 12px;
}

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

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

.movie-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(244, 63, 94, 0.12);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(136, 19, 55, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #3d143d, #fb7185);
}

.movie-cover img {
  width: 100%;
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.movie-card:hover .movie-cover img {
  transform: scale(1.05);
  filter: saturate(1.14);
}

.cover-shine {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58));
}

.movie-badge,
.play-chip {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.movie-badge {
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  background: rgba(244, 63, 94, 0.92);
}

.play-chip {
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  background: rgba(15, 10, 20, 0.72);
  backdrop-filter: blur(8px);
}

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

.movie-card h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
  color: var(--slate-900);
}

.movie-card h2 a:hover {
  color: var(--rose-600);
}

.movie-desc {
  min-height: 44px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
}

.movie-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #8c748c;
  font-size: 12px;
}

.movie-tags {
  margin-top: 10px;
}

.movie-tags span {
  color: var(--rose-600);
  background: var(--rose-50);
}

.category-pill {
  margin-top: 12px;
  padding: 6px 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
}

.rank-panel {
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(244, 63, 94, 0.12), transparent 10rem),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(244, 63, 94, 0.14);
  box-shadow: var(--shadow);
}

.rank-panel.slim {
  padding: 18px;
}

.sticky-side {
  position: sticky;
  top: 96px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: auto 58px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 241, 242, 0.65);
  border: 1px solid rgba(244, 63, 94, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  background: #fff;
  transform: translateX(4px);
}

.rank-num {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
}

.rank-item img {
  width: 58px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, #3d143d, #fb7185);
}

.rank-info {
  min-width: 0;
}

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

.rank-info strong {
  color: var(--slate-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-filter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inline-filter input,
.inline-filter select,
.search-panel input {
  border: 1px solid rgba(244, 63, 94, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: 0;
  border-radius: 999px;
  padding: 11px 14px;
}

.inline-filter input:focus,
.inline-filter select:focus,
.search-panel input:focus {
  border-color: var(--rose-500);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.08);
}

.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 20px 32px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 70px);
}

.page-hero p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
}

.search-panel {
  max-width: 780px;
  margin: 26px auto 0;
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(244, 63, 94, 0.14);
  box-shadow: var(--shadow);
}

.search-panel input {
  width: 100%;
  border: 0;
  box-shadow: none;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background: var(--slate-950);
}

.detail-bg,
.detail-bg-mask {
  position: absolute;
  inset: 0;
}

.detail-bg {
  background-size: cover;
  background-position: center;
  filter: blur(8px) saturate(1.12);
  transform: scale(1.05);
}

.detail-bg-mask {
  background:
    radial-gradient(circle at 74% 35%, rgba(244, 63, 94, 0.45), transparent 26rem),
    linear-gradient(90deg, rgba(12, 5, 15, 0.96), rgba(47, 15, 51, 0.83) 52%, rgba(136, 19, 55, 0.55));
}

.detail-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  min-height: 620px;
  margin: 0 auto;
  padding: 72px 20px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 50px;
}

.detail-cover {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
  background: linear-gradient(135deg, #3d143d, #fb7185);
}

.detail-cover span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 14px;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
}

.detail-copy {
  color: #fff;
}

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

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

.detail-copy h1 {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
}

.detail-one-line {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  font-size: 18px;
}

.detail-meta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-meta span {
  border-radius: 999px;
  padding: 6px 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.detail-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #08040a;
  box-shadow: 0 34px 90px rgba(18, 8, 18, 0.32);
  border: 1px solid rgba(244, 63, 94, 0.18);
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #08040a;
  object-fit: contain;
}

.player-start {
  position: absolute;
  inset: 0;
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle at center, rgba(244, 63, 94, 0.32), rgba(8, 4, 10, 0.5) 42%, rgba(8, 4, 10, 0.72));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.player-start span {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  box-shadow: 0 18px 45px rgba(244, 63, 94, 0.45);
  font-size: 34px;
}

.video-frame.is-ready .player-start {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.content-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(244, 63, 94, 0.14);
  box-shadow: var(--shadow);
}

.prose-card h2 {
  margin: 28px 0 10px;
  color: var(--slate-900);
  font-size: 26px;
  font-weight: 950;
}

.prose-card h2:first-child {
  margin-top: 0;
}

.prose-card p {
  margin: 0;
  color: #5e4a5e;
  line-height: 2;
  font-size: 16px;
}

.info-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(244, 63, 94, 0.18);
}

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

.info-list dd {
  margin: 0;
  color: var(--text);
}

.info-list a {
  color: var(--rose-600);
  font-weight: 900;
}

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

.site-footer {
  margin-top: 76px;
  background: linear-gradient(180deg, rgba(255, 241, 242, 0.8), rgba(255, 228, 230, 0.92));
  border-top: 1px solid rgba(244, 63, 94, 0.12);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand p {
  max-width: 420px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.footer-col h2 {
  margin: 0 0 14px;
  font-size: 18px;
  color: var(--slate-900);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--rose-600);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 20px 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #8f758f;
  border-top: 1px solid rgba(244, 63, 94, 0.12);
}

.is-hidden {
  display: none !important;
}

.empty-result {
  grid-column: 1 / -1;
  padding: 34px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(244, 63, 94, 0.14);
}

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

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

  .header-search {
    width: 210px;
  }
}

@media (max-width: 960px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

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

  .mobile-panel.is-open {
    display: block;
  }

  .hero-content,
  .detail-inner,
  .split-section,
  .category-layout,
  .detail-layout,
  .about-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 58px;
    gap: 34px;
  }

  .hero-poster {
    max-width: 320px;
  }

  .detail-inner {
    gap: 28px;
  }

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

  .sticky-side {
    position: static;
  }

  .intro-strip,
  .section-head,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .rank-panel {
    order: -1;
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 64px;
    padding: 0 14px;
  }

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

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

  .hero-copy h1,
  .detail-copy h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .hero-copy p,
  .detail-one-line {
    font-size: 16px;
  }

  .section-wrap {
    padding: 46px 14px 0;
  }

  .intro-strip {
    margin-left: 14px;
    margin-right: 14px;
    padding: 22px;
  }

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

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

  .movie-desc {
    min-height: auto;
  }

  .page-hero {
    padding-top: 66px;
  }

  .detail-inner {
    padding: 44px 14px;
  }

  .detail-cover {
    width: 72%;
  }

  .search-panel,
  .inline-filter {
    border-radius: 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .search-panel button {
    width: 100%;
  }

  .video-frame,
  .content-card,
  .rank-panel {
    border-radius: 22px;
  }

  .player-start span {
    width: 66px;
    height: 66px;
    font-size: 28px;
  }

  .footer-inner {
    padding: 38px 14px;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .related-grid,
  .category-grid,
  .category-grid.large {
    grid-template-columns: 1fr;
  }

  .hero-poster,
  .detail-cover {
    width: 100%;
    max-width: none;
  }

  .rank-item {
    grid-template-columns: auto 52px 1fr;
  }

  .rank-item img {
    width: 52px;
    height: 70px;
  }
}
