
:root {
  --bg: #fff8ec;
  --surface: #ffffff;
  --surface-soft: #fff4dc;
  --text: #24180f;
  --muted: #7c6b5b;
  --amber: #f59e0b;
  --amber-dark: #b45309;
  --rose: #e11d48;
  --rose-dark: #881337;
  --line: rgba(146, 64, 14, 0.16);
  --shadow: 0 24px 70px rgba(120, 53, 15, 0.15);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, rgba(244, 63, 94, 0.16), transparent 35%),
    radial-gradient(circle at 90% 0%, rgba(245, 158, 11, 0.18), transparent 30%),
    linear-gradient(180deg, #fffaf0 0%, var(--bg) 45%, #fff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(245, 158, 11, 0.18);
  background: rgba(255, 251, 235, 0.86);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.28);
}

.brand-text {
  font-size: 21px;
  background: linear-gradient(90deg, var(--amber-dark), var(--rose), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #5f4630;
  font-weight: 700;
  transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--amber-dark);
  background: rgba(245, 158, 11, 0.12);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--amber-dark);
}

.mobile-nav {
  display: none;
  padding: 0 20px 16px;
  border-top: 1px solid var(--line);
}

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

main {
  min-height: 60vh;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: 48px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 90px 20px 110px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-bg {
  position: absolute;
  inset: 0 calc((100vw - 100%) / -2);
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 65% 35%, rgba(245, 158, 11, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(18, 9, 9, 0.1), rgba(18, 9, 9, 0.96));
}

.hero-content {
  color: #ffffff;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fde68a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.small {
  font-size: 11px;
  color: var(--amber-dark);
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 14px 0 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero p,
.page-hero p,
.detail-one-line {
  margin: 0;
  max-width: 760px;
  font-size: clamp(17px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.82);
}

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

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

.primary-button,
.ghost-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
  padding: 13px 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  box-shadow: 0 16px 40px rgba(225, 29, 72, 0.28);
}

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

.primary-button.small {
  padding: 10px 16px;
  font-size: 14px;
}

.ghost-button {
  padding: 12px 20px;
  color: #fff7ed;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.text-button {
  color: var(--rose);
  font-size: 14px;
}

.hero-poster {
  position: relative;
  align-self: center;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}

.hero-poster img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: rgba(225, 29, 72, 0.9);
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dot.active {
  width: 34px;
  background: #ffffff;
}

.stats-strip {
  max-width: 1120px;
  margin: -46px auto 70px;
  padding: 18px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.stats-strip div {
  padding: 18px;
  text-align: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fff7ed);
}

.stats-strip strong {
  display: block;
  color: var(--rose);
  font-size: 30px;
  line-height: 1;
}

.stats-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section-wrap {
  max-width: 1240px;
  margin: 0 auto 76px;
  padding: 0 20px;
}

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

.section-title h2 {
  margin: 4px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-title span {
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title a {
  color: var(--amber-dark);
  font-weight: 800;
}

.section-title.light,
.section-title.light a,
.section-title.light span {
  color: #ffffff;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(120, 53, 15, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(120, 53, 15, 0.18);
}

.movie-card-large {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1fr;
}

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #23110a;
}

.movie-card:not(.movie-card-large) .movie-poster img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.movie-card-large .movie-poster img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.movie-poster img {
  transition: transform 0.5s ease;
}

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

.poster-badge,
.poster-play {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
}

.poster-badge {
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
}

.poster-play {
  right: 12px;
  bottom: 12px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.34);
}

.movie-info {
  padding: 18px;
}

.movie-card-large .movie-info {
  padding: 30px;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.movie-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff7ed;
}

.movie-info h3 {
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.movie-card-large .movie-info h3 {
  font-size: 34px;
}

.movie-info h3 a:hover {
  color: var(--rose);
}

.movie-info p {
  margin: 0 0 14px;
  color: #6b5949;
}

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

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--amber-dark);
  font-size: 12px;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.12);
}

.ranking-card,
.category-card,
.content-card,
.side-card,
.player-card,
.overview-card,
.podium-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.ranking-card {
  padding: 26px;
  position: sticky;
  top: 92px;
}

.ranking-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ranking-list li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: #fff7ed;
}

.ranking-list span {
  color: var(--rose);
  font-weight: 900;
}

.ranking-list a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.ranking-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.gradient-section {
  max-width: 1280px;
  padding: 44px 28px;
  border-radius: 36px;
  color: #ffffff;
  background:
    radial-gradient(circle at 15% 20%, rgba(253, 230, 138, 0.24), transparent 24%),
    linear-gradient(135deg, #78350f, #881337 60%, #b45309);
  box-shadow: var(--shadow);
}

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

.category-card {
  padding: 22px;
  color: var(--text);
}

.category-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

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

.category-card-head strong {
  color: var(--rose);
  font-size: 28px;
}

.compact-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.compact-movie {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
}

.compact-movie img {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  object-fit: cover;
  background: #2a160d;
}

.compact-movie strong {
  display: block;
  line-height: 1.25;
}

.compact-movie small {
  color: var(--muted);
}

.page-hero {
  max-width: 1240px;
  margin: 0 auto 42px;
  padding: 70px 20px 20px;
}

.compact-hero {
  padding-top: 82px;
  text-align: center;
}

.compact-hero h1 {
  color: var(--text);
}

.compact-hero p {
  margin: 0 auto;
  color: var(--muted);
}

.overview-card {
  padding: 22px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: center;
}

.overview-poster-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.overview-poster-stack img {
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
  background: #2a160d;
}

.overview-card h2 {
  margin: 6px 0 8px;
  font-size: 28px;
}

.filter-panel {
  margin-bottom: 26px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 190px 190px auto;
  gap: 14px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(120, 53, 15, 0.08);
}

.filter-panel label,
.search-box {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(180, 83, 9, 0.18);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  background: #fffaf0;
}

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

.filter-count {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--rose);
  font-weight: 900;
  background: rgba(225, 29, 72, 0.08);
}

.empty-state {
  margin-bottom: 24px;
  padding: 22px;
  text-align: center;
  border: 1px dashed rgba(180, 83, 9, 0.28);
  border-radius: 18px;
  color: var(--muted);
  background: #fffaf0;
}

.breadcrumb {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--amber-dark);
  font-weight: 800;
}

.detail-hero {
  min-height: 560px;
  margin-bottom: 52px;
  padding: 68px calc((100vw - min(1240px, 100vw)) / 2 + 20px);
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  color: #ffffff;
  background-size: cover;
  background-position: center;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.36);
}

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

.detail-info h1 {
  max-width: 850px;
}

.detail-meta-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.detail-meta-grid span {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.detail-meta-grid strong {
  display: block;
  color: #fde68a;
  font-size: 12px;
}

.detail-tags {
  margin-top: 20px;
}

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

.detail-main {
  display: grid;
  gap: 22px;
}

.player-card,
.content-card,
.side-card {
  padding: 24px;
}

.player-heading {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.player-heading h2,
.content-card h2,
.side-card h2 {
  margin: 6px 0 0;
  font-size: 26px;
}

.source-label {
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--rose));
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #0f0a08;
}

.video-element {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #0f0a08;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle, rgba(245, 158, 11, 0.14), transparent 28%),
    rgba(0, 0, 0, 0.36);
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-shell.is-playing .video-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-circle {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  box-shadow: 0 22px 60px rgba(225, 29, 72, 0.38);
}

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

.video-overlay small {
  color: rgba(255, 255, 255, 0.78);
}

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  margin: 0;
  color: #fde68a;
  font-size: 13px;
  pointer-events: none;
}

.content-card p {
  margin: 10px 0 0;
  color: #564438;
  font-size: 17px;
}

.detail-side {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 92px;
}

.side-card dl {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 14px;
}

.side-card dt {
  color: var(--muted);
  font-weight: 900;
}

.side-card dd {
  margin: 0;
}

.prev-next {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.prev-next a {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  font-weight: 800;
}

.prev-next a:last-child {
  text-align: right;
}

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

.podium-card {
  overflow: hidden;
  padding-bottom: 20px;
  text-align: center;
}

.podium-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.podium-card span {
  display: inline-flex;
  margin-top: -18px;
  position: relative;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--rose));
}

.podium-card h2,
.podium-card p {
  padding: 0 18px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.ranking-table th,
.ranking-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(146, 64, 14, 0.1);
  text-align: left;
}

.ranking-table th {
  color: var(--muted);
  font-size: 13px;
  background: #fff7ed;
}

.rank-num {
  color: var(--rose);
  font-weight: 900;
}

.table-movie {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-movie img {
  width: 86px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  object-fit: cover;
  background: #2a160d;
}

.table-movie strong,
.table-movie small {
  display: block;
}

.table-movie small {
  color: var(--muted);
}

.link-map {
  columns: 4 220px;
  margin: 0;
  padding-left: 20px;
}

.site-footer {
  margin-top: 80px;
  color: #fff7ed;
  background:
    radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.22), transparent 30%),
    linear-gradient(135deg, #78350f, #881337 56%, #92400e);
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 20px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 32px;
}

.site-footer p {
  color: rgba(255, 247, 237, 0.75);
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fde68a;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  padding: 18px 20px;
}

.footer-bottom p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  box-shadow: 0 16px 40px rgba(225, 29, 72, 0.28);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.center-actions {
  justify-content: center;
}

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

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

  .detail-side,
  .ranking-card {
    position: static;
  }
}

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

  .menu-button {
    display: block;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-poster {
    max-width: 320px;
    justify-self: center;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 20px;
    margin-right: 20px;
  }

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

  .movie-card-large,
  .overview-card,
  .detail-hero {
    grid-template-columns: 1fr;
  }

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

  .detail-meta-grid,
  .filter-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .site-header-inner {
    padding-inline: 14px;
  }

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

  .hero h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: 42px;
  }

  .movie-grid,
  .category-grid,
  .overview-grid,
  .podium-grid,
  .stats-strip,
  .prev-next {
    grid-template-columns: 1fr;
  }

  .section-wrap,
  .page-hero {
    padding-inline: 14px;
  }

  .detail-hero {
    padding-inline: 14px;
  }

  .compact-movie {
    grid-template-columns: 82px 1fr;
  }
}
