:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-700: #15803d;
  --green-800: #166534;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --white: #ffffff;
  --black: #000000;
  --shadow-soft: 0 16px 38px rgba(41, 37, 36, 0.11);
  --shadow-lift: 0 24px 60px rgba(41, 37, 36, 0.18);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--stone-800);
  background: linear-gradient(180deg, var(--stone-50), rgba(255, 251, 235, 0.55));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(250, 250, 249, 0.92), rgba(240, 253, 244, 0.94));
  border-bottom: 1px solid rgba(217, 119, 6, 0.18);
  box-shadow: 0 8px 24px rgba(41, 37, 36, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-600), var(--green-700));
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.28);
  transition: transform 0.3s ease;
}

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

.brand-name {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(90deg, var(--amber-800), var(--green-800));
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
}

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

.nav-link {
  position: relative;
  color: var(--stone-700);
  font-weight: 650;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--amber-600);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--amber-700);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-search {
  position: relative;
  display: flex;
  flex: 0 0 230px;
}

.header-search input {
  width: 100%;
  border: 1px solid rgba(217, 119, 6, 0.36);
  border-radius: 999px;
  padding: 10px 42px 10px 16px;
  background: rgba(255, 255, 255, 0.78);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus {
  border-color: var(--amber-600);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.14);
}

.header-search button {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--amber-700);
  background: transparent;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--amber-100);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-button span {
  width: 20px;
  height: 2px;
  background: var(--amber-800);
  border-radius: 99px;
}

.hero-carousel {
  position: relative;
  height: min(74vh, 620px);
  min-height: 500px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(217, 119, 6, 0.2), transparent 32%), linear-gradient(135deg, #1c1917, #064e3b);
}

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.08);
}

.hero-slide.active .hero-image {
  animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.12));
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}

.hero-copy {
  max-width: 720px;
  color: var(--white);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fde68a;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 14px 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}

.hero-copy p {
  max-width: 650px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

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

.hero-tags span,
.detail-tags span,
.wide-tags span,
.rank-number {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  backdrop-filter: blur(12px);
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.primary-button {
  color: var(--white);
  background: var(--amber-600);
  box-shadow: 0 18px 40px rgba(217, 119, 6, 0.32);
}

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

.primary-button:hover {
  background: var(--amber-700);
}

.ghost-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.54);
}

.hero-prev { left: 24px; }
.hero-next { right: 24px; }

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

.hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  transition: width 0.28s ease, background 0.28s ease;
}

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

.page-main,
.content-section {
  padding-block: 52px;
}

.compact-section {
  padding-block: 24px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}

.section-bar {
  width: 7px;
  min-width: 7px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--amber-600), var(--green-700));
}

.section-heading h2,
.page-title-block h1,
.plain-card h1 {
  margin: 0;
  color: var(--stone-800);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
  font-weight: 900;
}

.section-heading p,
.page-title-block p,
.plain-card p {
  margin: 8px 0 0;
  color: var(--stone-600);
}

.poster-grid,
.feature-grid,
.category-grid,
.category-overview-grid,
.rank-preview-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

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

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

.movie-card-link,
.wide-card a,
.category-card,
.category-overview-card,
.plain-card,
.detail-shell {
  background: var(--white);
  border: 1px solid rgba(214, 211, 209, 0.68);
  box-shadow: var(--shadow-soft);
}

.movie-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card-link:hover,
.wide-card a:hover,
.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.cover-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--amber-100), var(--green-100));
}

.landscape .cover-frame {
  aspect-ratio: 16 / 9;
}

.cover-frame::after {
  content: attr(data-title);
}

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

.movie-card-link:hover img,
.wide-card a:hover img {
  transform: scale(1.06);
}

.cover-frame.is-missing {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 18px;
  color: var(--amber-800);
  text-align: center;
  font-weight: 800;
}

.cover-frame.is-missing::before {
  content: attr(data-fallback-title);
}

.movie-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  background: var(--amber-600);
}

.movie-card-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px;
}

.movie-card-body strong {
  color: var(--stone-800);
  line-height: 1.32;
  font-size: 16px;
}

.movie-card:hover strong {
  color: var(--amber-700);
}

.movie-meta,
.movie-genre,
.movie-desc {
  color: var(--stone-600);
  font-size: 13px;
}

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

.hot-entry-section {
  padding-block: 28px 52px;
}

.hot-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  margin-bottom: 24px;
  border-radius: var(--radius-xl);
  color: var(--white);
  background: linear-gradient(135deg, #78350f, #166534);
  box-shadow: var(--shadow-soft);
}

.hot-entry h2 {
  margin: 8px 0 6px;
  font-size: clamp(28px, 4vw, 46px);
}

.hot-entry p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

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

.wide-card a {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 14px;
  border-radius: var(--radius-lg);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.wide-cover {
  aspect-ratio: 2 / 3;
  border-radius: 12px;
}

.wide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.wide-content strong {
  color: var(--stone-800);
  font-size: clamp(18px, 2vw, 24px);
}

.wide-content em {
  color: var(--amber-700);
  font-style: normal;
  font-weight: 700;
}

.wide-content span:last-child {
  color: var(--stone-600);
}

.wide-tags span,
.rank-number {
  color: var(--stone-700);
  background: var(--amber-100);
}

.rank-number {
  color: var(--white);
  background: var(--amber-600);
}

.category-card {
  display: flex;
  min-height: 148px;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius-lg);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-card span,
.category-overview-head span {
  color: var(--stone-800);
  font-size: 20px;
  font-weight: 900;
}

.category-card strong,
.category-overview-head strong {
  color: var(--amber-700);
  font-size: 26px;
}

.category-card em {
  color: var(--stone-600);
  font-style: normal;
  font-size: 13px;
}

.page-title-block {
  margin-bottom: 28px;
  padding: 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.72), rgba(220, 252, 231, 0.72));
  box-shadow: var(--shadow-soft);
}

.page-title-block .hero-kicker,
.plain-card .hero-kicker {
  color: var(--amber-700);
}

.category-overview-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.category-overview-card p {
  color: var(--stone-600);
}

.mini-link-list,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-link-list a,
.quick-link-row a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--stone-700);
  background: var(--amber-50);
  border: 1px solid rgba(217, 119, 6, 0.18);
  transition: color 0.2s ease, border 0.2s ease, transform 0.2s ease;
}

.mini-link-list a:hover,
.quick-link-row a:hover,
.footer-links a:hover {
  color: var(--amber-700);
  border-color: rgba(217, 119, 6, 0.44);
  transform: translateY(-1px);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 160px 160px auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.filter-panel label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--stone-600);
  font-size: 13px;
  font-weight: 700;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: 11px 12px;
  color: var(--stone-800);
  background: var(--stone-50);
  outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--amber-600);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
}

.filter-count {
  color: var(--amber-700);
  font-weight: 900;
  white-space: nowrap;
}

.empty-state {
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius-lg);
  color: var(--stone-600);
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--amber-300);
}

.ranking-list .wide-card:nth-child(-n + 3) a {
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.95), rgba(240, 253, 244, 0.95));
}

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

.index-link-grid a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--stone-200);
  color: var(--stone-800);
  font-weight: 800;
}

.index-link-grid a span,
.index-link-grid a em {
  color: var(--stone-600);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--stone-600);
}

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

.detail-shell {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

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

.movie-player {
  width: 100%;
  height: 100%;
  background: #020617;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.06));
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  font-size: 32px;
  background: var(--amber-600);
  box-shadow: 0 20px 60px rgba(217, 119, 6, 0.42);
}

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

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

.player-note {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 3;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  font-size: 13px;
}

.detail-info {
  padding: clamp(22px, 4vw, 38px);
}

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

.detail-info h1 {
  margin: 18px 0 10px;
  color: var(--stone-800);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
  font-weight: 900;
}

.lead-text {
  margin: 0 0 22px;
  color: var(--stone-600);
  font-size: 19px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--amber-50), var(--green-50));
}

.info-grid div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.info-grid span {
  color: var(--stone-500);
  font-size: 13px;
}

.info-grid strong {
  color: var(--stone-800);
}

.text-block {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--stone-200);
}

.text-block h2 {
  margin: 0 0 12px;
  color: var(--stone-800);
  font-size: 24px;
}

.text-block p {
  margin: 0;
  color: var(--stone-700);
  white-space: pre-line;
}

.plain-card {
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-xl);
}

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

.plain-grid section {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--stone-50);
}

.plain-grid h2 {
  margin: 0 0 8px;
}

.quick-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  margin-top: 40px;
  padding: 42px 0 24px;
  background: #e7e5e4;
  color: var(--stone-700);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--amber-800);
  font-size: 24px;
  font-weight: 900;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--stone-800);
  font-size: 18px;
}

.site-footer p {
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(120, 113, 108, 0.24);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 14px;
  }

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

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

@media (max-width: 880px) {
  .header-inner {
    min-height: 68px;
    flex-wrap: wrap;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 0;
  }

  .header-search {
    order: 4;
    flex: 1 0 100%;
    padding-bottom: 12px;
  }

  .hero-carousel {
    min-height: 520px;
  }

  .hero-content {
    padding-bottom: 72px;
  }

  .hero-arrow {
    display: none;
  }

  .feature-grid,
  .rank-preview-grid,
  .category-overview-grid,
  .footer-grid,
  .plain-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .hot-entry,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

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

  .brand-name {
    font-size: 20px;
  }

  .hero-carousel {
    min-height: 510px;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .poster-grid,
  .six-grid,
  .category-grid,
  .index-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .wide-card a {
    grid-template-columns: 92px 1fr;
    gap: 12px;
  }

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

  .page-title-block {
    padding: 24px;
  }

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

  .detail-info {
    padding: 20px;
  }

  .player-note {
    display: none;
  }
}
