:root {
  --bg: #fffaf1;
  --bg-soft: #fff7ed;
  --bg-strong: #ffedd5;
  --card: rgba(255, 255, 255, 0.92);
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(251, 146, 60, 0.22);
  --orange: #f97316;
  --orange-dark: #ea580c;
  --amber: #f59e0b;
  --shadow: 0 18px 45px rgba(194, 65, 12, 0.13);
  --radius: 24px;
  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%, #fffbeb 48%, #ffffff 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.96), rgba(255, 251, 235, 0.96));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 30px rgba(154, 52, 18, 0.08);
}

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

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark,
.footer-brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
}

.brand-text {
  display: grid;
  line-height: 1.12;
}

.brand-text strong,
.footer-brand span:last-child {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #b45309, var(--orange-dark), #b45309);
  -webkit-background-clip: text;
  color: transparent;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  position: relative;
  color: #374151;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange-dark);
}

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

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 237, 213, 0.76);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

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

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

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: #374151;
  font-weight: 700;
}

.mobile-link.active,
.mobile-link:hover {
  color: var(--orange-dark);
  background: rgba(255, 237, 213, 0.8);
}

.hero {
  position: relative;
  max-width: 1220px;
  margin: 0 auto;
  padding: 64px 20px 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
  gap: 44px;
  align-items: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.26), transparent 68%);
  right: 5%;
  top: 5%;
  filter: blur(8px);
  pointer-events: none;
}

.hero-copy,
.hero-stage,
.page-hero,
.content-section {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: linear-gradient(90deg, rgba(255, 237, 213, 0.95), rgba(254, 243, 199, 0.95));
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.hero h1,
.page-hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.05em;
  color: #1f2937;
}

.hero h1 span,
.page-hero h1 span {
  background: linear-gradient(90deg, #b45309, var(--orange), var(--amber));
  -webkit-background-clip: text;
  color: transparent;
}

.hero p,
.page-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

.hero-search {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-search input,
.filter-bar input,
.filter-bar select {
  border: 1px solid var(--line);
  outline: none;
  color: #1f2937;
  background: #fff;
  border-radius: 14px;
  min-height: 46px;
}

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

.hero-search button,
.button {
  border: 0;
  border-radius: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hero-search button {
  padding: 0 22px;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
}

.button:hover,
.hero-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(249, 115, 22, 0.24);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

.button-soft {
  color: #7c2d12;
  background: #fff;
  border: 1px solid var(--line);
}

.button-ghost {
  color: var(--orange-dark);
  background: rgba(255, 237, 213, 0.7);
}

.button-light {
  color: #7c2d12;
  background: #fff;
}

.hero-stage {
  min-width: 0;
}

.hero-slides {
  position: relative;
  height: 540px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 75px rgba(124, 45, 18, 0.24);
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.76));
}

.hero-slide-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px;
  color: #fff;
}

.hero-label {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.hero-slide-content h2 {
  margin: 16px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
}

.hero-slide-content p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 620px;
  margin: 0 0 16px;
  line-height: 1.7;
}

.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.hero-thumb {
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.82);
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  text-align: left;
  color: #374151;
  box-shadow: 0 10px 22px rgba(124, 45, 18, 0.08);
}

.hero-thumb img {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  object-fit: cover;
}

.hero-thumb span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-thumb.is-active {
  border-color: rgba(249, 115, 22, 0.5);
  background: #fff7ed;
}

.content-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 64px 20px;
}

.content-section.tinted {
  max-width: none;
  padding-left: max(20px, calc((100vw - 1220px) / 2 + 20px));
  padding-right: max(20px, calc((100vw - 1220px) / 2 + 20px));
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 237, 213, 0.74), rgba(254, 243, 199, 0.62));
}

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

.section-heading h2 {
  margin: 10px 0 0;
  color: #1f2937;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

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

.section-more span {
  transition: transform 0.2s ease;
  display: inline-block;
}

.section-more:hover span {
  transform: translateX(4px);
}

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

.dense-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

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

.movie-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(124, 45, 18, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-link:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 45px rgba(124, 45, 18, 0.16);
  border-color: rgba(249, 115, 22, 0.42);
}

.poster-wrap {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

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

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

.poster-wrap figcaption,
.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(249, 115, 22, 0.92);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.rank-badge {
  left: auto;
  right: 12px;
  background: rgba(17, 24, 39, 0.82);
}

.play-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
  transform: scale(0.82);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-link:hover .play-dot {
  transform: scale(1);
  opacity: 1;
}

.movie-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.movie-info h2 {
  margin: 0;
  color: #1f2937;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #78716c;
  font-size: 12px;
}

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

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

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

.movie-card-wide .movie-link {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 190px;
}

.movie-card-wide .poster-wrap {
  aspect-ratio: auto;
  height: 100%;
}

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

.ranking-panel {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 237, 0.94));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.panel-head span {
  font-weight: 900;
  font-size: 22px;
}

.panel-head a {
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 13px;
}

.rank-list {
  display: grid;
  gap: 10px;
}

.rank-row {
  display: grid;
  grid-template-columns: 34px 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.rank-row img {
  width: 52px;
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-num {
  color: var(--orange-dark);
  font-weight: 1000;
}

.rank-title {
  font-weight: 900;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-score {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  border-radius: 999px;
  padding: 5px 8px;
  font-weight: 900;
  font-size: 12px;
}

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

.category-tile,
.category-card-large {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 210px;
  padding: 22px;
  color: #fff;
  background: #111827;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: end;
  isolation: isolate;
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.45s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.76));
  z-index: -1;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-tile span,
.category-card-large h2 {
  font-size: 24px;
  font-weight: 1000;
  line-height: 1.15;
}

.category-tile p,
.category-card-large p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  font-size: 14px;
}

.page-hero {
  max-width: 1220px;
  margin: 0 auto;
  padding: 64px 20px 36px;
}

.compact-hero {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.compact-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.breadcrumb {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #9a3412;
  font-weight: 800;
  font-size: 14px;
}

.breadcrumb span {
  color: #f97316;
}

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

.category-card-large {
  min-height: 320px;
  background: linear-gradient(135deg, #9a3412, #f97316, #f59e0b);
}

.category-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  opacity: 0.28;
  z-index: -1;
}

.category-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-large span {
  margin-top: 16px;
  color: #fff;
  font-weight: 900;
}

.filter-bar {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 160px 160px auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px rgba(124, 45, 18, 0.08);
}

.filter-bar.expanded {
  grid-template-columns: minmax(260px, 1fr) repeat(4, minmax(120px, 160px)) auto;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 0 14px;
}

.result-text {
  color: #9a3412;
  font-weight: 900;
  white-space: nowrap;
}

.detail-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.36;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.68), rgba(154, 52, 18, 0.55));
}

.detail-content {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin: 0 auto;
  padding: 54px 20px 70px;
}

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

.detail-poster {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.detail-info h1 {
  margin: 18px 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.lead-text {
  margin: 0;
  max-width: 820px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.85;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 16px;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  font-size: 13px;
}

.detail-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 30px;
  align-items: start;
}

.player-card,
.text-panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.48));
  cursor: pointer;
  z-index: 2;
}

.player-overlay.is-hidden {
  display: none;
}

.player-overlay span {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 34px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.36);
  transition: transform 0.22s ease;
}

.player-overlay:hover span {
  transform: scale(1.08);
}

.player-title {
  padding: 22px 24px 26px;
}

.player-title h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.player-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.text-panel {
  padding: 28px;
}

.text-panel h2 {
  margin: 0 0 12px;
  color: #1f2937;
  font-size: 24px;
}

.text-panel h2:not(:first-child) {
  margin-top: 28px;
}

.text-panel p {
  margin: 0;
  color: #4b5563;
  line-height: 1.92;
}

.info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.info-chips span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 800;
  font-size: 13px;
}

.site-footer {
  margin-top: 30px;
  background: linear-gradient(180deg, #fff7ed, #ffedd5);
  border-top: 1px solid var(--line);
}

.footer-grid {
  max-width: 1220px;
  margin: 0 auto;
  padding: 44px 20px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-grid p,
.footer-grid a {
  color: #6b7280;
  line-height: 1.75;
}

.footer-grid p {
  margin: 16px 0 0;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer-grid a:hover {
  color: var(--orange-dark);
}

.footer-bottom {
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid var(--line);
  color: #78716c;
  font-size: 14px;
}

.hidden-card {
  display: none !important;
}

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

  .hero-stage {
    max-width: 760px;
  }

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

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

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

  .ranking-panel {
    position: static;
  }

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

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

  .menu-toggle {
    display: flex;
  }

  .brand-text strong,
  .footer-brand span:last-child {
    font-size: 20px;
  }

  .hero,
  .page-hero {
    padding-top: 36px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 40px;
  }

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

  .hero-search button {
    min-height: 46px;
  }

  .hero-slides {
    height: 470px;
    border-radius: 24px;
  }

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

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

  .movie-info {
    padding: 14px;
  }

  .movie-info h2 {
    font-size: 16px;
  }

  .movie-card-wide .movie-link {
    grid-template-columns: 120px 1fr;
    min-height: 160px;
  }

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

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

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

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

  .filter-bar,
  .filter-bar.expanded {
    grid-template-columns: 1fr;
  }

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

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

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

  .movie-card-wide .movie-link {
    grid-template-columns: 1fr;
  }

  .movie-card-wide .poster-wrap {
    aspect-ratio: 3 / 4;
  }

  .hero-slide-content {
    padding: 22px;
  }

  .player-overlay span {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }
}
