:root {
  --sky: #0ea5e9;
  --sky-dark: #0284c7;
  --emerald: #059669;
  --ink: #171717;
  --muted: #666666;
  --line: #e5e5e5;
  --soft: #f0f9ff;
  --soft-2: #ecfdf5;
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #ffffff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

[hidden] {
  display: none !important;
}

.bg-white {
  background: #ffffff;
}

.soft-bg {
  background: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(229, 229, 229, 0.85);
  backdrop-filter: blur(14px);
}

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

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky), var(--emerald));
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.28);
  font-size: 14px;
}

.logo-text {
  font-size: 24px;
  background: linear-gradient(90deg, #0284c7, #059669);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 12px;
  color: #404040;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--sky-dark);
  background: #f0f9ff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-form,
.hero-search,
.search-page-form,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-form input,
.hero-search input,
.search-page-form input,
.mobile-search input,
.filter-controls input,
.filter-controls select {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f5f5f5;
  color: var(--ink);
  outline: none;
  transition: all 0.2s ease;
}

.search-form input {
  width: 250px;
  padding: 10px 12px;
  font-size: 14px;
}

.search-form input:focus,
.hero-search input:focus,
.search-page-form input:focus,
.mobile-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
  border-color: rgba(14, 165, 233, 0.5);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.search-form button,
.hero-search button,
.search-page-form button,
.mobile-search button {
  border: 0;
  border-radius: 12px;
  background: var(--sky);
  color: #ffffff;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-form button:hover,
.hero-search button:hover,
.search-page-form button:hover,
.mobile-search button:hover {
  background: var(--sky-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 0;
  color: #404040;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 22px;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 14px 16px 18px;
  background: #ffffff;
}

.mobile-menu nav {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.mobile-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #404040;
  font-weight: 700;
}

.mobile-menu a:hover {
  color: var(--sky-dark);
  background: #f0f9ff;
}

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

.hero-track,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

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

.hero-shade {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.70) 42%, rgba(2, 6, 23, 0.18) 100%), linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.05));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 820px;
  height: 100%;
  padding: 120px clamp(24px, 7vw, 110px) 110px;
  color: #ffffff;
}

.hero-tags,
.detail-meta,
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  margin: 20px 0 14px;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.85;
}

.hero-actions,
.hero-shortcuts,
.detail-info .tag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary,
.btn-secondary,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  min-height: 46px;
  padding: 0 20px;
  font-weight: 900;
  transition: all 0.2s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky), var(--emerald));
  box-shadow: 0 18px 36px rgba(14, 165, 233, 0.25);
}

.btn-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.btn-primary:hover,
.btn-secondary:hover,
.section-link:hover {
  transform: translateY(-2px);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 96px;
  z-index: 3;
  width: min(430px, calc(100% - 40px));
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--sky-dark);
  font-size: 13px;
  font-weight: 900;
}

.hero-panel .hero-kicker {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.hero-panel h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.hero-search {
  margin-top: 18px;
}

.hero-search input,
.search-page-form input,
.mobile-search input {
  padding: 13px 14px;
}

.hero-search input {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.hero-shortcuts {
  margin-top: 16px;
}

.hero-shortcuts a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  left: clamp(24px, 7vw, 110px);
  bottom: 54px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

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

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

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

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

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

.section-link {
  min-height: 38px;
  color: var(--sky-dark);
  background: #f0f9ff;
  white-space: nowrap;
}

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

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

.card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition: all 0.25s ease;
}

.card-link:hover {
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.poster-wrap,
.horizontal-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #0ea5e9);
}

.poster-wrap {
  aspect-ratio: 16 / 9;
}

.poster-wrap img,
.horizontal-poster img,
.ranking-item img,
.rank-row img,
.detail-poster img,
.category-covers img,
.category-cover-wall img,
.spotlight-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-link:hover img,
.horizontal-card a:hover img,
.ranking-item:hover img,
.spotlight-card:hover img {
  transform: scale(1.06);
}

.play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-dark);
  font-size: 24px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.38);
  transition: opacity 0.2s ease;
}

.play-badge::before {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.play-badge {
  text-indent: 4px;
}

.play-badge::after {
  content: "▶";
  position: relative;
  z-index: 1;
}

.play-badge {
  font-size: 0;
}

.card-link:hover .play-badge {
  opacity: 1;
}

.duration-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.card-body,
.horizontal-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.chip {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--sky-dark);
  background: #f0f9ff;
  font-size: 12px;
  font-weight: 900;
}

.card-body strong,
.horizontal-content strong {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-desc,
.horizontal-content > span:not(.chip):not(.card-meta) {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  margin-top: auto;
  padding-top: 14px;
  color: #737373;
  font-size: 12px;
  font-weight: 700;
}

.horizontal-list {
  display: grid;
  gap: 16px;
}

.horizontal-card a {
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
}

.horizontal-card a:hover {
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
  transform: translateY(-2px);
}

.horizontal-poster {
  min-height: 180px;
}

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

.category-tile,
.category-overview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
}

.category-tile {
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.category-tile:hover,
.category-overview-card:hover {
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
}

.category-covers,
.category-cover-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow: hidden;
  border-radius: 16px;
  background: #0f172a;
}

.category-covers img,
.category-cover-wall img {
  aspect-ratio: 16 / 10;
}

.category-tile strong {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.category-tile span:last-child,
.category-overview-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 48px 86px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.ranking-item:hover,
.rank-row a:hover {
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}

.rank-no {
  color: var(--sky-dark);
  font-size: 20px;
  font-weight: 950;
}

.ranking-item img {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #0f172a;
}

.ranking-item strong,
.rank-info strong {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.ranking-item em,
.rank-info em {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  font-style: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.spotlight-card {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border-radius: 24px;
  background: #0f172a;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.spotlight-card img {
  height: 320px;
}

.spotlight-card div {
  padding: 24px;
}

.spotlight-card h2 {
  margin: 12px 0 10px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
}

.spotlight-card p {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 70px;
  background: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 100%);
}

.page-hero h1 {
  margin: 0 0 14px;
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 780px;
  color: #525252;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(23, 23, 23, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: var(--sky-dark);
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  padding: 18px;
}

.category-overview-card h2 {
  margin: 8px 0;
  font-size: 26px;
  font-weight: 900;
}

.sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.sample-links a,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #0369a1;
  background: #f0f9ff;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel {
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 220px;
  gap: 14px;
}

.filter-controls label {
  display: grid;
  gap: 8px;
  color: #525252;
  font-size: 13px;
  font-weight: 900;
}

.filter-controls input,
.filter-controls select {
  min-height: 44px;
  padding: 0 12px;
}

.filter-empty {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.ranking-hero {
  min-height: 430px;
  background-position: center;
  background-size: cover;
}

.page-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.38));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.ranking-hero h1,
.ranking-hero p {
  color: #ffffff;
}

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

.rank-row a {
  display: grid;
  grid-template-columns: 58px 130px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.rank-row img {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #0f172a;
}

.rank-info span {
  display: block;
  margin-top: 6px;
  color: #737373;
  font-size: 13px;
  font-weight: 800;
}

.rank-score {
  color: #f59e0b;
  font-size: 18px;
  font-weight: 950;
}

.search-page-form {
  max-width: 740px;
  margin-top: 24px;
}

.search-page-form input {
  min-height: 54px;
  background: #ffffff;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.detail-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.78) 52%, rgba(2, 6, 23, 0.30) 100%);
  backdrop-filter: blur(3px);
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 64px;
  padding-bottom: 70px;
  color: #ffffff;
}

.detail-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.74);
}

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

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 24px;
  aspect-ratio: 3 / 4;
  background: #0f172a;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.25);
}

.detail-info h1 {
  margin: 18px 0 14px;
  max-width: 880px;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.75;
}

.detail-meta {
  margin: 18px 0;
}

.detail-meta span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.detail-info .tag-list {
  margin: 20px 0 26px;
}

.detail-info .tag-list span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

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

.player-card,
.detail-side-card,
.prose-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.player-card {
  padding: 18px;
}

.player-card h2,
.detail-side-card h2,
.prose-card h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
}

.video-player {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.video-player video {
  display: block;
  width: 100%;
  height: 100%;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.22), rgba(2, 6, 23, 0.55));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  color: var(--sky-dark);
  background: rgba(255, 255, 255, 0.92);
  font-size: 32px;
  text-indent: 4px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.player-overlay strong {
  font-size: 18px;
  font-weight: 950;
}

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

.detail-side-card {
  padding: 22px;
  position: sticky;
  top: 96px;
}

.detail-side-card dl {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px 14px;
  margin: 0;
}

.detail-side-card dt {
  color: #737373;
  font-weight: 900;
}

.detail-side-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.prose-card {
  padding: clamp(22px, 4vw, 36px);
}

.prose-card p {
  margin: 0 0 24px;
  color: #3f3f46;
  font-size: 17px;
  line-height: 1.9;
}

.prose-card p:last-child {
  margin-bottom: 0;
}

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

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

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
  gap: 42px;
  padding-top: 56px;
  padding-bottom: 48px;
}

.footer-logo {
  color: #ffffff;
  font-size: 24px;
}

.footer-brand p {
  max-width: 560px;
  color: #a3a3a3;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

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

.site-footer a {
  color: #cbd5e1;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 16px;
  color: #8a8a8a;
  text-align: center;
  font-size: 14px;
}

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

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

  .search-form input {
    width: 190px;
  }
}

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-carousel {
    min-height: 780px;
  }

  .hero-content {
    justify-content: flex-start;
    padding: 92px 22px 0;
  }

  .hero-panel {
    left: 20px;
    right: 20px;
    bottom: 74px;
    width: auto;
  }

  .hero-dots {
    left: 24px;
    bottom: 34px;
  }

  .ranking-layout,
  .detail-main-grid,
  .detail-layout,
  .footer-grid,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

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

  .detail-side-card,
  .spotlight-card {
    position: static;
  }

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

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

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

  .hero-carousel {
    min-height: 820px;
  }

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

  .hero-search,
  .search-page-form,
  .mobile-search {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-search button,
  .search-page-form button,
  .mobile-search button {
    min-height: 46px;
  }

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

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

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

  .rank-row a {
    grid-template-columns: 44px 90px 1fr;
  }

  .rank-score {
    grid-column: 2 / -1;
  }

  .detail-hero-content {
    padding-top: 44px;
  }

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

  .detail-main-grid {
    gap: 18px;
  }
}
