:root {
  --color-ink: #21170d;
  --color-muted: #76624a;
  --color-soft: #fff8ed;
  --color-cream: #fffbf3;
  --color-card: #ffffff;
  --color-amber: #d97706;
  --color-amber-dark: #92400e;
  --color-stone: #292016;
  --color-border: rgba(146, 64, 14, 0.16);
  --shadow-soft: 0 18px 45px rgba(120, 53, 15, 0.12);
  --shadow-strong: 0 28px 70px rgba(41, 32, 22, 0.34);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--color-ink);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 34rem),
    linear-gradient(180deg, #fff9ed 0%, #fffaf1 45%, #f6efe5 100%);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(41, 32, 22, 0.92);
  border-bottom: 1px solid rgba(251, 191, 36, 0.22);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(41, 32, 22, 0.22);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 74px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff7ed;
  font-weight: 900;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #2b1905;
  background: linear-gradient(135deg, #fcd34d, #d97706);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.34);
}

.logo-text {
  font-size: 1.24rem;
}

.header-search {
  flex: 1;
  max-width: 470px;
  display: flex;
  align-items: center;
  background: rgba(120, 53, 15, 0.44);
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 999px;
  overflow: hidden;
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 11px 16px;
  color: #fffbeb;
  background: transparent;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(254, 243, 199, 0.66);
}

.header-search button,
.mobile-search button,
.page-search button {
  border: 0;
  color: #2b1905;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  font-weight: 800;
  padding: 11px 18px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff7ed;
  font-size: 0.96rem;
  font-weight: 700;
}

.main-nav a,
.nav-dropdown > button {
  color: #fff7ed;
  background: none;
  border: 0;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.nav-dropdown:hover > button {
  color: #fcd34d;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 180px;
  padding: 10px;
  border-radius: 16px;
  background: #fffaf0;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  display: block;
  color: var(--color-ink);
  padding: 9px 10px;
  border-radius: 10px;
}

.nav-dropdown-panel a:hover {
  color: var(--color-amber-dark);
  background: #ffedd5;
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 12px;
  color: #fff7ed;
  background: rgba(120, 53, 15, 0.46);
}

.mobile-panel {
  display: none;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px 18px;
}

.mobile-search {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(120, 53, 15, 0.44);
  border: 1px solid rgba(251, 191, 36, 0.24);
}

.mobile-search input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 14px;
  color: #fff7ed;
  background: transparent;
}

.mobile-links {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-links a {
  padding: 10px 12px;
  color: #fff7ed;
  border: 1px solid rgba(251, 191, 36, 0.18);
  border-radius: 12px;
  background: rgba(120, 53, 15, 0.28);
}

.hero {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-stage {
  position: relative;
  height: min(68vh, 640px);
  min-height: 480px;
  overflow: hidden;
  background: #1c140d;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 1.2s ease;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 13, 8, 0.92) 0%, rgba(18, 13, 8, 0.72) 38%, rgba(18, 13, 8, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 13, 8, 0.92) 0%, rgba(18, 13, 8, 0.08) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 clamp(22px, 7vw, 110px) 88px;
  color: #ffffff;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 12px;
  color: #fbbf24;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.hero-desc {
  max-width: 660px;
  margin: 0 0 20px;
  color: rgba(255, 251, 235, 0.9);
  font-size: clamp(1rem, 2.4vw, 1.24rem);
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #78350f;
  background: #fef3c7;
  font-weight: 800;
  font-size: 0.78rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.ghost-button,
.text-link,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  padding: 12px 24px;
  color: #2b1905;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.32);
}

.ghost-button {
  padding: 11px 22px;
  color: #fff7ed;
  border: 1px solid rgba(255, 251, 235, 0.34);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 251, 235, 0.28);
  border-radius: 50%;
  color: #fff7ed;
  background: rgba(41, 32, 22, 0.56);
  font-size: 2.2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

.hero-dot {
  width: 28px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 251, 235, 0.38);
}

.hero-dot.is-active {
  width: 46px;
  background: #fbbf24;
}

.hero-rail {
  max-width: var(--max-width);
  margin: -52px auto 0;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  position: relative;
  z-index: 5;
}

.hero-search-card,
.hero-thumbs,
.ranking-panel,
.story-card,
.filter-panel,
.category-overview-card,
.prose-section {
  border: 1px solid var(--color-border);
  background: rgba(255, 251, 243, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.hero-search-card {
  padding: 22px;
  border-radius: 24px;
}

.hero-search-card p {
  margin: 0 0 6px;
  color: var(--color-amber-dark);
  font-weight: 900;
}

.hero-search-card h2 {
  margin: 0 0 16px;
  line-height: 1.2;
}

.hero-search-card form,
.page-search {
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #ffffff;
}

.hero-search-card input,
.page-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 16px;
  color: var(--color-ink);
  background: transparent;
}

.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 24px;
}

.hero-thumb {
  position: relative;
  min-height: 118px;
  overflow: hidden;
  border-radius: 18px;
  background: #2b1905;
  isolation: isolate;
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  min-height: 118px;
  object-fit: cover;
  opacity: 0.76;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.hero-thumb span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  z-index: 2;
  color: #fff7ed;
  font-weight: 900;
  font-size: 0.82rem;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
}

.hero-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.hero-thumb:hover img,
.hero-thumb.is-active img {
  transform: scale(1.06);
  opacity: 1;
}

.stat-strip {
  max-width: var(--max-width);
  margin: 34px auto 0;
  padding: 0 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-strip div {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.stat-strip strong {
  display: block;
  font-size: 2rem;
  color: var(--color-amber-dark);
  line-height: 1;
}

.stat-strip span {
  color: var(--color-muted);
  font-weight: 800;
}

.content-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 22px 0;
}

.warm-section {
  margin-top: 36px;
  padding-top: 46px;
  padding-bottom: 46px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.62), rgba(255, 251, 235, 0.64));
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.compact-heading h2 {
  font-size: 1.9rem;
}

.section-more,
.text-link {
  color: var(--color-amber-dark);
  font-weight: 900;
}

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 30px rgba(120, 53, 15, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 6, 0.28);
  box-shadow: 0 20px 42px rgba(120, 53, 15, 0.16);
}

.poster-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background:
    radial-gradient(circle at 25% 25%, rgba(251, 191, 36, 0.38), transparent 32%),
    linear-gradient(135deg, #3b2a1a, #120d08);
}

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

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

.poster-type {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #2b1905;
  background: #fbbf24;
  font-size: 0.72rem;
  font-weight: 900;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff7ed;
  background: rgba(41, 32, 22, 0.72);
  border: 1px solid rgba(255, 251, 235, 0.28);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: all 0.25s ease;
}

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

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

.movie-meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.movie-meta-line span:not(:last-child)::after {
  content: "·";
  margin-left: 7px;
  color: #b88a4a;
}

.movie-card h3 {
  margin: 6px 0 8px;
  font-size: 1rem;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card p {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-compact .movie-card-body {
  padding: 12px;
}

.movie-card-compact p {
  -webkit-line-clamp: 2;
}

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

.category-card {
  min-height: 178px;
  padding: 24px;
  border-radius: 24px;
  color: #fff7ed;
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.32), transparent 14rem),
    linear-gradient(135deg, #3b2a1a, #7c2d12);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card h3 {
  margin: 34px 0 8px;
  font-size: 1.34rem;
}

.category-card p {
  margin: 0;
  color: rgba(255, 247, 237, 0.82);
}

.category-count {
  display: inline-flex;
  color: #78350f;
  background: #fef3c7;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
}

.ranking-panel {
  position: sticky;
  top: 98px;
  padding: 22px;
  border-radius: 26px;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px 12px;
  align-items: center;
  padding: 10px;
  border-radius: 15px;
  background: rgba(255, 247, 237, 0.72);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
  background: #ffedd5;
  transform: translateX(4px);
}

.ranking-number {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #78350f;
  background: #fef3c7;
  font-weight: 900;
}

.ranking-title {
  font-weight: 900;
  line-height: 1.3;
}

.ranking-meta {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  max-width: var(--max-width);
  margin: 36px auto 0;
  padding: clamp(36px, 8vw, 76px);
  border-radius: var(--radius-lg);
  color: #fff7ed;
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.28), transparent 25rem),
    linear-gradient(135deg, #2b1905, #78350f 54%, #1c140d);
  box-shadow: var(--shadow-strong);
}

.page-hero h1 {
  max-width: 840px;
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 247, 237, 0.86);
  font-size: 1.08rem;
}

.page-hero-meta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-hero-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 251, 235, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.filter-panel {
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px 120px;
  align-items: end;
  gap: 14px;
}

.filter-panel label {
  display: block;
  margin-bottom: 7px;
  color: var(--color-amber-dark);
  font-weight: 900;
  font-size: 0.86rem;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  outline: 0;
  color: var(--color-ink);
  background: #ffffff;
  padding: 0 12px;
}

.filter-count {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #78350f;
  background: #fef3c7;
  font-weight: 900;
}

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

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

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

.category-cover-stack img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: #3b2a1a;
}

.category-overview-card h2 {
  margin: 14px 0 8px;
  font-size: 1.55rem;
}

.category-overview-card p {
  color: var(--color-muted);
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  padding: 14px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 28px rgba(120, 53, 15, 0.08);
}

.ranking-card.is-top {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
}

.ranking-poster {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 2 / 3;
  background: #3b2a1a;
}

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

.ranking-poster span {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #2b1905;
  background: #fbbf24;
  font-weight: 900;
}

.ranking-card-body p:first-child {
  margin: 8px 0;
  color: var(--color-amber-dark);
  font-weight: 900;
}

.ranking-card-body h2 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.ranking-card-body p:last-child {
  color: var(--color-muted);
}

.page-search {
  max-width: 680px;
  margin-top: 28px;
}

.search-summary {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 18px;
  color: var(--color-amber-dark);
  background: #fef3c7;
  font-weight: 900;
}

.detail-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  background-position: center;
  background-size: cover;
  color: #fff7ed;
  isolation: isolate;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 13, 8, 0.93), rgba(18, 13, 8, 0.7), rgba(18, 13, 8, 0.28)),
    linear-gradient(0deg, rgba(18, 13, 8, 0.95), rgba(18, 13, 8, 0.04));
  backdrop-filter: blur(2px);
}

.detail-hero-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px 22px 58px;
}

.breadcrumb {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: rgba(255, 247, 237, 0.76);
  font-size: 0.9rem;
}

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

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

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow-strong);
  background: #3b2a1a;
}

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

.detail-info h1 {
  max-width: 860px;
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 20px;
  color: rgba(255, 247, 237, 0.88);
  font-size: 1.1rem;
}

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

.detail-meta span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 251, 235, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.detail-tags span {
  color: #2b1905;
}

.detail-content {
  padding-top: 48px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #0f0b07;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 16 / 9;
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #0f0b07;
}

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff7ed;
  background:
    radial-gradient(circle at center, rgba(217, 119, 6, 0.34), transparent 18rem),
    rgba(0, 0, 0, 0.28);
  font-size: 1.1rem;
  font-weight: 900;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-start-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #2b1905;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  box-shadow: 0 16px 42px rgba(245, 158, 11, 0.34);
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  margin: 0;
  color: #fef3c7;
  font-size: 0.9rem;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.story-card {
  padding: 28px;
  border-radius: 26px;
}

.story-card h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.story-card p {
  margin: 0;
  color: var(--color-muted);
}

.prose-section {
  margin-top: 56px;
  padding: 34px;
  border-radius: 28px;
}

.prose-section p {
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 1.05rem;
}

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

.sitemap-block {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.sitemap-block h2 {
  margin: 0 0 14px;
}

.sitemap-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 24px;
}

.sitemap-block li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.sitemap-block a {
  display: inline-flex;
  flex-direction: column;
  color: var(--color-ink);
}

.sitemap-block span {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.site-footer {
  margin-top: 78px;
  color: #fff7ed;
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.14), transparent 24rem),
    linear-gradient(135deg, #1c140d, #3b2a1a);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 46px 22px 30px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 900;
}

.footer-brand p,
.footer-links a {
  color: rgba(255, 247, 237, 0.78);
}

.footer-group h3 {
  margin: 0 0 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: #fbbf24;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 22px 24px;
  border-top: 1px solid rgba(255, 251, 235, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 247, 237, 0.72);
}

.back-to-top {
  border: 0;
  color: #fbbf24;
  background: transparent;
  font-weight: 900;
}

[data-movie-card].is-hidden {
  display: none;
}

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

  .hero-rail {
    grid-template-columns: 1fr;
  }

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

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

  .mobile-menu-button {
    display: inline-grid;
    place-items: center;
  }

  .mobile-panel.is-open {
    display: block;
  }

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

  .category-grid,
  .category-overview-grid,
  .detail-columns,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }

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

  .detail-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

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

@media (max-width: 720px) {
  .header-inner {
    min-height: 64px;
    padding: 0 16px;
  }

  .mobile-panel {
    padding: 0 16px 16px;
  }

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

  .hero-content {
    padding: 0 18px 82px;
  }

  .hero-arrow {
    display: none;
  }

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

  .hero-rail {
    margin-top: 18px;
    padding: 0 16px;
  }

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

  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 16px;
  }

  .content-section {
    padding: 42px 16px 0;
  }

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

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

  .category-overview-card {
    grid-template-columns: 1fr;
  }

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

  .page-hero {
    margin: 20px 16px 0;
    padding: 34px 22px;
  }

  .detail-hero {
    min-height: auto;
  }

  .detail-hero-inner {
    padding: 26px 16px 42px;
  }

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

  .detail-poster {
    width: min(210px, 58vw);
  }

  .ranking-card {
    grid-template-columns: 92px 1fr;
    gap: 14px;
  }

  .footer-bottom {
    flex-direction: column;
  }

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

@media (max-width: 430px) {
  .movie-grid {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .hero-thumbs {
    grid-template-columns: 1fr;
  }
}
