:root {
  --pudding-50: #fff9f3;
  --pudding-100: #fef1df;
  --pudding-600: #f0b46f;
  --pudding-700: #e09d55;
  --moonlight-50: #f8f9fd;
  --moonlight-100: #f0f3fb;
  --moonlight-500: #9baee3;
  --moonlight-600: #7d93d9;
  --moonlight-700: #6178ca;
  --soft-pink: #fde8f5;
  --soft-blue: #e8f4fd;
  --soft-green: #e8fdf4;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #efe6db;
  --shadow-soft: 0 2px 15px -3px rgba(0, 0, 0, .07), 0 10px 20px -2px rgba(0, 0, 0, .04);
  --shadow-large: 0 18px 55px rgba(74, 64, 110, .14);
  --radius-soft: 1.25rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--pudding-50) 0%, #ffffff 42%, var(--moonlight-50) 100%);
  min-height: 100vh;
}

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

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

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: 80;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(240, 180, 111, .22);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #fefdfb, #f0f3fb);
  box-shadow: 0 4px 20px rgba(155, 174, 227, .22);
}

.brand-text {
  font-size: 22px;
  background: linear-gradient(90deg, var(--pudding-700), var(--moonlight-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link {
  color: #4b5563;
  font-weight: 700;
  transition: color .25s ease;
}

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

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--pudding-100);
  border-radius: 999px;
  background: var(--pudding-50);
}

.header-search input,
.mobile-search input,
.filter-bar input,
.filter-bar select {
  border: 0;
  outline: 0;
  background: #ffffff;
  color: var(--text);
}

.header-search input {
  width: 210px;
  padding: 9px 12px;
  border-radius: 999px;
}

.header-search button,
.mobile-search button {
  border: 0;
  color: #ffffff;
  background: var(--moonlight-600);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--pudding-50);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

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

.mobile-nav {
  display: none;
  border-top: 1px solid var(--pudding-100);
  padding: 16px;
  background: rgba(255, 255, 255, .95);
}

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

.mobile-link {
  display: block;
  padding: 12px 0;
  color: #374151;
  font-weight: 700;
}

.mobile-link.active {
  color: var(--moonlight-700);
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin: 10px 0 14px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  border-radius: 999px;
  padding: 12px 14px;
  border: 1px solid var(--pudding-100);
}

.mobile-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-cats a {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--moonlight-100);
  color: var(--moonlight-700);
  font-size: 14px;
}

.hero-carousel {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity .65s ease;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 35%, rgba(125, 147, 217, .45), transparent 32%),
    linear-gradient(90deg, rgba(17, 24, 39, .92), rgba(17, 24, 39, .58), rgba(17, 24, 39, .28)),
    linear-gradient(0deg, rgba(17, 24, 39, .88), rgba(17, 24, 39, .2));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(270px, .55fr);
  align-items: center;
  gap: 46px;
  padding: 70px 0 96px;
}

.hero-copy {
  max-width: 780px;
  color: #ffffff;
  animation: fadeIn .65s ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pudding-600);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-copy h1,
.sub-hero h1,
.detail-intro h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-desc {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
  line-height: 1.9;
}

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

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

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

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 8px 12px;
  backdrop-filter: blur(8px);
}

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pudding-600), var(--moonlight-600));
  box-shadow: 0 12px 30px rgba(125, 147, 217, .32);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
}

.hero-poster {
  display: block;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .42);
  transform: rotate(2deg);
  background: rgba(255, 255, 255, .1);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 6;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(14px);
}

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

.hero-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, .18);
  font-size: 24px;
  line-height: 1;
}

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

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

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

.highlight-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: -46px;
  position: relative;
  z-index: 8;
}

.highlight-strip a {
  padding: 22px;
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .6);
}

.highlight-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.highlight-strip span {
  color: var(--muted);
  font-size: 14px;
}

.page-section {
  padding: 74px 0 0;
}

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

.section-title h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
}

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

.section-more {
  color: var(--moonlight-700);
  font-weight: 800;
  white-space: nowrap;
}

.section-more span {
  margin-left: 4px;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.card-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.card-cover {
  position: relative;
  overflow: hidden;
  background: var(--pudding-50);
}

.card-cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .45s ease;
}

.card-link:hover .card-cover img {
  transform: scale(1.08);
}

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .52), transparent 58%);
  opacity: 0;
  transition: opacity .25s ease;
}

.card-link:hover .card-cover::after {
  opacity: 1;
}

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--moonlight-700);
  background: rgba(255, 255, 255, .92);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.78);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}

.card-link:hover .card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.card-score {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(240, 180, 111, .94);
  font-weight: 900;
  font-size: 13px;
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin: 0;
  min-height: 50px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-meta {
  margin: 10px 0 0;
  color: var(--moonlight-700);
  font-size: 13px;
  font-weight: 700;
}

.card-desc {
  min-height: 44px;
  margin: 10px 0 14px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.tag-row span,
.tag-cloud span {
  padding: 6px 10px;
  color: var(--moonlight-700);
  background: var(--moonlight-100);
}

.soft-band {
  margin-top: 76px;
  padding-bottom: 74px;
  background: linear-gradient(135deg, var(--soft-pink), var(--soft-blue));
}

.category-grid,
.category-overview-grid {
  display: grid;
  gap: 18px;
}

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

.category-card,
.category-overview-card {
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, .64);
  transition: transform .25s ease, box-shadow .25s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.category-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 20px;
  text-align: center;
}

.category-card span,
.cat-icon {
  font-size: 32px;
}

.category-card strong,
.category-overview-card h2 {
  font-size: 18px;
  font-weight: 900;
}

.category-card em,
.category-overview-card p {
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
  font-size: 14px;
}

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

.ranking-panel {
  position: sticky;
  top: 94px;
  padding: 24px;
  border-radius: var(--radius-soft);
  background: linear-gradient(135deg, var(--pudding-50), var(--moonlight-100));
  box-shadow: var(--shadow-soft);
}

.ranking-panel h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}

.ranking-panel p {
  margin: 8px 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 36px 60px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
}

.rank-number {
  color: var(--pudding-700);
  font-size: 18px;
  font-weight: 900;
}

.rank-item img {
  width: 60px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

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

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

.rank-info em,
.ranking-row-main em,
.ranking-row-main small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

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

.editor-card {
  display: grid;
  grid-template-columns: 46% 1fr;
  overflow: hidden;
  border-radius: var(--radius-soft);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}

.editor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.editor-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.editor-card span {
  padding: 28px;
}

.editor-card em {
  color: var(--moonlight-700);
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
}

.editor-card strong {
  display: block;
  margin: 10px 0;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 900;
}

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

.cta-band {
  margin-top: 82px;
  padding: 74px 0;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at 25% 30%, rgba(240, 180, 111, .36), transparent 28%),
    linear-gradient(135deg, #1f2937, #5267b0);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
}

.cta-band p {
  max-width: 680px;
  margin: 14px auto 26px;
  color: rgba(255, 255, 255, .86);
  line-height: 1.8;
}

.sub-hero {
  padding: 72px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(125, 147, 217, .18), transparent 26%),
    linear-gradient(135deg, #fefdfb, #f0f3fb);
}

.sub-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

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

.breadcrumb a:hover {
  color: var(--moonlight-700);
}

.breadcrumb.light {
  color: rgba(255, 255, 255, .75);
}

.breadcrumb.light a:hover {
  color: #ffffff;
}

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

.category-overview-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 24px;
}

.cat-visual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.cat-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  object-fit: cover;
}

.category-overview-card h2,
.category-overview-card p {
  position: relative;
  z-index: 2;
  margin: 8px 0 0;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(130px, 180px));
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px;
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-soft);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--pudding-100);
  padding: 0 16px;
}

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

.empty-state.show {
  display: block;
}

.ranking-table {
  display: grid;
  gap: 12px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 56px 86px minmax(0, 1fr) 70px;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}

.ranking-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-large);
}

.rank-number.large {
  text-align: center;
  font-size: 24px;
}

.ranking-row img {
  width: 86px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

.ranking-score {
  justify-self: end;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--pudding-600);
  font-weight: 900;
}

.detail-hero {
  position: relative;
  color: #ffffff;
  background-size: cover;
  background-position: center;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, .95), rgba(17, 24, 39, .66)),
    linear-gradient(0deg, rgba(17, 24, 39, .9), rgba(17, 24, 39, .18));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 54px 0 72px;
}

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

.detail-cover {
  width: 260px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 26px 72px rgba(0, 0, 0, .45);
}

.detail-intro p:not(.eyebrow) {
  max-width: 800px;
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
  line-height: 1.85;
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.detail-stats span {
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding-top: 42px;
}

.movie-player {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #111827;
  box-shadow: var(--shadow-large);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(125, 147, 217, .22), transparent 34%),
    linear-gradient(0deg, rgba(17, 24, 39, .72), rgba(17, 24, 39, .28));
}

.movie-player.is-playing .player-overlay {
  opacity: 0;
  pointer-events: none;
}

.play-icon {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--moonlight-700);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .28);
  font-size: 30px;
}

.player-overlay strong {
  max-width: 90%;
  text-align: center;
  font-size: 22px;
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  color: #ffffff;
  text-align: center;
  background: rgba(17, 24, 39, .78);
}

.player-message.show {
  display: block;
}

.content-card {
  margin-top: 24px;
  padding: 28px;
  border-radius: var(--radius-soft);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.content-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 900;
}

.content-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.9;
  font-size: 16px;
}

.side-card {
  margin-top: 0;
  margin-bottom: 24px;
}

.side-card dl {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px 14px;
  margin: 0;
}

.side-card dt {
  color: var(--muted);
}

.side-card dd {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  margin-top: 90px;
  padding: 54px 0 0;
  background: linear-gradient(180deg, #ffffff, var(--pudding-50));
  border-top: 1px solid rgba(240, 180, 111, .22);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 34px;
}

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

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 900;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer a:hover {
  color: var(--moonlight-700);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 38px auto 0;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid rgba(240, 180, 111, .24);
  font-size: 14px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

  .hero-poster {
    display: none;
  }

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

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

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

  .ranking-panel {
    position: static;
  }
}

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

  .brand-text {
    font-size: 18px;
  }

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

  .hero-content {
    padding: 56px 0 92px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .highlight-strip {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

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

  .movie-grid-4,
  .movie-grid-3,
  .category-grid,
  .category-overview-grid,
  .editor-grid {
    grid-template-columns: 1fr;
  }

  .editor-card {
    grid-template-columns: 1fr;
  }

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

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

  .ranking-score {
    display: none;
  }

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

  .detail-cover {
    width: min(240px, 80vw);
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-controls {
    width: calc(100% - 28px);
    justify-content: space-between;
  }

  .hero-dots {
    max-width: 180px;
    overflow: hidden;
  }

  .card-body h3 {
    min-height: auto;
  }
}
