
:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-solid: #111827;
  --line: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #06b6d4;
  --cyan-deep: #0891b2;
  --orange: #f97316;
  --yellow: #facc15;
  --shadow: 0 24px 80px rgba(8, 145, 178, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #020617 0%, #0f172a 44%, #020617 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 8%, rgba(6, 182, 212, 0.14), transparent 26%),
    radial-gradient(circle at 80% 18%, rgba(249, 115, 22, 0.10), transparent 22%),
    linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.9));
  z-index: -1;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.94);
  border-bottom: 1px solid rgba(30, 41, 59, 0.92);
  backdrop-filter: blur(16px);
}

.nav-bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand:hover .brand-icon {
  transform: rotate(180deg);
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  transition: transform 0.5s ease;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

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

.brand-text em {
  margin-top: 3px;
  color: var(--cyan);
  font-size: 12px;
  font-style: normal;
}

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

.desktop-nav a,
.mobile-panel a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover {
  color: var(--cyan);
}

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

.nav-search input,
.mobile-panel input,
.search-hero-form input,
.filter-box input {
  width: 100%;
  border: 1px solid rgba(51, 65, 85, 0.95);
  border-radius: 999px;
  background: #1e293b;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
  width: 260px;
  padding: 10px 16px;
}

.nav-search input:focus,
.mobile-panel input:focus,
.search-hero-form input:focus,
.filter-box input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.14);
}

.nav-search button,
.mobile-panel button,
.search-hero-form button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff;
  background: var(--cyan);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-search button:hover,
.mobile-panel button:hover,
.search-hero-form button:hover {
  background: var(--cyan-deep);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  color: var(--text);
  background: transparent;
  font-size: 26px;
}

.mobile-panel {
  border-top: 1px solid rgba(51, 65, 85, 0.8);
  background: rgba(15, 23, 42, 0.98);
  padding: 16px;
}

.mobile-panel form {
  display: flex;
  gap: 8px;
}

.mobile-panel input {
  padding: 11px 15px;
}

.mobile-panel nav {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 8s ease both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.66) 48%, rgba(2, 6, 23, 0.08) 100%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.56) 45%, transparent 100%);
}

.hero-content {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-copy {
  max-width: 720px;
  animation: slideUp 0.7s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero h1 {
  margin: 16px 0 16px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 660px;
  margin: 0 0 22px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
  font-style: italic;
}

.tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-line span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #dffafe;
  background: rgba(8, 145, 178, 0.18);
  border: 1px solid rgba(103, 232, 249, 0.20);
  font-size: 13px;
}

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

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

.primary-btn {
  color: #fff;
  background: var(--cyan);
  box-shadow: 0 16px 40px rgba(6, 182, 212, 0.24);
}

.primary-btn:hover {
  background: var(--cyan-deep);
  transform: translateY(-2px);
}

.ghost-btn {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.48);
  color: #e2e8f0;
  backdrop-filter: blur(12px);
}

.ghost-btn:hover {
  border-color: rgba(6, 182, 212, 0.58);
  color: #ecfeff;
  transform: translateY(-2px);
}

.ghost-btn.small {
  min-height: 38px;
  padding-inline: 18px;
  font-size: 14px;
}

.hero-controls {
  position: absolute;
  right: 42px;
  bottom: 42px;
  z-index: 5;
  display: flex;
  gap: 12px;
}

.hero-controls button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  font-size: 30px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-controls button:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.2s ease, background 0.2s ease;
}

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

.section {
  padding: 72px 0;
}

.section.no-pad-top {
  padding-top: 0;
}

.section-muted {
  background: rgba(15, 23, 42, 0.38);
  border-block: 1px solid rgba(148, 163, 184, 0.08);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.1;
}

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

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

.section-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(6, 182, 212, 0.12);
  font-size: 24px;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(166px, 1fr));
  gap: 26px;
}

.hot-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.all-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.movie-card {
  display: block;
  min-width: 0;
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: #1e293b;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover .poster-wrap {
  transform: scale(1.045);
  box-shadow: 0 20px 48px rgba(6, 182, 212, 0.18);
}

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

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

.poster-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.28), transparent);
  transition: opacity 0.3s ease;
}

.movie-card:hover .poster-layer {
  opacity: 1;
}

.poster-desc {
  color: #fff;
  font-size: 13px;
  line-height: 1.55;
}

.poster-year {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.movie-name {
  display: block;
  margin-top: 12px;
  color: #f1f5f9;
  font-weight: 800;
  line-height: 1.4;
  transition: color 0.2s ease;
}

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

.movie-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.movie-meta i {
  font-style: normal;
  opacity: 0.6;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.72));
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: var(--shadow);
}

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

.category-thumbs img {
  aspect-ratio: 3 / 4;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #1e293b;
}

.category-card strong {
  font-size: 21px;
}

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

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}

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

.ranking-row {
  display: flex;
  gap: 14px;
  align-items: stretch;
  padding: 12px;
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.56);
  border: 1px solid rgba(148, 163, 184, 0.09);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.ranking-row:hover {
  background: rgba(30, 41, 59, 0.86);
  border-color: rgba(6, 182, 212, 0.28);
  transform: translateY(-2px);
}

.rank-num {
  width: 38px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-size: 18px;
  font-weight: 900;
}

.ranking-row img {
  width: 78px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  background: #1e293b;
  flex-shrink: 0;
}

.ranking-body {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
}

.ranking-body strong {
  color: #fff;
  line-height: 1.35;
}

.ranking-body em,
.ranking-body span {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 26px;
}

.review-card {
  display: flex;
  min-height: 250px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.review-card img {
  width: 180px;
  object-fit: cover;
  background: #1e293b;
  flex-shrink: 0;
}

.review-card span {
  padding: 24px;
  display: grid;
  align-content: start;
}

.review-card strong {
  font-size: 21px;
}

.review-card em {
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.review-card p {
  color: #cbd5e1;
  line-height: 1.75;
}

.page-main {
  padding: 36px 0 76px;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

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

.crumb a::after {
  content: "/";
  margin-left: 8px;
  color: #475569;
}

.page-hero {
  margin-bottom: 42px;
  padding: 40px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(30, 41, 59, 0.74), rgba(15, 23, 42, 0.86));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
}

.slim-hero {
  max-width: none;
}

.page-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(34px, 6vw, 56px);
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 880px;
  margin: 0;
  color: #cbd5e1;
  line-height: 1.8;
}

.filter-box,
.search-hero-form {
  max-width: 760px;
  margin-top: 28px;
}

.filter-box input,
.search-hero-form input {
  padding: 15px 20px;
}

.search-hero-form {
  display: flex;
  gap: 12px;
}

.search-hero-form button {
  padding-inline: 28px;
}

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

.category-overview-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.66);
}

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

.category-overview-head h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.category-overview-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.overview-grid {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.mini-card .movie-meta,
.mini-card .poster-layer {
  display: none;
}

.ranking-page-layout {
  display: grid;
  grid-template-columns: minmax(320px, 430px) 1fr;
  gap: 32px;
  align-items: start;
}

.ranking-panel,
.ranking-side,
.content-panel,
.side-card {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.70);
  backdrop-filter: blur(12px);
}

.ranking-panel,
.ranking-side {
  padding: 24px;
}

.ranking-panel h2,
.ranking-side h2,
.content-panel h2,
.side-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

.ranking-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

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

.detail-primary,
.detail-side {
  min-width: 0;
}

.detail-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 20px;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background: #000;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.40);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background-size: cover;
  background-position: center;
  text-align: center;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.92);
  box-shadow: 0 18px 50px rgba(6, 182, 212, 0.28);
  font-size: 34px;
  padding-left: 5px;
}

.play-text {
  font-size: 17px;
  font-weight: 900;
}

.player-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  gap: 10px;
  padding: 16px;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
  transition: opacity 0.2s ease;
}

.player-shell:hover .player-bar,
.player-shell.is-playing .player-bar {
  opacity: 1;
}

.player-bar button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.player-bar button:hover {
  background: rgba(6, 182, 212, 0.70);
}

.detail-title-block {
  padding: 28px 0 8px;
}

.detail-title-block h1 {
  margin: 14px 0 12px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.detail-title-block p {
  margin: 0 0 18px;
  color: #cbd5e1;
  line-height: 1.8;
  font-style: italic;
}

.content-panel {
  padding: 26px;
  margin-top: 22px;
}

.content-panel p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.9;
}

.review-panel {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.72), rgba(2, 6, 23, 0.76));
}

.side-card {
  padding: 22px;
}

.poster-card {
  padding: 0;
  overflow: hidden;
  background: #1e293b;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.10);
  padding-bottom: 12px;
}

.info-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

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

.info-list dd {
  margin: 0;
  color: #fff;
  text-align: right;
}

.related-list .ranking-row img {
  width: 72px;
  height: 96px;
}

.empty-message {
  margin: 30px 0;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.66);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.72);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: inline-flex;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.site-footer nav a {
  color: #cbd5e1;
}

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

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .menu-toggle {
    display: block;
  }

  .hero,
  .hero-content {
    min-height: 560px;
  }

  .split-section,
  .ranking-page-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }

  .poster-card {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1280px);
  }

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

  .hero,
  .hero-content {
    min-height: 520px;
  }

  .hero-copy {
    padding-top: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-controls {
    right: 16px;
    bottom: 26px;
  }

  .hero-dots {
    bottom: 32px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head,
  .category-overview-head,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head > a {
    margin-left: 0;
  }

  .movie-grid,
  .hot-grid,
  .all-grid,
  .ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

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

  .review-card {
    flex-direction: column;
  }

  .review-card img {
    width: 100%;
    height: 260px;
  }

  .page-hero {
    padding: 28px;
  }

  .search-hero-form {
    flex-direction: column;
  }

  .player-bar {
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  .movie-grid,
  .hot-grid,
  .all-grid,
  .ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .poster-desc {
    display: none;
  }

  .ranking-row {
    padding: 10px;
  }

  .ranking-row img {
    width: 64px;
    height: 86px;
  }
}
