:root {
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --cyan: #06b6d4;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #f8fafc;
  --line: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

* {
  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(--ink);
  background: var(--white);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.site-header-home {
  color: white;
  background: transparent;
}

.site-header-solid,
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

.nav-wrap {
  max-width: 1280px;
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  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;
}

.brand-mark,
.footer-logo span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.34);
}

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

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

.nav-link {
  position: relative;
  font-weight: 700;
  opacity: 0.9;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  padding: 10px 24px 18px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
}

.mobile-link.active,
.mobile-link:hover {
  color: var(--blue);
  background: #eff6ff;
}

.hero-carousel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 60px;
  align-items: center;
  padding: 110px max(24px, calc((100vw - 1180px) / 2)) 80px;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 1.1s ease;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 40%, rgba(6, 182, 212, 0.34), transparent 30%),
    linear-gradient(110deg, rgba(2, 6, 23, 0.94) 0%, rgba(15, 23, 42, 0.78) 48%, rgba(15, 23, 42, 0.34) 100%);
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  margin-bottom: 20px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(191, 219, 254, 0.3);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-content h1 {
  margin: 0 0 24px;
  max-width: 760px;
  color: white;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

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

.hero-tags span,
.tag-row span {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.tag-row span {
  color: var(--blue);
  background: #eff6ff;
}

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

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

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

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

.ghost-btn {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.outline-btn {
  color: var(--blue);
  border: 1px solid #bfdbfe;
  background: white;
}

.hero-poster {
  align-self: center;
  justify-self: end;
  width: min(360px, 30vw);
  aspect-ratio: 2 / 3;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.hero-dot.is-active {
  width: 36px;
  background: white;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 78px;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: white;
  transform: translateX(-50%);
  animation: scroll-hint 1.8s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 12px); opacity: 0.35; }
}

.home-search-panel {
  position: relative;
  z-index: 4;
  margin-top: -44px;
  padding: 0 24px;
}

.search-panel-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  gap: 24px;
  align-items: center;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-panel-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.search-panel-inner p {
  margin: 0;
  color: var(--muted);
}

.home-search,
.search-box-panel,
.filter-bar {
  display: flex;
  gap: 12px;
}

.home-search input,
.search-box-panel input,
.filter-input,
.filter-select,
.search-box-panel select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  color: var(--ink);
  background: white;
  outline: none;
}

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

.home-search button,
.search-box-panel button {
  min-width: 94px;
  border: 0;
  border-radius: 16px;
  color: white;
  font-weight: 800;
  background: var(--blue);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 24px;
}

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

.section-head span {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

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

.soft-section {
  max-width: none;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.soft-section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 24px;
  background: white;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.17);
}

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

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

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

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(2, 6, 23, 0.44);
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster::after {
  opacity: 1;
}

.poster-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  background: rgba(37, 99, 235, 0.86);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.poster-year {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 10px;
  color: white;
  background: rgba(2, 6, 23, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.movie-info {
  padding: 18px;
}

.movie-title {
  display: block;
  min-height: 28px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 900;
  transition: color 0.2s ease;
}

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

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

.movie-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.movie-card.compact .movie-info {
  padding: 15px;
}

.movie-card.compact .movie-title {
  font-size: 16px;
}

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

.category-card,
.overview-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: 26px;
  padding: 24px;
  color: white;
  box-shadow: var(--shadow);
}

.category-card span,
.overview-copy span {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 900;
}

.category-card strong,
.overview-copy p {
  position: relative;
  z-index: 2;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.category-card img {
  position: absolute;
  right: -22px;
  bottom: -32px;
  width: 120px;
  height: 176px;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0.42;
  transform: rotate(8deg);
}

.overview-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.overview-images {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 8px;
}

.overview-images img {
  width: 54px;
  height: 78px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.overview-copy {
  position: relative;
  z-index: 2;
}

.overview-copy h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.gradient-blue { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.gradient-cyan { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.gradient-purple { background: linear-gradient(135deg, #7c3aed, #d946ef); }
.gradient-orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.gradient-pink { background: linear-gradient(135deg, #db2777, #fb7185); }
.gradient-green { background: linear-gradient(135deg, #16a34a, #14b8a6); }
.gradient-teal { background: linear-gradient(135deg, #0f766e, #06b6d4); }
.gradient-indigo { background: linear-gradient(135deg, #4f46e5, #06b6d4); }
.gradient-yellow { background: linear-gradient(135deg, #ca8a04, #f97316); }
.gradient-sky { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.gradient-slate { background: linear-gradient(135deg, #334155, #0f172a); }
.gradient-rose { background: linear-gradient(135deg, #be123c, #f97316); }

.rank-section {
  max-width: none;
  color: white;
  background:
    radial-gradient(circle at 16% 20%, rgba(37, 99, 235, 0.35), transparent 28%),
    linear-gradient(135deg, #020617, #111827 62%, #0f172a);
}

.rank-section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-head.inverted span {
  color: #93c5fd;
}

.section-head.inverted p {
  color: rgba(255, 255, 255, 0.72);
}

.rank-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 28px;
}

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

.rank-list.light .rank-item {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
}

.rank-item {
  display: grid;
  grid-template-columns: 48px 58px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 12px;
  border-radius: 20px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.22s ease, background 0.22s ease;
}

.rank-item:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.15);
}

.rank-num {
  font-size: 22px;
  font-weight: 950;
  color: #93c5fd;
}

.rank-item img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
}

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

.rank-copy strong {
  font-size: 16px;
}

.rank-copy em {
  margin-top: 4px;
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
}

.rank-section .rank-copy em {
  color: rgba(255, 255, 255, 0.66);
}

.rank-spotlight {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rank-spotlight img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
}

.rank-spotlight span {
  color: #93c5fd;
  font-weight: 900;
}

.rank-spotlight h3 {
  margin: 10px 0 16px;
  font-size: clamp(30px, 4vw, 48px);
}

.rank-spotlight p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

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

.page-main {
  padding-top: 76px;
}

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 70px max(24px, calc((100vw - 1180px) / 2));
  color: white;
  background:
    radial-gradient(circle at 82% 20%, rgba(6, 182, 212, 0.36), transparent 28%),
    linear-gradient(135deg, #0f172a, #1d4ed8);
}

.page-hero h1 {
  margin: 0 0 16px;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.8;
}

.dark-hero {
  background:
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.46), transparent 28%),
    linear-gradient(135deg, #020617, #0f172a);
}

.search-hero {
  background:
    radial-gradient(circle at 72% 20%, rgba(14, 165, 233, 0.46), transparent 30%),
    linear-gradient(135deg, #075985, #1e3a8a);
}

.filter-bar {
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-input {
  flex: 1 1 280px;
}

.filter-select {
  max-width: 190px;
}

.search-page-section {
  max-width: 1040px;
}

.search-box-panel {
  margin-bottom: 34px;
  padding: 18px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.search-box-panel input {
  flex: 1 1 auto;
}

.search-box-panel select {
  max-width: 160px;
}

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

.ranking-board {
  padding: 22px;
  border-radius: 28px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.ranking-board h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

.detail-main {
  background: white;
}

.detail-hero {
  position: relative;
  min-height: 720px;
  padding-top: 90px;
  color: white;
  background-size: cover;
  background-position: center;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(6, 182, 212, 0.2), transparent 30%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.82) 52%, rgba(15, 23, 42, 0.48));
}

.detail-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 80px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: white;
}

.detail-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
}

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

.detail-copy h1 {
  margin: 0 0 22px;
  max-width: 820px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.detail-copy .lead {
  max-width: 760px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.85;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

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

.detail-section {
  max-width: 1040px;
}

.player-stage {
  margin-top: -168px;
  position: relative;
  z-index: 4;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #020617;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.28);
  aspect-ratio: 16 / 9;
}

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

.play-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  color: white;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.72));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-layer.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-circle {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.42);
  font-size: 30px;
}

.play-layer strong {
  max-width: 82%;
  text-align: center;
  font-size: clamp(20px, 3vw, 34px);
}

.detail-article {
  max-width: 860px;
  margin: 44px auto 0;
  color: #334155;
  font-size: 18px;
  line-height: 1.95;
}

.detail-article h2 {
  margin: 32px 0 12px;
  color: var(--ink);
  font-size: 30px;
  letter-spacing: -0.03em;
}

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

.site-footer {
  color: white;
  background: linear-gradient(180deg, #111827, #020617);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px 34px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 900;
}

.footer-brand p,
.footer-col p,
.footer-col a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
}

.footer-col h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

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

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .hero-slide {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

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

  .rank-layout,
  .rank-spotlight,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

  .mobile-toggle {
    display: block;
  }

  .nav-wrap {
    height: 68px;
    padding: 0 18px;
  }

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

  .hero-slide {
    min-height: 100vh;
    padding: 96px 20px 100px;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .search-panel-inner,
  .home-search,
  .search-box-panel,
  .filter-bar {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .filter-select,
  .search-box-panel select {
    max-width: none;
  }

  .section {
    padding: 64px 18px;
  }

  .movie-grid,
  .featured-grid,
  .category-grid,
  .overview-grid,
  .related-grid,
  .rankings-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .movie-info {
    padding: 14px;
  }

  .movie-info p,
  .tag-row {
    display: none;
  }

  .page-main {
    padding-top: 68px;
  }

  .page-hero {
    min-height: 300px;
    padding: 58px 18px;
  }

  .detail-hero {
    min-height: 640px;
    padding-top: 70px;
  }

  .detail-inner {
    padding: 24px 18px 120px;
  }

  .detail-poster {
    display: none;
  }

  .player-stage {
    margin-top: -116px;
  }

  .video-shell {
    border-radius: 22px;
  }

  .footer-inner {
    padding: 44px 18px 28px;
  }
}

@media (max-width: 480px) {
  .movie-grid,
  .featured-grid,
  .category-grid,
  .overview-grid,
  .related-grid,
  .rankings-wrap {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 42px 54px 1fr;
  }
}
