:root {
  --volcanic-950: #160807;
  --volcanic-900: #24100d;
  --volcanic-850: #331512;
  --volcanic-800: #431c17;
  --volcanic-700: #65281f;
  --volcanic-600: #883426;
  --lava-500: #ef5b2a;
  --lava-400: #ff7a3d;
  --lava-300: #ffb089;
  --ash-950: #101013;
  --ash-900: #18181c;
  --ash-800: #27272d;
  --ash-700: #3d3d46;
  --ash-600: #5b5b66;
  --ash-500: #767684;
  --ash-400: #a5a5b1;
  --ash-200: #e8e8ee;
  --ash-100: #f4f4f7;
  --white: #ffffff;
  --shadow-volcanic: 0 18px 45px rgba(136, 52, 38, 0.28);
  --shadow-soft: 0 14px 30px rgba(18, 18, 26, 0.12);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f7f2ef 48%, #fff 100%);
  color: var(--ash-900);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--volcanic-800), var(--volcanic-950));
  box-shadow: 0 12px 36px rgba(22, 8, 7, 0.34);
}

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

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  min-width: 196px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 32% 25%, var(--lava-300), var(--lava-500) 38%, var(--volcanic-700) 78%);
  box-shadow: 0 0 26px rgba(255, 122, 61, 0.35);
  color: var(--white);
  font-weight: 900;
}

.logo-title {
  display: block;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-subtitle {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: var(--white);
}

.nav-links a {
  position: relative;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.22s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--lava-500), var(--lava-300));
  transition: transform 0.22s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--lava-300);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: var(--volcanic-950);
}

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

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

.hero-background {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(22, 8, 7, 0.96) 0%, rgba(36, 16, 13, 0.82) 40%, rgba(22, 8, 7, 0.42) 100%), var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 24%, rgba(239, 91, 42, 0.38), transparent 30%),
    linear-gradient(180deg, transparent 62%, rgba(22, 8, 7, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.64fr);
  align-items: center;
  gap: 48px;
  color: var(--white);
  padding: 72px 0 98px;
}

.hero-kicker,
.section-kicker,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--lava-300);
  background: rgba(255, 122, 61, 0.12);
  border: 1px solid rgba(255, 122, 61, 0.26);
  font-size: 13px;
  font-weight: 760;
}

.hero-title {
  margin: 18px 0 14px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.065em;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.32);
}

.hero-summary {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.82;
}

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

.hero-meta {
  margin: 22px 0 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 720;
  color: var(--ash-100);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pill.dark {
  color: var(--volcanic-700);
  background: #fff3ed;
  border-color: rgba(239, 91, 42, 0.16);
}

.hero-actions,
.section-actions,
.detail-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

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

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--lava-500), var(--volcanic-600));
  box-shadow: var(--shadow-volcanic);
}

.btn-primary:hover {
  box-shadow: 0 22px 54px rgba(239, 91, 42, 0.36);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.btn-light {
  color: var(--volcanic-800);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.hero-poster-card {
  position: relative;
  max-width: 380px;
  margin-left: auto;
  border-radius: 30px;
  padding: 14px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.hero-poster-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 38px;
  background: radial-gradient(circle, rgba(255, 122, 61, 0.22), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}

.hero-poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--volcanic-700), var(--ash-900));
}

.hero-poster-info {
  padding: 14px 4px 2px;
}

.hero-poster-info strong {
  display: block;
  font-size: 18px;
}

.hero-poster-info span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: var(--lava-400);
}

.hero-controls {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 30px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 122, 61, 0.65);
  transform: translateY(-2px);
}

.main-content {
  position: relative;
}

.section {
  padding: 68px 0;
}

.section.compact {
  padding: 48px 0;
}

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

.section-title-block h1,
.section-title-block h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--ash-900);
}

.section-title-block p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--ash-600);
  line-height: 1.75;
}

.search-panel {
  margin-top: -46px;
  position: relative;
  z-index: 12;
}

.search-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 50px rgba(36, 16, 13, 0.16);
  border: 1px solid rgba(136, 52, 38, 0.1);
  backdrop-filter: blur(18px);
}

.search-input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(136, 52, 38, 0.14);
  outline: 0;
  background: #fffaf7;
  color: var(--ash-900);
}

.search-input:focus {
  border-color: var(--lava-400);
  box-shadow: 0 0 0 4px rgba(255, 122, 61, 0.12);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.filter-chip {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff6f1;
  color: var(--volcanic-700);
  border: 1px solid rgba(239, 91, 42, 0.15);
  font-weight: 750;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--lava-500), var(--volcanic-600));
  transform: translateY(-1px);
}

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

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

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

.movie-link {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--volcanic-800), var(--ash-800));
  box-shadow: 0 16px 30px rgba(16, 16, 19, 0.14);
  aspect-ratio: 3 / 4;
}

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

.movie-link:hover .poster-wrap img,
.ranking-item:hover img,
.category-card:hover img,
.related-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(22, 8, 7, 0.74));
}

.poster-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(22, 8, 7, 0.68);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.poster-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--lava-500), var(--volcanic-600));
  box-shadow: 0 12px 28px rgba(239, 91, 42, 0.36);
}

.movie-info {
  padding: 12px 2px 0;
}

.movie-title {
  margin: 0;
  color: var(--ash-900);
  font-size: 16px;
  line-height: 1.32;
  font-weight: 850;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  margin-top: 8px;
  color: var(--ash-500);
  font-size: 12px;
}

.card-desc {
  margin: 9px 0 0;
  color: var(--ash-600);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--volcanic-900);
  box-shadow: var(--shadow-soft);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 8, 7, 0.1), rgba(22, 8, 7, 0.92));
}

.category-card:hover img {
  opacity: 0.92;
}

.category-card-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 24px;
  color: var(--white);
}

.category-card h3 {
  margin: 0 0 8px;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 64px 92px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(18, 18, 26, 0.08);
  border: 1px solid rgba(136, 52, 38, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(18, 18, 26, 0.12);
}

.rank-num {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--lava-500);
  text-align: center;
}

.ranking-cover {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--volcanic-800), var(--ash-700));
}

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

.ranking-body h3 {
  margin: 0;
  font-size: 18px;
}

.ranking-body p {
  margin: 8px 0 0;
  color: var(--ash-600);
  line-height: 1.65;
}

.ranking-meta {
  margin-top: 10px;
  color: var(--ash-500);
  font-size: 13px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 122, 61, 0.22), transparent 33%),
    linear-gradient(135deg, var(--volcanic-950), var(--volcanic-800));
}

.page-hero h1 {
  max-width: 860px;
  margin: 14px 0 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.8;
}

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

.breadcrumb a {
  color: var(--lava-300);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--volcanic-950);
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(22, 8, 7, 0.97), rgba(36, 16, 13, 0.78), rgba(22, 8, 7, 0.58)), var(--detail-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.detail-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 28%, rgba(255, 122, 61, 0.24), transparent 38%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: end;
  min-height: 560px;
  padding: 74px 0 64px;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--volcanic-800), var(--ash-800));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.detail-title {
  margin: 18px 0 14px;
  font-size: clamp(36px, 5.8vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.82;
}

.detail-meta {
  margin: 20px 0 28px;
}

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

.content-card {
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 30px;
  border: 1px solid rgba(136, 52, 38, 0.08);
}

.content-card + .content-card {
  margin-top: 22px;
}

.content-card h2,
.content-card h3 {
  margin: 0 0 16px;
  color: var(--ash-900);
  letter-spacing: -0.03em;
}

.content-card p {
  margin: 0;
  color: var(--ash-700);
  line-height: 1.92;
}

.content-card p + p {
  margin-top: 14px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #050505;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(136, 52, 38, 0.16);
}

.site-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at center, rgba(239, 91, 42, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.12), rgba(5, 5, 5, 0.64));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-button-core {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 62px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lava-500), var(--volcanic-600));
  box-shadow: var(--shadow-volcanic);
  font-weight: 900;
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid currentColor;
}

.player-message {
  margin-top: 12px;
  color: var(--ash-600);
  font-size: 14px;
  display: none;
}

.player-message.is-visible {
  display: block;
}

.sidebar-stack {
  display: grid;
  gap: 18px;
}

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

.related-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #fff7f3;
  border: 1px solid rgba(239, 91, 42, 0.08);
}

.related-card img {
  width: 82px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--volcanic-800), var(--ash-700));
  transition: transform 0.25s ease;
}

.related-card strong {
  display: block;
  color: var(--ash-900);
  line-height: 1.38;
}

.related-card span {
  display: block;
  margin-top: 6px;
  color: var(--ash-500);
  font-size: 13px;
}

.footer {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--volcanic-950), var(--volcanic-800));
  color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 0.4fr));
  gap: 32px;
  padding: 46px 0;
}

.footer h3,
.footer h4 {
  color: var(--white);
  margin: 0 0 14px;
}

.footer p {
  margin: 0;
  line-height: 1.75;
}

.footer a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: var(--lava-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.52);
}

.empty-state {
  display: none;
  padding: 34px;
  border-radius: 22px;
  background: #fff5ef;
  color: var(--volcanic-700);
  font-weight: 760;
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

.image-missing {
  opacity: 0;
}

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

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

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

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

  .mobile-menu-button {
    display: block;
  }

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

  .hero,
  .hero-content {
    min-height: 720px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 56px 0 104px;
  }

  .hero-poster-card {
    display: none;
  }

  .hero-controls {
    display: none;
  }

  .section-header {
    display: block;
  }

  .section-actions {
    margin-top: 18px;
  }

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

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

  .detail-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

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

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .navbar {
    min-height: 68px;
  }

  .logo-title {
    font-size: 19px;
  }

  .logo-subtitle {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 660px;
  }

  .hero-title {
    font-size: clamp(38px, 14vw, 58px);
  }

  .hero-summary,
  .detail-one-line {
    font-size: 16px;
  }

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

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

  .ranking-item {
    grid-template-columns: 44px 72px 1fr;
  }

  .ranking-item .btn {
    display: none;
  }

  .ranking-body p {
    display: none;
  }

  .content-card {
    padding: 22px;
  }

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