:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --teal-500: #14b8a6;
  --amber-50: #fffbeb;
  --amber-500: #f59e0b;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow-soft: 0 18px 45px rgba(15, 118, 110, 0.12);
  --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  background: linear-gradient(180deg, #ffffff 0%, #f7fffb 50%, #ffffff 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 185, 129, 0.16);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

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

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

.brand-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald-600), var(--teal-500));
  box-shadow: 0 10px 20px rgba(5, 150, 105, 0.22);
}

.brand-text {
  font-size: clamp(19px, 2vw, 25px);
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--emerald-700), var(--teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--gray-700);
  font-weight: 650;
}

.main-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--emerald-600), var(--teal-500));
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--emerald-700);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 14px;
  background: var(--emerald-50);
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--emerald-700);
  border-radius: 99px;
}

.hero-section {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(20, 184, 166, 0.24), transparent 28%),
    radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.18), transparent 26%),
    linear-gradient(135deg, #d1fae5 0%, #f0fdfa 48%, #fffbeb 100%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero-container {
  position: relative;
  min-height: 680px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 48px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-label,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(5, 150, 105, 0.18);
  border-radius: 999px;
  color: var(--emerald-700);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  background: linear-gradient(90deg, var(--emerald-700), var(--teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 700px;
  margin: 0 0 24px;
  color: var(--gray-600);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

.hero-tags,
.detail-facts,
.page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-tags span,
.detail-facts span,
.page-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  font-size: 13px;
  font-weight: 700;
}

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

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--emerald-600), var(--teal-500));
  box-shadow: 0 16px 32px rgba(5, 150, 105, 0.22);
}

.button-secondary {
  border: 2px solid rgba(5, 150, 105, 0.78);
  color: var(--emerald-700);
  background: rgba(255, 255, 255, 0.88);
}

.button-primary:hover,
.button-secondary:hover,
.text-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(5, 150, 105, 0.18);
}

.hero-poster {
  position: relative;
  display: block;
  width: min(390px, 100%);
  margin-left: auto;
  border: 12px solid rgba(255, 255, 255, 0.72);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(15, 118, 110, 0.28);
  transform: rotate(2deg);
}

.hero-poster::before,
.hero-poster::after {
  position: absolute;
  content: "";
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.36);
  z-index: -1;
}

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

.hero-poster span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(5, 150, 105, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.hero-controls {
  position: absolute;
  bottom: 82px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-controls button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--emerald-700);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
}

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

.hero-dot {
  width: 10px !important;
  height: 10px !important;
  padding: 0;
  background: rgba(5, 150, 105, 0.22) !important;
}

.hero-dot.is-active {
  width: 28px !important;
  background: var(--emerald-600) !important;
}

.hero-fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, #ffffff);
}

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

.soft-bg {
  background: linear-gradient(90deg, rgba(236, 253, 245, 0.74), rgba(240, 253, 250, 0.92), rgba(255, 251, 235, 0.58));
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 0;
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.75;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.12);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(5, 150, 105, 0.25);
  box-shadow: 0 22px 54px rgba(15, 118, 110, 0.16);
  transform: translateY(-8px);
}

.movie-cover-link,
.cover-frame {
  display: block;
}

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

.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-year,
.card-rank,
.play-chip {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.card-year,
.card-rank {
  top: 12px;
  right: 12px;
  padding: 6px 9px;
  color: #ffffff;
  background: var(--emerald-600);
}

.card-rank {
  background: linear-gradient(90deg, var(--amber-500), #fb7185);
}

.play-chip {
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: var(--emerald-700);
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-chip {
  opacity: 1;
  transform: translateY(0);
}

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

.movie-card-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.movie-card-body h3 a:hover {
  color: var(--emerald-700);
}

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

.movie-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 750;
}

.movie-meta-row a {
  color: var(--emerald-700);
}

.movie-card-compact {
  min-width: 240px;
}

.horizontal-rail {
  display: flex;
  gap: 22px;
  padding: 4px 4px 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.horizontal-rail .movie-card {
  scroll-snap-align: start;
}

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

.spotlight-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.spotlight-big {
  grid-column: span 2;
  grid-row: span 2;
}

.spotlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

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

.spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.82));
}

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

.spotlight-copy strong,
.spotlight-copy em,
.spotlight-copy span {
  display: block;
}

.spotlight-copy strong {
  margin-bottom: 8px;
  font-size: 24px;
  font-style: normal;
}

.spotlight-copy em {
  display: -webkit-box;
  margin-bottom: 10px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  font-style: normal;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.spotlight-copy span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

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

.category-tile {
  min-height: 172px;
  padding: 24px;
  border: 1px solid rgba(5, 150, 105, 0.13);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile span,
.category-tile strong,
.category-tile em {
  display: block;
}

.category-tile span {
  margin-bottom: 10px;
  color: var(--gray-900);
  font-size: 20px;
  font-weight: 850;
}

.category-tile strong {
  margin-bottom: 12px;
  color: var(--emerald-700);
  font-size: 32px;
}

.category-tile em {
  color: var(--gray-600);
  font-style: normal;
  line-height: 1.6;
}

.ranking-preview {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: start;
}

.ranking-preview .section-heading {
  margin-left: 0;
  text-align: left;
}

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

.rank-row,
.full-rank-row {
  display: grid;
  align-items: center;
  border: 1px solid rgba(5, 150, 105, 0.12);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-row {
  grid-template-columns: 46px 62px minmax(0, 1fr) 60px;
  gap: 14px;
  padding: 10px 14px;
}

.rank-row:hover,
.full-rank-row:hover {
  border-color: rgba(5, 150, 105, 0.32);
  transform: translateX(4px);
}

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

.rank-row img {
  width: 62px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--gray-100);
}

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

.rank-copy strong {
  margin-bottom: 5px;
}

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

.rank-score {
  color: var(--amber-500);
  font-weight: 900;
}

.seo-panel {
  padding: 66px 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald-700), var(--teal-500));
}

.seo-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
}

.seo-panel p {
  max-width: 920px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.75;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 66px;
  background:
    radial-gradient(circle at 82% 18%, rgba(20, 184, 166, 0.22), transparent 30%),
    linear-gradient(135deg, #ecfdf5, #ffffff 56%, #fffbeb);
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -0.06em;
}

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

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 160px 160px auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 32px;
  padding: 18px;
  border: 1px solid rgba(5, 150, 105, 0.14);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.filter-bar label {
  display: grid;
  gap: 7px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  color: var(--gray-900);
  background: var(--gray-50);
  outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(5, 150, 105, 0.45);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.result-count {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 16px;
  color: var(--emerald-700);
  background: var(--emerald-50);
  font-weight: 850;
}

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

.category-card-large {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
  border: 1px solid rgba(5, 150, 105, 0.12);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.category-card-cover {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.category-card-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  object-fit: cover;
  background: var(--gray-100);
}

.category-card-large span {
  color: var(--emerald-700);
  font-size: 13px;
  font-weight: 850;
}

.category-card-large h2 {
  margin: 8px 0 10px;
  font-size: 28px;
}

.category-card-large p {
  margin: 0 0 16px;
  color: var(--gray-600);
  line-height: 1.7;
}

.text-link {
  min-height: 0;
  padding: 0;
  color: var(--emerald-700);
  background: transparent;
}

.full-rank-row {
  grid-template-columns: 72px minmax(160px, 1fr) minmax(160px, 1fr) 70px;
  gap: 12px;
  padding: 15px 18px;
}

.full-rank-row span {
  color: var(--emerald-700);
  font-weight: 900;
}

.full-rank-row em {
  overflow: hidden;
  color: var(--gray-500);
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.full-rank-row b {
  color: var(--amber-500);
}

.detail-hero {
  padding-bottom: 78px;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.detail-hero-inner {
  position: relative;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 700;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border: 12px solid rgba(255, 255, 255, 0.8);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--gray-100);
}

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 22px;
  color: var(--gray-600);
  font-size: 20px;
  line-height: 1.75;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.tag-cloud a {
  padding: 7px 11px;
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: 999px;
  color: var(--emerald-700);
  background: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 750;
}

.player-card {
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.14);
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.72));
  text-align: center;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-round {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin: 0 auto;
  border-radius: 999px;
  color: var(--emerald-700);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  font-size: 30px;
}

.player-overlay strong,
.player-overlay em {
  display: block;
}

.player-overlay strong {
  font-size: clamp(20px, 3vw, 32px);
}

.player-overlay em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.player-message {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  margin: 0;
  color: #ffffff;
  text-align: center;
  pointer-events: none;
}

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

.content-card {
  padding: 28px;
  border: 1px solid rgba(5, 150, 105, 0.12);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 25px;
}

.content-card p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.9;
}

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

.info-card dt {
  color: var(--gray-500);
  font-weight: 800;
}

.info-card dd {
  margin: 0;
  color: var(--gray-900);
  line-height: 1.6;
}

.info-card a {
  color: var(--emerald-700);
  font-weight: 800;
}

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

.sitemap-links ul {
  columns: 3;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-links li {
  break-inside: avoid;
  margin-bottom: 9px;
}

.sitemap-links a {
  color: var(--gray-700);
  line-height: 1.6;
}

.sitemap-links a:hover {
  color: var(--emerald-700);
}

.site-footer {
  border-top: 1px solid rgba(16, 185, 129, 0.14);
  background: linear-gradient(180deg, var(--emerald-50), #ffffff);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding: 48px 0;
}

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

.site-footer h3 {
  margin: 0 0 12px;
}

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

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

.back-top {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--emerald-600);
  font-weight: 800;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(16, 185, 129, 0.13);
  color: var(--gray-500);
  text-align: center;
  font-size: 14px;
}

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

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

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

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

@media (max-width: 860px) {
  .mobile-menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(16, 185, 129, 0.14);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .main-nav a:hover {
    background: var(--emerald-50);
  }

  .main-nav a::after {
    display: none;
  }

  .hero-section,
  .hero-container {
    min-height: 820px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 44px 0 120px;
  }

  .hero-poster {
    width: min(310px, 86vw);
    margin: 0 auto;
  }

  .hero-controls {
    bottom: 46px;
  }

  .ranking-preview,
  .detail-layout,
  .category-list-large,
  .category-card-large {
    grid-template-columns: 1fr;
  }

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

  .full-rank-row {
    grid-template-columns: 56px minmax(0, 1fr) 54px;
  }

  .full-rank-row em {
    display: none;
  }

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

  .sitemap-links ul {
    columns: 2;
  }
}

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

  .header-inner {
    min-height: 66px;
  }

  .main-nav {
    top: 66px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
  }

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

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

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

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

  .movie-card-body h3 {
    font-size: 15px;
  }

  .movie-card-body p {
    font-size: 13px;
  }

  .spotlight-grid,
  .category-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .spotlight-big {
    grid-column: span 1;
    grid-row: span 1;
  }

  .detail-poster {
    max-width: 280px;
  }

  .content-card {
    padding: 22px;
  }

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

  .sitemap-links ul {
    columns: 1;
  }
}
