* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.86);
  --bg-card-strong: rgba(30, 41, 59, 0.92);
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.18);
  --sky: #38bdf8;
  --sky-soft: rgba(56, 189, 248, 0.16);
  --violet: #8b5cf6;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(56, 189, 248, 0.18), transparent 30%),
    radial-gradient(circle at 78% 3%, rgba(139, 92, 246, 0.2), transparent 28%),
    linear-gradient(180deg, #020617 0%, #0f172a 45%, #020617 100%);
  color: var(--text);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky), var(--violet));
  box-shadow: 0 14px 32px rgba(56, 189, 248, 0.24);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.52);
}

.nav-link {
  padding: 9px 16px;
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 14px;
  transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: var(--sky-soft);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  border-radius: 12px;
  padding: 9px 13px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
}

.mobile-panel.open {
  display: block;
}

.mobile-panel-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 20px 20px;
  display: grid;
  gap: 10px;
}

.mobile-link,
.mobile-sub-link {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.68);
  color: #dbeafe;
}

.mobile-link.active {
  background: var(--sky-soft);
  color: #fff;
}

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

.hero-carousel {
  max-width: 1460px;
  margin: 0 auto;
  min-height: 720px;
  padding: 30px 20px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
}

.hero-stage {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: scale(1.02);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(1.08) contrast(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.78) 42%, rgba(2, 6, 23, 0.28) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.95) 0%, transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 92%);
  padding: 88px 64px;
}

.hero-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.24);
  font-size: 13px;
  font-weight: 700;
}

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-content h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 42px);
  color: #e0f2fe;
}

.hero-content p {
  margin: 0 0 22px;
  max-width: 650px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.85;
}

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

.hero-tags span,
.tag-row span {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.62);
  padding: 5px 10px;
  font-size: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary-button,
.ghost-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
}

.primary-button {
  min-height: 46px;
  padding: 0 22px;
  color: #03101f;
  background: linear-gradient(135deg, #7dd3fc, #a78bfa);
  box-shadow: 0 16px 34px rgba(56, 189, 248, 0.2);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(56, 189, 248, 0.32);
}

.ghost-button {
  min-height: 46px;
  padding: 0 22px;
  color: #dbeafe;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.62);
}

.ghost-button:hover {
  border-color: rgba(125, 211, 252, 0.5);
  background: var(--sky-soft);
}

.small-actions .primary-button,
.small-actions .ghost-button {
  min-height: 42px;
  padding: 0 18px;
}

.hero-poster {
  position: absolute;
  z-index: 2;
  right: 54px;
  bottom: 64px;
  width: 260px;
  aspect-ratio: 2 / 3;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.hero-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-controls {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.hero-dot,
.hero-arrow {
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(2, 6, 23, 0.64);
  cursor: pointer;
  transition: 0.25s ease;
}

.hero-dot {
  width: 34px;
  height: 7px;
  border-radius: 999px;
  padding: 0;
}

.hero-dot.active {
  width: 54px;
  background: #38bdf8;
}

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

.hero-arrow:hover,
.hero-dot:hover {
  border-color: rgba(125, 211, 252, 0.55);
  background: rgba(14, 165, 233, 0.26);
}

.hero-side-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
}

.hero-search-card,
.hero-mini-list,
.hero-chip-row,
.soft-panel,
.detail-card,
.aside-panel,
.filter-panel,
.page-hero {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-search-card {
  border-radius: 28px;
  padding: 24px;
}

.hero-search-card span {
  color: var(--sky);
  font-size: 13px;
  font-weight: 800;
}

.hero-search-card h2 {
  margin: 10px 0 18px;
  font-size: 26px;
  line-height: 1.2;
}

.hero-search-form {
  display: flex;
  gap: 10px;
}

.hero-search-form input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  color: #fff;
  background: rgba(2, 6, 23, 0.7);
  padding: 0 14px;
  outline: none;
}

.hero-search-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.hero-search-form button,
.filter-panel button {
  border: 0;
  border-radius: 14px;
  color: #04111f;
  background: linear-gradient(135deg, #7dd3fc, #a78bfa);
  padding: 0 16px;
  font-weight: 900;
  cursor: pointer;
}

.hero-mini-list {
  border-radius: 28px;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.hero-mini-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 18px;
  color: #e2e8f0;
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.hero-mini-card:hover,
.hero-mini-card.active {
  border-color: rgba(56, 189, 248, 0.36);
  background: var(--sky-soft);
}

.hero-mini-card img {
  width: 58px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-mini-card span {
  font-weight: 800;
  line-height: 1.35;
}

.hero-chip-row {
  border-radius: 24px;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip-row a {
  border: 1px solid var(--line);
  color: #bae6fd;
  background: rgba(2, 6, 23, 0.44);
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.content-section,
.detail-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 44px 20px;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.04em;
}

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

.section-link,
.text-link {
  color: #7dd3fc;
  font-size: 14px;
}

.section-link:hover,
.text-link:hover {
  color: #fff;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 26px 54px rgba(14, 165, 233, 0.14);
}

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

.poster-img,
.aside-img,
.ranking-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), transparent);
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: #94a3b8;
  font-size: 12px;
  margin-bottom: 9px;
}

.movie-meta-line span {
  display: inline-flex;
  align-items: center;
}

.movie-meta-line span + span::before {
  content: "·";
  margin-right: 7px;
  color: #475569;
}

.movie-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.ranking-info h3 a:hover {
  color: #7dd3fc;
}

.movie-card p {
  margin: 0 0 12px;
  min-height: 48px;
  color: #aab8cc;
  font-size: 14px;
  line-height: 1.65;
}

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

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

.movie-card.compact p {
  font-size: 13px;
  min-height: 42px;
}

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

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

.category-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.78);
}

.category-visual {
  position: relative;
  min-height: 236px;
  overflow: hidden;
}

.category-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-visual span {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.65), transparent);
}

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

.category-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-card h3 {
  margin: 0;
  font-size: 25px;
}

.category-card p {
  margin: 0;
  color: #aab8cc;
  line-height: 1.75;
}

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

.category-samples a {
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.12);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
}

.soft-panel {
  border-radius: 34px;
  padding-top: 34px;
  padding-bottom: 34px;
}

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

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

.ranking-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 94px 48px 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.76);
  padding: 12px 16px 12px 12px;
}

.ranking-cover {
  width: 94px;
  height: 126px;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
}

.ranking-num {
  font-size: 26px;
  font-weight: 900;
  color: #7dd3fc;
}

.ranking-info h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.ranking-info p {
  margin: 0 0 10px;
  color: #aab8cc;
  line-height: 1.65;
}

.compact-list .ranking-item {
  grid-template-columns: 72px 38px 1fr;
}

.compact-list .ranking-cover {
  width: 72px;
  height: 96px;
}

.compact-list .text-link {
  display: none;
}

.page-hero {
  max-width: 1320px;
  margin: 30px auto 0;
  border-radius: 34px;
  padding: 44px;
  overflow: hidden;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 58%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 68%);
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

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

.page-hero p {
  max-width: 760px;
  color: #cbd5e1;
  line-height: 1.85;
  margin: 0;
}

.category-hero,
.ranking-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.7fr);
  gap: 24px;
  align-items: center;
}

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

.filter-panel {
  border-radius: 28px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 0.8fr 0.9fr 0.9fr auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 24px;
}

.filter-heading {
  align-self: center;
  font-size: 20px;
  font-weight: 900;
}

.filter-panel label {
  display: grid;
  gap: 7px;
  color: #cbd5e1;
  font-size: 13px;
}

.filter-panel button {
  min-height: 44px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #94a3b8;
  margin-bottom: 18px;
  font-size: 14px;
}

.breadcrumb a {
  color: #bae6fd;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow);
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  color: #fff;
  background: #020617;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  filter: saturate(1.05) contrast(1.05);
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.16), rgba(2, 6, 23, 0.62));
}

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

.play-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #03101f;
  background: linear-gradient(135deg, #7dd3fc, #a78bfa);
  box-shadow: 0 24px 60px rgba(56, 189, 248, 0.32);
  font-size: 34px;
  padding-left: 6px;
}

.play-caption {
  position: absolute;
  left: 50%;
  top: calc(50% + 70px);
  z-index: 2;
  transform: translateX(-50%);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.detail-card {
  margin-top: 22px;
  border-radius: 28px;
  padding: 28px;
}

.detail-card h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
}

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

.detail-meta span {
  color: #dbeafe;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 11px;
  font-size: 13px;
}

.detail-card section {
  margin-top: 26px;
}

.detail-card h2,
.aside-panel h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

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

.detail-aside {
  display: grid;
  gap: 18px;
}

.aside-poster {
  display: block;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: #0f172a;
  box-shadow: var(--shadow);
}

.aside-panel {
  border-radius: 26px;
  padding: 22px;
}

.aside-panel dl {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 10px 12px;
  margin: 0 0 20px;
}

.aside-panel dt {
  color: #94a3b8;
}

.aside-panel dd {
  margin: 0;
  color: #e2e8f0;
}

.full-button {
  width: 100%;
}

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

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.58), rgba(2, 6, 23, 0.92));
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 38px 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.1fr;
  gap: 26px;
}

.footer-brand p {
  color: #94a3b8;
  line-height: 1.75;
  margin: 16px 0 0;
}

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

.footer-links a {
  border: 1px solid var(--line);
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.62);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
  border-color: rgba(56, 189, 248, 0.45);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: #64748b;
  text-align: center;
  padding: 18px 20px 26px;
  font-size: 14px;
}

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

  .hero-side-panel {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .hero-chip-row {
    grid-column: 1 / -1;
  }

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

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

  .filter-heading {
    grid-column: 1 / -1;
  }

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

  .detail-aside {
    grid-template-columns: 260px 1fr;
  }
}

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

  .menu-button {
    display: inline-flex;
  }

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

  .hero-carousel {
    padding: 18px 14px 34px;
    min-height: auto;
  }

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

  .hero-content {
    padding: 46px 26px;
    width: 100%;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-poster {
    width: 150px;
    right: 24px;
    bottom: 92px;
    border-radius: 20px;
  }

  .hero-controls {
    left: 18px;
    right: 18px;
  }

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

  .content-section,
  .detail-wrap {
    padding: 30px 14px;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

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

  .category-grid,
  .footer-inner,
  .detail-aside {
    grid-template-columns: 1fr;
  }

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

  .category-visual {
    min-height: 220px;
  }

  .page-hero {
    margin: 16px 14px 0;
    padding: 28px;
    border-radius: 26px;
  }

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

  .ranking-item,
  .compact-list .ranking-item {
    grid-template-columns: 78px 40px 1fr;
    padding-right: 12px;
  }

  .ranking-cover,
  .compact-list .ranking-cover {
    width: 78px;
    height: 106px;
  }

  .ranking-item .text-link {
    display: none;
  }

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

@media (max-width: 520px) {
  .header-inner {
    padding: 12px 14px;
  }

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

  .hero-poster {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
  }

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

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

  .mobile-sub-grid {
    grid-template-columns: 1fr;
  }

  .ranking-info p,
  .ranking-info .tag-row {
    display: none;
  }

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