:root {
  --page-bg: #020617;
  --panel-bg: rgba(15, 23, 42, 0.78);
  --panel-soft: rgba(30, 41, 59, 0.72);
  --panel-strong: rgba(2, 6, 23, 0.94);
  --border: rgba(148, 163, 184, 0.18);
  --text: #e5eefb;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --blue: #60a5fa;
  --cyan: #22d3ee;
  --red: #f87171;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(59, 130, 246, 0.22), transparent 35%),
    radial-gradient(circle at 82% 12%, rgba(34, 211, 238, 0.15), transparent 34%),
    linear-gradient(180deg, #020617 0%, #07111f 42%, #020617 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 72%);
}

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

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

button,
input,
select {
  font: inherit;
}

main {
  min-height: 70vh;
}

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

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

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

.brand-text,
.footer-brand {
  font-size: 24px;
  color: transparent;
  background: linear-gradient(90deg, #93c5fd, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav-link,
.mobile-link {
  color: #cbd5e1;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link {
  padding: 10px 0;
  font-size: 15px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(30, 41, 59, 0.8);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  border-radius: 999px;
}

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

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

.mobile-link {
  padding: 10px 12px;
  border-radius: 12px;
}

.mobile-link:hover,
.mobile-link.active {
  background: rgba(59, 130, 246, 0.16);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  min-height: 690px;
  padding: 110px max(24px, calc((100vw - var(--container)) / 2)) 96px;
  opacity: 0;
  visibility: hidden;
  background-size: cover;
  background-position: center;
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 1.2s ease;
  transform: scale(1.02);
}

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

.hero-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.74) 46%, rgba(2, 6, 23, 0.26) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.25) 38%, rgba(2, 6, 23, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h1,
.inner-hero h1,
.detail-info h1 {
  margin: 0;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-content h1 {
  max-width: 860px;
  font-size: clamp(42px, 7vw, 78px);
}

.hero-content h2 {
  margin: 18px 0 10px;
  color: #dbeafe;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
}

.hero-summary {
  max-width: 660px;
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
}

.hero-tags,
.tag-row,
.detail-meta,
.crumbs,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.tag-row span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.14);
}

.hero-actions {
  margin-top: 32px;
}

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

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

.btn-primary {
  color: #020617;
  background: linear-gradient(135deg, #93c5fd, #22d3ee);
  box-shadow: 0 14px 40px rgba(34, 211, 238, 0.22);
}

.btn-soft {
  color: #dbeafe;
  border: 1px solid rgba(147, 197, 253, 0.22);
  background: rgba(30, 41, 59, 0.72);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

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

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
}

.hero-dots {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(12px);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dot.active {
  width: 28px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.search-band {
  width: min(var(--container), calc(100% - 32px));
  margin: -38px auto 0;
  position: relative;
  z-index: 5;
}

.search-form,
.filter-form {
  display: grid;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.search-form {
  grid-template-columns: 1fr auto;
}

.filter-form {
  grid-template-columns: 1fr 170px 170px auto auto;
  margin-bottom: 28px;
}

.search-form input,
.filter-form input,
.filter-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.75);
  outline: none;
  padding: 0 16px;
}

.search-form input:focus,
.filter-form input:focus,
.filter-form select:focus {
  border-color: rgba(96, 165, 250, 0.72);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.search-form button,
.filter-form button {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  padding: 0 20px;
  color: #020617;
  font-weight: 900;
  background: linear-gradient(135deg, #93c5fd, #22d3ee);
  cursor: pointer;
}

.filter-form button[data-filter-reset] {
  color: #e2e8f0;
  background: rgba(51, 65, 85, 0.92);
}

.page-section {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

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

.section-heading h2,
.rank-panel h2,
.side-card h2,
.content-card h2,
.category-overview-head span {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

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

.section-link,
.text-link,
.category-overview-head a {
  color: #93c5fd;
  font-weight: 800;
}

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

.category-pills a {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.65));
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-pills a:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.45);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.42), rgba(15, 23, 42, 0.75));
}

.category-pills strong {
  color: #ffffff;
  font-size: 20px;
}

.category-pills span {
  color: var(--muted);
  font-size: 14px;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(30, 41, 59, 0.86);
}

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

.poster-link img,
.ranking-poster img,
.detail-poster img,
.horizontal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

.play-chip {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 999px;
  color: #020617;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, #bfdbfe, #67e8f9);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #020617;
  background: linear-gradient(135deg, #fecaca, #f87171);
  box-shadow: 0 10px 26px rgba(248, 113, 113, 0.26);
}

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

.movie-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.35;
}

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

.movie-meta,
.detail-line,
.movie-desc,
.content-card p,
.category-overview-card p,
.ranking-info p,
.site-footer p {
  color: var(--muted);
}

.movie-meta {
  margin: 6px 0;
  font-size: 13px;
}

.movie-desc {
  min-height: 44px;
  margin: 8px 0 12px;
  font-size: 14px;
}

.tag-row {
  gap: 6px;
}

.tag-row span {
  min-height: 24px;
  padding: 3px 9px;
  font-size: 12px;
  color: #c4b5fd;
  border-color: rgba(168, 85, 247, 0.18);
  background: rgba(168, 85, 247, 0.12);
}

.tag-row-large span {
  min-height: 32px;
  padding: 5px 12px;
  font-size: 14px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.rank-panel,
.side-card,
.content-card,
.category-overview-card,
.player-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel-bg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

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

.rank-list,
.side-recommend-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.horizontal-card {
  display: grid;
  grid-template-columns: auto 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.65);
  transition: background 0.2s ease, transform 0.2s ease;
}

.horizontal-card:hover {
  transform: translateX(4px);
  background: rgba(51, 65, 85, 0.72);
}

.horizontal-card img {
  width: 64px;
  height: 86px;
  border-radius: 12px;
  background: #0f172a;
}

.horizontal-card strong,
.horizontal-card em,
.horizontal-card small {
  display: block;
}

.horizontal-card strong {
  color: #ffffff;
  line-height: 1.35;
}

.horizontal-card em,
.horizontal-card small {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.rank-number {
  width: 28px;
  color: #64748b;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.inner-hero {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 36px;
}

.inner-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.inner-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.crumbs {
  margin-top: 18px;
  color: #94a3b8;
  font-size: 14px;
}

.crumbs a:hover {
  color: #ffffff;
}

.category-overview-list {
  display: grid;
  gap: 24px;
}

.category-overview-card {
  padding: 24px;
}

.category-overview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}

.rankings-page {
  padding-top: 26px;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 74px 116px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.72);
}

.ranking-number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #020617;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #93c5fd, #22d3ee);
}

.ranking-poster {
  display: block;
  width: 116px;
  height: 154px;
  overflow: hidden;
  border-radius: 16px;
  background: #0f172a;
}

.ranking-info h2 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
}

.ranking-info p {
  margin: 8px 0;
}

.detail-hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.detail-bg,
.detail-overlay {
  position: absolute;
  inset: 0;
}

.detail-bg {
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(1.15);
  transform: scale(1.08);
  opacity: 0.52;
}

.detail-overlay {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.88)),
    linear-gradient(0deg, #020617 0%, transparent 45%, rgba(2, 6, 23, 0.7) 100%);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0 60px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.detail-poster img {
  aspect-ratio: 3 / 4;
}

.detail-info h1 {
  margin-top: 18px;
  font-size: clamp(38px, 6vw, 68px);
}

.detail-line {
  max-width: 780px;
  margin: 18px 0 18px;
  font-size: 18px;
}

.detail-meta {
  margin-bottom: 18px;
}

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

.detail-main,
.detail-side {
  display: grid;
  gap: 24px;
}

.player-card,
.content-card,
.side-card {
  padding: 22px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.player-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(34, 211, 238, 0.18), rgba(2, 6, 23, 0.58)),
    rgba(2, 6, 23, 0.28);
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  color: #020617;
  font-size: 32px;
  background: linear-gradient(135deg, #93c5fd, #22d3ee);
  box-shadow: 0 18px 50px rgba(34, 211, 238, 0.3);
}

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

.player-cover em {
  color: #bfdbfe;
  font-style: normal;
}

.content-card h2,
.side-card h2 {
  font-size: 26px;
}

.content-card p {
  margin: 12px 0 0;
  font-size: 17px;
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.78);
}

.footer-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  gap: 36px;
}

.footer-inner p {
  max-width: 620px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 14px;
}

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

.copyright {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: var(--muted-2);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  text-align: center;
}

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

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 12px;
  }

  .nav-link {
    font-size: 14px;
  }

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

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

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

  .menu-toggle {
    display: block;
  }

  .hero-carousel,
  .hero-slide {
    min-height: 620px;
  }

  .hero-slide {
    padding-top: 92px;
  }

  .feature-row,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .rank-panel {
    position: static;
  }

  .detail-hero-inner {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
  }

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

  .filter-form input {
    grid-column: 1 / -1;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .header-inner {
    height: 64px;
  }

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

  .hero-carousel,
  .hero-slide {
    min-height: 610px;
  }

  .hero-content h1 {
    font-size: 39px;
  }

  .hero-content h2 {
    font-size: 29px;
  }

  .hero-summary,
  .inner-hero p,
  .detail-line {
    font-size: 16px;
  }

  .hero-actions,
  .search-form,
  .filter-form {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .category-pills,
  .movie-grid,
  .movie-grid-home,
  .movie-grid-compact,
  .movie-grid-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .section-heading,
  .category-overview-head {
    display: grid;
    align-items: start;
  }

  .section-heading h2,
  .rank-panel h2,
  .side-card h2,
  .content-card h2,
  .category-overview-head span {
    font-size: 25px;
  }

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

  .movie-desc {
    display: none;
  }

  .ranking-item {
    grid-template-columns: 46px 86px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .ranking-number {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-size: 18px;
  }

  .ranking-poster {
    width: 86px;
    height: 116px;
  }

  .ranking-info h2 {
    font-size: 18px;
  }

  .ranking-info p:not(.movie-meta) {
    display: none;
  }

  .detail-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 82px;
  }

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

  .detail-info h1 {
    font-size: 36px;
  }

  .player-card,
  .content-card,
  .side-card,
  .category-overview-card {
    padding: 16px;
  }

  .player-icon {
    width: 68px;
    height: 68px;
    font-size: 26px;
  }

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

@media (max-width: 430px) {
  .category-pills,
  .movie-grid,
  .movie-grid-home,
  .movie-grid-compact,
  .movie-grid-mini {
    grid-template-columns: 1fr;
  }

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

  .horizontal-card .rank-number {
    display: none;
  }
}
