:root {
  color-scheme: light;
  --page-bg: #f8fafc;
  --panel-bg: rgba(255, 255, 255, 0.94);
  --text-main: #111827;
  --text-muted: #64748b;
  --line-soft: rgba(15, 23, 42, 0.08);
  --brand: #f59e0b;
  --brand-strong: #ea580c;
  --brand-deep: #dc2626;
  --brand-soft: #fff7ed;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-hover: 0 24px 60px rgba(234, 88, 12, 0.18);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 52%, #fff7ed 100%);
  color: var(--text-main);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.header-solid {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(18px);
}

.site-header:not(.is-scrolled):not(.header-solid) {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0));
}

.nav-inner {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: clamp(20px, 2.3vw, 28px);
  color: #ffffff;
  letter-spacing: -0.04em;
}

.header-solid .brand,
.is-scrolled .brand {
  color: #111827;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.38);
}

.brand-text {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-link,
.nav-search,
.nav-toggle {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.header-solid .nav-link,
.header-solid .nav-search,
.header-solid .nav-toggle,
.is-scrolled .nav-link,
.is-scrolled .nav-search,
.is-scrolled .nav-toggle {
  color: #374151;
}

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

.nav-toggle {
  display: none;
  padding: 9px 12px;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

.mobile-panel .nav-link,
.mobile-panel .nav-search {
  color: #334155;
  text-align: left;
  background: #f8fafc;
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.52), transparent 28%),
              radial-gradient(circle at 78% 18%, rgba(239, 68, 68, 0.42), transparent 30%),
              linear-gradient(135deg, #111827 0%, #78350f 48%, #dc2626 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0), #f8fafc 84%);
}

.hero-track {
  position: relative;
  z-index: 2;
  min-height: 720px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.hero-layout {
  width: min(1180px, calc(100% - 32px));
  min-height: 720px;
  margin: 0 auto;
  padding: 132px 0 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: 54px;
}

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

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  color: #fffbeb;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(16px);
  font-weight: 700;
  font-size: 14px;
}

.hero h1,
.hero h2 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero h1 span,
.hero h2 span {
  display: block;
  color: #fde68a;
}

.hero-desc {
  margin: 0 0 28px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.90);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.28);
}

.btn-light {
  color: #b45309;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(255, 255, 255, 0.20);
}

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

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

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.hero-art {
  position: relative;
  min-height: 560px;
}

.hero-poster-card {
  position: absolute;
  right: 0;
  top: 0;
  width: min(100%, 390px);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 36px 100px rgba(15, 23, 42, 0.42);
  transform: rotate(2deg);
}

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

.hero-poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.74));
}

.hero-mini-panel {
  position: absolute;
  left: 0;
  bottom: 48px;
  width: min(88%, 330px);
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 70px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(18px);
}

.hero-mini-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-mini-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

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

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

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

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

.page-main {
  padding-top: 112px;
}

.section {
  padding: 64px 0;
}

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

.section-title {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 760px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: -58px;
  position: relative;
  z-index: 8;
}

.stat-card,
.category-card,
.filter-panel,
.info-panel,
.related-panel,
.rank-list,
.detail-card {
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: var(--panel-bg);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 24px;
}

.stat-card b {
  display: block;
  margin-bottom: 6px;
  color: #111827;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.stat-card span {
  color: var(--text-muted);
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

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

.movie-card a {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #7c2d12);
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.36s ease, filter 0.36s ease;
}

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

.badge-row {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.badge,
.rank-badge,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

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

.movie-title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 10px;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 800;
}

.movie-desc {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  border-radius: 34px;
  color: #ffffff;
  background: radial-gradient(circle at 18% 0, rgba(251, 191, 36, 0.56), transparent 28%), linear-gradient(135deg, #111827, #9a3412 55%, #dc2626);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.20);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
}

.feature-card h2,
.feature-card h3 {
  margin: 16px 0 14px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.feature-card p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.85;
}

.band {
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
  border-block: 1px solid rgba(245, 158, 11, 0.14);
}

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

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -76px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.20), rgba(220, 38, 38, 0.16));
}

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

.category-card h2,
.category-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.category-card p {
  margin: 0 0 22px;
  color: var(--text-muted);
  line-height: 1.75;
}

.category-card span {
  margin-top: auto;
  color: var(--brand-strong);
  font-weight: 900;
}

.category-card .section-actions img {
  width: 58px;
  height: 78px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px 180px;
  gap: 14px;
  padding: 18px;
  margin-bottom: 28px;
}

.filter-input,
.filter-select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(15, 23, 42, 0.11);
  border-radius: 16px;
  padding: 0 16px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-input:focus,
.filter-select:focus {
  border-color: rgba(245, 158, 11, 0.60);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  padding: 96px 20px 32px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
}

.search-overlay.is-open {
  display: block;
}

.search-box {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 22px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.search-box form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  max-height: 50vh;
  overflow: auto;
}

.search-result {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #f8fafc;
}

.search-result img {
  width: 78px;
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  object-fit: cover;
}

.search-result strong {
  display: block;
  margin-bottom: 4px;
}

.search-result span {
  color: var(--text-muted);
  font-size: 13px;
}

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

.rank-list {
  overflow: hidden;
}

.rank-item {
  display: grid;
  grid-template-columns: 60px 118px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.rank-item:last-child {
  border-bottom: 0;
}

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

.rank-item img {
  width: 118px;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  object-fit: cover;
}

.rank-item h2,
.rank-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.rank-item p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-hero {
  padding: 120px 0 48px;
  color: #ffffff;
  background: radial-gradient(circle at 20% 10%, rgba(245, 158, 11, 0.48), transparent 28%), linear-gradient(135deg, #111827, #7c2d12 58%, #dc2626);
}

.detail-hero-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 38px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.36);
}

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

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.crumbs a:hover {
  color: #fde68a;
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.detail-copy p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.86;
  font-size: 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 42px 0 72px;
}

.player-section {
  margin-bottom: 28px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #020617;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.video-element {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.70));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-circle {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 24px 70px rgba(245, 158, 11, 0.35);
  font-size: 34px;
  line-height: 1;
}

.play-title {
  font-size: 18px;
  font-weight: 900;
}

.detail-card {
  padding: 26px;
  margin-bottom: 28px;
}

.detail-card h2,
.related-panel h2,
.info-panel h2 {
  margin: 0 0 16px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.detail-card p {
  margin: 0 0 16px;
  color: #334155;
  line-height: 1.95;
}

.info-panel,
.related-panel {
  padding: 22px;
  margin-bottom: 22px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.info-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

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

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

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

.related-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.related-item:hover {
  background: #fff7ed;
  transform: translateX(2px);
}

.related-item img {
  width: 112px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  object-fit: cover;
}

.related-item strong {
  display: block;
  margin-bottom: 6px;
  line-height: 1.35;
}

.related-item span {
  color: var(--text-muted);
  font-size: 13px;
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(160px, 0.45fr));
  gap: 34px;
}

.footer-brand {
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
}

.footer-inner p {
  line-height: 1.8;
  color: #94a3b8;
}

.footer-inner h2,
.footer-inner h3 {
  margin: 0 0 14px;
  color: #fbbf24;
  font-size: 18px;
}

.footer-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #94a3b8;
}

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

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

  .detail-grid,
  .rank-page-grid {
    grid-template-columns: 1fr;
  }
}

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

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

  .hero,
  .hero-track,
  .hero-layout {
    min-height: 860px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 118px;
    align-items: start;
  }

  .hero-art {
    min-height: 380px;
  }

  .hero-poster-card {
    left: 50%;
    right: auto;
    width: min(76vw, 280px);
    transform: translateX(-50%) rotate(1deg);
  }

  .hero-mini-panel {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
  }

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

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

  .feature-card,
  .detail-hero-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .detail-hero-layout {
    align-items: start;
  }

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

  .rank-item {
    grid-template-columns: 42px 92px 1fr;
  }

  .rank-item .btn {
    grid-column: 2 / -1;
  }
}

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

  .brand-mark {
    width: 34px;
    height: 34px;
  }

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

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

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

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

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

  .btn {
    width: 100%;
  }

  .info-list div,
  .related-item,
  .rank-item,
  .search-result {
    grid-template-columns: 1fr;
  }

  .related-item img,
  .rank-item img,
  .search-result img {
    width: 100%;
  }
}
