:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(51, 65, 85, 0.9);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #06b6d4;
  --cyan-soft: rgba(6, 182, 212, 0.16);
  --blue: #2563eb;
  --shadow: 0 24px 80px rgba(6, 182, 212, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

img.is-missing {
  opacity: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.88);
  border-bottom: 1px solid rgba(51, 65, 85, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.34);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: white;
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.22);
}

.logo-text,
.footer-logo span:last-child {
  font-size: 1.18rem;
  background: linear-gradient(90deg, #22d3ee, #3b82f6);
  -webkit-background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  color: #cbd5e1;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.12);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 16px 16px;
  background: rgba(15, 23, 42, 0.98);
}

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

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  padding: 48px 0 34px;
}

.hero-orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.28;
  pointer-events: none;
}

.hero-orb-one {
  background: var(--cyan);
  top: 80px;
  left: -120px;
}

.hero-orb-two {
  background: var(--blue);
  right: -140px;
  bottom: 80px;
}

.hero-stage {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  gap: 38px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(51, 65, 85, 0.86);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.72)),
    linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(37, 99, 235, 0.16));
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  overflow: hidden;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) saturate(1.1);
  transform: scale(1.08);
}

.eyebrow {
  color: #67e8f9;
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
}

.hero-desc,
.page-hero p,
.detail-copy p {
  margin: 20px 0 0;
  color: #cbd5e1;
  line-height: 1.85;
  font-size: 1.03rem;
}

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

.hero-tags span,
.detail-tags span {
  border: 1px solid rgba(6, 182, 212, 0.28);
  color: #a5f3fc;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
}

.hero-actions,
.detail-copy .btn {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: white;
  box-shadow: 0 16px 34px rgba(6, 182, 212, 0.2);
}

.btn-ghost {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.6);
  margin-left: 10px;
}

.hero-poster {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(37, 99, 235, 0.2));
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.42);
}

.hero-poster img,
.detail-cover img,
.movie-thumb img,
.ranking-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.hero-controls {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-arrow,
.hero-dot {
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.78);
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.8rem;
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-color: transparent;
}

.search-panel {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.68);
  box-shadow: 0 18px 55px rgba(2, 6, 23, 0.24);
}

.search-panel h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

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

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

.section-heading p {
  color: #67e8f9;
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.section-heading span,
.section-link {
  display: inline-block;
  color: var(--muted);
  margin-top: 8px;
}

.section-link {
  color: #67e8f9;
  font-weight: 800;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px 180px;
  gap: 12px;
  align-items: end;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(51, 65, 85, 0.75);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.58);
}

.filter-bar label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid rgba(71, 85, 105, 0.92);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.68);
  color: #e2e8f0;
  min-height: 44px;
  padding: 0 14px;
  outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(6, 182, 212, 0.72);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

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

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

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

.movie-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.86);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.62);
  box-shadow: 0 12px 34px rgba(2, 6, 23, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.58);
  box-shadow: 0 22px 44px rgba(6, 182, 212, 0.12);
}

.movie-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(37, 99, 235, 0.18));
}

.thumb-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.72));
}

.type-badge,
.year-badge,
.play-mark {
  position: absolute;
  z-index: 2;
}

.type-badge,
.year-badge {
  top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  color: white;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(8px);
}

.type-badge {
  left: 10px;
}

.year-badge {
  right: 10px;
}

.play-mark {
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.86);
  color: white;
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.movie-body {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.movie-body strong {
  color: white;
  line-height: 1.35;
  font-size: 1rem;
}

.movie-body em {
  min-height: 42px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  font-style: normal;
}

.movie-meta {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.45;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
}

.rank-card,
.text-card,
.info-card,
.category-block,
.category-card {
  border: 1px solid rgba(51, 65, 85, 0.86);
  background: rgba(15, 23, 42, 0.62);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.18);
}

.rank-card {
  align-self: start;
  position: sticky;
  top: 92px;
  padding: 22px;
}

.rank-card h2 {
  margin: 0 0 16px;
  font-size: 1.4rem;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.38);
}

.rank-row span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.12);
  font-weight: 800;
}

.rank-row strong,
.rank-row em {
  grid-column: 2;
}

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

.rank-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
}

.category-block {
  padding: 20px;
  margin-bottom: 22px;
}

.category-block-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.category-block-head p {
  margin: 0 0 8px;
  color: #67e8f9;
  font-weight: 800;
}

.category-block-head h3 {
  margin: 0;
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
}

.category-block-head a {
  color: #67e8f9;
  font-weight: 800;
  white-space: nowrap;
}

.page-hero {
  padding: 82px 0 46px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.55);
  background:
    radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.16), transparent 32rem),
    linear-gradient(180deg, rgba(15, 23, 42, 0.76), rgba(2, 6, 23, 0));
}

.page-hero-inner {
  max-width: 820px;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

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

.category-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.56);
}

.category-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.category-card strong {
  font-size: 1.28rem;
}

.category-card em,
.category-card span:last-child {
  color: var(--muted);
  line-height: 1.65;
  font-style: normal;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 54px 104px minmax(0, 1fr) 72px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(51, 65, 85, 0.76);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.62);
}

.ranking-num {
  color: #67e8f9;
  font-size: 1.2rem;
  font-weight: 900;
}

.ranking-item img {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: rgba(6, 182, 212, 0.12);
}

.ranking-item strong,
.ranking-item em {
  display: block;
}

.ranking-item strong {
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.ranking-item em {
  color: var(--muted);
  line-height: 1.6;
  font-style: normal;
}

.ranking-item b {
  color: #cbd5e1;
}

.detail-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 66px 0;
}

.detail-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.26;
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.5)), linear-gradient(0deg, var(--bg), transparent 45%);
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(9px) saturate(1.1);
  transform: scale(1.08);
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 38px;
  align-items: end;
}

.detail-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(37, 99, 235, 0.24));
  box-shadow: 0 30px 90px rgba(2, 6, 23, 0.5);
}

.detail-cover span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: rgba(6, 182, 212, 0.86);
  transform: translate(-50%, -50%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.breadcrumbs a:hover {
  color: #67e8f9;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.detail-meta span {
  color: #cbd5e1;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(71, 85, 105, 0.7);
}

.player-section {
  padding: 26px 0 42px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: #020617;
  box-shadow: 0 28px 90px rgba(2, 6, 23, 0.52);
}

.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: black;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: white;
  background: radial-gradient(circle, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.58));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 42px rgba(6, 182, 212, 0.26);
  font-size: 1.4rem;
}

.player-overlay strong {
  align-self: start;
  margin-top: -140px;
  font-size: 1rem;
}

.player-shell.is-playing .player-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-message {
  position: absolute;
  left: 18px;
  bottom: 76px;
  margin: 0;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.72);
  border-radius: 12px;
  padding: 8px 12px;
  display: none;
}

.player-message.is-visible {
  display: block;
}

.player-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px;
  background: rgba(15, 23, 42, 0.94);
  border-top: 1px solid rgba(51, 65, 85, 0.8);
}

.player-actions button {
  border: 1px solid rgba(71, 85, 105, 0.88);
  background: rgba(2, 6, 23, 0.42);
  color: #e2e8f0;
  border-radius: 12px;
  min-height: 40px;
  padding: 0 14px;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
}

.text-card,
.info-card {
  padding: 26px;
}

.text-card h2,
.info-card h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.text-card h2:not(:first-child) {
  margin-top: 28px;
}

.text-card p {
  color: #cbd5e1;
  line-height: 1.95;
  margin: 0;
}

.info-card dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
}

.info-card dt {
  color: #64748b;
}

.info-card dd {
  margin: 0;
  color: #e2e8f0;
  line-height: 1.5;
}

.empty-state {
  display: none;
  color: var(--muted);
  text-align: center;
  padding: 42px 0;
}

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

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(51, 65, 85, 0.78);
  background: rgba(2, 6, 23, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding: 42px 0;
}

.site-footer p,
.site-footer a {
  display: block;
  color: var(--muted);
  line-height: 1.75;
  margin: 12px 0 0;
}

.site-footer a:hover {
  color: #67e8f9;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(51, 65, 85, 0.65);
  color: #64748b;
  text-align: center;
  padding: 18px;
  font-size: 0.9rem;
}

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

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

  .rank-card {
    position: static;
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 720px;
    padding-top: 24px;
  }

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

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 22px;
  }

  .hero-poster {
    width: min(100%, 340px);
    justify-self: center;
    aspect-ratio: 16 / 10;
  }

  .search-panel,
  .section-heading,
  .category-block-head {
    align-items: stretch;
    flex-direction: column;
  }

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

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

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

  .detail-cover {
    width: min(100%, 340px);
  }

  .ranking-item {
    grid-template-columns: 42px 84px minmax(0, 1fr);
  }

  .ranking-item b {
    display: none;
  }

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

@media (max-width: 560px) {
  .container,
  .hero-stage,
  .hero-controls {
    width: min(100% - 20px, 1180px);
  }

  .header-inner {
    height: 62px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .hero {
    min-height: 680px;
  }

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

  .hero-slide {
    border-radius: 22px;
    padding: 20px;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: clamp(2rem, 13vw, 3.6rem);
  }

  .btn {
    width: 100%;
  }

  .btn-ghost {
    margin: 10px 0 0;
  }

  .category-grid,
  .large-grid,
  .movie-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .movie-body em {
    min-height: auto;
  }

  .page-hero {
    padding: 52px 0 34px;
  }

  .detail-hero {
    padding: 42px 0;
  }

  .player-actions button {
    flex: 1 1 120px;
  }
}
