@charset "UTF-8";

:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-300: #fda4af;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --pink-400: #f472b6;
  --amber-400: #fbbf24;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-soft: 0 18px 45px rgba(244, 63, 94, 0.12);
  --shadow-card: 0 14px 32px rgba(15, 23, 42, 0.09);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(180deg, #ffffff 0%, #fff7f9 45%, #f0fdfa 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 241, 242, 0.92), rgba(255, 255, 255, 0.95), rgba(240, 253, 250, 0.92));
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-400), var(--teal-400));
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.25);
  font-size: 15px;
}

.logo-text {
  font-size: 24px;
  background: linear-gradient(90deg, var(--rose-400), var(--teal-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  color: var(--gray-700);
  font-weight: 650;
  position: relative;
  transition: color 0.25s ease;
}

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

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

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

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--gray-700);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

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

.mobile-link {
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--gray-700);
  font-weight: 650;
}

.mobile-link:hover,
.mobile-link.active {
  background: var(--rose-50);
  color: var(--rose-500);
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: 76px 0 34px;
  background: radial-gradient(circle at 8% 12%, rgba(253, 164, 175, 0.42), transparent 30%),
    radial-gradient(circle at 90% 16%, rgba(94, 234, 212, 0.42), transparent 28%),
    linear-gradient(135deg, var(--rose-100), #ffffff 42%, var(--teal-50));
}

.hero-slide {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 520px;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 46px;
}

.hero-slide.active {
  display: flex;
  animation: heroFade 0.65s ease both;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-glow {
  position: absolute;
  inset: 34px auto auto -80px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(244, 114, 182, 0.24);
  filter: blur(30px);
}

.hero-copy {
  flex: 1 1 56%;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--rose-500);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 30px rgba(244, 63, 94, 0.1);
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1,
.sub-hero h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  background: linear-gradient(90deg, var(--rose-400), var(--pink-400), var(--teal-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy h2 {
  margin: 18px 0 12px;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.12;
  color: var(--gray-900);
}

.hero-copy p,
.sub-hero p {
  max-width: 680px;
  margin: 0 0 24px;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--gray-700);
}

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

.hero-tags span,
.tag-row span,
.detail-tags span,
.detail-keywords a,
.main-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(229, 231, 235, 0.9);
}

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

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

.primary-btn {
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose-400), var(--teal-400));
  box-shadow: 0 16px 28px rgba(244, 63, 94, 0.22);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.ghost-btn {
  color: var(--rose-500);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(253, 164, 175, 0.55);
}

.primary-btn.full {
  width: 100%;
}

.hero-poster {
  flex: 0 1 390px;
  position: relative;
  z-index: 2;
  min-height: 500px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.22);
  transform: rotate(2deg);
  background: #ffffff;
}

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

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

.hero-poster span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 12px 16px;
  border-radius: 18px;
  color: #ffffff;
  font-weight: 750;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(14px);
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 28px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.28);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.active {
  width: 34px;
  background: linear-gradient(90deg, var(--rose-400), var(--teal-400));
}

.hero-category-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-category-strip a {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  transition: color 0.25s ease, transform 0.25s ease;
}

.hero-category-strip a:hover {
  color: var(--rose-500);
  transform: translateY(-2px);
}

.inline-strip {
  width: 100%;
  justify-content: flex-start;
  margin: 28px 0 0;
}

.content-section {
  padding: 72px max(16px, calc((100% - 1180px) / 2));
}

.soft-white {
  background: linear-gradient(180deg, #ffffff, var(--gray-50));
}

.blush-bg {
  background: rgba(255, 241, 242, 0.56);
}

.teal-bg {
  background: linear-gradient(180deg, #ffffff, rgba(240, 253, 250, 0.72));
}

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
  color: var(--gray-800);
}

.section-head p {
  margin: 6px 0 0;
  color: var(--gray-500);
}

.split-head {
  justify-content: space-between;
  align-items: end;
}

.section-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-400), var(--teal-400));
  box-shadow: 0 12px 26px rgba(45, 212, 191, 0.18);
  font-weight: 900;
}

.text-link {
  color: var(--rose-500);
  font-weight: 800;
}

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

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

.movie-card {
  min-width: 0;
}

.movie-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.14);
}

.poster-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
}

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

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

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.72));
}

.poster-chip,
.poster-duration,
.rank-badge {
  position: absolute;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(10px);
}

.poster-chip {
  top: 12px;
  left: 12px;
  background: linear-gradient(90deg, var(--rose-400), var(--teal-400));
}

.poster-duration {
  right: 12px;
  bottom: 12px;
}

.rank-badge {
  right: 12px;
  top: 12px;
  min-width: 30px;
  text-align: center;
  background: rgba(251, 191, 36, 0.92);
}

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

.movie-card-body h2 {
  margin: 0 0 7px;
  color: var(--gray-800);
  font-size: 18px;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta,
.movie-desc {
  margin: 0;
  color: var(--gray-500);
  font-size: 13px;
}

.movie-desc {
  margin-top: 10px;
  min-height: 42px;
  color: var(--gray-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.tag-row span {
  padding: 4px 8px;
  font-size: 12px;
  background: var(--gray-50);
}

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

.category-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  background: var(--gray-900);
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 0.55s ease, opacity 0.3s ease;
}

.category-card:hover img {
  opacity: 0.78;
  transform: scale(1.08);
}

.category-card span,
.category-card p {
  position: absolute;
  left: 20px;
  right: 20px;
  color: #ffffff;
}

.category-card span {
  bottom: 74px;
  font-size: 24px;
  font-weight: 900;
}

.category-card p {
  bottom: 20px;
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.rank-list {
  display: grid;
  gap: 12px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 42px 78px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.rank-number {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--rose-400), var(--teal-400));
}

.rank-row img {
  width: 78px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

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

.rank-info strong,
.rank-info em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info strong {
  color: var(--gray-800);
  font-size: 16px;
}

.rank-info em {
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
}

.rank-trend {
  color: var(--rose-500);
  font-size: 13px;
  font-weight: 800;
}

.sub-hero {
  padding: 82px max(16px, calc((100% - 1180px) / 2));
  background: radial-gradient(circle at 14% 18%, rgba(253, 164, 175, 0.38), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(94, 234, 212, 0.34), transparent 34%),
    linear-gradient(135deg, var(--rose-100), #ffffff, var(--teal-50));
}

.sub-hero h1 {
  max-width: 980px;
}

.sub-hero p {
  margin-top: 18px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  color: var(--gray-600);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--rose-500);
  font-weight: 750;
}

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

.category-overview-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.13);
}

.category-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--gray-100);
}

.category-collage img {
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.category-overview-card div:last-child {
  padding: 20px;
}

.category-overview-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.category-overview-card p {
  margin: 0 0 16px;
  color: var(--gray-600);
}

.category-overview-card span {
  color: var(--rose-500);
  font-weight: 850;
}

.filter-panel {
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.filter-search label,
.filter-selects label {
  display: grid;
  gap: 8px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-search input,
.filter-selects select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--gray-800);
  background: var(--gray-50);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.filter-search input:focus,
.filter-selects select:focus {
  border-color: var(--rose-300);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.14);
}

.filter-selects {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

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

.detail-shell {
  padding: 34px max(16px, calc((100% - 1180px) / 2)) 70px;
  background: linear-gradient(180deg, #ffffff, var(--gray-50));
}

.detail-breadcrumb {
  margin: 0 0 24px;
}

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

.detail-main,
.detail-side {
  min-width: 0;
}

.player-card,
.detail-card,
.side-poster-card,
.side-rank {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.player-card {
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--gray-900);
}

.player-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding-left: 6px;
  color: var(--rose-500);
  font-size: 42px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, background 0.25s ease;
}

.player-overlay:hover .play-circle {
  transform: scale(1.08);
  background: #ffffff;
}

.detail-card {
  padding: 28px;
}

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

.detail-tags span,
.main-tag {
  background: var(--gray-50);
}

.main-tag {
  color: #ffffff;
  border: 0;
  background: linear-gradient(90deg, var(--rose-400), var(--teal-400));
}

.detail-card h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.14;
  color: var(--gray-900);
}

.lead-text {
  margin: 14px 0 18px;
  color: var(--gray-700);
  font-size: 18px;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 14px;
}

.detail-card h2,
.side-poster-card h2,
.side-rank h2 {
  margin: 24px 0 10px;
  font-size: 22px;
  color: var(--gray-800);
}

.detail-card p {
  margin: 0 0 16px;
  color: var(--gray-700);
}

.review-box {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--rose-50), var(--teal-50));
}

.review-box p {
  margin: 0;
}

.detail-keywords {
  margin-top: 8px;
}

.side-poster-card,
.side-rank {
  padding: 18px;
  margin-bottom: 22px;
}

.side-poster-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.side-poster-card p {
  margin: 0 0 18px;
  color: var(--gray-500);
}

.rank-list.mini .rank-row {
  grid-template-columns: 34px 58px 1fr;
  gap: 10px;
}

.rank-list.mini .rank-row img {
  width: 58px;
  height: 48px;
}

.rank-list.mini .rank-trend {
  display: none;
}

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

.site-footer {
  background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
  border-top: 1px solid var(--gray-200);
}

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 1fr 1fr;
  gap: 34px;
}

.footer-brand p,
.footer-col a,
.footer-bottom {
  color: var(--gray-600);
}

.footer-brand p {
  max-width: 560px;
  margin: 16px 0 0;
}

.footer-col h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

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

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

.footer-bottom {
  padding: 16px;
  text-align: center;
  border-top: 1px solid var(--gray-200);
  font-size: 14px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: none;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-400), var(--teal-400));
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.back-to-top.show {
  display: block;
}

@media (max-width: 1024px) {
  .featured-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .hero-poster {
    width: min(420px, 100%);
    min-height: 360px;
    margin: 0 auto;
  }

  .hero-poster img {
    min-height: 360px;
  }
}

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

  .mobile-toggle {
    display: inline-block;
  }

  .logo-text {
    font-size: 20px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 46px;
  }

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

  .hero-copy h1,
  .sub-hero h1 {
    letter-spacing: -0.03em;
  }

  .hero-copy p,
  .sub-hero p {
    font-size: 16px;
  }

  .hero-poster {
    transform: none;
  }

  .featured-grid,
  .movie-grid,
  .category-grid,
  .category-overview-grid,
  .rank-list.compact,
  .footer-shell,
  .filter-selects {
    grid-template-columns: 1fr;
  }

  .content-section,
  .sub-hero,
  .detail-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .content-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .split-head {
    display: block;
  }

  .text-link {
    display: inline-block;
    margin-top: 12px;
  }

  .rank-row {
    grid-template-columns: 34px 62px 1fr;
  }

  .rank-trend {
    display: none;
  }

  .play-circle {
    width: 72px;
    height: 72px;
    font-size: 32px;
  }
}

@media (max-width: 520px) {
  .movie-grid {
    grid-template-columns: 1fr;
  }

  .poster-wrap {
    aspect-ratio: 16 / 10;
  }

  .detail-card {
    padding: 20px;
  }
}
