:root {
  --rose: #fb7185;
  --rose-deep: #f43f5e;
  --pink: #f472b6;
  --teal: #2dd4bf;
  --teal-deep: #14b8a6;
  --amber: #f59e0b;
  --gray-950: #0f172a;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --soft: #fff7f8;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
  --shadow-hover: 0 28px 70px rgba(244, 63, 94, 0.18);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--gray-900);
}

.site-logo-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  font-size: 20px;
  background: linear-gradient(135deg, var(--rose), var(--teal));
  box-shadow: 0 14px 34px rgba(45, 212, 191, 0.28);
}

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

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

.nav-link,
.mobile-nav-link {
  color: var(--gray-700);
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease;
}

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

.mobile-nav-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
  cursor: pointer;
}

.mobile-nav-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--gray-700);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

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

.mobile-nav-link {
  padding: 10px 14px;
  border-radius: 12px;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  background: #fff1f2;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background: radial-gradient(circle at top left, #ffe4e6 0%, rgba(255, 228, 230, 0.55) 24%, transparent 45%), linear-gradient(135deg, #fff1f2 0%, #f0fdfa 45%, #fff7ed 100%);
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0 58px;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  filter: blur(10px);
  opacity: 0.55;
  border-radius: 999px;
}

.hero-glow-rose {
  width: 360px;
  height: 360px;
  left: -80px;
  top: 80px;
  background: rgba(251, 113, 133, 0.25);
}

.hero-glow-teal {
  width: 460px;
  height: 460px;
  right: -120px;
  bottom: -80px;
  background: rgba(45, 212, 191, 0.24);
}

.hero-slides {
  position: relative;
  min-height: 440px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 54px;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-kicker,
.page-hero span,
.section-heading span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--rose-deep);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(251, 113, 133, 0.18);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(251, 113, 133, 0.10);
}

.hero-copy h1 {
  max-width: 720px;
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.075em;
  background: linear-gradient(90deg, var(--rose-deep), var(--pink), var(--teal-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--gray-700);
  font-size: 20px;
  line-height: 1.85;
}

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

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

.hero-tags span,
.movie-tag-row span,
.detail-tags span,
.detail-tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

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

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

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--rose-deep), var(--teal-deep));
  box-shadow: 0 16px 34px rgba(20, 184, 166, 0.22);
}

.button-primary:hover {
  box-shadow: 0 20px 42px rgba(244, 63, 94, 0.24);
}

.button-soft {
  color: var(--gray-800);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.hero-visual {
  position: relative;
  display: block;
  min-height: 410px;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-hover);
  transform: rotate(1deg);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(15, 23, 42, 0.65));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-visual:hover img {
  transform: scale(1.08);
}

.hero-visual span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.hero-dots {
  display: flex;
  gap: 9px;
  margin-top: 24px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.22);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--rose-deep), var(--teal-deep));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.hero-stats a {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-stats a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.hero-stats strong {
  display: block;
  color: var(--rose-deep);
  font-size: 24px;
  line-height: 1.2;
}

.hero-stats span {
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 700;
}

.home-search {
  width: min(1180px, calc(100% - 32px));
  margin: -28px auto 0;
  position: relative;
  z-index: 4;
}

.home-search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  border: 1px solid rgba(229, 231, 235, 0.8);
}

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

.home-search-box input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(45, 212, 191, 0.75);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.14);
}

.home-search-box button {
  min-width: 118px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(90deg, var(--rose-deep), var(--teal-deep));
  cursor: pointer;
}

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

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

.section-heading h2 {
  margin: 10px 0 0;
  color: var(--gray-900);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.section-more {
  color: var(--rose-deep);
  font-weight: 900;
}

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

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

.movie-card {
  min-width: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

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

.movie-poster {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #fff1f2, #ccfbf1);
  overflow: hidden;
}

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

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

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

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.58));
}

.poster-badge,
.poster-duration {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

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

.poster-duration {
  right: 12px;
  bottom: 12px;
  background: rgba(17, 24, 39, 0.74);
}

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

.movie-card-body h2 {
  display: -webkit-box;
  min-height: 50px;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.38;
  letter-spacing: -0.02em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.25s ease;
}

.movie-card:hover .movie-card-body h2 {
  color: var(--rose-deep);
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 800;
}

.movie-meta-row span + span::before {
  content: "·";
  margin-right: 8px;
  color: #cbd5e1;
}

.movie-tag-row {
  gap: 7px;
}

.movie-tag-row span {
  min-height: 26px;
  background: #f9fafb;
}

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

.category-card {
  display: block;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #fff7f8);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  height: 112px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.12), rgba(45, 212, 191, 0.14));
}

.category-card-images img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

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

.category-card-body h2 {
  margin: 0 0 9px;
  color: var(--gray-900);
  font-size: 20px;
}

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

.category-card-body span {
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 900;
}

.ranking-section {
  padding-bottom: 76px;
}

.ranking-layout,
.ranking-page-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
}

.ranking-list,
.sidebar-panel {
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 16px;
}

.ranking-list-tall {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.compact-card {
  display: grid;
  grid-template-columns: auto 58px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.compact-card:hover {
  background: #fff1f2;
  transform: translateX(3px);
}

.compact-card img {
  width: 58px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff1f2;
}

.rank-number {
  min-width: 28px;
  color: var(--rose-deep);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.compact-card-text {
  min-width: 0;
}

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

.compact-card-text strong {
  color: var(--gray-900);
  font-size: 15px;
  line-height: 1.4;
}

.compact-card-text em {
  color: var(--gray-500);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

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

.page-hero {
  background: linear-gradient(135deg, #ffe4e6, #f0fdfa 58%, #fff7ed);
  overflow: hidden;
}

.page-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0;
  text-align: center;
}

.page-hero h1 {
  margin: 16px auto 14px;
  color: var(--gray-900);
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: 18px;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.filter-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 14px;
}

.filter-grid label {
  display: grid;
  gap: 8px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 900;
}

.empty-state {
  padding: 34px;
  border-radius: 18px;
  color: var(--gray-600);
  background: #ffffff;
  text-align: center;
  box-shadow: var(--shadow);
}

.detail-main {
  padding: 34px 0 76px;
}

.detail-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--rose-deep);
}

.player-card,
.detail-card,
.sidebar-cover {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.player-card {
  margin-bottom: 24px;
  padding: 12px;
  background: linear-gradient(135deg, #111827, #0f172a);
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.56));
  cursor: pointer;
  transition: background 0.25s ease;
  z-index: 3;
}

.play-overlay:hover {
  background: rgba(15, 23, 42, 0.54);
}

.play-overlay[hidden] {
  display: none;
}

.play-circle {
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding-left: 6px;
  color: var(--rose-deep);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  font-size: 36px;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}

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

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  padding: 12px 14px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  text-align: center;
  font-weight: 700;
}

.detail-card {
  padding: 28px;
}

.detail-card h1 {
  margin: 16px 0 12px;
  color: var(--gray-900);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.detail-one-line {
  margin: 0 0 18px;
  color: var(--gray-700);
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray-200);
}

.detail-meta span {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--gray-600);
  background: var(--gray-100);
  font-size: 13px;
  font-weight: 800;
}

.detail-card h2,
.sidebar-panel h2 {
  margin: 26px 0 12px;
  color: var(--gray-900);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.detail-card h2:first-of-type {
  margin-top: 0;
}

.detail-card p {
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.9;
}

.gradient-pill {
  color: #ffffff !important;
  background: linear-gradient(90deg, var(--rose-deep), var(--teal-deep)) !important;
  border: 0 !important;
}

.detail-tag-cloud {
  margin-top: 24px;
}

.detail-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.sidebar-cover {
  padding: 14px;
}

.sidebar-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  object-fit: cover;
  background: #fff1f2;
}

.sidebar-cover .button {
  width: 100%;
  margin-top: 14px;
}

.sidebar-panel h2 {
  margin-top: 6px;
}

.sidebar-panel .compact-card {
  grid-template-columns: 58px 1fr;
}

.sidebar-panel .rank-number {
  display: none;
}

.related-section {
  width: 100%;
  padding-top: 34px;
}

.site-footer {
  margin-top: 76px;
  background: linear-gradient(180deg, #f9fafb, #f3f4f6);
  border-top: 1px solid var(--gray-200);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-brand p {
  max-width: 440px;
  margin: 16px 0 0;
  color: var(--gray-600);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: var(--gray-900);
  font-size: 18px;
}

.footer-column a {
  color: var(--gray-600);
  font-weight: 700;
}

.footer-column a:hover {
  color: var(--rose-deep);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 14px;
  text-align: center;
}

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

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

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

  .hero-visual {
    min-height: 330px;
  }

  .detail-layout,
  .ranking-layout,
  .ranking-page-layout {
    grid-template-columns: 1fr;
  }

  .detail-sidebar,
  .ranking-list-tall {
    position: static;
  }
}

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

  .mobile-nav-button {
    display: block;
  }

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

  .hero-inner {
    padding-top: 48px;
  }

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

  .hero-slide {
    position: relative;
    display: none;
    gap: 30px;
  }

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

  .hero-copy h1 {
    font-size: clamp(36px, 12vw, 56px);
  }

  .hero-copy p {
    font-size: 17px;
  }

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

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

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

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

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

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header-inner {
    min-height: 64px;
  }

  .site-logo-mark {
    width: 38px;
    height: 38px;
  }

  .site-logo-text {
    font-size: 19px;
  }

  .home-search-box {
    grid-template-columns: 1fr;
  }

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

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 280px;
  }

  .detail-card {
    padding: 20px;
  }

  .compact-card {
    grid-template-columns: auto 52px 1fr;
  }

  .compact-card img {
    width: 52px;
    height: 68px;
  }
}
