:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --cyan: #06b6d4;
  --blue: #2563eb;
  --yellow: #facc15;
  --orange: #f97316;
  --pink: #ec4899;
  --radius: 22px;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  background: var(--bg);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96));
  color: #fff;
  box-shadow: 0 12px 35px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand span:last-child,
.footer-brand span:last-child {
  background: linear-gradient(90deg, #22d3ee, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 16px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #22d3ee;
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-panel {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-panel a {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.mobile-panel a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #22d3ee;
}

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

.hero {
  position: relative;
  min-height: 680px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(34, 211, 238, 0.24), transparent 28%),
    radial-gradient(circle at 76% 18%, rgba(59, 130, 246, 0.28), transparent 34%),
    linear-gradient(135deg, #020617 0%, #0f172a 44%, #1e3a8a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 85%);
  pointer-events: none;
}

.hero-slider {
  position: relative;
  min-height: 680px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  filter: blur(2px) saturate(1.25);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.66), rgba(2, 6, 23, 0.84));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 430px);
  align-items: center;
  gap: 64px;
  padding: 68px 0 92px;
}

.hero-badge,
.detail-badge,
.page-hero span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fde68a;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.28);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 950;
}

.hero p {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.85;
  color: rgba(226, 232, 240, 0.92);
}

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

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.13);
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, 0.18);
  font-size: 13px;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.32);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-channel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-channel-links a {
  color: rgba(226, 232, 240, 0.84);
  border-bottom: 1px solid rgba(34, 211, 238, 0.4);
}

.hero-poster {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  transform: rotate(2deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
}

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

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

.hero-controls button,
.hero-dots button {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.hero-controls > button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: #22d3ee;
}

.search-strip {
  width: min(1140px, calc(100% - 32px));
  margin: -46px auto 42px;
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

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

.search-strip input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 0 16px;
  outline: none;
  background: #fff;
}

.search-strip input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.search-strip button,
.filter-bar button {
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  padding: 0 22px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  cursor: pointer;
}

.strip-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.strip-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--slate-700);
  background: #f1f5f9;
  font-weight: 800;
}

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

.soft-section {
  width: 100%;
  max-width: none;
  padding: 64px max(16px, calc((100% - 1220px) / 2));
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

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

.section-title > span {
  width: 8px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, #06b6d4, #2563eb);
}

.section-title h2 {
  margin: 0 0 6px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.section-title p {
  margin: 0;
  color: var(--gray-500);
}

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

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

.movie-card {
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.17);
}

.movie-card-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.poster-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card-featured .poster-link img {
  aspect-ratio: 16 / 12.2;
}

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

.poster-mask {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.76), transparent 56%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.poster-play {
  align-self: center;
  margin-top: auto;
  margin-bottom: auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.9);
  box-shadow: 0 16px 30px rgba(6, 182, 212, 0.32);
}

.poster-meta {
  font-weight: 800;
  font-size: 14px;
}

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

.card-kicker {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 9px;
}

.movie-card h3,
.rank-item h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.movie-card h3 a:hover,
.rank-item h3 a:hover {
  color: var(--blue);
}

.movie-card p,
.rank-item p,
.category-tile p,
.category-overview-card p {
  margin: 10px 0 0;
  color: var(--gray-500);
  line-height: 1.7;
}

.tag-row {
  margin-top: 14px;
}

.tag-row span {
  color: #0891b2;
  background: #ecfeff;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 54px 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.rank-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  background: linear-gradient(135deg, #f97316, #dc2626);
}

.rank-thumb {
  overflow: hidden;
  border-radius: 16px;
}

.rank-thumb img {
  width: 92px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.rank-meta {
  margin-top: 8px;
  color: var(--gray-500);
  font-size: 13px;
}

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

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

.category-tile,
.category-overview-card {
  display: block;
  min-height: 150px;
  padding: 22px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(135deg, #0f172a, #1d4ed8);
  box-shadow: 0 18px 42px rgba(29, 78, 216, 0.18);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(29, 78, 216, 0.26);
}

.category-tile span,
.category-overview-card h2 {
  display: block;
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 950;
}

.category-tile p,
.category-overview-card p {
  color: rgba(255, 255, 255, 0.8);
}

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

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

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mini-list span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #dffbff;
  background: rgba(255, 255, 255, 0.13);
  font-size: 13px;
}

.page-hero {
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 16px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 30%, rgba(34, 211, 238, 0.24), transparent 28%),
    linear-gradient(135deg, #0891b2, #1d4ed8);
}

.page-hero > div {
  width: min(860px, 100%);
}

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

.page-hero p {
  margin: 18px auto 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.8;
}

.category-hero {
  background:
    radial-gradient(circle at 70% 20%, rgba(250, 204, 21, 0.22), transparent 26%),
    linear-gradient(135deg, #0f172a, #0369a1);
}

.ranking-hero {
  background:
    radial-gradient(circle at 24% 28%, rgba(249, 115, 22, 0.26), transparent 25%),
    linear-gradient(135deg, #7c2d12, #be123c);
}

.search-hero {
  background:
    radial-gradient(circle at 74% 24%, rgba(34, 211, 238, 0.25), transparent 28%),
    linear-gradient(135deg, #0f172a, #4338ca);
}

.filter-bar {
  width: min(1220px, calc(100% - 32px));
  margin: -34px auto 18px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px 190px auto;
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.filter-bar-large {
  grid-template-columns: minmax(260px, 1fr) 220px 220px auto;
}

.detail-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: #020617;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  filter: blur(2px) saturate(1.2);
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.92));
}

.detail-layout {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 620px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 60px 0;
}

.detail-poster {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 38px 88px rgba(0, 0, 0, 0.52);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb a:hover {
  color: #67e8f9;
}

.detail-info h1 {
  font-size: clamp(38px, 6vw, 72px);
}

.detail-one-line {
  max-width: 860px;
  margin: 22px 0 0;
  color: rgba(226, 232, 240, 0.92);
  font-size: 20px;
  line-height: 1.85;
}

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

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.28);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  color: #fff;
  background: #000;
  cursor: pointer;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.64));
}

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

.player-play {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 24px 54px rgba(37, 99, 235, 0.4);
  font-size: 32px;
}

.detail-panel {
  width: min(980px, calc(100% - 32px));
  margin: 28px auto 0;
  padding: 30px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.detail-panel h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.detail-panel p {
  margin: 0;
  color: var(--gray-700);
  line-height: 2;
  font-size: 17px;
}

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

.info-list span {
  padding: 13px 14px;
  border-radius: 14px;
  color: var(--gray-700);
  background: #f8fafc;
}

.related-section {
  padding-top: 42px;
}

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

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

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

.site-footer {
  margin-top: 70px;
  padding: 56px max(16px, calc((100% - 1220px) / 2)) 26px;
  color: rgba(226, 232, 240, 0.78);
  background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 34px;
}

.site-footer p {
  max-width: 430px;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

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

.copyright {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(226, 232, 240, 0.58);
  font-size: 14px;
}

.is-filtered-out {
  display: none !important;
}

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

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

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

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

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

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

  .hero-content,
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-content {
    padding-top: 50px;
  }

  .hero-poster,
  .detail-poster {
    max-width: 320px;
    margin: 0 auto;
  }

  .search-strip,
  .filter-bar,
  .filter-bar-large {
    grid-template-columns: 1fr;
  }

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

  .movie-grid,
  .featured-grid,
  .rank-grid,
  .rank-grid-wide,
  .category-grid,
  .category-overview-grid,
  .related-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .movie-card-featured {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .brand,
  .footer-brand {
    font-size: 21px;
  }

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

  .hero h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: 38px;
  }

  .hero p,
  .detail-one-line,
  .page-hero p {
    font-size: 16px;
  }

  .movie-grid,
  .featured-grid,
  .rank-grid,
  .rank-grid-wide,
  .category-grid,
  .category-overview-grid,
  .related-grid,
  .footer-grid,
  .info-list {
    grid-template-columns: 1fr;
  }

  .movie-card-featured {
    grid-column: span 1;
  }

  .rank-item {
    grid-template-columns: 44px 76px minmax(0, 1fr);
    padding: 12px;
  }

  .rank-number {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .rank-thumb img {
    width: 76px;
  }

  .detail-panel {
    padding: 22px;
  }
}
