:root {
  --honey-50: #fff8e6;
  --honey-100: #ffefbd;
  --honey-500: #f6b73c;
  --honey-600: #d99b19;
  --flame-50: #fff1eb;
  --flame-500: #ff6b35;
  --flame-600: #e55425;
  --phoenix-500: #ef4444;
  --phoenix-600: #dc2626;
  --ink-950: #111827;
  --ink-800: #1f2937;
  --ink-700: #374151;
  --ink-500: #6b7280;
  --ink-200: #e5e7eb;
  --paper: #ffffff;
  --soft: #fff7ed;
  --shadow: 0 18px 50px rgba(93, 56, 10, 0.14);
  --shadow-strong: 0 28px 90px rgba(34, 24, 16, 0.32);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-950);
  background: linear-gradient(135deg, var(--honey-50) 0%, #ffffff 46%, var(--flame-50) 100%);
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

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

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

svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(118, 65, 8, 0.95), rgba(229, 84, 37, 0.94), rgba(220, 38, 38, 0.94));
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(105, 42, 15, 0.22);
  backdrop-filter: blur(18px);
}

.nav-shell {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 26px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #7c2d12;
  background: linear-gradient(135deg, #fff7cc, #ffbe55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand-stack {
  display: grid;
  line-height: 1.15;
}

.brand-stack strong {
  letter-spacing: 0.02em;
}

.brand-stack small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  margin-top: 3px;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 15px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff2b8;
  transform: translateY(-1px);
}

.header-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 4px;
  width: 280px;
}

.header-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  padding: 8px 12px;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.header-search button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: #8a330e;
  font-weight: 800;
  background: #fff2b8;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
}

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

.hero-slider {
  position: relative;
  height: min(640px, calc(100vh - 72px));
  min-height: 520px;
  overflow: hidden;
  color: #ffffff;
  background: #130d08;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 45%, rgba(255, 190, 85, 0.24), transparent 26%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 48%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.56), transparent 42%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 58px;
}

.hero-copy {
  max-width: 720px;
  animation: floatIn 0.75s ease both;
}

.eyebrow,
.eyebrow-text {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.eyebrow span,
.category-chip,
.eyebrow-text {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--honey-500), #f59e0b);
  color: #ffffff;
  padding: 7px 15px;
  font-size: 13px;
}

.eyebrow strong {
  color: #fde68a;
  font-size: 20px;
}

.hero-copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
  color: rgba(255, 255, 255, 0.76);
}

.hero-meta span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 8px 13px;
}

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--flame-500), var(--phoenix-500));
  box-shadow: 0 18px 40px rgba(239, 68, 68, 0.32);
}

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

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 2 / 3;
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
  background: linear-gradient(135deg, var(--honey-500), var(--flame-500));
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.54);
  color: #ffffff;
  padding: 8px 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

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

.hero-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.48);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 32px;
  background: #ffffff;
}

.quick-search-band {
  margin-top: -38px;
  position: relative;
  z-index: 5;
}

.quick-search-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.3fr);
  gap: 24px;
  align-items: center;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-search-inner strong {
  display: block;
  color: var(--ink-950);
  font-size: 24px;
}

.quick-search-inner span {
  color: var(--ink-500);
}

.large-search {
  display: flex;
  gap: 10px;
  border-radius: 999px;
  background: #f8fafc;
  padding: 8px;
  border: 1px solid #f3dfb3;
}

.large-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 12px 16px;
}

.large-search button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 850;
  background: linear-gradient(90deg, var(--flame-500), var(--phoenix-500));
  padding: 11px 20px;
}

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

.soft-section {
  background: linear-gradient(90deg, rgba(255, 241, 194, 0.78), rgba(255, 247, 237, 0.86), rgba(255, 237, 213, 0.76));
}

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

.section-head > div {
  min-width: 0;
}

.section-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--flame-500), var(--phoenix-500));
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.22);
  margin-bottom: 13px;
}

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

.section-head p {
  margin: 9px 0 0;
  color: var(--ink-500);
  max-width: 700px;
}

.section-link {
  flex-shrink: 0;
  color: var(--flame-600);
  font-weight: 850;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(90, 57, 18, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(90, 57, 18, 0.18);
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 242, 184, 0.6), transparent 25%),
    linear-gradient(135deg, var(--honey-500), var(--flame-500));
}

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

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

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
}

.play-float {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--flame-500), var(--phoenix-500));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--honey-500), var(--flame-500));
}

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

.meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-500);
  font-size: 12px;
}

.meta-line strong {
  margin-left: auto;
  color: #d97706;
  font-size: 15px;
}

.movie-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.28;
}

.movie-card p {
  margin: 0;
  min-height: 44px;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.6;
}

.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag-row span,
.detail-tags span {
  border-radius: 999px;
  color: #92400e;
  background: var(--honey-100);
  padding: 5px 9px;
  font-size: 12px;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 34px;
  align-items: start;
}

.rank-list,
.category-panel,
.directory-card,
.content-card,
.side-info-card,
.side-poster-card {
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.rank-list {
  padding: 12px;
}

.rank-row {
  display: grid;
  grid-template-columns: 42px 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-radius: 18px;
  padding: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: var(--soft);
  transform: translateX(4px);
}

.rank-row img {
  width: 64px;
  height: 86px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--honey-500), var(--flame-500));
}

.rank-no {
  color: var(--flame-600);
  font-size: 22px;
  font-weight: 900;
}

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

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

.rank-copy small {
  color: var(--ink-500);
  margin-top: 5px;
}

.rank-score {
  color: #d97706;
  font-weight: 900;
}

.category-panel {
  padding: 26px;
}

.pill-cloud,
.footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-pill,
.footer-pills a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  color: var(--ink-700);
  background: #ffffff;
  border: 1px solid #f2dfbd;
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(90, 57, 18, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-pill:hover,
.footer-pills a:hover {
  transform: translateY(-2px);
  border-color: var(--flame-500);
}

.category-pill span,
.footer-pills span {
  color: var(--flame-600);
  font-size: 12px;
}

.mosaic-section {
  color: #ffffff;
  background: linear-gradient(100deg, #7c2d12, var(--flame-600), var(--phoenix-600));
  padding: 70px 0;
}

.mosaic-section .section-head p,
.mosaic-section .section-link {
  color: rgba(255, 255, 255, 0.82);
}

.mosaic-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr repeat(2, 0.9fr);
  gap: 22px;
}

.mosaic-grid .movie-card:first-child,
.mosaic-grid .movie-card:nth-child(2) {
  grid-row: span 2;
}

.stats-band {
  padding: 54px 0;
  background: rgba(255, 255, 255, 0.72);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stats-grid div {
  text-align: center;
  border-radius: 24px;
  padding: 28px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--honey-600), var(--flame-500));
  box-shadow: var(--shadow);
}

.stats-grid strong {
  display: block;
  font-size: 38px;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.page-main {
  min-height: 60vh;
}

.page-hero {
  position: relative;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 207, 102, 0.32), transparent 24%),
    linear-gradient(120deg, #7c2d12, var(--flame-600), var(--phoenix-600));
  overflow: hidden;
}

.page-hero.small {
  padding: 76px 0 70px;
}

.page-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.04em;
}

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

.result-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-radius: 18px;
  background: #ffffff;
  padding: 16px 18px;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(90, 57, 18, 0.08);
}

.result-toolbar a {
  color: var(--flame-600);
  font-weight: 850;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.pagination a,
.pagination strong,
.pagination span {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  background: #ffffff;
  color: var(--ink-700);
  box-shadow: 0 8px 20px rgba(90, 57, 18, 0.08);
  font-weight: 850;
  padding: 0 12px;
}

.pagination strong {
  color: #ffffff;
  background: linear-gradient(135deg, var(--flame-500), var(--phoenix-500));
}

.category-directory {
  display: grid;
  gap: 24px;
}

.directory-card {
  padding: 26px;
}

.directory-card h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.ranking-table {
  padding-top: 20px;
}

.ranking-table-head,
.ranking-table-row {
  display: grid;
  grid-template-columns: 78px 72px minmax(0, 1fr) 90px 80px 90px;
  gap: 14px;
  align-items: center;
}

.ranking-table-head {
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 850;
  padding: 0 18px 12px;
}

.ranking-table-row {
  margin-bottom: 10px;
  border-radius: 18px;
  background: #ffffff;
  padding: 12px 18px;
  box-shadow: 0 8px 24px rgba(90, 57, 18, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-table-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(90, 57, 18, 0.13);
}

.ranking-table-row img {
  width: 58px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--honey-500), var(--flame-500));
}

.ranking-order {
  color: var(--flame-600);
  font-weight: 900;
}

.ranking-title {
  min-width: 0;
}

.ranking-title strong,
.ranking-title small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-title small {
  color: var(--ink-500);
  margin-top: 5px;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(140px, 1fr)) auto;
  gap: 14px;
  align-items: end;
  border-radius: 24px;
  background: #ffffff;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--ink-500);
  font-weight: 800;
  font-size: 13px;
}

.filter-panel input,
.filter-panel select {
  min-height: 46px;
  border: 1px solid #f0dfc2;
  border-radius: 14px;
  outline: 0;
  background: #fffcf7;
  color: var(--ink-950);
  padding: 0 13px;
}

.detail-page {
  background: linear-gradient(135deg, var(--honey-50), #ffffff 44%, var(--flame-50));
}

.detail-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: end;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.detail-hero-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.24)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2));
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #fde68a;
}

.detail-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -0.05em;
}

.detail-hero p {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

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

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000000;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 16 / 9;
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.54));
  font-size: 18px;
  font-weight: 900;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-start svg {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flame-500), var(--phoenix-500));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

.player-card.is-playing .player-start {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-message {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.54);
  padding: 8px 14px;
  font-size: 13px;
  backdrop-filter: blur(12px);
}

.content-card,
.side-info-card {
  padding: 26px;
  margin-top: 24px;
}

.title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.title-row h2 {
  margin: 13px 0 0;
  font-size: 34px;
  letter-spacing: -0.03em;
}

.detail-score {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  flex-shrink: 0;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--honey-500), var(--flame-500));
  font-size: 24px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.info-grid div {
  border-radius: 16px;
  background: var(--soft);
  padding: 14px;
}

.info-grid span,
.side-info-card span {
  display: block;
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 5px;
}

.info-grid strong {
  color: var(--ink-950);
}

.prose-card h2,
.side-info-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.prose-card p,
.side-info-card p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.9;
}

.prose-card p + p,
.side-info-card p + p {
  margin-top: 12px;
}

.side-poster-card {
  overflow: hidden;
  padding: 14px;
}

.side-poster-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 18px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--honey-500), var(--flame-500));
}

.side-poster-card .btn {
  width: 100%;
  margin-top: 14px;
}

.sitemap-list > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.sitemap-list a {
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px 12px;
  color: var(--ink-700);
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(90, 57, 18, 0.08);
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(135deg, #5a250c, #7c2d12 50%, #991b1b);
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 34px;
  padding: 54px 0;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 430px;
  line-height: 1.75;
}

.footer-grid h3 {
  margin: 0 0 16px;
  color: #fde68a;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 10px;
}

.footer-pills a {
  display: inline-flex !important;
  color: rgba(255, 255, 255, 0.86) !important;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.footer-pills span {
  color: #fde68a;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.66);
}

.image-missing img {
  opacity: 0;
}

.image-missing::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.32), transparent 26%),
    linear-gradient(135deg, var(--honey-500), var(--flame-500));
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .header-search {
    display: none;
  }

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

  .hero-poster {
    display: none;
  }

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

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

@media (max-width: 760px) {
  .nav-shell {
    height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 64px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    background: rgba(88, 35, 12, 0.96);
    padding: 18px;
    box-shadow: var(--shadow-strong);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .brand-stack small {
    display: none;
  }

  .hero-slider {
    min-height: 560px;
  }

  .hero-inner {
    align-items: end;
    padding-bottom: 72px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-arrow {
    display: none;
  }

  .quick-search-inner,
  .large-search,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .large-search {
    border-radius: 22px;
  }

  .large-search button {
    width: 100%;
  }

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

  .section-head {
    display: block;
  }

  .section-link {
    display: inline-block;
    margin-top: 12px;
  }

  .movie-grid,
  .catalog-grid,
  .mosaic-grid,
  .stats-grid,
  .sitemap-list > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosaic-grid .movie-card:first-child,
  .mosaic-grid .movie-card:nth-child(2) {
    grid-row: auto;
  }

  .ranking-table-head {
    display: none;
  }

  .ranking-table-row {
    grid-template-columns: 52px 58px minmax(0, 1fr) 50px;
  }

  .ranking-table-row > span:nth-child(4),
  .ranking-table-row > span:nth-child(6) {
    display: none;
  }

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

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

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .movie-grid,
  .catalog-grid,
  .mosaic-grid,
  .stats-grid,
  .sitemap-list > div {
    grid-template-columns: 1fr;
  }

  .movie-card.compact {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .movie-card.compact .poster {
    aspect-ratio: auto;
    min-height: 168px;
  }

  .title-row,
  .result-toolbar {
    display: block;
  }

  .detail-score {
    margin-top: 15px;
  }
}
