:root {
  --rose: #e11d48;
  --rose-dark: #be123c;
  --rose-soft: #fff1f2;
  --purple: #7c3aed;
  --amber: #f59e0b;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #fff7f9;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff7fb 0%, #ffffff 46%, #fff7f9 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

main {
  min-height: 70vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(253, 242, 248, 0.95), rgba(245, 243, 255, 0.95));
  border-bottom: 1px solid rgba(244, 63, 94, 0.14);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

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

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

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--rose), var(--purple));
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.32);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

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

.brand-text em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 13px;
  color: #374151;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--rose-dark);
  background: rgba(255, 228, 230, 0.8);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 228, 230, 0.8);
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--rose-dark);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(244, 63, 94, 0.13);
  padding: 10px 16px 16px;
  background: #fff7fb;
}

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: #374151;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(236, 72, 153, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(7, 10, 22, 0.88), rgba(17, 24, 39, 0.62) 50%, rgba(17, 24, 39, 0.18)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.08) 45%);
}

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

.hero-copy {
  max-width: 720px;
  padding: 80px 0 66px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffe4e6;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-info-card h1 {
  margin: 14px 0 16px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-line {
  max-width: 680px;
  color: #ffffff;
  font-size: clamp(18px, 2.4vw, 25px);
  line-height: 1.5;
  font-weight: 700;
}

.hero-summary {
  max-width: 720px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.8;
}

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

.hero-tags {
  margin-top: 20px;
}

.hero-tags span,
.detail-tags a,
.tag-row span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 19px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), #fb7185);
  box-shadow: 0 16px 30px rgba(225, 29, 72, 0.35);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(225, 29, 72, 0.45);
}

.btn.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
}

.btn.ghost.light {
  color: #ffffff;
}

.btn.text {
  color: #fecdd3;
}

.btn.small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.hero-poster span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  height: 42px;
  color: #ffffff;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.92);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  font-size: 34px;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.hero-arrow.prev {
  left: 22px;
}

.hero-arrow.next {
  right: 22px;
}

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

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

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

.quick-search-block {
  position: relative;
  z-index: 3;
  margin-top: -42px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  border: 1px solid rgba(244, 63, 94, 0.12);
  backdrop-filter: blur(16px);
}

.filter-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  color: var(--rose);
  background: #fff1f2;
  border: 1px solid #ffe4e6;
}

.filter-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
}

.filter-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.filter-selects label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.filter-selects select {
  min-width: 112px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #fecdd3;
  border-radius: 14px;
  color: #4b5563;
  background: #ffffff;
  outline: 0;
}

.search-hint {
  margin: 12px 12px 0;
  color: var(--muted);
  font-size: 13px;
}

.content-section {
  padding: 56px 0 10px;
}

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

.section-heading h2,
.ranking-panel h2,
.story-card h2,
.side-recommend h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading p,
.ranking-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-more,
.inline-more,
.wide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-dark);
  font-weight: 900;
}

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

.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 20px;
  border-radius: 24px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.category-tile img,
.category-tile span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-tile img {
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-tile span {
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.15));
}

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

.category-tile strong {
  margin-top: 78px;
  font-size: 24px;
  font-weight: 900;
}

.category-tile em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.movie-card:hover {
  transform: translateY(-6px);
  border-color: #fecdd3;
  box-shadow: 0 22px 50px rgba(225, 29, 72, 0.15);
}

.card-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111827;
}

.card-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.play-chip,
.rank-badge {
  position: absolute;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 999px;
}

.play-chip {
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  background: rgba(225, 29, 72, 0.9);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.rank-badge {
  left: 12px;
  top: 12px;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  background: linear-gradient(135deg, #f59e0b, #e11d48);
}

.card-body {
  padding: 15px;
}

.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.card-meta span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 8px;
  border-radius: 999px;
  background: #fecdd3;
  vertical-align: middle;
}

.card-body h3 {
  margin: 9px 0 8px;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 900;
}

.card-body h3 a:hover {
  color: var(--rose-dark);
}

.card-body p {
  min-height: 48px;
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.65;
}

.tag-row span {
  color: var(--rose-dark);
  background: var(--rose-soft);
}

.ranking-panel,
.story-card,
.side-recommend,
.detail-info-card,
.category-overview-card {
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.ranking-panel {
  position: sticky;
  top: 88px;
  padding: 22px;
}

.mini-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.mini-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 18px;
  background: #fff7f9;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mini-card:hover {
  transform: translateX(4px);
  background: #ffe4e6;
}

.mini-card img {
  width: 72px;
  height: 92px;
  border-radius: 14px;
  object-fit: cover;
}

.mini-card strong,
.mini-card em {
  display: block;
}

.mini-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 900;
}

.mini-card em {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mini-rank {
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  color: #ffffff;
  border-radius: 999px;
  background: var(--rose);
  font-size: 12px;
  font-weight: 900;
}

.wide-link {
  width: 100%;
  height: 46px;
  margin-top: 18px;
  border-radius: 16px;
  background: var(--rose-soft);
}

.page-hero {
  margin-top: 28px;
  padding: 50px;
  color: #ffffff;
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 20%, rgba(251, 113, 133, 0.45), transparent 30%),
    linear-gradient(135deg, #111827, #7f1d1d 55%, #581c87);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.slim-hero h1,
.category-hero h1 {
  margin: 12px 0;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.8;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
}

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

.category-covers img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 13px;
}

.category-overview-card h2 {
  margin: 6px 0 10px;
  font-size: 24px;
  font-weight: 900;
}

.category-overview-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 54px 92px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.ranking-row.hidden {
  display: none;
}

.ranking-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--rose), var(--purple));
  font-weight: 900;
}

.ranking-poster img {
  width: 92px;
  height: 118px;
  border-radius: 16px;
  object-fit: cover;
}

.ranking-info h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
}

.ranking-info p {
  margin: 0 0 10px;
  color: #4b5563;
  line-height: 1.65;
}

.empty-state {
  display: none;
  margin-top: 26px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  border-radius: 22px;
  background: #ffffff;
  border: 1px dashed #fecdd3;
}

.empty-state.show {
  display: block;
}

.detail-top {
  padding: 24px 0 36px;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 8%, rgba(244, 63, 94, 0.45), transparent 32%),
    linear-gradient(135deg, #0f172a, #4c0519 58%, #312e81);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.player-shell {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.movie-player {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: #000000;
  object-fit: contain;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.08));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-start span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  font-size: 28px;
}

.player-start strong {
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 16px;
}

.player-shell.playing .player-start {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.detail-info-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  color: var(--ink);
}

.detail-info-card > img {
  width: 150px;
  height: 210px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.detail-info-card .eyebrow {
  color: var(--rose-dark);
}

.detail-info-card h1 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 4vw, 42px);
}

.detail-info-card p {
  margin: 0 0 16px;
  color: #4b5563;
  line-height: 1.75;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 15px;
}

.detail-meta div {
  padding: 10px;
  border-radius: 14px;
  background: #fff1f2;
}

.detail-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-meta dd {
  margin: 4px 0 0;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.detail-tags a {
  color: var(--rose-dark);
  background: #ffe4e6;
}

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

.story-card,
.side-recommend {
  padding: 26px;
}

.story-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

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

.story-card p {
  color: #374151;
  font-size: 16px;
  line-height: 1.95;
}

.side-recommend {
  position: sticky;
  top: 88px;
}

.side-recommend h2 {
  font-size: 24px;
}

.site-footer {
  margin-top: 70px;
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding: 44px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.footer-brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--rose);
}

.site-footer p {
  margin: 0;
  color: #9ca3af;
  line-height: 1.75;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 17px;
}

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

.footer-links a:hover {
  color: #fb7185;
}

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

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

  .mobile-toggle {
    display: inline-flex;
  }

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

  .hero-poster {
    display: none;
  }

  .ranking-panel,
  .side-recommend {
    position: static;
  }

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

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

@media (max-width: 820px) {
  .hero {
    height: 650px;
  }

  .hero-content {
    align-items: end;
  }

  .hero-copy {
    padding-bottom: 78px;
  }

  .hero-arrow {
    display: none;
  }

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

  .filter-selects {
    justify-content: stretch;
  }

  .filter-selects label,
  .filter-selects select {
    width: 100%;
  }

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

  .category-overview-card {
    grid-template-columns: 1fr;
  }

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

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

  .detail-info-card > img {
    width: 160px;
    height: 220px;
  }

  .ranking-row {
    grid-template-columns: 40px 72px minmax(0, 1fr);
  }

  .ranking-row .btn {
    grid-column: 3;
    justify-self: start;
  }

  .ranking-poster img {
    width: 72px;
    height: 96px;
  }

  .page-hero {
    padding: 34px 24px;
    border-radius: 24px;
  }
}

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

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text em {
    display: none;
  }

  .hero {
    height: 610px;
  }

  .hero-summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

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

  .player-shell,
  .movie-player {
    min-height: 260px;
  }
}
