:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.18);
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --rose: #f43f5e;
  --amber: #f59e0b;
  --emerald: #10b981;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 34rem), var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.18), transparent 40%, rgba(88, 28, 135, 0.18));
  z-index: -2;
}

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;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.72));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(2, 6, 23, 0.96);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
}

.nav-shell {
  max-width: 1280px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: white;
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.26);
}

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

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

.nav-link {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--cyan);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  min-width: 180px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: var(--shadow);
  display: none;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  display: grid;
}

.dropdown-panel a {
  padding: 9px 12px;
  color: #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
}

.dropdown-panel a:hover {
  color: white;
  background: rgba(34, 211, 238, 0.12);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #e2e8f0;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 24px 18px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.98);
}

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 12px;
  color: #cbd5e1;
  font-weight: 700;
}

.mobile-link:hover,
.mobile-link.is-active {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
}

main {
  min-height: 70vh;
}

.hero-carousel {
  position: relative;
  min-height: 76vh;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 48px;
  padding: 150px calc((100vw - 1280px) / 2 + 24px) 120px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.8s ease, transform 1.2s ease;
  pointer-events: none;
}

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #020617 0%, rgba(2, 6, 23, 0.38) 42%, transparent 100%);
  pointer-events: none;
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-content h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-desc,
.page-hero p,
.detail-line {
  color: #cbd5e1;
  font-size: clamp(16px, 2vw, 20px);
  max-width: 760px;
  margin: 22px 0 0;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tags span,
.detail-tags span {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.72);
  font-size: 13px;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.34);
}

.ghost-btn {
  color: #e2e8f0;
  border: 1px solid rgba(226, 232, 240, 0.18);
  background: rgba(15, 23, 42, 0.56);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.ghost-btn:hover {
  border-color: rgba(34, 211, 238, 0.45);
}

.hero-poster {
  align-self: center;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(59, 130, 246, 0.08));
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.12);
}

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

.hero-tools {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 5;
  width: min(1232px, calc(100% - 48px));
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(226, 232, 240, 0.36);
  cursor: pointer;
}

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

.hero-search {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(226, 232, 240, 0.12);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(16px);
}

.hero-search input,
.filter-bar input,
.filter-bar select {
  border: 1px solid rgba(226, 232, 240, 0.12);
  outline: none;
  color: white;
  background: rgba(2, 6, 23, 0.64);
  border-radius: 12px;
}

.hero-search input {
  min-width: 260px;
  padding: 0 14px;
}

.hero-search button {
  border: 0;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 800;
  padding: 0 18px;
  cursor: pointer;
}

.section-wrap,
.feature-band,
.watch-section {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.section-wrap {
  padding: 74px 0 0;
}

.intro-section {
  margin-top: 10px;
}

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

.section-head h2,
.text-panel h2,
.footer-column h2 {
  margin: 0;
  color: white;
  line-height: 1.2;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.04em;
}

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

.section-head > a {
  color: var(--cyan);
  font-weight: 800;
}

.center-head {
  justify-content: center;
  text-align: center;
}

.compact-head h2 {
  font-size: 28px;
}

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

.category-chip,
.category-card-large {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.56));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

.category-chip {
  min-height: 132px;
  padding: 22px;
}

.category-chip strong,
.category-card-large h2 {
  display: block;
  color: white;
  font-size: 20px;
  margin-bottom: 10px;
}

.category-chip span,
.category-card-large p {
  color: var(--muted);
  font-size: 14px;
}

.category-card-large {
  padding: 28px;
  min-height: 260px;
}

.category-card-content span {
  color: var(--cyan);
  font-weight: 800;
}

.category-card-large h2 {
  font-size: 28px;
  margin: 10px 0;
}

.category-sample {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.category-sample a {
  color: #cbd5e1;
  font-size: 14px;
}

.category-sample a:hover {
  color: var(--cyan);
}

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

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

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

.movie-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.68);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
}

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.24), rgba(88, 28, 135, 0.26));
}

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

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

img.image-empty {
  opacity: 0;
}

.year-badge,
.type-badge,
.rank-num {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.year-badge {
  left: 10px;
  top: 10px;
  padding: 5px 9px;
  background: rgba(2, 6, 23, 0.72);
}

.type-badge {
  right: 10px;
  top: 10px;
  padding: 5px 9px;
  background: rgba(34, 211, 238, 0.72);
}

.rank-num {
  left: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--rose), var(--amber));
  box-shadow: 0 12px 28px rgba(244, 63, 94, 0.26);
}

.movie-info {
  padding: 15px;
}

.movie-info h2 {
  margin: 0;
  color: white;
  font-size: 16px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-line {
  min-height: 44px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: #cbd5e1;
  font-size: 12px;
}

.movie-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
}

.rank-panel,
.latest-panel,
.text-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.18);
}

.rank-panel,
.latest-panel {
  padding: 28px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas: "num title" "num meta";
  gap: 0 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid rgba(226, 232, 240, 0.06);
}

.rank-row:hover {
  background: rgba(34, 211, 238, 0.08);
}

.rank-row span {
  grid-area: num;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
}

.rank-row strong {
  grid-area: title;
  overflow: hidden;
  color: white;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-row em {
  grid-area: meta;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.feature-band {
  margin-top: 74px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.band-violet {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.72), rgba(15, 23, 42, 0.92));
}

.band-rose {
  background: linear-gradient(135deg, rgba(136, 19, 55, 0.7), rgba(15, 23, 42, 0.92));
}

.band-amber {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.72), rgba(15, 23, 42, 0.92));
}

.band-emerald {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.72), rgba(15, 23, 42, 0.92));
}

.band-cyan {
  background: linear-gradient(135deg, rgba(21, 94, 117, 0.72), rgba(15, 23, 42, 0.92));
}

.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: end;
  padding: 150px calc((100vw - 1280px) / 2 + 24px) 64px;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.22), transparent 34rem), linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.94));
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(to top, #020617, transparent);
}

.page-hero > div {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

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

.rank-hero {
  background-size: cover;
  background-position: center;
}

.filter-section {
  padding-bottom: 24px;
}

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

.filter-bar input,
.filter-bar select {
  min-height: 48px;
  padding: 0 14px;
}

.quick-tags,
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.quick-tags button,
.category-tabs button {
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 999px;
  padding: 8px 13px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.7);
  cursor: pointer;
}

.quick-tags button.is-active,
.category-tabs button.is-active,
.quick-tags button:hover,
.category-tabs button:hover {
  color: white;
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.14);
}

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

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 138px 0 70px;
  min-height: 680px;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #020617, rgba(2, 6, 23, 0.2), transparent);
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 44px;
  align-items: end;
}

.detail-cover {
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.14);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.26), rgba(88, 28, 135, 0.22));
  box-shadow: var(--shadow);
}

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

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

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

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-meta span {
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(226, 232, 240, 0.12);
  color: #dbeafe;
}

.watch-section {
  padding-top: 74px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.12);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: white;
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.18), rgba(2, 6, 23, 0.76));
  border: 0;
  cursor: pointer;
}

.player-cover.is-hidden {
  display: none;
}

.play-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 24px 58px rgba(37, 99, 235, 0.38);
  font-size: 30px;
  padding-left: 4px;
}

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

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.text-panel {
  padding: 28px;
}

.text-panel h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.text-panel p {
  color: #cbd5e1;
  font-size: 16px;
  margin: 0;
}

.site-footer {
  margin-top: 90px;
  padding: 60px 0 28px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.42), rgba(2, 6, 23, 0.96));
  border-top: 1px solid rgba(226, 232, 240, 0.08);
}

.footer-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  color: var(--muted);
  margin: 18px 0 0;
  max-width: 440px;
}

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

.footer-column h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

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

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  width: min(1280px, calc(100% - 48px));
  margin: 34px auto 0;
  padding-top: 22px;
  color: #64748b;
  border-top: 1px solid rgba(226, 232, 240, 0.08);
  font-size: 14px;
}

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

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

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

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

  .mobile-toggle {
    display: block;
  }

  .nav-shell {
    height: 66px;
    padding: 0 18px;
  }

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

  .hero-carousel {
    min-height: 84vh;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-items: end;
    padding: 118px 22px 128px;
  }

  .hero-poster {
    display: none;
  }

  .hero-tools {
    flex-direction: column;
    align-items: stretch;
    bottom: 22px;
    width: calc(100% - 36px);
  }

  .hero-search input {
    min-width: 0;
    width: 100%;
  }

  .section-wrap,
  .feature-band,
  .watch-section,
  .footer-inner,
  .footer-bottom,
  .detail-inner {
    width: calc(100% - 36px);
  }

  .section-head,
  .two-column-section,
  .detail-content,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-head {
    align-items: start;
  }

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

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

  .filter-bar,
  .search-filter-bar {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 350px;
    padding: 118px 22px 54px;
  }

  .detail-hero {
    padding-top: 110px;
  }

  .detail-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail-cover {
    width: min(260px, 70vw);
  }
}

@media (max-width: 520px) {
  .hero-content h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: 36px;
  }

  .hero-actions,
  .page-actions {
    display: grid;
  }

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

  .feature-band,
  .rank-panel,
  .latest-panel,
  .text-panel {
    padding: 22px;
    border-radius: 22px;
  }

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