:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-soft: #f5f5f4;
  --text: #292524;
  --muted: #78716c;
  --muted-2: #a8a29e;
  --border: #e7e5e4;
  --amber: #d97706;
  --amber-dark: #92400e;
  --orange: #c2410c;
  --stone-900: #1c1917;
  --shadow: 0 20px 45px rgba(28, 25, 23, 0.12);
  --shadow-soft: 0 12px 30px rgba(28, 25, 23, 0.08);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: linear-gradient(90deg, #78350f, #9a3412, #78350f);
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.28);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.25s ease;
}

.brand:hover {
  opacity: 0.85;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #78350f;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.brand-text strong,
.brand-text small {
  display: block;
  line-height: 1.1;
}

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

.brand-text small {
  margin-top: 4px;
  color: #fde68a;
  font-size: 12px;
}

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

.nav-link {
  position: relative;
  color: #fff7ed;
  font-weight: 600;
  transition: color 0.25s ease;
}

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

.nav-link:hover,
.nav-link.is-active {
  color: #fde68a;
}

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

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(253, 230, 138, 0.2);
  background: #92400e;
}

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

.mobile-link {
  padding: 14px 24px;
  color: #fff7ed;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-link.is-active {
  color: #fde68a;
}

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 560px;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 1.1s ease;
  background-image: var(--hero-image), linear-gradient(135deg, #1c1917, #78350f);
  background-size: cover;
  background-position: center;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 25%, rgba(245, 158, 11, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.52) 45%, rgba(0, 0, 0, 0.1));
}

.hero-content {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 48px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(217, 119, 6, 0.92);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.eyebrow.dark {
  color: #92400e;
  background: #fef3c7;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #e7e5e4;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

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

.hero-tags span,
.tag-row span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #e7e5e4;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

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

.primary-button,
.ghost-button,
.section-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #d97706, #b45309);
  box-shadow: 0 14px 28px rgba(180, 83, 9, 0.35);
}

.primary-button:hover,
.ghost-button:hover,
.section-action:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.ghost-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.ghost-button.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.primary-button.full {
  width: 100%;
  margin-top: 22px;
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #78350f, #1c1917);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46);
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px;
  border-radius: 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  font-weight: 800;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.48);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.home-search-block,
.section-block,
.two-column-section,
.detail-layout {
  margin-top: 44px;
  margin-bottom: 44px;
}

.home-search-block {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 24px;
  align-items: stretch;
}

.home-search-copy,
.filter-panel,
.content-card,
.side-card,
.hot-ranking-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.home-search-copy {
  padding: 28px;
}

.home-search-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
}

.home-search-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.filter-panel {
  padding: 22px;
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-search-input,
.filter-select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: #fff;
  outline: none;
}

.site-search-input {
  padding: 0 16px;
}

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

.site-search-input:focus,
.filter-select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.filter-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

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

.ghost-button.amber {
  color: #92400e;
  border-color: #fcd34d;
  background: #fffbeb;
}

.quick-search-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.filter-count {
  min-height: 20px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

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

.section-heading h2 {
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 38px);
}

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

.section-action {
  color: #92400e;
  background: #fef3c7;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background-image: var(--tile-image), linear-gradient(135deg, #78350f, #1c1917);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}

.category-tile {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-tile-cover,
.category-overview-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.25));
}

.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 1;
}

.category-tile strong {
  font-size: 20px;
}

.category-tile em {
  margin-top: 5px;
  color: #fde68a;
  font-style: normal;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(28, 25, 23, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.3), transparent 30%),
    linear-gradient(135deg, #78350f, #1c1917);
}

.poster-wrap.large {
  aspect-ratio: 2 / 3;
  border-radius: 20px;
}

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

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

.poster-fallback-title {
  position: absolute;
  inset: auto 14px 14px;
  z-index: 1;
  display: none;
  padding: 10px;
  border-radius: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  font-weight: 800;
  text-align: center;
}

.poster-wrap.is-missing-image .poster-fallback-title,
.hero-poster.is-missing-image span {
  display: block;
}

.play-badge,
.year-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.play-badge {
  left: 12px;
  bottom: 12px;
  padding: 7px 12px;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translateY(0);
}

.year-badge {
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  background: rgba(217, 119, 6, 0.92);
}

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

.movie-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--amber);
}

.movie-line {
  min-height: 46px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.movie-meta span {
  padding-right: 8px;
  border-right: 1px solid var(--border);
}

.movie-meta span:last-child {
  border-right: 0;
}

.tag-row span,
.tag-cloud span {
  color: #92400e;
  background: #fef3c7;
}

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

.no-margin {
  margin: 0;
}

.hot-ranking-card {
  position: sticky;
  top: 86px;
  align-self: start;
  padding: 24px;
}

.ranking-head span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: #dc2626;
  font-size: 12px;
  font-weight: 900;
}

.ranking-head h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.ranking-head p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.ranking-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-list li + li {
  border-top: 1px solid var(--border);
}

.ranking-list a {
  display: grid;
  grid-template-columns: 44px 1fr 58px;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}

.rank-number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #d97706, #b45309);
  font-weight: 900;
}

.rank-title {
  font-weight: 800;
}

.rank-score {
  color: var(--amber-dark);
  font-weight: 900;
  text-align: right;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.28), transparent 30%),
    linear-gradient(90deg, #78350f, #9a3412, #1c1917);
}

.page-hero {
  padding: 70px 0;
}

.page-hero.small {
  padding: 54px 0;
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 56px);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: #fde68a;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #fff;
}

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

.category-overview-card {
  min-height: 320px;
}

.category-overview-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 28px;
}

.category-overview-content span {
  color: #fde68a;
  font-weight: 800;
}

.category-overview-content h2 {
  margin: 10px 0;
  font-size: 32px;
}

.category-overview-content p {
  margin: 0 0 16px;
  color: #e7e5e4;
  line-height: 1.7;
}

.mini-title-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.mini-title-list span {
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.detail-hero {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-image: var(--detail-image), linear-gradient(135deg, #78350f, #1c1917);
  background-size: cover;
  background-position: center;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.28));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  padding: 58px 0;
}

.detail-title-block {
  max-width: 860px;
}

.detail-title-block h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.08;
}

.detail-title-block p {
  margin: 0 0 20px;
  color: #e7e5e4;
  font-size: 20px;
  line-height: 1.8;
}

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

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

.player-card {
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  box-shadow: var(--shadow);
}

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

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

.big-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: 82px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(217, 119, 6, 0.94);
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, background 0.25s ease;
}

.big-play-button span {
  margin-left: 5px;
  font-size: 34px;
}

.big-play-button:hover {
  background: #b45309;
  transform: translate(-50%, -50%) scale(1.08);
}

.video-player.is-playing .big-play-button {
  opacity: 0;
  pointer-events: none;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  font-size: 13px;
}

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

.content-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.content-card p {
  margin: 0;
  color: #57534e;
  font-size: 16px;
  line-height: 2;
}

.poster-side {
  padding: 14px;
}

.meta-list {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px 14px;
  margin: 0;
}

.meta-list dt {
  color: var(--muted);
}

.meta-list dd {
  margin: 0;
  font-weight: 800;
}

.meta-list a {
  color: var(--amber-dark);
}

.tag-cloud {
  gap: 10px;
}

.related-section {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

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

.ranking-table th,
.ranking-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.ranking-table th {
  color: #57534e;
  background: #f5f5f4;
  font-size: 14px;
}

.ranking-table tbody tr:hover {
  background: #fffbeb;
}

.ranking-table a {
  font-weight: 800;
}

.table-rank {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  border-radius: 10px;
  color: #fff;
  background: var(--amber);
  font-weight: 900;
}

.site-footer {
  margin-top: 70px;
  color: #d6d3d1;
  background: linear-gradient(180deg, #292524, #1c1917);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 48px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.footer-brand span {
  color: #fbbf24;
}

.site-footer p,
.site-footer li {
  color: #a8a29e;
  line-height: 1.8;
}

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

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #78716c;
  text-align: center;
}

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

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

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

  .hot-ranking-card {
    position: static;
  }

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

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

  .mobile-menu-button {
    display: block;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 74px 0 88px;
  }

  .hero-poster {
    display: none;
  }

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

  .hero-arrow {
    display: none;
  }

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

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

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

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

  .brand-text small {
    display: none;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-title-block h1 {
    font-size: 34px;
  }

  .hero-copy p,
  .detail-title-block p,
  .page-hero p {
    font-size: 16px;
  }

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

  .category-grid,
  .movie-grid,
  .movie-grid.compact,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

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

  .content-card,
  .side-card,
  .filter-panel,
  .home-search-copy,
  .hot-ranking-card {
    padding: 18px;
    border-radius: 18px;
  }
}
