:root {
  --bg: #f7fafc;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --blue: #0f3b76;
  --blue-deep: #081a36;
  --shadow: 0 20px 45px rgba(15, 23, 42, .12);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, .08);
  --radius: 24px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 42%, #f8fafc 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, rgba(15, 23, 42, .98), rgba(30, 58, 138, .96), rgba(15, 23, 42, .98));
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(15, 23, 42, .22);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #ffffff;
  box-shadow: 0 0 28px rgba(245, 158, 11, .42);
  font-size: 16px;
  padding-left: 3px;
}

.brand-text,
.footer-brand {
  font-size: 22px;
  background: linear-gradient(90deg, #fde68a, #fb923c, #fef3c7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
  transform: translateY(-1px);
}

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

.menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.mobile-nav {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 14px;
  gap: 8px;
  flex-wrap: wrap;
}

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

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  padding: 32px max(24px, calc((100% - 1240px) / 2)) 42px;
  background: radial-gradient(circle at top left, rgba(245, 158, 11, .18), transparent 34%), linear-gradient(135deg, #071226, #0f2f66 55%, #071226);
  color: #ffffff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 34%;
  height: 420px;
  background: radial-gradient(circle, rgba(56, 189, 248, .2), transparent 60%);
  pointer-events: none;
}

.hero-stage {
  position: relative;
  min-height: 560px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .7s ease, transform .7s ease;
}

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

.hero-content {
  position: absolute;
  left: clamp(26px, 6vw, 74px);
  bottom: clamp(34px, 7vw, 84px);
  width: min(620px, calc(100% - 64px));
}

.hero-kicker,
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-kicker span,
.hero-kicker strong,
.poster-badge,
.poster-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, .95);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.hero-kicker strong {
  background: rgba(255, 255, 255, .14);
  color: #fde68a;
}

.hero-content h2,
.hero-copy h1 {
  margin: 16px 0 12px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.hero-content p,
.hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
  margin: 0 0 24px;
}

.hero-meta {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .82);
}

.hero-meta span {
  position: relative;
  padding-left: 16px;
}

.hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fbbf24;
  transform: translateY(-50%);
}

.hero-actions,
.hero-search-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.ghost-button,
.hero-search-inline a,
.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.primary-button {
  background: linear-gradient(90deg, #f59e0b, #f97316);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(245, 158, 11, .32);
}

.primary-button:hover,
.hero-search-inline a:hover,
.section-more:hover,
.text-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(245, 158, 11, .25);
}

.ghost-button,
.hero-search-inline a {
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, .45);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  transition: width .2s ease, background .2s ease;
}

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

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.hero-copy h1 {
  font-size: clamp(34px, 4vw, 54px);
}

.hero-thumbs {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .2s ease, background .2s ease;
}

.hero-thumb:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, .16);
}

.hero-thumb img {
  width: 92px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
}

.hero-thumb span {
  font-weight: 800;
  color: #ffffff;
}

.content-section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.section-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}

.section-title > span {
  width: 6px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f59e0b, #f97316);
}

.section-title h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.section-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

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

.movie-card {
  min-width: 0;
}

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

.card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.poster-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: #0f172a;
}

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

.card-link:hover .poster-wrap img {
  transform: scale(1.08);
  filter: brightness(.82);
}

.poster-badge {
  position: absolute;
  left: 12px;
  top: 12px;
}

.poster-year {
  position: absolute;
  right: 12px;
  top: 12px;
  background: rgba(15, 23, 42, .74);
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(245, 158, 11, .92);
  color: #ffffff;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.9);
  transition: opacity .25s ease, transform .25s ease;
  padding-left: 4px;
  font-weight: 900;
}

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

.card-body {
  padding: 17px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted-2);
  font-size: 13px;
}

.card-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.tag-row {
  margin-top: 14px;
}

.tag-row span,
.detail-tags a {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 12px;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.rank-list,
.ranking-grid {
  display: grid;
  gap: 12px;
}

.rank-item,
.ranking-card {
  display: grid;
  grid-template-columns: 46px 92px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.rank-item > span,
.ranking-number {
  font-size: 22px;
  font-weight: 900;
  color: #f59e0b;
  text-align: center;
}

.rank-item img,
.ranking-card img {
  width: 92px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
}

.rank-item strong,
.ranking-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
}

.rank-item em,
.ranking-card em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.ranking-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.spotlight-panel {
  position: sticky;
  top: 94px;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff7ed, #eff6ff);
  box-shadow: var(--shadow);
}

.spotlight-panel h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.spotlight-panel p {
  margin: 0 0 24px;
  color: var(--muted);
}

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

.category-card,
.category-overview-card {
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.category-card a {
  display: block;
  min-height: 210px;
  padding: 26px;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, .18), transparent 38%), linear-gradient(135deg, #ffffff, #f8fafc);
}

.category-card strong,
.category-overview-body h2 {
  display: block;
  margin: 0 0 10px;
  font-size: 23px;
}

.category-card p,
.category-overview-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

.category-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-card div a,
.text-link {
  background: #fff7ed;
  color: #c2410c;
}

.category-card div a {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.category-cover-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #0f172a;
}

.category-cover-row a {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.category-cover-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
}

.category-cover-row span {
  position: absolute;
  inset: auto 6px 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-shadow: 0 1px 8px #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-overview-body {
  padding: 24px;
}

.page-hero {
  min-height: 280px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top left, rgba(245, 158, 11, .24), transparent 30%), linear-gradient(120deg, #0f172a, #1e3a8a, #0f172a);
  color: #ffffff;
}

.page-hero > div {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -.03em;
}

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

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

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

.filter-panel {
  margin-bottom: 28px;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.search-box {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.search-box input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 18px;
  outline: 0;
  color: var(--ink);
  background: #f8fafc;
  transition: border .2s ease, box-shadow .2s ease;
}

.search-box input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .15);
}

.wide-search {
  margin-bottom: 14px;
}

.filter-chip {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: #e2e8f0;
  color: #334155;
  font-weight: 800;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  background: #f59e0b;
  color: #ffffff;
  transform: translateY(-1px);
}

.empty-result {
  display: none;
  padding: 26px;
  border-radius: 20px;
  background: #ffffff;
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.empty-result.is-visible {
  display: block;
}

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

.ranking-page {
  display: grid;
  gap: 48px;
}

.ranking-head {
  margin-bottom: 18px;
}

.ranking-head h2 {
  margin: 0 0 6px;
  font-size: 30px;
}

.ranking-head p {
  margin: 0;
  color: var(--muted);
}

.detail-main {
  background: linear-gradient(180deg, #020617 0, #0f172a 540px, #f8fafc 541px);
}

.detail-hero {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 28px;
  color: #ffffff;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: stretch;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .42);
  aspect-ratio: 16 / 9;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  padding: 28px;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  text-align: center;
  transition: opacity .25s ease, visibility .25s ease;
}

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

.play-button {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(245, 158, 11, .94);
  box-shadow: 0 18px 40px rgba(245, 158, 11, .38);
  font-size: 34px;
  padding-left: 6px;
}

.player-cover strong {
  max-width: 720px;
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.15;
}

.player-cover em {
  max-width: 720px;
  color: rgba(255, 255, 255, .82);
  font-style: normal;
}

.watch-side {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-content: start;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(20px);
}

.watch-side img {
  width: 120px;
  height: 170px;
  border-radius: 18px;
  object-fit: cover;
}

.watch-side h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.18;
}

.watch-side p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .78);
}

.detail-meta {
  display: grid;
  gap: 10px;
  margin: 0;
}

.detail-meta div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
}

.detail-meta dt {
  color: rgba(255, 255, 255, .58);
}

.detail-meta dd {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
}

.detail-content {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 0;
  display: grid;
  gap: 22px;
}

.story-card {
  padding: 28px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

.story-card p {
  margin: 0;
  color: #334155;
  font-size: 17px;
}

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

.detail-tags a {
  font-size: 14px;
}

.related-section {
  padding-top: 48px;
}

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

.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, #0f172a, #020617);
  color: #cbd5e1;
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  max-width: 560px;
  margin: 12px 0 0;
  color: #94a3b8;
}

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

.footer-links a {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
}

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #94a3b8;
  font-size: 14px;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }

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

  .hero-thumb {
    grid-template-columns: 82px 1fr;
  }

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

  .split-section,
  .watch-layout {
    grid-template-columns: 1fr;
  }

  .spotlight-panel {
    position: static;
  }
}

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

  .menu-button {
    display: flex;
  }

  .hero {
    min-height: 0;
    padding-top: 18px;
  }

  .hero-stage {
    min-height: 520px;
    border-radius: 24px;
  }

  .hero-content {
    left: 24px;
    bottom: 58px;
    width: calc(100% - 48px);
  }

  .hero-content h2,
  .hero-copy h1 {
    font-size: 34px;
  }

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

  .hero-arrow {
    display: none;
  }

  .hero-thumbs,
  .category-grid,
  .category-overview-grid,
  .featured-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

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

  .content-section {
    padding: 42px 0;
  }

  .watch-side {
    grid-template-columns: 92px 1fr;
  }

  .watch-side img {
    width: 92px;
    height: 130px;
  }

  .watch-side h1 {
    font-size: 24px;
  }

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

@media (max-width: 540px) {
  .header-inner {
    height: 62px;
  }

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

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

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-stage {
    min-height: 480px;
  }

  .hero-actions,
  .hero-search-inline {
    flex-direction: column;
  }

  .primary-button,
  .ghost-button,
  .hero-search-inline a {
    width: 100%;
  }

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

  .rank-item,
  .ranking-card {
    grid-template-columns: 38px 76px 1fr;
    gap: 10px;
  }

  .rank-item img,
  .ranking-card img {
    width: 76px;
    height: 54px;
  }

  .player-shell {
    border-radius: 20px;
  }

  .play-button {
    width: 68px;
    height: 68px;
  }

  .story-card {
    padding: 22px;
  }
}
