:root {
  --bg: #fff7ed;
  --bg-soft: #fffbeb;
  --panel: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #f3e7d8;
  --brand: #f59e0b;
  --brand-strong: #ea580c;
  --brand-deep: #9a3412;
  --dark: #111827;
  --dark-soft: #1f2937;
  --shadow: 0 20px 45px rgba(146, 64, 14, 0.14);
  --radius: 22px;
  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(--text);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 34%, #fffbeb 100%);
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.16);
  box-shadow: 0 12px 28px rgba(146, 64, 14, 0.08);
}

.nav-shell {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.28);
}

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

.brand-text strong {
  font-size: 21px;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #d97706, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 16px;
  border-radius: 12px;
  color: #374151;
  transition: 0.25s ease;
  font-weight: 650;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.18);
}

.watch-button,
.primary-action,
.secondary-action,
.rank-more,
.section-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.watch-button,
.primary-action {
  padding: 12px 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 16px 30px rgba(234, 88, 12, 0.24);
}

.watch-button:hover,
.primary-action:hover,
.secondary-action:hover,
.rank-more:hover,
.section-head a:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: #fff7ed;
  border-radius: 12px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #7c2d12;
  margin: 5px 0;
  border-radius: 99px;
}

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

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

.hero-section {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.38), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(249, 115, 22, 0.26), transparent 30%),
    linear-gradient(135deg, #fff7ed 0%, #fffbeb 44%, #fed7aa 100%);
}

.hero-bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-bg-one {
  width: 360px;
  height: 360px;
  right: -80px;
  top: 100px;
  background: rgba(245, 158, 11, 0.34);
}

.hero-bg-two {
  width: 280px;
  height: 280px;
  left: -100px;
  bottom: 40px;
  background: rgba(234, 88, 12, 0.22);
}

.hero-shell {
  position: relative;
  padding: 64px 0 72px;
}

.hero-slider {
  position: relative;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.hero-slide {
  min-height: 482px;
  display: none;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 32px;
  align-items: center;
  padding: 54px;
}

.hero-slide.is-active {
  display: grid;
}

.hero-copy h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
  margin: 14px 0 20px;
  letter-spacing: -0.06em;
}

.hero-copy p {
  color: #4b5563;
  font-size: 18px;
  line-height: 1.8;
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-deep);
  background: rgba(245, 158, 11, 0.13);
  border: 1px solid rgba(245, 158, 11, 0.18);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.hero-tags span,
.detail-tags span,
.detail-meta span,
.movie-tags {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
  font-weight: 750;
}

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

.secondary-action {
  padding: 12px 20px;
  color: #9a3412;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.24);
  box-shadow: 0 14px 26px rgba(146, 64, 14, 0.08);
}

.hero-poster {
  position: relative;
  display: block;
  height: 430px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 55px rgba(124, 45, 18, 0.24);
  transform: rotate(1.5deg);
  isolation: isolate;
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #fde68a, #fdba74);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.74));
  z-index: 1;
}

.hero-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #ffffff;
  font-weight: 800;
}

.hero-controls {
  position: absolute;
  left: 54px;
  bottom: 28px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-prev,
.hero-next,
.hero-dot {
  border: 0;
  color: #9a3412;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(146, 64, 14, 0.12);
}

.hero-prev,
.hero-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 99px;
  opacity: 0.56;
}

.hero-dot.is-active {
  width: 30px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  opacity: 1;
}

.hero-search-form {
  width: min(780px, 100%);
  margin: 26px auto 0;
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(146, 64, 14, 0.12);
}

.hero-search-form input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  outline: none;
  transition: 0.2s ease;
}

.hero-search-form input {
  flex: 1;
  padding: 14px 16px;
  border: 0;
  background: transparent;
}

.hero-search-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.hero-search-form button {
  border: 0;
  padding: 13px 24px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 850;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
}

.hero-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

.hero-category-pills a {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #7c2d12;
  font-weight: 750;
  box-shadow: 0 12px 24px rgba(146, 64, 14, 0.08);
}

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

.soft-section {
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.86), rgba(255, 251, 235, 0.94));
}

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

.section-head.inline-head {
  width: 100%;
}

.section-head h2,
.rank-panel h2,
.content-card h2 {
  margin: 12px 0 8px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-head p,
.page-hero p,
.content-card p,
.category-body em,
.category-overview-content em {
  color: var(--muted);
  line-height: 1.8;
}

.section-head a,
.rank-more {
  padding: 10px 16px;
  color: #9a3412;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.18);
  box-shadow: 0 14px 26px rgba(146, 64, 14, 0.08);
  white-space: nowrap;
}

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

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

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

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

.movie-card-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.12);
  box-shadow: 0 18px 34px rgba(146, 64, 14, 0.09);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 52px rgba(146, 64, 14, 0.17);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fde68a, #fb923c);
}

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

.movie-card-link:hover .poster-wrap img {
  transform: scale(1.08);
}

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.72));
  opacity: 0.82;
}

.score-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
}

.score-pill {
  right: 10px;
  top: 10px;
  min-width: 42px;
  padding: 6px 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 12px 22px rgba(234, 88, 12, 0.24);
}

.score-pill.large {
  top: 18px;
  right: 18px;
  min-width: 56px;
  padding: 9px 13px;
}

.rank-badge {
  left: 10px;
  top: 10px;
  min-width: 44px;
  height: 30px;
  background: rgba(17, 24, 39, 0.76);
  backdrop-filter: blur(8px);
  font-size: 13px;
}

.movie-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
}

.movie-card-body strong {
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.movie-card.compact .movie-card-body strong {
  font-size: 15px;
  -webkit-line-clamp: 1;
}

.movie-meta-line,
.movie-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.movie-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-tags {
  align-self: flex-start;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}

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

.category-card,
.category-overview-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.12);
  box-shadow: 0 16px 32px rgba(146, 64, 14, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 46px rgba(146, 64, 14, 0.15);
}

.category-cover,
.category-overview-image {
  display: block;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #fde68a, #fb923c);
}

.category-cover img,
.category-overview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-body,
.category-overview-content {
  display: grid;
  gap: 8px;
}

.category-body strong,
.category-overview-content strong {
  font-size: 20px;
}

.category-body em,
.category-overview-content em {
  font-style: normal;
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-panel {
  position: sticky;
  top: 92px;
  padding: 24px;
  border-radius: 26px;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 26px 52px rgba(17, 24, 39, 0.18);
}

.rank-panel .eyebrow {
  color: #fef3c7;
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.28);
}

.rank-row {
  display: grid;
  grid-template-columns: 38px 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-number {
  color: #fbbf24;
  font-weight: 950;
}

.rank-thumb {
  width: 54px;
  height: 70px;
  overflow: hidden;
  border-radius: 12px;
  background: #f59e0b;
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-info {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.rank-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info em {
  color: #d1d5db;
  font-size: 12px;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-heat {
  color: #fed7aa;
  font-weight: 800;
  font-size: 13px;
}

.rank-more {
  width: 100%;
  margin-top: 18px;
  color: #9a3412;
}

.page-hero {
  padding: 82px 0;
  color: #111827;
  background:
    radial-gradient(circle at 20% 18%, rgba(245, 158, 11, 0.24), transparent 28%),
    linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
}

.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  font-size: 18px;
}

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

.category-overview-card {
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 176px;
}

.category-overview-content span {
  color: #ea580c;
  font-weight: 900;
}

.filter-panel {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
  padding: 16px;
  border: 1px solid rgba(245, 158, 11, 0.14);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 32px rgba(146, 64, 14, 0.08);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: #7c2d12;
  font-size: 13px;
  font-weight: 850;
}

.filter-panel input,
.filter-panel select {
  min-height: 46px;
  padding: 0 14px;
}

.top-feature-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border-radius: 28px;
  color: #ffffff;
  box-shadow: 0 24px 48px rgba(124, 45, 18, 0.18);
  isolation: isolate;
}

.top-feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  background: linear-gradient(135deg, #fde68a, #fb923c);
}

.top-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.82));
  z-index: -1;
}

.top-feature-rank {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  font-weight: 950;
}

.top-feature-card strong {
  font-size: 28px;
  line-height: 1.15;
}

.top-feature-card em {
  font-style: normal;
  color: #fde68a;
  margin-top: 8px;
}

.detail-hero {
  padding: 36px 0 70px;
  background:
    radial-gradient(circle at 76% 12%, rgba(249, 115, 22, 0.22), transparent 30%),
    linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.breadcrumb a {
  color: #c2410c;
  font-weight: 800;
}

.breadcrumb em {
  font-style: normal;
}

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

.detail-poster {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 26px 56px rgba(124, 45, 18, 0.24);
  background: linear-gradient(135deg, #fde68a, #fb923c);
}

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

.detail-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 850px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.player-section {
  background: #111827;
  color: #ffffff;
}

.player-section .eyebrow {
  color: #fef3c7;
  background: rgba(245, 158, 11, 0.2);
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.34);
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  cursor: pointer;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.66));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  width: 82px;
  height: 82px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 20px 42px rgba(234, 88, 12, 0.38);
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 26px solid #ffffff;
}

.play-overlay strong {
  font-size: 22px;
}

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

.content-card {
  padding: 28px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.12);
  box-shadow: 0 18px 34px rgba(146, 64, 14, 0.08);
}

.content-card h2 {
  font-size: 28px;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 30px;
  padding: 46px 0;
}

.footer-brand {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.site-footer p {
  max-width: 460px;
  line-height: 1.8;
  color: #9ca3af;
}

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

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

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

.footer-bottom {
  padding: 18px;
  text-align: center;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
  .small-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .rank-panel {
    position: static;
  }
}

@media (max-width: 840px) {
  .desktop-nav,
  .watch-button {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

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

  .hero-shell {
    padding: 32px 0 46px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .hero-poster {
    height: 360px;
    transform: none;
  }

  .hero-controls {
    left: 28px;
    bottom: 18px;
  }

  .hero-search-form {
    flex-direction: column;
  }

  .hero-search-form button {
    width: 100%;
  }

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

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

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

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

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

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

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 22px, 1200px);
  }

  .nav-shell {
    height: 64px;
  }

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

  .brand-text em {
    display: none;
  }

  .hero-section {
    min-height: 0;
  }

  .hero-slide {
    min-height: auto;
    padding: 22px 18px 74px;
  }

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

  .hero-copy p,
  .page-hero p,
  .detail-one-line {
    font-size: 16px;
  }

  .hero-poster {
    height: 310px;
  }

  .movie-grid,
  .small-grid,
  .category-grid,
  .category-overview-grid,
  .top-feature-grid,
  .text-grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  .category-overview-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .rank-row {
    grid-template-columns: 30px 48px minmax(0, 1fr);
  }

  .rank-heat {
    display: none;
  }

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