:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: #111827;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #22d3ee;
  --cyan-strong: #06b6d4;
  --blue: #2563eb;
  --pink: #ec4899;
  --amber: #f59e0b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.2), transparent 34rem),
    radial-gradient(circle at 80% 8%, rgba(236, 72, 153, 0.16), transparent 30rem),
    linear-gradient(180deg, #020617 0%, #07111f 45%, #020617 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 76%);
}

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;
  backdrop-filter: blur(22px);
  background: rgba(2, 6, 23, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1240px, 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: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-weight: 900;
  color: #001018;
  background: linear-gradient(135deg, var(--cyan), #67e8f9 45%, #a78bfa);
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.38);
}

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

.brand-text small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
}

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

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #cbd5e1;
  transition: 0.22s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
  background: rgba(34, 211, 238, 0.12);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.25);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: #fff;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  margin: 28px auto 0;
  min-height: 72vh;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.82));
  box-shadow: var(--shadow);
}

.hero-bg {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.24), transparent 24rem),
    radial-gradient(circle at 80% 40%, rgba(236, 72, 153, 0.22), transparent 28rem),
    conic-gradient(from 140deg, rgba(37, 99, 235, 0.16), transparent, rgba(34, 211, 238, 0.18));
  filter: blur(5px);
}

.hero-slider {
  position: relative;
  z-index: 2;
  min-height: 72vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
  padding: clamp(30px, 6vw, 72px);
  opacity: 0;
  transform: translateX(36px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero h1,
.page-hero h1,
.ranking-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero p,
.page-hero p,
.ranking-hero p {
  color: #cbd5e1;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.9;
  max-width: 680px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.hero-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

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

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

.btn.primary {
  color: #001018;
  background: linear-gradient(135deg, var(--cyan), #a5f3fc);
  box-shadow: 0 14px 38px rgba(34, 211, 238, 0.26);
}

.btn.ghost {
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid var(--line);
}

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

.hero-media,
.ranking-feature,
.detail-poster,
.poster-frame,
.ranking-poster,
.category-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.28), transparent 11rem),
    linear-gradient(135deg, #0f172a, #111827);
}

.hero-media {
  min-height: clamp(360px, 48vw, 560px);
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-media::after,
.category-card::after,
.poster-frame::after,
.detail-poster::after,
.ranking-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.1) 56%, transparent);
  pointer-events: none;
}

.hero-media img,
.category-card img,
.poster-frame img,
.detail-poster img,
.ranking-feature img,
.ranking-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-score {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  color: #001018;
  background: rgba(103, 232, 249, 0.95);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: clamp(28px, 6vw, 72px);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.7);
  cursor: pointer;
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
}

.hero-dots button.is-active {
  width: 28px;
  background: var(--cyan);
}

.search-panel,
.section-wrap,
.split-section,
.content-with-side,
.page-hero,
.ranking-hero,
.player-section,
.breadcrumb {
  width: min(1240px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.search-panel {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: center;
}

.search-panel h2,
.section-title h2,
.rank-panel h2,
.tag-cloud h2,
.story-card h2,
.info-card h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.search-controls {
  display: grid;
  grid-template-columns: 1fr 160px 160px;
  gap: 12px;
}

.search-controls input,
.search-controls select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  color: #e2e8f0;
  outline: none;
  background: rgba(2, 6, 23, 0.62);
  padding: 0 14px;
}

.empty-state {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

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

.section-wrap {
  margin-top: 54px;
}

.section-wrap.no-pad {
  width: auto;
  margin-top: 0;
}

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

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

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

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

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

.poster-frame {
  display: block;
  aspect-ratio: 2 / 3;
}

.poster-frame img {
  transition: transform 0.45s ease;
}

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

.badge {
  position: absolute;
  top: 10px;
  z-index: 3;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.badge-left {
  left: 10px;
}

.badge-right {
  right: 10px;
}

.play-dot {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #001018;
  background: rgba(103, 232, 249, 0.96);
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: 0.24s ease;
}

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

.card-body {
  display: block;
  padding: 14px;
}

.card-body strong,
.ranking-main strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 16px;
}

.card-body em,
.ranking-main em,
.category-card em,
.rank-item em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.card-desc {
  display: block;
  min-height: 42px;
  margin-top: 10px;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

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

.category-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.category-card img {
  position: absolute;
  inset: 0;
  opacity: 0.44;
  filter: saturate(1.05);
  transition: 0.36s ease;
}

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

.category-card strong,
.category-card em,
.category-card span:not(.category-glow) {
  position: relative;
  z-index: 2;
}

.category-card strong {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.category-card span:not(.category-glow) {
  margin-top: 14px;
  color: var(--cyan);
  font-weight: 900;
}

.category-card.large {
  min-height: 280px;
}

.category-glow {
  position: absolute;
  inset: auto -30px -40px -30px;
  height: 120px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.32), transparent 66%);
  z-index: 1;
}

.split-section,
.content-with-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  margin-top: 54px;
}

.compact-section {
  width: auto;
  margin-top: 0;
}

.rank-panel,
.story-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  padding: 22px;
}

.sticky-panel {
  position: sticky;
  top: 96px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.46);
  border: 1px solid transparent;
  transition: 0.22s ease;
}

.rank-item:hover {
  border-color: rgba(34, 211, 238, 0.34);
  transform: translateX(4px);
}

.rank-item span,
.ranking-index {
  color: var(--cyan);
  font-weight: 900;
}

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

.tag-cloud {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.64);
}

.tag-cloud div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag-cloud a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(2, 6, 23, 0.46);
  border: 1px solid var(--line);
}

.page-hero,
.ranking-hero {
  margin-top: 28px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 10%, rgba(34, 211, 238, 0.24), transparent 26rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.78));
  box-shadow: var(--shadow);
}

.soft-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.2), transparent 24rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.78));
}

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

.ranking-feature {
  display: block;
  min-height: 440px;
  border-radius: 28px;
  border: 1px solid var(--line);
}

.ranking-feature strong,
.ranking-feature span {
  position: absolute;
  z-index: 3;
  left: 22px;
}

.ranking-feature strong {
  bottom: 58px;
  right: 22px;
  font-size: 26px;
}

.ranking-feature span {
  bottom: 24px;
  color: var(--cyan);
  font-weight: 900;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 54px 70px minmax(0, 1fr) auto 70px;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  transition: 0.22s ease;
}

.ranking-row:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.38);
}

.ranking-poster {
  width: 70px;
  height: 94px;
  border-radius: 12px;
}

.ranking-meta {
  color: var(--muted);
  white-space: nowrap;
}

.ranking-score {
  color: var(--cyan);
  font-size: 24px;
  font-weight: 900;
  text-align: right;
}

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

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

.detail-hero {
  width: min(1240px, calc(100% - 32px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.24), transparent 28rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.78));
  box-shadow: var(--shadow);
}

.detail-poster {
  aspect-ratio: 2 / 3;
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.detail-info h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.detail-info p {
  max-width: 780px;
  color: #cbd5e1;
  line-height: 1.9;
  font-size: 18px;
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.detail-stats strong,
.detail-stats span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.52);
  border: 1px solid var(--line);
}

.detail-stats strong {
  color: var(--cyan);
}

.player-section {
  margin-top: 42px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 9;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  cursor: pointer;
  background:
    radial-gradient(circle, rgba(34, 211, 238, 0.26), transparent 17rem),
    linear-gradient(180deg, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.76));
  transition: opacity 0.22s ease;
}

.play-overlay span {
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #001018;
  background: linear-gradient(135deg, var(--cyan), #a5f3fc);
  box-shadow: 0 0 42px rgba(34, 211, 238, 0.34);
  font-size: 30px;
}

.play-overlay strong {
  font-size: 20px;
}

.player-box.is-playing .play-overlay {
  opacity: 0;
  pointer-events: none;
}

.story-card p {
  color: #cbd5e1;
  line-height: 2;
  font-size: 16px;
}

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

.info-card dt {
  color: var(--muted);
}

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

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 74px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.72);
}

.footer-grid {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 28px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: var(--muted);
}

.footer-grid h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

.footer-grid a {
  display: block;
  margin-top: 9px;
}

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

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

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

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

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

  .hero-slide,
  .ranking-hero,
  .detail-hero,
  .split-section,
  .content-with-side {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 420px;
    transform: none;
  }

  .sticky-panel {
    position: static;
  }
}

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

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.96);
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero,
  .hero-slider {
    min-height: 760px;
  }

  .hero-slide {
    padding: 28px;
    align-content: center;
  }

  .hero-media {
    min-height: 340px;
  }

  .search-panel,
  .search-controls {
    grid-template-columns: 1fr;
  }

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

  .ranking-row {
    grid-template-columns: 42px 62px minmax(0, 1fr) 54px;
  }

  .ranking-meta {
    display: none;
  }

  .detail-poster {
    max-width: 320px;
  }
}

@media (max-width: 560px) {
  .brand-text small {
    display: none;
  }

  .hero,
  .page-hero,
  .ranking-hero,
  .detail-hero {
    border-radius: 22px;
  }

  .hero,
  .hero-slider {
    min-height: 700px;
  }

  .hero-slide {
    padding: 22px;
  }

  .hero h1,
  .page-hero h1,
  .ranking-hero h1,
  .detail-info h1 {
    font-size: 36px;
  }

  .hero-media {
    min-height: 280px;
  }

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

  .section-title {
    align-items: start;
    flex-direction: column;
  }

  .play-overlay span {
    width: 66px;
    height: 66px;
  }
}
