:root {
  color-scheme: dark;
  --bg: #0c0a09;
  --bg-soft: #1c1917;
  --panel: rgba(28, 25, 23, 0.82);
  --panel-solid: #1c1917;
  --panel-light: #292524;
  --line: rgba(245, 158, 11, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #a8a29e;
  --muted-strong: #d6d3d1;
  --amber: #f59e0b;
  --amber-soft: #fbbf24;
  --red: #ef4444;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 6%, rgba(245, 158, 11, 0.22), transparent 32rem),
    radial-gradient(circle at 88% 14%, rgba(220, 38, 38, 0.16), transparent 28rem),
    linear-gradient(180deg, #0c0a09 0%, #1c1917 44%, #0c0a09 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 75%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12, 10, 9, 0.78);
  backdrop-filter: blur(22px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #1c1917;
  font-weight: 900;
  background: linear-gradient(135deg, #fef3c7, #f59e0b 48%, #dc2626);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.28);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

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

.brand-text em {
  margin-top: 5px;
  color: #fcd34d;
  font-size: 12px;
  font-style: normal;
}

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

.nav-link {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--muted-strong);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff7ed;
  background: rgba(245, 158, 11, 0.16);
  transform: translateY(-1px);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
}

.mobile-nav {
  display: none;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(28, 25, 23, 0.95);
}

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

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  isolation: isolate;
}

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

.hero-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 440px);
  align-items: center;
  gap: 44px;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(24px) saturate(1.15);
  opacity: 0.22;
  transform: scale(1.08);
}

.hero-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 10, 9, 0.96) 0%, rgba(12, 10, 9, 0.78) 42%, rgba(12, 10, 9, 0.92) 100%),
    radial-gradient(circle at 68% 42%, rgba(245, 158, 11, 0.35), transparent 24rem);
}

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

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #fcd34d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-content p,
.page-hero p,
.detail-copy p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.85;
}

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

.hero-tags,
.detail-tags {
  margin-top: 22px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.1);
  font-size: 12px;
  font-weight: 700;
}

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

.primary-button,
.ghost-button,
.text-button,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
  min-height: 48px;
  padding: 0 23px;
  color: #1c1917;
  background: linear-gradient(135deg, #fde68a, #f59e0b 55%, #ef4444);
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.28);
}

.ghost-button {
  min-height: 48px;
  padding: 0 22px;
  color: #fff7ed;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.text-button,
.section-link {
  min-height: 40px;
  padding: 0 14px;
  color: #fcd34d;
}

.primary-button:hover,
.ghost-button:hover,
.text-button:hover,
.section-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 34px;
  background: var(--panel-light);
  box-shadow: var(--shadow);
}

.hero-poster::before {
  position: absolute;
  inset: -2px;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.82));
}

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

.hero-poster:hover img {
  transform: scale(1.05);
}

.hero-poster span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1c1917;
  background: #fbbf24;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 30px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.main-section,
.page-hero,
.breadcrumb,
.detail-hero,
.watch-section,
.detail-layout {
  width: min(var(--container), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.main-section {
  padding: 72px 0 0;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  margin-bottom: 34px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: rgba(28, 25, 23, 0.72);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.filter-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.filter-search span {
  color: #fcd34d;
  font-size: 20px;
}

.filter-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.filter-controls {
  display: flex;
  gap: 10px;
}

.filter-controls select {
  min-height: 48px;
  max-width: 168px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  color: var(--text);
  background: #292524;
  outline: 0;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(41, 37, 36, 0.92), rgba(28, 25, 23, 0.92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(245, 158, 11, 0.36);
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

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

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

.movie-card:hover .poster-wrap img {
  transform: scale(1.06);
  filter: saturate(1.12);
}

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

.poster-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1c1917;
  background: #fbbf24;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translateY(0);
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #1c1917;
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
}

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

.card-meta-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.movie-card h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.movie-card h2 a:hover {
  color: #fcd34d;
}

.movie-card p {
  min-height: 48px;
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.compact-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
}

.compact-card .poster-wrap {
  aspect-ratio: 2 / 3;
}

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

.compact-card h2 {
  font-size: 15px;
}

.compact-card p {
  min-height: auto;
  font-size: 12px;
}

.compact-card .tag-row {
  display: none;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: rgba(28, 25, 23, 0.78);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
}

.category-tile {
  padding: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

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

.category-glow {
  position: absolute;
  right: -48px;
  top: -48px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.18);
  filter: blur(8px);
}

.category-thumbs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}

.category-thumbs img {
  aspect-ratio: 2 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  background: #292524;
}

.category-tile strong {
  display: block;
  font-size: 21px;
}

.category-tile p,
.category-overview-head p {
  color: var(--muted);
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 28px;
}

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

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

.rank-list-item {
  display: grid;
  grid-template-columns: 42px 66px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 13px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(28, 25, 23, 0.78);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rank-list-item:hover {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(41, 37, 36, 0.9);
  transform: translateX(3px);
}

.rank-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #1c1917;
  font-weight: 900;
  background: #fbbf24;
}

.rank-list-item img {
  width: 66px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  background: #292524;
}

.rank-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.rank-copy strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-copy em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.rank-arrow {
  color: #fcd34d;
  font-size: 28px;
}

.mini-card-list {
  display: grid;
  gap: 12px;
}

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

.page-hero {
  position: relative;
  min-height: 380px;
  display: grid;
  align-items: center;
  margin-top: 32px;
  overflow: hidden;
  padding: 48px;
  border: 1px solid var(--line-soft);
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 34%, rgba(245, 158, 11, 0.22), transparent 23rem),
    linear-gradient(135deg, rgba(41, 37, 36, 0.94), rgba(12, 10, 9, 0.88));
  box-shadow: var(--shadow);
}

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

.category-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.page-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 10, 9, 0.96), rgba(12, 10, 9, 0.68));
}

.page-hero > div:not(.page-hero-shade) {
  position: relative;
  z-index: 1;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: 22px;
}

.category-overview-head span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
  font-size: 12px;
  font-weight: 800;
}

.category-overview-head h2 {
  margin: 0;
  font-size: 29px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  margin-top: 28px;
  padding: 34px;
  border: 1px solid var(--line-soft);
  border-radius: 36px;
  background:
    radial-gradient(circle at 80% 30%, rgba(245, 158, 11, 0.22), transparent 22rem),
    rgba(28, 25, 23, 0.76);
  box-shadow: var(--shadow);
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

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

.watch-section {
  margin-top: 34px;
}

.watch-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 30px;
  background: #000;
  box-shadow: var(--shadow);
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle at center, rgba(245, 158, 11, 0.24), transparent 18rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.7));
}

.watch-player.playing .player-cover {
  display: none;
}

.play-ring {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

.play-ring span {
  color: #1c1917;
  font-size: 36px;
  transform: translateX(3px);
}

.player-cover strong {
  font-size: 20px;
}

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

.detail-article,
.related-panel {
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: rgba(28, 25, 23, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.detail-article {
  padding: 30px;
}

.related-panel {
  padding: 20px;
  align-self: start;
}

.detail-article h2,
.related-panel h2 {
  margin: 0 0 14px;
  font-size: 25px;
}

.detail-article p {
  margin: 0 0 24px;
  color: var(--muted-strong);
  line-height: 1.95;
  font-size: 16px;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.detail-info-grid div {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.detail-info-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.detail-info-grid strong {
  font-size: 14px;
}

.site-footer {
  margin-top: 90px;
  padding: 48px 0 28px;
  border-top: 1px solid var(--line-soft);
  background: rgba(12, 10, 9, 0.72);
}

.footer-grid,
.footer-bottom {
  width: min(var(--container), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.7fr) minmax(220px, 0.8fr);
  gap: 34px;
}

.footer-brand {
  font-size: 22px;
  font-weight: 900;
}

.site-footer p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

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

.footer-links a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.06);
}

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

.footer-bottom {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

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

@media (max-width: 1120px) {
  .large-grid,
  .movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

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

  .related-panel .mini-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .mobile-menu-button {
    display: block;
  }

  .hero {
    min-height: 820px;
  }

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

  .hero-poster {
    width: min(320px, 82vw);
    justify-self: center;
  }

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

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

  .filter-controls select {
    max-width: none;
    width: 100%;
  }

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

  .split-section,
  .category-overview-grid,
  .category-overview-card,
  .detail-hero,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .wide-rank-list {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(320px, 100%);
  }

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

@media (max-width: 620px) {
  .header-inner {
    min-height: 68px;
  }

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

  .hero {
    min-height: 760px;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 38px;
    letter-spacing: -0.04em;
  }

  .hero-content p,
  .page-hero p,
  .detail-copy p {
    font-size: 15px;
  }

  .page-hero,
  .detail-hero,
  .detail-article {
    padding: 22px;
    border-radius: 24px;
  }

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

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

  .movie-card p {
    display: none;
  }

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

  .related-panel .mini-card-list,
  .two-cols {
    grid-template-columns: 1fr;
  }

  .detail-layout {
    gap: 18px;
  }

  .watch-player {
    border-radius: 18px;
  }

  .play-ring {
    width: 72px;
    height: 72px;
  }

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

  .footer-grid {
    gap: 22px;
  }
}

@media (max-width: 420px) {
  .movie-grid,
  .large-grid {
    grid-template-columns: 1fr;
  }

  .compact-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

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

  .primary-button,
  .ghost-button,
  .text-button {
    width: 100%;
  }
}
