:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --dark: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f9fafb;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled,
.site-header.open {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.site-header.scrolled .brand,
.site-header.open .brand {
  color: var(--blue);
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.22);
}

.site-header.scrolled .brand-icon,
.site-header.open .brand-icon {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

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

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

.nav-link {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled .nav-link,
.site-header.open .nav-link {
  color: #374151;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: rgba(239, 246, 255, 0.95);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #ffffff;
}

.site-header.scrolled .menu-toggle,
.site-header.open .menu-toggle {
  background: #eff6ff;
}

.site-header.scrolled .menu-toggle span,
.site-header.open .menu-toggle span {
  background: var(--blue);
}

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

.mobile-nav .nav-link {
  display: block;
  color: #374151;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--teal));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.9), rgba(6, 182, 212, 0.72), rgba(20, 184, 166, 0.82));
}

.hero-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 35%, rgba(255, 255, 255, 0.22), transparent 26%), linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 64px;
  padding: 120px 0 150px;
}

.hero-text {
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 84px);
  text-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.hero-line {
  max-width: 720px;
  margin: 22px 0 26px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(17px, 2vw, 23px);
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

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

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

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

.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.26);
}

.hero .btn.primary {
  color: var(--blue);
  background: #ffffff;
}

.btn.ghost {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.btn.light {
  color: var(--blue);
  background: #ffffff;
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.32);
}

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

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

.hero-poster span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 106px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.hero-search {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 34px;
  width: min(660px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.16);
  transform: translateX(-50%);
}

.hero-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 18px;
  border-radius: 999px;
  color: #1f2937;
  background: transparent;
}

.hero-search button {
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  cursor: pointer;
}

.hero-quick-links {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 86px;
  display: flex;
  justify-content: center;
  gap: 12px;
  width: min(860px, calc(100% - 32px));
  transform: translateX(-50%);
}

.hero-quick-links a {
  max-width: 150px;
  overflow: hidden;
  padding: 5px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section {
  padding: 74px 0;
}

.soft-bg {
  background: linear-gradient(180deg, #f9fafb, #ffffff);
}

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

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

.section-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.16);
}

.poster-link {
  display: block;
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

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

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

.play-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.94);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.year-badge {
  left: 12px;
  bottom: 12px;
}

.rank-badge {
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.card-body {
  padding: 16px;
}

.card-title {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 8px;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.25s ease;
}

.movie-card:hover .card-title {
  color: var(--blue);
}

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

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.tag-row span {
  color: #1d4ed8;
  background: #eff6ff;
}

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

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 28px;
  border-radius: 28px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(1px);
  transition: transform 0.35s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
}

.category-card:hover::after {
  transform: scale(1.4);
}

.category-card strong,
.category-card span,
.category-card em {
  position: relative;
  z-index: 1;
  display: block;
}

.category-card strong {
  margin-bottom: 10px;
  font-size: 24px;
}

.category-card span {
  color: rgba(255, 255, 255, 0.9);
}

.category-card em {
  margin-top: 20px;
  font-style: normal;
  font-weight: 800;
}

.blue-cyan {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.purple-pink {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.orange-red {
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.green-teal {
  background: linear-gradient(135deg, #22c55e, #14b8a6);
}

.pink-rose {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.cyan-indigo {
  background: linear-gradient(135deg, #06b6d4, #6366f1);
}

.slate-blue {
  background: linear-gradient(135deg, #334155, #2563eb);
}

.teal-lime {
  background: linear-gradient(135deg, #14b8a6, #84cc16);
}

.amber-orange {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.red-purple {
  background: linear-gradient(135deg, #ef4444, #8b5cf6);
}

.indigo-blue {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
}

.emerald-cyan {
  background: linear-gradient(135deg, #10b981, #06b6d4);
}

.center-action {
  margin-top: 34px;
  text-align: center;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
}

.ranking-list,
.mini-grid,
.side-list {
  display: grid;
  gap: 14px;
}

.compact-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.compact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.compact-poster {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.compact-card strong,
.compact-card span,
.compact-card em {
  display: block;
}

.compact-card strong {
  color: #111827;
  line-height: 1.35;
}

.compact-card span {
  margin: 5px 0;
  color: var(--muted);
  font-size: 12px;
}

.compact-card em {
  color: var(--blue);
  font-style: normal;
  font-weight: 900;
}

.mini-rank {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-size: 12px;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 900;
}

.cta-section {
  padding: 86px 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--teal));
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 52px);
}

.cta-inner p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

.page-main {
  min-height: 100vh;
  background: #ffffff;
}

.page-hero {
  padding: 142px 0 72px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--teal));
}

.compact-hero h1 {
  max-width: 900px;
  font-size: clamp(36px, 6vw, 64px);
}

.compact-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.filter-bar {
  position: sticky;
  top: 88px;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 14px;
  margin-bottom: 26px;
  padding: 16px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.filter-bar label {
  display: grid;
  gap: 6px;
  color: #374151;
  font-size: 13px;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 0 14px;
  color: #111827;
  background: #ffffff;
  outline: 0;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.detail-main {
  background: #f9fafb;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

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

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) saturate(1.08);
  transform: scale(1.04);
}

.detail-bg div {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.62)), linear-gradient(135deg, rgba(37, 99, 235, 0.42), rgba(6, 182, 212, 0.3));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 132px 0 70px;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.detail-info h1 {
  margin-top: 18px;
  font-size: clamp(36px, 6vw, 68px);
}

.detail-line {
  max-width: 820px;
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.detail-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.detail-section {
  padding-top: 46px;
}

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

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  aspect-ratio: 16 / 9;
  background: #000000;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.66));
  cursor: pointer;
  text-align: center;
}

.player-overlay.hidden {
  display: none;
}

.overlay-play {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.28);
}

.player-overlay strong {
  max-width: 80%;
  font-size: 22px;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.36);
}

.content-card {
  margin-top: 24px;
  padding: 26px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

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

.content-card p {
  margin: 0;
  color: #374151;
  font-size: 16px;
}

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

.info-list {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px 14px;
  margin: 0;
}

.info-list dt {
  color: #6b7280;
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  color: #111827;
}

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

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

.site-footer {
  color: #d1d5db;
  background: #111827;
}

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

.footer-logo {
  color: #ffffff;
}

.footer-brand p {
  max-width: 420px;
  margin: 16px 0 0;
  color: #9ca3af;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a {
  color: #9ca3af;
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding: 18px 16px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  text-align: center;
}

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

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

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

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

  .menu-toggle {
    display: block;
  }

  .site-header.open .mobile-nav {
    display: grid;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

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

  .hero-actions,
  .hero-tags {
    justify-content: center;
  }

  .hero-quick-links {
    display: none;
  }

  .card-grid,
  .category-grid,
  .category-grid.large,
  .split-layout,
  .detail-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .detail-hero-inner {
    grid-template-columns: 220px 1fr;
  }

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

@media (max-width: 640px) {
  .header-inner {
    height: 66px;
  }

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

  .hero-content {
    padding-top: 98px;
    padding-bottom: 132px;
  }

  .hero-search {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .hero-search input,
  .hero-search button {
    min-height: 44px;
  }

  .hero-controls {
    bottom: 120px;
  }

  .section {
    padding: 54px 0;
  }

  .card-grid,
  .all-movie-grid,
  .ranking-grid,
  .related-grid,
  .category-grid,
  .category-grid.large,
  .split-layout,
  .detail-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .detail-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 104px;
  }

  .detail-poster {
    width: min(240px, 72vw);
  }

  .detail-info h1 {
    font-size: 38px;
  }

  .player-box {
    border-radius: 18px;
  }

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