:root {
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-900: #1c1917;
  --blue-700: #334155;
  --blue-800: #1e293b;
  --blue-900: #0f172a;
  --accent-50: #fef3c7;
  --accent-400: #f59e0b;
  --accent-500: #d97706;
  --accent-600: #b45309;
  --earth-50: #fdf8f6;
  --white-soft: rgba(255, 255, 255, 0.94);
  --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 8px 26px rgba(15, 23, 42, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone-50);
  color: var(--stone-900);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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.95);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--blue-900);
  white-space: nowrap;
}

.brand-mark,
.footer-logo span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-900), var(--accent-500));
  color: white;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25);
}

.brand-text {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.nav-link,
.mobile-link {
  color: var(--blue-700);
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--accent-600);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search input,
.mobile-search input,
.filter-search input,
.filter-panel select {
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  background: var(--stone-100);
  color: var(--blue-900);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  width: 245px;
  padding: 10px 42px 10px 18px;
}

.header-search button {
  position: absolute;
  right: 6px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-500);
  color: white;
  cursor: pointer;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-search input:focus,
.filter-panel select:focus {
  border-color: var(--accent-500);
  background: white;
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--blue-900);
  font-size: 26px;
  cursor: pointer;
}

.mobile-panel {
  border-top: 1px solid var(--stone-200);
  background: white;
  padding: 18px 20px 24px;
}

.mobile-search {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.mobile-search input {
  flex: 1;
  padding: 11px 16px;
}

.mobile-search button {
  border: 0;
  border-radius: 999px;
  background: var(--accent-500);
  color: white;
  padding: 0 18px;
  cursor: pointer;
}

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

.mobile-link {
  padding: 10px 4px;
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--blue-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-image,
.detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.54) 45%, rgba(0, 0, 0, 0.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: white;
  max-width: 1180px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent-400);
  font-weight: 800;
}

.hero-title {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-desc {
  max-width: 660px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  backdrop-filter: blur(10px);
}

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

.hero-tags span,
.detail-tags span,
.card-tags span {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 13px;
  font-weight: 650;
}

.hero-tags span {
  background: rgba(255, 255, 255, 0.13);
  color: white;
  backdrop-filter: blur(8px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn,
.ghost-btn,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.primary-btn {
  min-height: 46px;
  padding: 0 28px;
  background: var(--accent-500);
  color: white;
  box-shadow: 0 16px 30px rgba(217, 119, 6, 0.26);
}

.primary-btn:hover {
  background: var(--accent-600);
  transform: translateY(-2px) scale(1.02);
}

.ghost-btn {
  min-height: 46px;
  padding: 0 22px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) scale(1.04);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.quick-strip {
  width: min(1180px, calc(100% - 32px));
  margin: -36px auto 56px;
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.quick-strip a {
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--white-soft);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-strip a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  color: var(--blue-900);
  font-size: 18px;
  margin-bottom: 4px;
}

.quick-strip span {
  color: var(--stone-500);
  font-size: 14px;
}

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

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

.section-heading span {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--accent-600);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--stone-600);
}

.section-more {
  flex: none;
  min-height: 40px;
  padding: 0 18px;
  background: var(--blue-900);
  color: white;
}

.section-more:hover {
  background: var(--accent-600);
  transform: translateY(-2px);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.14);
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-900), var(--stone-700));
}

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

.movie-card:hover .card-cover img,
.category-tile:hover img,
.category-panel:hover img {
  transform: scale(1.05);
}

.card-rating {
  position: absolute;
  right: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(15, 23, 42, 0.82);
  color: var(--accent-400);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.card-body {
  padding: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--stone-500);
  font-size: 12px;
  margin-bottom: 9px;
}

.card-body h2 {
  margin: 0 0 9px;
  color: var(--blue-900);
  font-size: 18px;
  line-height: 1.28;
}

.card-body h2 a:hover {
  color: var(--accent-600);
}

.card-body p {
  margin: 0 0 13px;
  color: var(--stone-600);
  font-size: 14px;
}

.card-tags span {
  background: var(--accent-50);
  color: var(--accent-600);
}

.featured-band {
  border-radius: 32px;
  padding: 34px;
  background: linear-gradient(135deg, var(--accent-50), var(--earth-50));
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.scroll-row .movie-card {
  scroll-snap-align: start;
}

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  isolation: isolate;
  color: white;
  box-shadow: var(--shadow-card);
}

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

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.92));
}

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

.category-tile p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.rank-list,
.compact-list {
  display: grid;
  gap: 12px;
}

.rank-item,
.compact-list a {
  display: grid;
  align-items: center;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item {
  grid-template-columns: 50px 62px 1fr;
  gap: 13px;
  padding: 10px 14px;
}

.rank-item:hover,
.compact-list a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.rank-number {
  color: var(--accent-600);
  font-weight: 900;
  font-size: 20px;
}

.rank-item img {
  width: 62px;
  height: 82px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-copy strong,
.rank-copy em,
.compact-list span,
.compact-list em {
  display: block;
}

.rank-copy strong,
.compact-list span {
  color: var(--blue-900);
  font-weight: 800;
}

.rank-copy em,
.compact-list em {
  color: var(--stone-500);
  font-style: normal;
  font-size: 13px;
}

.compact-list a {
  padding: 16px 18px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  color: white;
}

.page-hero {
  min-height: 260px;
  display: flex;
  align-items: center;
}

.page-hero > div {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.page-hero span {
  display: inline-block;
  color: var(--accent-400);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--accent-400);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 160px 160px;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-card);
}

.filter-search input,
.filter-panel select {
  width: 100%;
  height: 44px;
  padding: 0 16px;
}

.empty-state {
  margin: 18px 0;
  border-radius: var(--radius-lg);
  padding: 20px;
  background: white;
  color: var(--stone-600);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.category-panels {
  display: grid;
  gap: 20px;
}

.category-panel {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 18px;
  background: white;
  box-shadow: var(--shadow-card);
}

.category-panel-cover {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
}

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

.category-panel h2 {
  margin: 8px 0 8px;
  color: var(--blue-900);
  font-size: 25px;
}

.category-panel p {
  color: var(--stone-600);
  margin: 0 0 16px;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-links a {
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--stone-100);
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 700;
}

.category-links a:hover {
  background: var(--accent-50);
  color: var(--accent-600);
}

.ranking-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.large-rank {
  max-height: 1180px;
  overflow: auto;
  padding-right: 8px;
}

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

.detail-hero {
  min-height: 560px;
}

.detail-backdrop {
  filter: blur(1px);
  transform: scale(1.02);
}

.detail-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.35));
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 42px;
  padding: 58px 0;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

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

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

.detail-copy p {
  max-width: 760px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.player-section {
  margin-top: -88px;
  position: relative;
  z-index: 5;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: black;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.22);
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: black;
  cursor: pointer;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.34), rgba(15, 23, 42, 0.78));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.play-cover span {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-500);
  color: white;
  font-size: 34px;
  box-shadow: 0 20px 42px rgba(217, 119, 6, 0.38);
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-cover:hover span {
  background: var(--accent-600);
  transform: scale(1.07);
}

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

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

.detail-article,
.detail-aside {
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-card);
}

.detail-article {
  padding: 30px;
}

.detail-article h2,
.detail-aside h2 {
  margin: 0 0 16px;
  color: var(--blue-900);
  font-size: 26px;
  letter-spacing: -0.03em;
}

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

.detail-article p {
  margin: 0;
  color: var(--stone-700);
  font-size: 16px;
}

.detail-aside {
  padding: 24px;
  align-self: start;
}

.detail-aside dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px 14px;
  margin: 0;
}

.detail-aside dt {
  color: var(--stone-500);
}

.detail-aside dd {
  margin: 0;
  color: var(--blue-900);
  font-weight: 700;
}

.detail-aside a {
  color: var(--accent-600);
}

.muted-tags span,
.detail-tags span {
  background: var(--stone-100);
  color: var(--blue-700);
}

.site-footer {
  margin-top: 72px;
  background: var(--blue-900);
  color: var(--stone-200);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
  gap: 34px;
}

.footer-logo {
  color: white;
  margin-bottom: 14px;
}

.footer-brand p,
.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(231, 229, 228, 0.72);
  font-size: 14px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: white;
  font-size: 17px;
}

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

.site-footer a:hover {
  color: var(--accent-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  color: rgba(231, 229, 228, 0.65);
  text-align: center;
  font-size: 13px;
}

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

  .header-search input {
    width: 205px;
  }

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

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

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

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

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

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

  .hero {
    height: auto;
    min-height: 620px;
  }

  .hero-content {
    padding: 76px 0 96px;
  }

  .hero-control {
    display: none;
  }

  .quick-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -28px;
  }

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

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

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

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

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

  .detail-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 34px;
  }

  .detail-poster {
    width: 210px;
  }

  .player-section {
    margin-top: -44px;
  }

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

@media (max-width: 560px) {
  .header-inner,
  .content-section,
  .quick-strip,
  .page-hero > div,
  .hero-content,
  .detail-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

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

  .hero-title,
  .detail-copy h1 {
    font-size: 38px;
  }

  .quick-strip,
  .movie-grid,
  .catalog-grid,
  .side-grid,
  .category-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .featured-band {
    padding: 22px;
  }

  .scroll-row {
    grid-auto-columns: minmax(210px, 82vw);
  }

  .rank-item {
    grid-template-columns: 42px 58px 1fr;
    padding: 9px 11px;
  }

  .detail-hero,
  .detail-inner {
    min-height: 0;
  }

  .detail-article,
  .detail-aside {
    padding: 22px;
  }

  .play-cover span {
    width: 68px;
    height: 68px;
    font-size: 26px;
  }
}
