:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-line: #e5e7eb;
  --color-sunset: #f97316;
  --color-sunset-dark: #ea580c;
  --color-sunset-soft: #fff7ed;
  --color-night: #111827;
  --shadow-soft: 0 14px 35px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 20px 45px rgba(15, 23, 42, 0.14);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: linear-gradient(180deg, #fff7ed 0, #f8fafc 320px, #f8fafc 100%);
  min-width: 320px;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.nav-shell {
  max-width: 1180px;
  height: 72px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #fb923c, #f97316, #dc2626);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.brand-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 20px;
  color: #111827;
  letter-spacing: -0.02em;
}

.brand-text em {
  margin-top: 3px;
  font-size: 12px;
  color: var(--color-muted);
  font-style: normal;
}

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

.nav-link,
.mobile-link {
  color: #374151;
  font-size: 14px;
  font-weight: 650;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 13px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--color-sunset-dark);
  background: var(--color-sunset-soft);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #374151;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 16px;
}

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

.mobile-link {
  padding: 12px 14px;
  background: #ffffff;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: #111827;
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 26%, rgba(249, 115, 22, 0.34), transparent 30%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(17, 24, 39, 0.84) 42%, rgba(17, 24, 39, 0.42) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  min-height: 590px;
  margin: 0 auto;
  padding: 80px 20px 130px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 340px;
  align-items: center;
  gap: 54px;
}

.hero-kicker,
.section-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: var(--color-sunset-dark);
  background: var(--color-sunset-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 18px 0 18px;
  color: #ffffff;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

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

.hero-tags,
.detail-tags,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  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(135deg, #fb923c, #f97316, #ea580c);
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.32);
}

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

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.44);
  transform: rotate(2deg);
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #fed7aa, #f97316);
}

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

.hero-poster span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 9px 13px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.72);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-thumbs {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 34px;
  width: min(1140px, calc(100% - 40px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.hero-thumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, border 0.2s ease, transform 0.2s ease;
}

.hero-thumb.active,
.hero-thumb:hover {
  color: #ffffff;
  background: rgba(249, 115, 22, 0.45);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.hero-thumb img {
  width: 48px;
  height: 60px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, #fed7aa, #f97316);
}

.hero-thumb span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 750;
}

.quick-panel,
.content-section,
.footer-grid,
.footer-bottom,
.detail-hero,
.player-section {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.quick-panel {
  margin-top: -54px;
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1fr 1fr;
  gap: 18px;
}

.quick-card {
  min-height: 160px;
  padding: 26px;
  border-radius: var(--radius-lg);
  color: #111827;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(229, 231, 235, 0.8);
}

.quick-card:not(.wide) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-card:not(.wide):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.quick-card span,
.quick-card em {
  color: var(--color-muted);
  font-style: normal;
}

.quick-card strong,
.quick-card h2 {
  margin: 8px 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.quick-card p {
  margin: 0 0 20px;
  color: var(--color-muted);
  line-height: 1.7;
}

.content-section {
  padding-top: 70px;
  padding-bottom: 20px;
}

.soft-section {
  max-width: none;
  margin-top: 50px;
  padding-top: 68px;
  padding-bottom: 68px;
  background: linear-gradient(180deg, #ffffff, #fff7ed);
}

.soft-section > .section-head,
.soft-section > .movie-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.05em;
}

.section-head p {
  margin: 0;
  max-width: 620px;
  color: var(--color-muted);
  line-height: 1.7;
}

.section-more {
  color: var(--color-sunset-dark);
  font-weight: 800;
  white-space: nowrap;
}

.filter-bar {
  margin-bottom: 26px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.search-box span {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.search-box input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 56px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  outline: none;
  background: #f9fafb;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus,
.filter-select:focus {
  border-color: var(--color-sunset);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.filter-select {
  height: 48px;
  min-width: 150px;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #374151;
  background: #f9fafb;
  outline: none;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(229, 231, 235, 0.8);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

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

.poster-link {
  position: relative;
  display: block;
  background: linear-gradient(135deg, #fed7aa, #f97316);
}

.poster-frame {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

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

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

.rank-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #dc2626);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.28);
}

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

.meta-row,
.card-foot,
.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-row {
  margin-bottom: 9px;
  color: var(--color-muted);
  font-size: 12px;
}

.pill {
  padding: 5px 8px;
  color: var(--color-sunset-dark);
  background: var(--color-sunset-soft);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.movie-card h3 a:hover {
  color: var(--color-sunset-dark);
}

.movie-card p {
  min-height: 44px;
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.58;
}

.card-tags span {
  padding: 5px 8px;
  color: #4b5563;
  background: #f3f4f6;
}

.card-foot {
  margin-top: 14px;
  justify-content: space-between;
  color: #9ca3af;
  font-size: 12px;
}

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

.category-tile {
  min-height: 170px;
  padding: 24px;
  border-radius: var(--radius-lg);
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #fb923c, #f97316 48%, #b91c1c);
  box-shadow: 0 18px 42px rgba(249, 115, 22, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(249, 115, 22, 0.34);
}

.category-tile span {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.category-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

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

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

.ranking-panel {
  position: sticky;
  top: 94px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.ranking-panel h2 {
  margin: 14px 0 18px;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.ranking-panel ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-panel li + li {
  border-top: 1px solid #f3f4f6;
}

.ranking-panel a {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
}

.rank-num {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--color-sunset-dark);
  background: var(--color-sunset-soft);
  border-radius: 10px;
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 800;
}

.rank-meta {
  color: var(--color-muted);
  font-size: 12px;
}

.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 66px 20px 0;
}

.compact-hero > div {
  padding: 48px;
  color: #ffffff;
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(135deg, #111827, #7c2d12 58%, #f97316);
  box-shadow: var(--shadow-card);
}

.compact-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.06em;
}

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

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

.pagination a,
.pagination span,
.pagination strong {
  min-width: 88px;
  padding: 12px 16px;
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
}

.pagination a {
  color: #ffffff;
  background: var(--color-sunset);
}

.pagination span {
  color: #9ca3af;
  background: #f3f4f6;
}

.pagination strong {
  color: #374151;
  background: #ffffff;
  border: 1px solid var(--color-line);
}

.detail-hero {
  margin-top: 42px;
  min-height: 560px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: end;
  gap: 42px;
  padding-top: 70px;
  padding-bottom: 70px;
  border-radius: 0 0 42px 42px;
  background-size: cover;
  background-position: center;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  background: linear-gradient(135deg, #fed7aa, #f97316);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.38);
}

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

.detail-info {
  color: #ffffff;
}

.detail-info h1 {
  margin: 16px 0 16px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-info p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

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

.detail-meta span {
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

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

.detail-tags span {
  padding: 7px 10px;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.player-section {
  padding-top: 58px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #020617;
  box-shadow: 0 30px 72px rgba(15, 23, 42, 0.34);
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(249, 115, 22, 0.22), transparent 30%),
    rgba(2, 6, 23, 0.5);
  cursor: pointer;
}

.player-shell.playing .player-overlay {
  opacity: 0;
  pointer-events: none;
}

.play-circle {
  width: 82px;
  height: 82px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  box-shadow: 0 18px 36px rgba(249, 115, 22, 0.34);
  font-size: 34px;
}

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

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(17, 24, 39, 0.62);
  border-radius: 999px;
  font-size: 12px;
  backdrop-filter: blur(10px);
}

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

.detail-article,
.detail-side,
.prose-section article {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.detail-article h2,
.detail-side h2,
.prose-section h2 {
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.detail-article p,
.prose-section p {
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.95;
}

.detail-side dl {
  margin: 0;
}

.detail-side div {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid #f3f4f6;
}

.detail-side dt {
  color: var(--color-muted);
  font-weight: 800;
}

.detail-side dd {
  margin: 0;
  color: #111827;
  line-height: 1.65;
}

.site-footer {
  margin-top: 80px;
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  padding-top: 54px;
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 18px;
}

.footer-mark {
  color: var(--color-sunset);
}

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

.site-footer p {
  margin: 0;
  color: #9ca3af;
  line-height: 1.75;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 10px;
}

.site-footer a {
  color: #9ca3af;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.image-missing {
  background:
    radial-gradient(circle at 65% 25%, rgba(255, 255, 255, 0.3), transparent 28%),
    linear-gradient(135deg, #fed7aa, #f97316);
}

.image-missing img {
  display: none;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 0;
  }

  .nav-link {
    padding-left: 10px;
    padding-right: 10px;
  }

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

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

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

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

  .quick-card.wide {
    grid-column: 1 / -1;
  }

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

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

  .menu-toggle {
    display: inline-flex;
  }

  .brand {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .hero {
    min-height: 740px;
  }

  .hero-content {
    padding-top: 54px;
    padding-bottom: 230px;
    gap: 28px;
  }

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

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

  .hero-thumb:nth-child(n + 4) {
    display: none;
  }

  .quick-panel,
  .movie-grid,
  .category-grid,
  .footer-grid,
  .two-column .movie-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-bar,
  .section-head,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-select {
    width: 100%;
  }

  .detail-hero {
    margin-top: 22px;
    border-radius: 0 0 28px 28px;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    height: 64px;
    padding-left: 14px;
    padding-right: 14px;
  }

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

  .brand-text em {
    display: none;
  }

  .hero-copy h1,
  .detail-info h1 {
    letter-spacing: -0.04em;
  }

  .hero-content,
  .quick-panel,
  .content-section,
  .footer-grid,
  .footer-bottom,
  .detail-hero,
  .player-section,
  .page-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .quick-panel,
  .movie-grid,
  .category-grid,
  .footer-grid,
  .two-column .movie-grid {
    grid-template-columns: 1fr;
  }

  .quick-card,
  .compact-hero > div,
  .detail-article,
  .detail-side,
  .prose-section article {
    padding: 22px;
    border-radius: 22px;
  }

  .movie-card p {
    min-height: auto;
  }

  .pagination {
    flex-wrap: wrap;
  }
}
