:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #1f2937;
  --muted: #64748b;
  --line: #e5e7eb;
  --emerald: #059669;
  --emerald-dark: #047857;
  --teal: #0f766e;
  --amber: #d97706;
  --rose: #e11d48;
  --sky: #0284c7;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

main {
  min-height: 60vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #065f46, #0f766e);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.brand-mark.small {
  width: 28px;
  height: 28px;
  border-radius: 10px;
}

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

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

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #d1fae5;
  transform: translateY(-1px);
}

.header-search {
  width: 240px;
}

.search-input,
.filter-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 10px 16px;
  outline: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.search-input::placeholder {
  color: rgba(209, 250, 229, 0.86);
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.32);
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

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

.mobile-nav-link {
  color: #ffffff;
  font-weight: 700;
}

.mobile-search-input {
  margin-top: 4px;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #000000;
}

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

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

.hero-slide img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.44) 52%, rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 68px;
  transform: translateX(-50%);
  color: #ffffff;
}

.hero-kicker {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--emerald);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.45);
}

.hero p:not(.hero-kicker) {
  max-width: 760px;
  margin: 0 0 22px;
  color: #e5e7eb;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-tags,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-cloud span {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #d1fae5;
  border: 1px solid rgba(16, 185, 129, 0.26);
  font-size: 13px;
  font-weight: 700;
}

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

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

.primary-button {
  background: var(--emerald);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(5, 150, 105, 0.34);
}

.primary-button:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px) scale(1.02);
}

.ghost-button {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.46);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.68);
}

.hero-arrow.prev {
  left: 18px;
}

.hero-arrow.next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 32px;
  background: #ffffff;
}

.section {
  padding: 54px 0;
}

.section-soft {
  background: linear-gradient(135deg, #f1f5f9, #f5f5f4);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.section-title.compact {
  margin-bottom: 18px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.title-bar {
  width: 8px;
  height: 34px;
  border-radius: 999px;
  background: var(--emerald);
}

.title-bar.teal {
  background: var(--teal);
}

.title-bar.amber {
  background: var(--amber);
}

.title-bar.rose {
  background: var(--rose);
}

.title-bar.sky {
  background: var(--sky);
}

.feature-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-snap-type: x proximity;
}

.feature-card {
  width: 320px;
  min-width: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  scroll-snap-align: start;
}

.feature-card:hover,
.movie-card:hover,
.wide-card:hover,
.category-overview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.feature-card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.feature-card-cover img,
.movie-card-cover img,
.wide-card-image img,
.poster-panel img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.feature-card:hover img,
.movie-card:hover img,
.wide-card:hover img {
  transform: scale(1.08);
}

.feature-card-body,
.movie-card-body,
.wide-card-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.feature-card strong,
.movie-card strong,
.wide-card strong {
  color: #1f2937;
  font-size: 18px;
  line-height: 1.35;
}

.feature-card em,
.movie-card em,
.wide-card em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

.feature-card-body > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6b7280;
  font-size: 14px;
}

.feature-card-body b {
  padding: 4px 10px;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
}

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

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

.movie-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0f172a;
}

.movie-card-cover i {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--emerald);
  color: #ffffff;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.movie-card-body strong,
.movie-card-body em,
.movie-card-body small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-body small {
  color: #94a3b8;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

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

.category-pill,
.category-overview-card {
  display: grid;
  gap: 8px;
  border-radius: 20px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-pill span,
.category-overview-card strong {
  color: #1f2937;
  font-size: 18px;
  font-weight: 800;
}

.category-pill em,
.category-overview-card em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.ranking-card,
.side-card,
.detail-card {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.ranking-card {
  padding: 24px;
}

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

.rank-row,
.side-rank-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover,
.side-rank-row:hover {
  background: #ecfdf5;
  transform: translateX(4px);
}

.rank-row span,
.side-rank-row span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--emerald);
  color: #ffffff;
  font-weight: 900;
}

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

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

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--emerald);
  font-weight: 800;
}

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

.wide-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wide-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
}

.wide-card-body {
  padding: 4px 0;
  align-content: center;
}

.page-hero {
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.28), transparent 36%), linear-gradient(135deg, #0f172a, #064e3b 58%, #0f766e);
  color: #ffffff;
  padding: 82px 0;
}

.page-hero.small-page-hero {
  padding: 72px 0;
}

.page-hero p {
  margin: 0 0 12px;
  color: #a7f3d0;
  font-weight: 800;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 54px);
}

.page-hero span {
  display: block;
  max-width: 760px;
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1.7;
}

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

.category-overview-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  color: #ffffff;
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.filter-input {
  max-width: 300px;
  color: #0f172a;
  background: #ffffff;
  border-color: #cbd5e1;
}

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

.ranking-line {
  display: grid;
  grid-template-columns: 70px 76px minmax(180px, 1.3fr) minmax(160px, 1fr) minmax(160px, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ranking-number {
  color: var(--emerald);
  font-size: 20px;
  font-weight: 900;
}

.ranking-line img {
  width: 76px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-line em,
.ranking-line small {
  color: var(--muted);
  font-style: normal;
}

.breadcrumb-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  color: var(--muted);
  font-size: 14px;
}

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

.breadcrumb strong {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

.player-card {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #000000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #000000;
  display: block;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.64));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

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

.player-play-icon {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--emerald);
  color: #ffffff;
  font-size: 40px;
  padding-left: 6px;
  box-shadow: 0 18px 40px rgba(5, 150, 105, 0.44);
  transition: transform 0.2s ease, background 0.2s ease;
}

.player-overlay:hover .player-play-icon {
  transform: scale(1.08);
  background: var(--emerald-dark);
}

.detail-card {
  padding: 28px;
}

.detail-card h1 {
  margin: 0 0 22px;
  font-size: clamp(30px, 4vw, 44px);
}

.detail-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.detail-card section {
  margin-top: 28px;
}

.detail-card p {
  color: #475569;
  line-height: 1.95;
}

.one-line {
  color: #047857 !important;
  font-weight: 700;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.meta-grid div {
  border-radius: 16px;
  background: #f8fafc;
  padding: 14px;
}

.meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 4px;
}

.meta-grid strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-box {
  border-radius: 18px;
  background: #f8fafc;
  padding: 22px;
}

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

.detail-sidebar {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 18px;
}

.poster-panel {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
  aspect-ratio: 2 / 3;
  background: #0f172a;
}

.side-card {
  padding: 20px;
}

.side-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.side-rank-row {
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 10px;
}

.side-rank-row span {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

.category-side-card {
  display: grid;
  gap: 10px;
}

.category-side-card a {
  padding: 11px 13px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 800;
}

.search-panel[hidden] {
  display: none;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.search-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.search-panel-card {
  position: absolute;
  left: 50%;
  top: 90px;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 130px);
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.search-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.search-panel-head button {
  border: 0;
  background: #f1f5f9;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 22px;
}

.search-panel-results {
  max-height: calc(100vh - 210px);
  overflow-y: auto;
  padding: 12px;
}

.search-result {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
}

.search-result:hover {
  background: #ecfdf5;
}

.search-result img {
  width: 74px;
  height: 98px;
  border-radius: 12px;
  object-fit: cover;
}

.search-result strong,
.search-result span,
.search-result em {
  display: block;
}

.search-result span {
  color: #475569;
  margin: 5px 0;
}

.search-result em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.no-results,
.empty-filter {
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #cbd5e1;
  padding-top: 46px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 28px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

.footer-grid p,
.footer-grid li {
  color: #cbd5e1;
  line-height: 1.8;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-grid a:hover {
  color: #34d399;
}

.footer-bottom {
  margin-top: 36px;
  padding: 22px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  text-align: center;
  color: #94a3b8;
}

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

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    height: 540px;
  }

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

  .detail-sidebar {
    position: static;
  }

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

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

  .ranking-line {
    grid-template-columns: 54px 68px minmax(0, 1fr);
  }

  .ranking-line em,
  .ranking-line small {
    grid-column: 3;
  }
}

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

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

  .hero {
    height: 520px;
  }

  .hero-content {
    bottom: 54px;
  }

  .hero p:not(.hero-kicker) {
    font-size: 16px;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .section {
    padding: 38px 0;
  }

  .feature-card {
    width: 280px;
    min-width: 280px;
  }

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

  .movie-card-body,
  .feature-card-body {
    padding: 14px;
  }

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

  .wide-card {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .wide-card-image {
    aspect-ratio: 2 / 3;
  }

  .filter-head {
    display: grid;
    align-items: stretch;
  }

  .filter-input {
    max-width: none;
  }

  .page-hero {
    padding: 54px 0;
  }

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

  .detail-card {
    padding: 20px;
  }

  .player-play-icon {
    width: 72px;
    height: 72px;
    font-size: 34px;
  }

  .ranking-line {
    grid-template-columns: 42px 58px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .ranking-line img {
    width: 58px;
    height: 78px;
  }
}

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

  .movie-card-body strong {
    font-size: 15px;
  }

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

  .wide-card-image {
    aspect-ratio: 16 / 9;
  }
}
