:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(30, 41, 59, 0.88);
  --text: #ffffff;
  --muted: #cbd5e1;
  --soft: #94a3b8;
  --line: rgba(255, 255, 255, 0.1);
  --gold: #f59e0b;
  --gold-soft: #fde68a;
  --orange: #f97316;
  --blue: #2563eb;
  --green: #22c55e;
  --pink: #ec4899;
  --purple: #a855f7;
  --cyan: #06b6d4;
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.25), transparent 34rem), linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  color: var(--text);
}

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

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

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 58, 138, 0.92), rgba(15, 23, 42, 0.96));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: white;
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.42);
}

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

.nav-link {
  border-radius: 999px;
  padding: 10px 16px;
  color: #dbeafe;
  font-weight: 650;
  transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.mobile-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: white;
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #020617;
}

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

.hero-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 52px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-backdrop {
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.72), rgba(15, 23, 42, 0.9)), var(--hero-image) center / cover no-repeat;
  filter: saturate(1.05);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(15, 23, 42, 0.74) 68%, #020617 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 790px;
  padding-top: 44px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: 999px;
  margin-bottom: 18px;
  padding: 7px 13px;
  background: rgba(245, 158, 11, 0.14);
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.055em;
  background: linear-gradient(90deg, #fde68a, #fbbf24, #fdba74);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.05;
  font-weight: 850;
}

.hero p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #d1d5db;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.75;
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags span,
.tag-list span {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  transition: 0.25s ease;
}

.primary-btn {
  background: linear-gradient(90deg, var(--gold), var(--orange));
  color: white;
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.35);
}

.primary-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 45px rgba(245, 158, 11, 0.52);
}

.ghost-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(8px);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  background: rgba(15, 23, 42, 0.64);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
}

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

.hero-poster span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(0, 0, 0, 0.58);
  color: white;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.hero-control {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 34px;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

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

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 900;
}

.section-heading p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.7;
}

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

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

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.92));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
  border-color: rgba(245, 158, 11, 0.42);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 60px rgba(245, 158, 11, 0.13);
}

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

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.78));
}

.play-pill,
.rank-mark {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.play-pill {
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  background: rgba(239, 68, 68, 0.88);
  color: white;
}

.rank-mark {
  left: 12px;
  top: 12px;
  display: grid;
  min-width: 32px;
  height: 32px;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: white;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.32);
}

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

.movie-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.32;
  font-weight: 850;
}

.movie-card h3 a:hover {
  color: var(--gold-soft);
}

.movie-meta {
  margin-bottom: 10px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 650;
}

.movie-card p {
  min-height: 42px;
  margin: 0 0 14px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.55;
}

.compact-card .poster-link {
  aspect-ratio: 16 / 10;
}

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

.compact-card h3 {
  font-size: 16px;
}

.compact-card p,
.compact-card .tag-list {
  display: none;
}

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

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

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 24px;
  background: rgba(15, 23, 42, 0.72);
  isolation: isolate;
  transition: 0.3s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.38);
}

.category-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  transition: transform 0.5s ease;
}

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

.tile-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.3), rgba(2, 6, 23, 0.88));
}

.category-tile strong,
.category-tile em {
  display: block;
}

.category-tile strong {
  margin-top: 48px;
  font-size: 23px;
  font-style: normal;
  font-weight: 900;
}

.category-tile em {
  margin-top: 9px;
  color: #dbeafe;
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
}

.ranking-panel {
  position: sticky;
  top: 96px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  padding: 18px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.ranking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ranking-head span {
  font-size: 22px;
  font-weight: 900;
}

.ranking-head a {
  color: var(--gold-soft);
  font-weight: 780;
}

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

.page-hero {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 70px 16px;
  text-align: center;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.65), rgba(15, 23, 42, 0.96)), radial-gradient(circle at top, rgba(245, 158, 11, 0.28), transparent 34rem);
}

.small-hero {
  min-height: 300px;
}

.rank-hero {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.76), rgba(15, 23, 42, 0.95)), radial-gradient(circle at center, rgba(245, 158, 11, 0.26), transparent 28rem);
}

.category-hero.tone-red,
.category-overview-card.tone-red {
  --tone-color: #ef4444;
}

.category-hero.tone-blue,
.category-overview-card.tone-blue {
  --tone-color: #3b82f6;
}

.category-hero.tone-pink,
.category-overview-card.tone-pink {
  --tone-color: #ec4899;
}

.category-hero.tone-purple,
.category-overview-card.tone-purple {
  --tone-color: #a855f7;
}

.category-hero.tone-green,
.category-overview-card.tone-green {
  --tone-color: #22c55e;
}

.category-hero.tone-cyan,
.category-overview-card.tone-cyan {
  --tone-color: #06b6d4;
}

.category-hero.tone-gold,
.category-overview-card.tone-gold,
.category-hero.tone-warm,
.category-overview-card.tone-warm {
  --tone-color: #f59e0b;
}

.category-hero {
  background: linear-gradient(135deg, color-mix(in srgb, var(--tone-color) 42%, transparent), rgba(15, 23, 42, 0.96)), radial-gradient(circle at top, rgba(255, 255, 255, 0.15), transparent 30rem);
}

.page-hero h1 {
  max-width: 850px;
  margin: 0 auto 16px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.04;
  font-weight: 930;
  letter-spacing: -0.045em;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.8;
}

.overview-stack {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 82px;
  display: grid;
  gap: 28px;
}

.category-overview-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tone-color) 16%, transparent), rgba(15, 23, 42, 0.8));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.category-overview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.category-overview-head h2 {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 900;
}

.category-overview-head p {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.search-box,
.select-box {
  display: grid;
  gap: 8px;
}

.search-box span,
.select-box span {
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.search-box input,
.select-box select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0 16px;
  background: rgba(15, 23, 42, 0.76);
  color: white;
  outline: none;
}

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

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: var(--detail-image) center / cover no-repeat;
}

.detail-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.76)), linear-gradient(180deg, transparent, #020617 100%);
  backdrop-filter: blur(1px);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 62px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: #cbd5e1;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--gold-soft);
}

.detail-title-wrap {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.detail-title-wrap > img {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.detail-title-wrap h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.04;
  font-weight: 930;
  letter-spacing: -0.045em;
}

.detail-title-wrap p {
  max-width: 890px;
  margin: 0 0 20px;
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.78;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-meta span {
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 800;
}

.detail-layout {
  width: min(1280px, calc(100% - 32px));
  margin: -42px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
}

.player-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: black;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: black;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  padding: 24px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.76));
  color: white;
  text-align: center;
}

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

.play-circle {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  font-size: 34px;
  box-shadow: 0 0 38px rgba(245, 158, 11, 0.48);
}

.player-overlay strong {
  font-size: 24px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7);
}

.detail-side {
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  padding: 24px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(12px);
}

.detail-side h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.detail-side dl {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
}

.detail-side dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
}

.detail-side dt {
  color: var(--soft);
  font-weight: 750;
}

.detail-side dd {
  margin: 0;
  color: white;
  line-height: 1.55;
}

.wide-btn {
  width: 100%;
}

.article-section {
  max-width: 980px;
}

.article-section h2 {
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 900;
}

.article-section h2 + p {
  margin-bottom: 30px;
}

.article-section p {
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.92;
}

.site-footer {
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 6, 23, 0.86);
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  padding: 36px 0;
  align-items: center;
}

.footer-inner strong {
  font-size: 22px;
}

.footer-inner p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--soft);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
}

.footer-links a {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #dbeafe;
  font-size: 14px;
  font-weight: 720;
}

.footer-links a:hover {
  background: rgba(245, 158, 11, 0.22);
  color: white;
}

[data-card].hidden {
  display: none;
}

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

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

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

  .ranking-panel {
    position: relative;
    top: 0;
  }
}

@media (max-width: 860px) {
  .nav-inner {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 10px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 13px 16px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
  }

  .hero-content {
    padding-top: 78px;
  }

  .hero-poster {
    max-width: 260px;
    justify-self: center;
  }

  .hero-control {
    display: none;
  }

  .category-grid,
  .catalog-grid,
  .movie-grid,
  .feature-grid,
  .ranking-grid,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .footer-links {
    justify-content: start;
  }

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

  .detail-title-wrap > img {
    max-width: 240px;
  }

  .detail-layout {
    margin-top: -26px;
  }
}

@media (max-width: 540px) {
  .brand {
    font-size: 18px;
  }

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

  .hero {
    min-height: 820px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero h2 {
    font-size: 29px;
  }

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

  .category-grid,
  .catalog-grid,
  .movie-grid,
  .feature-grid,
  .ranking-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .movie-card p {
    min-height: auto;
  }

  .detail-hero-inner {
    padding-top: 24px;
  }

  .detail-title-wrap h1 {
    font-size: 34px;
  }

  .detail-title-wrap p,
  .article-section p {
    font-size: 16px;
  }

  .detail-side dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
