:root {
  color-scheme: light;
  --page-bg: #f9fafb;
  --surface: #ffffff;
  --surface-soft: #fff7ed;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --line: #fed7aa;
  --brand: #f97316;
  --brand-strong: #ea580c;
  --brand-soft: #ffedd5;
  --gold: #f59e0b;
  --shadow: 0 18px 45px rgba(234, 88, 12, 0.14);
  --card-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
  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;
  min-height: 100vh;
  color: var(--text-main);
  background: linear-gradient(180deg, #fff7ed 0%, var(--page-bg) 260px, #ffffff 100%);
}

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: linear-gradient(90deg, rgba(255, 247, 237, 0.96), rgba(255, 251, 235, 0.96));
  border-bottom: 1px solid rgba(251, 146, 60, 0.18);
  box-shadow: 0 10px 24px rgba(124, 45, 18, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--container), calc(100% - 32px));
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb923c, #f59e0b);
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.30);
  transform: translateZ(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.38);
}

.brand-name {
  font-size: 20px;
  color: #111827;
  white-space: nowrap;
}

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

.nav-link {
  padding: 10px 14px;
  color: #4b5563;
  font-weight: 700;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  transform: translateY(-1px);
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  width: min(340px, 32vw);
  padding: 4px;
  border: 1px solid rgba(251, 146, 60, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 9px 12px;
  color: var(--text-main);
  background: transparent;
}

.header-search button {
  border: 0;
  padding: 9px 15px;
  color: #ffffff;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 237, 213, 0.9);
  cursor: pointer;
}

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

.mobile-nav {
  display: none;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto 12px;
  padding: 12px;
  border-top: 1px solid rgba(251, 146, 60, 0.2);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  gap: 42px;
  align-items: center;
  width: 100%;
  min-height: 560px;
  padding: 72px max(32px, calc((100vw - var(--container)) / 2)) 92px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: blur(24px) saturate(1.2);
  transform: scale(1.08);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 20%, rgba(251, 146, 60, 0.52), transparent 28%),
    linear-gradient(110deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.72) 46%, rgba(67, 20, 7, 0.46));
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -4;
}

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

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

.eyebrow,
.page-hero span,
.section-heading span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 13px;
  color: #9a3412;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255, 237, 213, 0.94);
}

.hero-copy h1 {
  margin: 20px 0 8px;
  max-width: 780px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.08;
  color: #fed7aa;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  font-weight: 900;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.32);
}

.secondary-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(249, 115, 22, 0.28);
}

.hero-poster {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  inset: auto 28px 28px auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.38);
}

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
}

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

.section-inner,
.section-block,
.detail-inner,
.footer-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.quick-search-section {
  padding: 42px 0 16px;
}

.search-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.search-hero-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 36px);
}

.search-hero-panel p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.wide-search,
.filter-panel {
  display: flex;
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.wide-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 12px 16px;
  color: var(--text-main);
  background: transparent;
}

.wide-search button {
  flex: 0 0 auto;
  border: 0;
  padding: 12px 22px;
  color: #ffffff;
  font-weight: 900;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  cursor: pointer;
}

.section-block {
  padding: 58px 0;
}

.warm-block {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - var(--container)) / 2));
  padding-right: max(16px, calc((100vw - var(--container)) / 2));
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "label link"
    "title link";
  gap: 8px 18px;
  align-items: center;
  margin-bottom: 26px;
}

.section-heading span {
  grid-area: label;
}

.section-heading h2 {
  grid-area: title;
  margin: 0;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.04em;
}

.section-heading a {
  grid-area: link;
  align-self: end;
  padding: 10px 15px;
  color: var(--brand-strong);
  font-weight: 900;
  border-radius: 999px;
  background: var(--brand-soft);
}

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

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

.category-card a {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card a:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(234, 88, 12, 0.18);
}

.category-covers {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 6px;
  height: 150px;
  padding: 8px;
  background: linear-gradient(135deg, #ffedd5, #fef3c7);
}

.category-covers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.category-text {
  padding: 22px;
}

.category-text h2 {
  margin: 0 0 10px;
  font-size: 23px;
}

.category-text p {
  margin: 0 0 16px;
  min-height: 72px;
  color: var(--text-muted);
  line-height: 1.65;
}

.category-text span {
  color: var(--brand-strong);
  font-weight: 900;
}

.filter-panel {
  max-width: 680px;
  margin: -4px 0 24px;
  border-radius: 18px;
}

.filter-panel select {
  max-width: 150px;
  border-left: 1px solid rgba(251, 146, 60, 0.16);
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(17, 24, 39, 0.14);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.1;
  overflow: hidden;
  background: linear-gradient(135deg, #ffedd5, #fef3c7);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.46));
  opacity: 0.82;
}

.play-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.92);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.type-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  color: #ffffff;
  font-weight: 900;
  border-radius: 999px;
}

.type-pill {
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  font-size: 12px;
  background: rgba(249, 115, 22, 0.94);
}

.rank-badge {
  left: 12px;
  top: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.28);
}

.movie-info {
  padding: 18px;
}

.movie-info h3 {
  margin: 0 0 10px;
  min-height: 2.6em;
  color: #111827;
  font-size: 18px;
  line-height: 1.3;
}

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

.movie-info p {
  display: -webkit-box;
  margin: 0 0 14px;
  min-height: 3.4em;
  overflow: hidden;
  color: var(--text-muted);
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #6b7280;
  font-size: 13px;
}

.movie-meta span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.tag-row span {
  padding: 6px 9px;
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  background: #ffedd5;
}

.movie-card-compact {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
}

.movie-card-compact .movie-poster {
  aspect-ratio: auto;
  min-height: 170px;
}

.movie-card-compact .movie-info h3 {
  min-height: 0;
}

.movie-card-compact .movie-info p {
  min-height: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 20%, rgba(251, 146, 60, 0.55), transparent 28%),
    linear-gradient(135deg, #431407, #111827 58%, #7c2d12);
}

.page-hero .section-inner {
  padding: 76px 0;
}

.page-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.8;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
  isolation: isolate;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--detail-image);
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.15);
  transform: scale(1.08);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 16%, rgba(249, 115, 22, 0.45), transparent 25%),
    linear-gradient(105deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.74), rgba(67, 20, 7, 0.62));
}

.detail-inner {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 68px 0;
}

.detail-poster {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.38);
}

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

.detail-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  transform: translate(-50%, -50%);
}

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

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

.detail-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 780px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.8;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.detail-meta span {
  padding: 8px 12px;
  color: #ffffff;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.detail-tags {
  margin-bottom: 24px;
}

.player-section {
  padding: 56px 0 26px;
  background: linear-gradient(180deg, #111827 0%, #431407 100%);
}

.movie-player {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: #000000;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.32);
  aspect-ratio: 16 / 9;
}

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

.movie-player video {
  z-index: 1;
  object-fit: contain;
  background: #000000;
}

.player-cover {
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: #000000;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.player-play {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.movie-player.is-playing .player-cover {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.detail-content-block {
  padding-top: 52px;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 22px;
}

.content-card {
  padding: 28px;
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.content-card p {
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.9;
}

.accent-card {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.site-footer {
  padding: 42px 0;
  background: #111827;
  color: #d1d5db;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  color: #ffffff;
  font-size: 20px;
}

.footer-inner p {
  max-width: 680px;
  margin: 10px 0 0;
  color: #9ca3af;
  line-height: 1.75;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
}

.footer-links a {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

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

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

  .hero-slide {
    grid-template-columns: 1fr 300px;
  }

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

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

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

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

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

  .hero-slide {
    grid-template-columns: 1fr;
    min-height: 720px;
    padding-top: 54px;
  }

  .hero-poster {
    width: min(270px, 76vw);
    justify-self: center;
    transform: none;
  }

  .search-hero-panel,
  .detail-inner,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(280px, 74vw);
  }

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

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

@media (max-width: 560px) {
  .header-inner,
  .section-inner,
  .section-block,
  .detail-inner,
  .footer-inner {
    width: min(100% - 22px, var(--container));
  }

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

  .hero-slide {
    min-height: 760px;
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .hero-controls {
    bottom: 14px;
  }

  .wide-search,
  .filter-panel {
    flex-direction: column;
    border-radius: 22px;
  }

  .filter-panel select {
    max-width: none;
    border-left: 0;
    border-top: 1px solid rgba(251, 146, 60, 0.16);
  }

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

  .movie-card-compact {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .movie-card-compact .movie-poster {
    min-height: 150px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "title"
      "link";
  }

  .footer-inner {
    flex-direction: column;
  }
}
