* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #090b16;
  --bg-soft: rgba(255, 255, 255, 0.06);
  --bg-strong: rgba(15, 23, 42, 0.88);
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #aeb7c8;
  --soft: #d6dcf0;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --cyan: #22d3ee;
  --amber: #f59e0b;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(124, 58, 237, 0.32), transparent 36rem),
    radial-gradient(circle at 85% 8%, rgba(236, 72, 153, 0.22), transparent 32rem),
    linear-gradient(180deg, #111827 0%, #0f172a 36%, #050611 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(49, 46, 129, 0.96), rgba(88, 28, 135, 0.96), rgba(131, 24, 67, 0.96));
  border-bottom: 1px solid rgba(216, 180, 254, 0.24);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1200px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.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: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 12px 26px rgba(236, 72, 153, 0.32);
}

.brand-name {
  white-space: nowrap;
  font-size: 20px;
}

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

.nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.header-search,
.mobile-search,
.search-page-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input {
  width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 11px 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus {
  border-color: rgba(216, 180, 254, 0.72);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18);
  background: rgba(255, 255, 255, 0.14);
}

.header-search button,
.mobile-search button,
.search-page-form button,
.primary-button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 11px 18px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.22);
  transition: transform 180ms ease, filter 180ms ease;
}

.header-search button:hover,
.mobile-search button:hover,
.search-page-form button:hover,
.primary-button:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.08);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
}

.mobile-panel {
  display: none;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.16) 100%),
    linear-gradient(90deg, rgba(8, 13, 30, 0.88), rgba(8, 13, 30, 0.25) 58%, rgba(8, 13, 30, 0.78));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 72px;
  max-width: 820px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 16px;
  border: 1px solid rgba(216, 180, 254, 0.35);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(139, 92, 246, 0.72);
  backdrop-filter: blur(12px);
  font-weight: 700;
}

.hero-content h1,
.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-content p,
.page-hero p {
  margin: 0 0 24px;
  max-width: 760px;
  color: #dbe5ff;
  font-size: 18px;
  line-height: 1.8;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-meta span,
.detail-meta span,
.detail-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #e9d5ff;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(196, 181, 253, 0.2);
  font-size: 13px;
}

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

.ghost-button {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 11px 18px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, transform 180ms ease;
}

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

.section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.soft-panel {
  width: 100%;
  padding-left: max(16px, calc((100% - 1200px) / 2));
  padding-right: max(16px, calc((100% - 1200px) / 2));
  background: linear-gradient(180deg, transparent, rgba(88, 28, 135, 0.12), transparent);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.03em;
}

.section-head a {
  color: #d8b4fe;
  font-weight: 700;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 174px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 180, 254, 0.32);
  background: rgba(255, 255, 255, 0.09);
}

.category-card::before,
.category-overview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background: radial-gradient(circle at 20% 20%, #ffffff, transparent 24%), linear-gradient(135deg, var(--purple), var(--pink));
}

.from-amber::before {
  background: radial-gradient(circle at 20% 20%, #ffffff, transparent 24%), linear-gradient(135deg, #f59e0b, #f97316);
}

.from-red::before {
  background: radial-gradient(circle at 20% 20%, #ffffff, transparent 24%), linear-gradient(135deg, #ef4444, #fb7185);
}

.from-cyan::before {
  background: radial-gradient(circle at 20% 20%, #ffffff, transparent 24%), linear-gradient(135deg, #06b6d4, #3b82f6);
}

.from-blue::before {
  background: radial-gradient(circle at 20% 20%, #ffffff, transparent 24%), linear-gradient(135deg, #2563eb, #7c3aed);
}

.from-pink::before {
  background: radial-gradient(circle at 20% 20%, #ffffff, transparent 24%), linear-gradient(135deg, #ec4899, #f43f5e);
}

.from-green::before {
  background: radial-gradient(circle at 20% 20%, #ffffff, transparent 24%), linear-gradient(135deg, #10b981, #22c55e);
}

.from-orange::before {
  background: radial-gradient(circle at 20% 20%, #ffffff, transparent 24%), linear-gradient(135deg, #f97316, #eab308);
}

.category-card > *,
.category-overview-card > * {
  position: relative;
  z-index: 2;
}

.category-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.category-card strong,
.category-overview-title strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.category-card span,
.category-overview-card p {
  display: block;
  color: #d6dcf0;
  line-height: 1.7;
}

.category-card em {
  display: inline-flex;
  margin-top: 12px;
  color: #f5d0fe;
  font-style: normal;
  font-weight: 800;
}

.poster-grid {
  display: grid;
  gap: 18px;
}

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

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

.movie-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(216, 180, 254, 0.28);
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.poster-card .poster-wrap {
  aspect-ratio: 2 / 3;
}

.landscape-card .poster-wrap {
  aspect-ratio: 16 / 10;
}

.poster-wrap img,
.rank-cover img,
.side-poster img,
.mini-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.74));
}

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 5px 9px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  background: rgba(139, 92, 246, 0.82);
  backdrop-filter: blur(12px);
}

.play-hover {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

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

.movie-card-body strong {
  display: -webkit-box;
  min-height: 42px;
  margin-bottom: 8px;
  overflow: hidden;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta,
.movie-line {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.movie-line {
  display: -webkit-box;
  min-height: 38px;
  margin-top: 6px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.rank-list-wide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 56px 82px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 180ms ease, background 180ms ease;
}

.rank-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: #ffffff;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, #f59e0b, #ec4899);
}

.rank-cover {
  display: block;
  width: 82px;
  height: 82px;
  overflow: hidden;
  border-radius: 16px;
}

.rank-content strong {
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rank-content span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.page-hero {
  width: min(1200px, calc(100% - 32px));
  margin: 42px auto 0;
  padding: 64px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 18%, rgba(236, 72, 153, 0.22), transparent 24rem),
    radial-gradient(circle at 88% 22%, rgba(139, 92, 246, 0.26), transparent 28rem),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.compact-hero {
  min-height: 300px;
}

.ranking-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 158, 11, 0.24), transparent 24rem),
    radial-gradient(circle at 82% 18%, rgba(236, 72, 153, 0.22), transparent 26rem),
    rgba(255, 255, 255, 0.06);
}

.search-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.18), transparent 24rem),
    radial-gradient(circle at 82% 18%, rgba(139, 92, 246, 0.22), transparent 26rem),
    rgba(255, 255, 255, 0.06);
}

.search-page-form {
  max-width: 620px;
}

.search-page-form input {
  width: 100%;
  min-height: 52px;
}

.filter-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-panel label {
  display: grid;
  gap: 10px;
  color: var(--soft);
  font-weight: 800;
}

.filter-panel input {
  width: 100%;
  border-radius: 16px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 9px 14px;
  color: #e5e7eb;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
}

.filter-chip.active,
.filter-chip:hover {
  color: #ffffff;
  background: linear-gradient(90deg, var(--purple), var(--pink));
}

.category-overview-card {
  min-height: 320px;
}

.category-overview-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mini-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.mini-row a {
  overflow: hidden;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.mini-row img {
  aspect-ratio: 3 / 4;
}

.mini-row span {
  display: -webkit-box;
  padding: 8px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.4;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.top-rank-wrap {
  padding-bottom: 18px;
}

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

.detail-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.86fr);
  gap: 28px;
}

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

.breadcrumb strong {
  color: #ffffff;
}

.video-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.62));
  transition: opacity 180ms ease, visibility 180ms ease;
}

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

.play-circle {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 34px;
  text-indent: 4px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 20px 48px rgba(236, 72, 153, 0.34);
  transition: transform 180ms ease;
}

.player-overlay:hover .play-circle {
  transform: scale(1.06);
}

.detail-card,
.side-box,
.side-poster {
  margin-top: 22px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-card h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.03em;
}

.detail-card h2,
.side-box h2 {
  margin: 26px 0 12px;
  font-size: 22px;
}

.detail-card p {
  color: #d6dcf0;
  line-height: 1.9;
  font-size: 16px;
}

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

.detail-side > * {
  position: sticky;
  top: 92px;
}

.side-poster {
  margin-top: 44px;
}

.side-poster img {
  aspect-ratio: 2 / 3;
  border-radius: 18px;
  margin-bottom: 14px;
}

.side-poster strong,
.side-poster span {
  display: block;
}

.side-poster span {
  margin-top: 6px;
  color: var(--muted);
}

.side-related {
  display: grid;
  gap: 12px;
}

.side-related .movie-card {
  display: grid;
  grid-template-columns: 120px 1fr;
}

.side-related .poster-wrap {
  aspect-ratio: 16 / 11;
  height: 100%;
}

.site-footer {
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(0, 0, 0, 0.72));
}

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

.footer-inner p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
  justify-content: flex-end;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #d8b4fe;
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 30px;
  color: #94a3b8;
  font-size: 13px;
}

.hidden-by-filter {
  display: none !important;
}

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

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

  .four-cols,
  .category-grid,
  .category-overview-grid,
  .rank-list-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-shell {
    grid-template-columns: 1fr;
  }

  .detail-side > * {
    position: static;
  }

  .side-poster {
    display: none;
  }
}

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

  .desktop-nav,
  .header-search {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .mobile-panel.is-open {
    display: block;
  }

  .mobile-search input {
    width: 100%;
  }

  .hero-section {
    height: 540px;
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .section,
  .page-hero,
  .detail-shell {
    width: min(100% - 24px, 1200px);
  }

  .page-hero {
    padding: 38px 24px;
    border-radius: 24px;
  }

  .six-cols,
  .four-cols,
  .category-grid,
  .category-overview-grid,
  .rank-grid,
  .rank-list-wide,
  .top-rank-grid,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .brand-name {
    font-size: 17px;
  }

  .hero-section {
    height: 520px;
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .hero-content p,
  .page-hero p {
    font-size: 15px;
  }

  .hero-actions,
  .search-page-form {
    align-items: stretch;
    flex-direction: column;
  }

  .six-cols,
  .four-cols,
  .category-grid,
  .category-overview-grid,
  .rank-grid,
  .rank-list-wide,
  .top-rank-grid,
  .footer-inner,
  .mini-row {
    grid-template-columns: 1fr;
  }

  .poster-grid {
    gap: 14px;
  }

  .movie-card {
    border-radius: 16px;
  }

  .rank-item {
    grid-template-columns: 48px 72px 1fr;
  }

  .rank-number {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    font-size: 18px;
  }

  .rank-cover {
    width: 72px;
    height: 72px;
  }

  .detail-card,
  .side-box {
    padding: 18px;
  }

  .side-related .movie-card {
    grid-template-columns: 96px 1fr;
  }
}
