:root {
  --color-bg: #f8fafc;
  --color-panel: #ffffff;
  --color-text: #111827;
  --color-muted: #64748b;
  --color-soft: #fef3c7;
  --color-primary: #d97706;
  --color-primary-dark: #b45309;
  --color-secondary: #ea580c;
  --color-line: #e5e7eb;
  --color-black: #0f172a;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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: #ffffff;
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary), var(--color-secondary));
  box-shadow: 0 12px 30px rgba(146, 64, 14, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #92400e;
  background: #fff7ed;
  border-radius: 12px;
  box-shadow: inset 0 -3px 0 rgba(251, 191, 36, 0.55);
}

.brand-text {
  white-space: nowrap;
  font-size: 18px;
}

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

.desktop-nav a,
.mobile-nav a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: #fffbeb;
}

.site-search-form {
  display: flex;
  align-items: center;
  width: min(320px, 28vw);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.site-search-form input {
  width: 100%;
  min-width: 0;
  padding: 9px 14px;
  color: #ffffff;
  background: transparent;
  border: 0;
  outline: none;
}

.site-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.site-search-form button {
  flex-shrink: 0;
  height: 100%;
  padding: 9px 16px;
  color: #92400e;
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  background: #fffbeb;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 18px;
  background: rgba(146, 64, 14, 0.94);
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-search {
  width: 100%;
  margin-top: 14px;
}

.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 4s ease;
}

.hero-slide.active img {
  transform: scale(1);
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.18), transparent 28%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.58) 46%, rgba(15, 23, 42, 0.22) 100%);
}

.hero-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 0 0 72px;
}

.hero-copy {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  color: #fffbeb;
  font-weight: 700;
  background: rgba(217, 119, 6, 0.92);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(146, 64, 14, 0.35);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 650px;
  margin: 0 0 26px;
  color: #e5e7eb;
  font-size: 18px;
}

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

.btn-primary,
.btn-ghost,
.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  font-weight: 800;
  border-radius: 13px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 16px 30px rgba(217, 119, 6, 0.32);
}

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

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.btn-soft {
  color: #92400e;
  background: #fffbeb;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(15, 23, 42, 0.74);
  transform: translateY(-50%) scale(1.04);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 20%, rgba(254, 243, 199, 0.22), transparent 30%),
    linear-gradient(120deg, var(--color-primary-dark), var(--color-primary), var(--color-secondary));
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.12;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: #fff7ed;
  font-size: 18px;
}

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

.breadcrumb a {
  color: #fffbeb;
  font-weight: 700;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: #ffffff;
}

.section-warm {
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

.section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.18;
}

.section-heading p {
  grid-column: 1 / -1;
  margin: 0;
  max-width: 680px;
  color: var(--color-muted);
}

.section-heading span {
  height: 4px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  border-radius: 999px;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--color-panel);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: var(--shadow-soft);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #111827;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.76) 0%, transparent 48%);
  opacity: 0.92;
}

.card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #ffffff;
  font-size: 20px;
  background: rgba(217, 119, 6, 0.92);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-duration,
.card-category {
  position: absolute;
  left: 12px;
  z-index: 2;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
}

.card-duration {
  top: 12px;
  padding: 4px 8px;
  background: rgba(15, 23, 42, 0.78);
}

.card-category {
  bottom: 12px;
  padding: 5px 9px;
  background: rgba(217, 119, 6, 0.92);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px;
}

.card-body strong {
  display: -webkit-box;
  min-height: 3em;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-body small {
  color: var(--color-muted);
  font-size: 13px;
}

.card-body em {
  display: -webkit-box;
  min-height: 3.9em;
  overflow: hidden;
  color: #475569;
  font-size: 13px;
  font-style: normal;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.movie-card-compact .card-body em {
  display: none;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 52px 86px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.rank-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 14px;
}

.ranking-item img {
  width: 86px;
  height: 106px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info small,
.rank-info em {
  display: block;
}

.rank-info strong {
  overflow: hidden;
  font-size: 17px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info small {
  color: var(--color-muted);
}

.rank-info em {
  display: -webkit-box;
  overflow: hidden;
  color: #475569;
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  color: #92400e;
  font-weight: 800;
  background: #fffbeb;
  border-radius: 999px;
}

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

.category-tile {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 18px;
  min-height: 168px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-cover-stack {
  position: relative;
  min-height: 136px;
}

.category-cover-stack img {
  position: absolute;
  width: 74px;
  height: 104px;
  object-fit: cover;
  border: 3px solid #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.18);
}

.category-cover-stack img:nth-child(1) {
  left: 0;
  top: 16px;
  z-index: 4;
}

.category-cover-stack img:nth-child(2) {
  left: 26px;
  top: 4px;
  z-index: 3;
}

.category-cover-stack img:nth-child(3) {
  left: 52px;
  top: 18px;
  z-index: 2;
}

.category-cover-stack img:nth-child(4) {
  left: 22px;
  top: 36px;
  z-index: 1;
  opacity: 0.7;
}

.category-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.category-meta strong {
  font-size: 22px;
}

.category-meta small {
  color: var(--color-muted);
}

.category-meta em {
  width: max-content;
  padding: 7px 12px;
  color: #92400e;
  font-style: normal;
  font-weight: 800;
  background: #fffbeb;
  border-radius: 999px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 28px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.catalog-toolbar input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  color: var(--color-text);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  outline: none;
}

.catalog-toolbar input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.filter-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pills button {
  min-height: 40px;
  padding: 8px 13px;
  color: #92400e;
  font-weight: 800;
  background: #fffbeb;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  cursor: pointer;
}

.filter-pills button.active {
  color: #ffffff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.empty-message {
  display: none;
  padding: 28px;
  color: var(--color-muted);
  text-align: center;
  background: #ffffff;
  border-radius: var(--radius-md);
}

.empty-message.visible {
  display: block;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 450px;
  color: #ffffff;
  background: #0f172a;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
}

.detail-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px);
  transform: scale(1.08);
  opacity: 0.58;
}

.detail-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 18% 28%, rgba(245, 158, 11, 0.24), transparent 28%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.72));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 34px;
  align-items: end;
  padding: 54px 0;
}

.detail-poster {
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

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

.detail-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.detail-copy p {
  max-width: 780px;
  margin: 0 0 18px;
  color: #e5e7eb;
  font-size: 18px;
}

.meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.meta-badges span {
  padding: 6px 11px;
  color: #fffbeb;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 44px 0 70px;
}

.detail-panel,
.side-panel {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.detail-panel {
  overflow: hidden;
}

.player-card {
  padding: 18px;
}

.video-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #020617;
  border-radius: 18px;
}

.video-box video {
  width: 100%;
  height: 100%;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(217, 119, 6, 0.28), rgba(15, 23, 42, 0.72)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.74), rgba(15, 23, 42, 0.2));
  border: 0;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-box.is-playing .player-overlay {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.player-overlay span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-weight: 900;
}

.player-overlay i {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: #ffffff;
  font-style: normal;
  font-size: 28px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(217, 119, 6, 0.32);
}

.player-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 14px;
}

.content-block {
  padding: 26px;
  border-top: 1px solid var(--color-line);
}

.content-block h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.content-block p {
  margin: 0;
  color: #374151;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  padding: 7px 12px;
  color: #92400e;
  font-weight: 700;
  background: #fffbeb;
  border-radius: 999px;
}

.side-panel {
  position: sticky;
  top: 96px;
  padding: 20px;
}

.side-panel h2,
.side-panel h3 {
  margin: 0 0 16px;
}

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

.related-card {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.related-card:hover {
  background: #f8fafc;
}

.related-card img {
  width: 94px;
  height: 68px;
  object-fit: cover;
  border-radius: 11px;
}

.related-card strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-card small {
  color: var(--color-muted);
}

.cta-panel {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 10%, rgba(254, 243, 199, 0.22), transparent 30%),
    linear-gradient(120deg, #92400e, #d97706, #ea580c);
  border-radius: var(--radius-lg);
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
}

.cta-panel p {
  max-width: 720px;
  margin: 0;
  color: #fffbeb;
}

.site-footer {
  color: #d1d5db;
  background: #111827;
}

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

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.site-footer p {
  max-width: 480px;
  margin: 0;
  color: #9ca3af;
}

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

.site-footer a:not(.footer-brand) {
  display: inline-block;
  margin: 0 12px 8px 0;
  color: #d1d5db;
}

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

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

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

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

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

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

  .side-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .header-inner > .site-search-form {
    display: none;
  }

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

  body.nav-open .mobile-nav {
    display: block;
  }

  .header-inner {
    min-height: 64px;
  }

  .hero-slider {
    height: 520px;
  }

  .hero-arrow {
    display: none;
  }

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

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

  .ranking-item {
    grid-template-columns: 46px 72px 1fr;
  }

  .rank-action {
    display: none;
  }

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

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .detail-hero-inner {
    grid-template-columns: 130px 1fr;
    gap: 18px;
  }

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

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

  .brand-text {
    font-size: 16px;
  }

  .hero-slider {
    height: 500px;
  }

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

  .hero-copy p {
    font-size: 16px;
  }

  .section {
    padding: 46px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading span {
    width: 96px;
  }

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

  .card-body strong {
    min-height: auto;
  }

  .detail-hero-inner {
    grid-template-columns: 1fr;
    padding: 34px 0;
  }

  .detail-poster {
    max-width: 170px;
  }

  .content-block {
    padding: 20px;
  }

  .player-card {
    padding: 12px;
  }

  .related-card {
    grid-template-columns: 86px 1fr;
  }

  .related-card img {
    width: 86px;
  }
}
