:root {
  --strawberry-50: #fff1f3;
  --strawberry-100: #ffe4e9;
  --strawberry-300: #ffa3b5;
  --strawberry-400: #ff6b8e;
  --strawberry-500: #ff3366;
  --strawberry-600: #ed1659;
  --candy-400: #ff6bc4;
  --gummy-400: #facc15;
  --jelly-400: #2dd4bf;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: rgba(255, 51, 102, 0.16);
  --glass: rgba(255, 255, 255, 0.78);
  --shadow-soft: 0 2px 15px -3px rgba(255, 51, 102, 0.3), 0 10px 20px -2px rgba(255, 51, 102, 0.15);
  --shadow-gummy: 0 8px 30px rgba(255, 51, 102, 0.25), inset 0 2px 10px rgba(255, 255, 255, 0.5);
  --shadow-float: 0 20px 60px -15px rgba(255, 51, 102, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 8%, rgba(255, 163, 181, 0.42), transparent 32%), radial-gradient(circle at 90% 12%, rgba(255, 107, 196, 0.28), transparent 30%), linear-gradient(135deg, #fff7fb 0%, #fff1f3 42%, #fef2f2 100%);
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.gummy-card {
  overflow: hidden;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gummy-card:hover {
  box-shadow: var(--shadow-gummy);
}

.gummy-button,
.ghost-button,
.filter-button,
.nav-search button,
.search-board button,
.hero-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 1.5rem;
  min-height: 44px;
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.gummy-button,
.nav-search button,
.search-board button,
.hero-search button {
  color: #ffffff;
  background: linear-gradient(135deg, #ff3366, #ff6b8e, #ffa3b5);
  box-shadow: var(--shadow-soft);
}

.gummy-button:hover,
.nav-search button:hover,
.search-board button:hover,
.hero-search button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}

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

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.32);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 38px rgba(255, 51, 102, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--strawberry-600);
  white-space: nowrap;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--strawberry-500), var(--candy-400));
  box-shadow: var(--shadow-soft);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
}

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

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(320px, 32vw);
}

.nav-search input,
.hero-search input,
.search-board input,
.filter-controls input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 51, 102, 0.18);
  border-radius: 1.5rem;
  outline: 0;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
}

.nav-search input:focus,
.hero-search input:focus,
.search-board input:focus,
.filter-controls input:focus {
  border-color: var(--strawberry-400);
  box-shadow: 0 0 0 4px rgba(255, 51, 102, 0.12);
}

.nav-search button {
  min-height: 40px;
  padding: 0 16px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--strawberry-50);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--strawberry-600);
}

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px 16px;
}

.hero-slider {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  min-height: 690px;
  margin: 24px auto 0;
  border-radius: 3rem;
  overflow: hidden;
  color: #ffffff;
  background: #1f1020;
  box-shadow: var(--shadow-float);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  align-items: center;
  gap: 56px;
  padding: 82px min(6vw, 74px) 160px;
  opacity: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--strawberry-600);
  background: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.hero-content h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-content p,
.page-hero p,
.detail-info p {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
}

.hero-tags,
.detail-tags,
.movie-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-tags,
.detail-tags {
  margin-top: 24px;
}

.hero-tags span,
.detail-tags span,
.movie-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-tags span,
.detail-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.movie-tags span {
  color: var(--strawberry-600);
  background: var(--strawberry-50);
}

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

.hero-cover {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.16);
  border-radius: 2.4rem;
  aspect-ratio: 3 / 4;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

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

.hero-cover:hover img {
  transform: scale(1.08);
}

.hero-cover span,
.play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--strawberry-500);
  background: rgba(255, 255, 255, 0.92);
}

.hero-cover span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.65rem;
  box-shadow: var(--shadow-soft);
}

.hero-nav {
  position: absolute;
  left: min(6vw, 74px);
  right: min(6vw, 74px);
  bottom: 112px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-nav button {
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-nav > button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 999px;
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.is-active {
  width: 38px;
  background: linear-gradient(135deg, #ffffff, #ffa3b5);
}

.hero-search {
  position: absolute;
  left: min(6vw, 74px);
  right: min(6vw, 74px);
  bottom: 26px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
}

.hero-search form {
  display: flex;
  gap: 10px;
}

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

.hero-category-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--strawberry-600);
  background: #ffffff;
  font-weight: 700;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.65;
  z-index: 1;
}

.hero-glow-one {
  width: 220px;
  height: 220px;
  right: 10%;
  top: 8%;
  background: var(--strawberry-400);
}

.hero-glow-two {
  width: 170px;
  height: 170px;
  left: 12%;
  bottom: 16%;
  background: var(--candy-400);
}

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

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

.section-heading h2,
.filter-panel h2,
.search-board h2,
.article-card h2,
.side-card h2,
.site-footer h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.18;
}

.section-heading p,
.filter-panel p,
.search-board p,
.site-footer p,
.article-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--strawberry-600);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  font-weight: 800;
}

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

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

.category-tile {
  position: relative;
  min-height: 230px;
  color: #ffffff;
  transform: translateZ(0);
}

.category-tile:hover {
  transform: translateY(-6px);
}

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

.category-tile:hover img {
  transform: scale(1.08);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.12), rgba(31, 41, 55, 0.82));
}

.category-tile div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
}

.category-tile h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.category-tile p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.category-tile span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--strawberry-600);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

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

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

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

.movie-card {
  display: block;
  min-width: 0;
  transform: translateZ(0);
}

.movie-card:hover {
  transform: translateY(-7px);
}

.movie-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4.25;
  background: var(--strawberry-100);
}

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

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

.movie-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(0, 0, 0, 0.42);
  transition: opacity 0.3s ease;
}

.movie-card:hover .movie-mask {
  opacity: 1;
}

.play-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 1.35rem;
}

.movie-type,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.movie-type {
  right: 10px;
  bottom: 10px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.66);
}

.rank-badge {
  left: 10px;
  top: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--strawberry-500), var(--candy-400));
  box-shadow: var(--shadow-soft);
}

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

.movie-card-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

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

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

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

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.ranking-list {
  display: grid;
  gap: 14px;
}

.ranking-list.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.list-card {
  display: grid;
  grid-template-columns: auto 88px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.list-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gummy);
}

.list-card img {
  width: 88px;
  height: 118px;
  object-fit: cover;
  border-radius: 1rem;
}

.list-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--strawberry-500), var(--candy-400));
  font-weight: 900;
}

.list-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.list-card p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.55;
}

.list-card span:not(.list-rank) {
  color: var(--strawberry-600);
  font-size: 0.86rem;
  font-weight: 800;
}

.page-hero,
.detail-hero {
  min-height: 390px;
  color: #ffffff;
  background-position: center;
  background-size: cover;
}

.page-hero {
  display: flex;
  align-items: center;
  padding: 90px 0;
}

.soft-hero {
  background: radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.45), transparent 28%), linear-gradient(135deg, var(--strawberry-500), var(--candy-400));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

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

.filter-panel,
.search-board {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.4fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
  padding: 22px;
}

.filter-controls,
.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-controls input {
  flex: 1 1 260px;
}

.filter-button,
.category-buttons button {
  color: var(--strawberry-600);
  background: #ffffff;
  border: 1px solid rgba(255, 51, 102, 0.18);
}

.filter-button.is-active,
.category-buttons button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--strawberry-500), var(--candy-400));
}

.search-board form {
  display: flex;
  gap: 10px;
}

.global-search .search-board {
  grid-template-columns: 1fr;
}

.detail-hero {
  position: relative;
  padding: 74px 0;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 24%, rgba(255, 107, 196, 0.28), transparent 32%);
}

.detail-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.detail-poster {
  aspect-ratio: 3 / 4.2;
  border: 10px solid rgba(255, 255, 255, 0.12);
}

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

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.detail-meta div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.detail-meta span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
}

.detail-meta strong {
  color: #ffffff;
}

.video-shell {
  position: relative;
  overflow: hidden;
  background: #09090b;
  aspect-ratio: 16 / 9;
}

.main-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.18), rgba(9, 9, 11, 0.72));
}

.player-overlay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  color: var(--strawberry-500);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-soft);
  font-size: 2rem;
}

.player-overlay strong {
  font-size: 1.2rem;
}

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

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  pointer-events: none;
}

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

.article-card,
.side-card {
  padding: 28px;
}

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

.article-card p {
  color: #4b5563;
  font-size: 1rem;
}

.side-card dl {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  margin: 18px 0 0;
}

.side-card dt {
  color: var(--muted);
}

.side-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.side-card a {
  color: var(--strawberry-600);
}

.site-footer {
  margin-top: 72px;
  padding: 54px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 241, 243, 0.92));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.footer-links a {
  color: #4b5563;
}

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

.footer-bottom {
  margin-top: 42px;
  padding: 18px;
  text-align: center;
  color: #6b7280;
  border-top: 1px solid rgba(255, 51, 102, 0.12);
}

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

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

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

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

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

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

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

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

  .mobile-panel.is-open {
    display: flex;
  }

  .hero-slider {
    min-height: 760px;
    border-radius: 2rem;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 26px;
    padding: 54px 24px 176px;
  }

  .hero-cover {
    width: min(250px, 74vw);
  }

  .hero-search {
    grid-template-columns: 1fr;
    left: 16px;
    right: 16px;
  }

  .hero-search form,
  .search-board form {
    flex-direction: column;
  }

  .hero-nav {
    bottom: 142px;
    left: 24px;
    right: 24px;
  }

  .category-grid,
  .category-grid.wide,
  .movie-grid,
  .movie-grid.compact-grid,
  .movie-grid.all-grid,
  .ranking-list.two-col,
  .footer-grid,
  .filter-panel,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .filter-controls input {
    flex-basis: 100%;
  }

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

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

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

  .hero-slider {
    width: min(100% - 18px, 1240px);
    min-height: 790px;
    margin-top: 10px;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: 2.25rem;
  }

  .hero-category-links {
    max-height: 88px;
    overflow: auto;
  }

  .movie-grid,
  .movie-grid.compact-grid,
  .movie-grid.all-grid {
    gap: 16px;
  }

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

  .list-card {
    grid-template-columns: 48px 72px minmax(0, 1fr);
  }

  .list-card img {
    width: 72px;
    height: 96px;
  }

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

  .detail-poster {
    width: min(260px, 100%);
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }
}
