:root {
  --bg: #030712;
  --bg-soft: #07111f;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(103, 232, 249, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.16);
  --pink: #f472b6;
  --violet: #8b5cf6;
  --gold: #fbbf24;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(34, 211, 238, 0.16), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(244, 114, 182, 0.12), transparent 28%),
    linear-gradient(180deg, #020617 0%, #030712 42%, #050816 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 70%);
  z-index: -1;
}

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

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

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

.nav-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #031019;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.35);
}

.brand-text {
  font-size: 20px;
  background: linear-gradient(135deg, #ffffff, #67e8f9 55%, #f9a8d4);
  -webkit-background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  color: #cbd5e1;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: #ffffff;
  background: rgba(34, 211, 238, 0.13);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.nav-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
}

.nav-search input,
.mobile-search input,
.filter-bar input,
.filter-bar select {
  color: #e2e8f0;
  background: rgba(2, 6, 23, 0.58);
  border: 1px solid rgba(103, 232, 249, 0.18);
  outline: none;
  border-radius: 999px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-search input {
  width: 240px;
  padding: 9px 14px;
  border: 0;
  background: transparent;
}

.nav-search input:focus,
.mobile-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(34, 211, 238, 0.68);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.nav-search button,
.mobile-search button,
.primary-btn,
.ghost-btn,
.text-btn,
.play-trigger,
.pagination a {
  border: 0;
  cursor: pointer;
  font-weight: 800;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.nav-search button,
.mobile-search button,
.primary-btn {
  color: #04111d;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  box-shadow: 0 18px 40px rgba(34, 211, 238, 0.22);
}

.nav-search button {
  padding: 9px 16px;
}

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

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 10px;
  background: #e2e8f0;
}

.mobile-panel {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.92);
}

.mobile-panel.is-open {
  display: grid;
  gap: 10px;
}

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 8px;
}

.mobile-search input {
  min-width: 0;
  padding: 12px 14px;
}

.mobile-search button {
  padding: 0 16px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 58px 0 36px;
}

.hero-shell,
.main-content,
.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-shell {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
}

.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.38;
}

.hero-glow-a {
  left: 5%;
  top: 16%;
  background: var(--cyan);
}

.hero-glow-b {
  right: 4%;
  top: 8%;
  background: var(--pink);
}

.hero-heading {
  position: absolute;
  top: 28px;
  left: 0;
  width: min(560px, 100%);
  z-index: 4;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-heading h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.hero-heading h1 {
  font-size: clamp(46px, 8vw, 96px);
  background: linear-gradient(135deg, #ffffff 10%, #67e8f9 48%, #f9a8d4 82%);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-heading p:not(.eyebrow),
.page-hero p,
.section-title p,
.detail-one-line,
.article-section p,
.movie-card-body p,
.category-card p,
.category-samples,
.footer-inner p {
  color: var(--muted);
}

.hero-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.8;
}

.hero-slider {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 38px;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.68);
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: end;
  gap: 36px;
  padding: 168px 46px 46px;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.78) 46%, rgba(2, 6, 23, 0.35) 100%),
    radial-gradient(circle at 72% 22%, rgba(34, 211, 238, 0.24), transparent 38%);
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(1.1) contrast(1.05);
}

.hero-image.poster-missing {
  background:
    radial-gradient(circle at 60% 30%, rgba(34, 211, 238, 0.24), transparent 38%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(88, 28, 135, 0.48));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.hero-summary {
  margin: 20px 0 0;
  color: #dbeafe;
  font-size: 17px;
  line-height: 1.85;
}

.hero-tags,
.chip-row,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin: 22px 0 0;
}

.hero-tags span,
.chip-row span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 999px;
  color: #cffafe;
  background: rgba(8, 47, 73, 0.38);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn,
.ghost-btn,
.text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-btn,
.ghost-btn {
  min-height: 46px;
  padding: 0 20px;
}

.ghost-btn {
  color: #e0f2fe;
  border: 1px solid rgba(103, 232, 249, 0.28);
  background: rgba(15, 23, 42, 0.68);
}

.text-btn {
  color: var(--cyan);
  min-height: 40px;
  padding: 0 6px;
}

.primary-btn:hover,
.ghost-btn:hover,
.text-btn:hover,
.play-trigger:hover,
.pagination a:hover {
  transform: translateY(-2px);
}

.primary-btn:hover,
.play-trigger:hover {
  box-shadow: 0 22px 54px rgba(34, 211, 238, 0.28);
}

.hero-dots {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(226, 232, 240, 0.28);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 54px;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
}

.hero-category-strip {
  position: relative;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.64);
  backdrop-filter: blur(18px);
}

.hero-category-strip span,
.hero-category-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.hero-category-strip span {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
}

.hero-category-strip a {
  color: #bae6fd;
  background: rgba(34, 211, 238, 0.1);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-category-strip a:hover {
  background: rgba(34, 211, 238, 0.2);
  transform: translateY(-1px);
}

.main-content {
  padding: 40px 0 76px;
}

.page-top {
  padding-top: 46px;
}

.section-block {
  margin-top: 48px;
}

.section-title {
  margin-bottom: 22px;
}

.section-title h2,
.article-section h2,
.category-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.section-title p:not(.eyebrow) {
  margin: 12px 0 0;
  max-width: 760px;
  line-height: 1.75;
}

.row-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.movie-grid,
.category-grid,
.rank-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.movie-card,
.category-card,
.page-hero,
.detail-hero,
.player-wrap,
.article-section,
.filter-bar {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.52));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 26px 64px rgba(34, 211, 238, 0.12);
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 70% 12%, rgba(244, 114, 182, 0.34), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(34, 211, 238, 0.32), transparent 34%),
    linear-gradient(135deg, #0f172a, #111827 48%, #312e81);
}

.movie-card .poster {
  border-radius: 24px 24px 0 0;
}

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

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

.poster-year,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-weight: 900;
}

.poster-year {
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: #ecfeff;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(103, 232, 249, 0.25);
  backdrop-filter: blur(10px);
  font-size: 12px;
}

.rank-badge {
  left: 12px;
  top: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #020617;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  box-shadow: 0 12px 28px rgba(251, 191, 36, 0.25);
}

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

.movie-meta-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: #67e8f9;
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
}

.movie-card h3 a:hover {
  color: var(--cyan);
}

.movie-card-body p {
  margin: 10px 0 14px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.58;
}

.chip-row span {
  min-height: 26px;
  padding: 4px 9px;
  color: #dbeafe;
  font-size: 12px;
  background: rgba(15, 23, 42, 0.8);
}

.compact-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  min-height: 158px;
}

.compact-card .poster {
  height: 100%;
  min-height: 158px;
  border-radius: 24px 0 0 24px;
}

.compact-card .movie-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.compact-card .movie-card-body p {
  min-height: 0;
}

.category-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 114, 182, 0.38);
}

.category-cover {
  display: grid;
  place-items: center;
  min-height: 138px;
  border-radius: 24px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 24% 20%, rgba(34, 211, 238, 0.48), transparent 32%),
    linear-gradient(135deg, rgba(88, 28, 135, 0.95), rgba(8, 47, 73, 0.86));
}

.category-cover span {
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.category-card h2 {
  font-size: 24px;
}

.category-card p,
.category-samples {
  margin: 10px 0 0;
  line-height: 1.7;
}

.category-samples a {
  color: #bae6fd;
}

.category-samples a:hover {
  color: #f9a8d4;
}

.center-action {
  margin-top: 24px;
  text-align: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 32px;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.18);
  filter: blur(10px);
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 68px);
}

.page-hero p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.8;
}

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

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

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 160px;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 24px;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
}

.filter-bar select {
  appearance: none;
}

.empty-state {
  display: none;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(244, 114, 182, 0.28);
  border-radius: 20px;
  color: #fecdd3;
  background: rgba(76, 29, 149, 0.16);
  text-align: center;
  font-weight: 800;
}

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

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.pagination a {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #cffafe;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.72);
}

.pagination a.is-current {
  color: #031019;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(240px, 330px) 1fr;
  gap: 34px;
  align-items: end;
  padding: 28px;
  border-radius: 34px;
}

.detail-poster {
  width: 100%;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.detail-copy h1 {
  font-size: clamp(42px, 6vw, 76px);
}

.detail-one-line {
  margin: 18px 0 20px;
  font-size: 18px;
  line-height: 1.75;
}

.detail-tags {
  margin-top: 16px;
}

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

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

.movie-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
}

.play-trigger {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 24px;
  color: #031019;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  transform: translate(-50%, -50%);
}

.play-trigger:hover {
  transform: translate(-50%, calc(-50% - 2px));
}

.play-trigger.is-playing {
  opacity: 0;
  pointer-events: none;
}

.play-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding-left: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
}

.article-section {
  padding: 30px;
  border-radius: 28px;
}

.article-section h2 {
  margin-top: 26px;
  font-size: 28px;
}

.article-section h2:first-child {
  margin-top: 0;
}

.article-section p {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.95;
}

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

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

.footer-inner {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 30px 0;
}

.footer-brand {
  color: #ffffff;
  font-size: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #bae6fd;
  font-weight: 800;
}

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

.footer-inner p {
  margin: 0;
}

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

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

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

  .hero-slide {
    grid-template-columns: 1fr;
    padding-right: 32px;
    padding-left: 32px;
  }

  .hero-heading {
    left: 32px;
  }
}

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .hero-shell {
    min-height: 680px;
  }

  .hero-heading {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 22px;
  }

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

  .hero-slide {
    padding: 36px 24px 88px;
  }

  .hero-dots {
    left: 24px;
    right: auto;
  }

  .category-grid,
  .filter-bar,
  .detail-hero {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .nav-shell,
  .hero-shell,
  .main-content,
  .footer-inner,
  .mobile-panel {
    width: min(100% - 22px, 1240px);
  }

  .hero-section {
    padding-top: 32px;
  }

  .hero-slider {
    border-radius: 28px;
  }

  .hero-copy h2 {
    font-size: 36px;
  }

  .hero-summary,
  .detail-one-line,
  .article-section p {
    font-size: 15px;
  }

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

  .movie-grid,
  .rank-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

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

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

  .movie-card-body p {
    font-size: 13px;
  }

  .compact-card {
    grid-template-columns: 88px 1fr;
  }

  .compact-card .poster {
    min-height: 142px;
  }

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

  .category-cover {
    min-height: 110px;
  }

  .page-hero,
  .detail-hero,
  .article-section {
    padding: 22px;
    border-radius: 26px;
  }

  .player-wrap {
    border-radius: 24px;
  }
}

@media (max-width: 420px) {
  .movie-grid,
  .rank-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .movie-card {
    display: grid;
    grid-template-columns: 118px 1fr;
  }

  .movie-card .poster {
    height: 100%;
    min-height: 176px;
    border-radius: 24px 0 0 24px;
  }
}
