:root {
  --red-950: #450a0a;
  --red-900: #7f1d1d;
  --red-800: #991b1b;
  --red-700: #b91c1c;
  --amber-950: #451a03;
  --amber-900: #78350f;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-200: #fde68a;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --cream: #fff7ed;
  --ink: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(69, 10, 10, 0.16);
  --soft-shadow: 0 14px 34px rgba(69, 10, 10, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--amber-50), #fff1f2 45%, var(--cream));
}

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #fffbeb, #fff1f2, #fffbeb);
  border-bottom: 2px solid var(--amber-600);
  box-shadow: 0 10px 30px rgba(120, 53, 15, 0.15);
}

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

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

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-700), var(--amber-600));
  box-shadow: 0 10px 22px rgba(185, 28, 28, 0.28);
  transition: transform 0.25s ease;
}

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

.brand-copy,
.footer-logo div {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong,
.footer-logo strong {
  font-size: 24px;
  color: var(--red-900);
  letter-spacing: 0.04em;
}

.brand-copy em,
.footer-logo em {
  font-style: normal;
  font-size: 12px;
  color: var(--amber-700);
  letter-spacing: 0.12em;
  margin-top: 4px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--red-900);
  font-weight: 700;
}

.desktop-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--amber-700);
  border-color: var(--amber-600);
}

.nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(180, 83, 9, 0.35);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  color: var(--red-900);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 18px;
  border-top: 1px solid rgba(180, 83, 9, 0.2);
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--red-900);
  font-weight: 700;
}

.mobile-nav a:hover {
  background: var(--amber-100);
}

.mobile-nav.is-open {
  display: block;
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--red-950), var(--amber-900), var(--red-900));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image: linear-gradient(90deg, rgba(69, 10, 10, 0.92), rgba(69, 10, 10, 0.62), rgba(120, 53, 15, 0.24)), var(--hero-image);
  background-size: cover;
  background-position: center;
  transition: opacity 0.8s ease;
}

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1px), radial-gradient(circle at 80% 0%, rgba(253, 230, 138, 0.65), transparent 32%);
  background-size: 52px 52px, 100% 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(69, 10, 10, 0.45), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding-right: 420px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--amber-200);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  margin: 24px 0 18px;
  color: var(--white);
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  max-width: 720px;
  color: #ffedd5;
  font-size: 20px;
  line-height: 1.8;
  margin: 0 0 24px;
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  border-radius: 999px;
  background: rgba(253, 230, 138, 0.16);
  color: var(--amber-200);
  border: 1px solid rgba(253, 230, 138, 0.28);
  padding: 6px 10px;
  font-size: 13px;
}

.tag-row span {
  color: var(--amber-700);
  background: var(--amber-50);
  border-color: rgba(217, 119, 6, 0.22);
  padding: 4px 8px;
  font-size: 12px;
}

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

.primary-btn,
.ghost-btn,
.outline-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-700), var(--amber-600));
  box-shadow: 0 16px 32px rgba(185, 28, 28, 0.34);
}

.ghost-btn {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.outline-btn,
.text-link {
  color: var(--red-900);
  border: 1px solid rgba(185, 28, 28, 0.18);
  background: var(--white);
}

.primary-btn:hover,
.ghost-btn:hover,
.outline-btn:hover,
.text-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

.hero-shell {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-search-card {
  width: min(390px, 100%);
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow);
  color: var(--white);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.hero-search-card strong {
  display: block;
  font-size: 24px;
  line-height: 1.35;
}

.hero-search-card p {
  color: #ffedd5;
  line-height: 1.75;
}

.hero-search {
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.16);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: var(--ink);
  background: transparent;
}

.hero-search button {
  border: 0;
  padding: 13px 18px;
  color: var(--white);
  background: var(--red-700);
  cursor: pointer;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.hero-stats span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats b {
  font-size: 22px;
}

.hero-stats em {
  font-style: normal;
  color: var(--amber-200);
  font-size: 12px;
}

.hero-controls {
  position: absolute;
  right: 0;
  bottom: 68px;
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

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

.hero-dot.is-active {
  width: 36px;
  background: var(--amber-200);
}

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

.content-section.compact {
  padding: 58px 0;
}

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

.section-heading div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-700), var(--amber-600));
  box-shadow: var(--soft-shadow);
}

.section-heading h2 {
  margin: 0;
  color: var(--red-950);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
}

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

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

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

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

.movie-card {
  min-width: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  border: 2px solid transparent;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 119, 6, 0.75);
  box-shadow: var(--shadow);
}

.movie-card-link {
  display: block;
  height: 100%;
}

.poster {
  position: relative;
  min-height: 250px;
  background-image: linear-gradient(145deg, rgba(69, 10, 10, 0.25), rgba(217, 119, 6, 0.12)), var(--cover-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.movie-card-large .poster {
  min-height: 320px;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
  opacity: 0.85;
}

.movie-card:hover .poster {
  background-size: 110%;
}

.year-badge,
.rank-badge,
.play-badge,
.poster-meta {
  position: absolute;
  z-index: 2;
}

.year-badge {
  top: 14px;
  right: 14px;
  color: var(--white);
  background: var(--red-700);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.rank-badge {
  top: 14px;
  left: 14px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--red-900);
  background: var(--amber-200);
  font-weight: 900;
}

.play-badge {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.72);
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red-700);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.poster-meta {
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.poster-meta span {
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.poster-meta span:first-child {
  background: var(--amber-600);
}

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

.movie-card-body h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card:hover .movie-card-body h3 {
  color: var(--red-800);
}

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

.band-section {
  background: linear-gradient(90deg, var(--amber-100), #fee2e2, var(--amber-100));
}

.dark-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-950), var(--amber-900), var(--red-900));
}

.dark-section .section-heading h2,
.dark-section .section-heading p {
  color: var(--white);
}

.dark-section .movie-card {
  color: var(--ink);
}

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

.category-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: var(--radius-lg);
  color: var(--red-950);
  background: linear-gradient(135deg, var(--white), var(--amber-50));
  border: 1px solid rgba(180, 83, 9, 0.16);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card strong {
  font-size: 24px;
}

.category-card span {
  color: var(--muted);
  line-height: 1.7;
}

.page-hero {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 72px 16px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(120deg, var(--red-950), var(--amber-900), var(--red-900));
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 20% 30%, var(--amber-200), transparent 26%), radial-gradient(circle at 80% 20%, #ffffff, transparent 18%);
}

.page-hero > div {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
}

.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
}

.page-hero p {
  margin: 0 auto;
  color: #ffedd5;
  max-width: 760px;
  line-height: 1.8;
  font-size: 18px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 160px 160px 170px;
  gap: 14px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(217, 119, 6, 0.14);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.search-box span {
  color: var(--amber-700);
  font-weight: 900;
}

.search-box input,
.filter-panel select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.search-box input {
  min-height: 0;
  border: 0;
}

.filter-panel select {
  padding: 0 12px;
}

.category-preview {
  padding: 28px 0;
  border-bottom: 1px solid rgba(180, 83, 9, 0.18);
}

.category-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.category-preview h2 {
  margin: 0 0 8px;
  color: var(--red-950);
  font-size: 30px;
}

.category-preview p {
  margin: 0;
  color: var(--muted);
}

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

.rank-list-panel {
  position: sticky;
  top: 104px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.rank-list-panel h2 {
  margin: 0 0 16px;
  color: var(--red-950);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--amber-50);
}

.rank-row:hover {
  background: #fee2e2;
}

.rank-row span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red-700);
  font-weight: 900;
}

.rank-row strong {
  color: var(--red-950);
}

.rank-row em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.detail-hero {
  padding: 34px 0 68px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-950), var(--amber-900), var(--red-900));
}

.breadcrumb,
.detail-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--amber-200);
  font-size: 14px;
  margin-bottom: 28px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 38px;
  align-items: center;
}

.detail-cover {
  min-height: 460px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-xl);
  background-image: linear-gradient(145deg, rgba(69, 10, 10, 0.16), rgba(217, 119, 6, 0.2)), var(--cover-image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.detail-cover span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(185, 28, 28, 0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.detail-copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(40px, 7vw, 70px);
  line-height: 1.05;
}

.detail-line {
  max-width: 760px;
  color: #ffedd5;
  font-size: 20px;
  line-height: 1.8;
}

.detail-tags span {
  color: var(--amber-200);
}

.player-card,
.article-card {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.movie-player,
.play-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.movie-player {
  object-fit: contain;
  background: #000;
}

.play-cover {
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 24px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(185, 28, 28, 0.42), rgba(0, 0, 0, 0.68));
  cursor: pointer;
}

.play-cover span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-700), var(--amber-600));
  box-shadow: 0 18px 48px rgba(185, 28, 28, 0.45);
  font-size: 34px;
}

.play-cover strong {
  max-width: min(680px, 90%);
  font-size: clamp(22px, 4vw, 42px);
  line-height: 1.25;
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.play-cover.is-hidden {
  display: none;
}

.player-message {
  position: absolute;
  z-index: 3;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--white);
  background: rgba(69, 10, 10, 0.82);
  text-align: center;
}

.article-card {
  padding: clamp(24px, 4vw, 42px);
}

.article-card h2 {
  margin: 0 0 14px;
  color: var(--red-950);
  font-size: 28px;
}

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

.article-card p {
  color: #374151;
  line-height: 2;
  font-size: 17px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.info-grid span {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  background: var(--amber-50);
  color: var(--red-950);
}

.info-grid b {
  color: var(--amber-700);
}

.site-footer {
  color: var(--amber-50);
  background: linear-gradient(90deg, var(--red-950), var(--amber-900), var(--red-950));
}

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

.footer-logo .brand-mark {
  width: 42px;
  height: 42px;
}

.footer-logo strong {
  color: var(--white);
}

.footer-logo em,
.footer-brand p,
.footer-links a,
.footer-bottom {
  color: var(--amber-200);
}

.footer-brand p {
  max-width: 540px;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--amber-200);
  font-size: 18px;
}

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

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(253, 230, 138, 0.22);
  font-size: 14px;
}

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

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

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero-content {
    padding-right: 0;
    max-width: none;
  }

  .hero-shell {
    align-items: end;
    justify-content: flex-start;
    padding-bottom: 34px;
  }

  .hero-search-card {
    width: min(620px, 100%);
  }

  .hero-controls {
    right: auto;
    left: 0;
    bottom: 18px;
  }

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

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

  .rank-list-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: 70px;
  }

  .brand-copy strong {
    font-size: 20px;
  }

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

  .hero-carousel,
  .hero-content,
  .hero-shell {
    min-height: 720px;
  }

  .hero-content {
    justify-content: flex-start;
    padding-top: 70px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-search-card {
    padding: 20px;
  }

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

  .section-heading,
  .category-preview-head {
    display: grid;
    align-items: start;
  }

  .movie-grid,
  .four-grid,
  .catalog-grid,
  .six-grid,
  .category-grid,
  .footer-inner,
  .filter-panel,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .poster,
  .movie-card-large .poster {
    min-height: 260px;
  }

  .detail-cover {
    min-height: 380px;
  }

  .content-section {
    padding: 50px 0;
  }
}
