:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(148, 163, 184, 0.18);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --soft: #64748b;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --amber: #f59e0b;
  --danger: #fb7185;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  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:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 32rem),
    linear-gradient(180deg, #020617 0%, #0f172a 52%, #020617 100%);
  color: var(--text);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(34, 211, 238, 0.22);
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease;
}

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

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.84);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: #dbeafe;
}

.mobile-nav {
  display: none;
  padding: 12px 18px 18px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.96);
}

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

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: 74px;
}

.hero-carousel,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.82) 35%, rgba(2, 6, 23, 0.34) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 24%, rgba(34, 211, 238, 0.18), transparent 28rem),
    linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.85) 100%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 380px;
  align-items: center;
  gap: 64px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-title span,
.category-preview-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 18px 0 10px;
  font-size: clamp(36px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: #ffffff;
}

.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 4vw, 48px);
  color: #f8fafc;
}

.hero-copy p,
.page-hero p,
.section-title p,
.category-preview-head p {
  color: #cbd5e1;
  line-height: 1.8;
}

.hero-copy p {
  max-width: 650px;
  font-size: 18px;
}

.hero-tags,
.tag-row,
.detail-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

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

.hero-tags span,
.tag-row span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
  color: #bae6fd;
  font-size: 13px;
  font-weight: 700;
}

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

.primary-button,
.ghost-button,
.inline-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 900;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 44px rgba(34, 211, 238, 0.24);
}

.primary-button.small {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
}

.ghost-button,
.inline-more {
  border: 1px solid var(--line);
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.52);
}

.primary-button:hover,
.ghost-button:hover,
.inline-more:hover {
  transform: translateY(-2px);
}

.hero-poster {
  aspect-ratio: 3 / 4;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  background-image: var(--poster-image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-poster::before,
.poster-link::before,
.ranking-cover::before,
.poster-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 18%, rgba(2, 6, 23, 0.16) 52%, rgba(2, 6, 23, 0.82) 100%),
    radial-gradient(circle at center, transparent 0%, rgba(2, 6, 23, 0.34) 100%);
}

.hero-poster span,
.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 28px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  z-index: 5;
}

.hero-dot {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.hero-dot span {
  display: block;
  padding: 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 800;
}

.hero-dot.active,
.hero-dot:hover {
  color: #ffffff;
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.16);
}

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

.first-section {
  padding-top: 36px;
}

.section-title {
  margin-bottom: 28px;
  text-align: center;
}

.section-title.align-left {
  text-align: left;
  margin-bottom: 0;
}

.section-title h2,
.page-hero h1,
.detail-panel h2,
.side-card h2,
.category-preview-head h2 {
  margin: 10px 0;
  color: #ffffff;
  letter-spacing: -0.04em;
}

.section-title h2,
.page-hero h1 {
  font-size: clamp(30px, 5vw, 52px);
}

.section-title p {
  max-width: 720px;
  margin: 0 auto;
}

.align-left p {
  margin-left: 0;
}

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

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

.poster-link {
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.78)),
    var(--poster-image);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.poster-glow {
  position: absolute;
  inset: auto 18px 16px 18px;
  height: 34%;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.22);
  filter: blur(26px);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.poster-play {
  width: 52px;
  height: 52px;
  opacity: 0;
  font-size: 20px;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.movie-card:hover .poster-link {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(34, 211, 238, 0.38);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.36);
}

.movie-card:hover .poster-glow,
.movie-card:hover .poster-play {
  opacity: 1;
}

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

.movie-card-body {
  padding: 14px 2px 0;
}

.movie-card h3,
.ranking-info h3 {
  margin: 8px 0 6px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a,
.ranking-info h3 a {
  transition: color 0.2s ease;
}

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

.movie-card p,
.ranking-info p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  gap: 7px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.movie-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 7px;
  color: rgba(148, 163, 184, 0.55);
}

.tag-row {
  gap: 6px;
}

.tag-row span {
  min-height: 24px;
  padding: 0 9px;
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.48);
  font-size: 12px;
}

.tag-row.large span {
  min-height: 34px;
  padding: 0 13px;
  font-size: 14px;
}

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

.movie-card.compact .movie-card-body p,
.movie-card.compact .tag-row {
  display: none;
}

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

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

.ranking-panel,
.ranking-list {
  display: grid;
  gap: 12px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 124px 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.56);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.ranking-item:hover {
  transform: translateX(4px);
  border-color: rgba(34, 211, 238, 0.34);
  background: rgba(15, 23, 42, 0.82);
}

.ranking-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.72)),
    var(--poster-image);
  background-size: cover;
  background-position: center;
}

.ranking-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(34, 211, 238, 0.85));
  color: #ffffff;
  font-weight: 950;
}

.ranking-info h3,
.ranking-info p {
  margin-top: 0;
}

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

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

.category-tile {
  min-height: 176px;
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(30, 41, 59, 0.52));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.36);
}

.category-orb {
  position: absolute;
  right: -32px;
  top: -32px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.24), transparent 70%);
}

.category-tile strong {
  display: block;
  position: relative;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 22px;
}

.category-tile em {
  display: block;
  position: relative;
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.page-main {
  padding-top: 74px;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 20px;
}

.page-hero.narrow {
  max-width: 920px;
  text-align: center;
}

.page-hero p {
  margin: 0 auto;
  max-width: 760px;
}

.preview-stack {
  display: grid;
  gap: 34px;
}

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

.category-preview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.filter-bar {
  position: sticky;
  top: 88px;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 14px;
  margin-bottom: 30px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(16px);
}

.filter-bar.wide {
  grid-template-columns: 1.7fr 0.75fr 0.75fr 0.75fr;
}

.filter-bar label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 0 14px;
  outline: 0;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.86);
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(34, 211, 238, 0.58);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.08);
}

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

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

.no-result {
  margin: 34px auto 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  background: rgba(15, 23, 42, 0.48);
}

.detail-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb {
  color: #bae6fd;
}

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

.detail-main,
.detail-side {
  display: grid;
  gap: 22px;
}

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

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

.player-start {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.22), rgba(2, 6, 23, 0.78));
}

.player-start span {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 38px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.32);
  transition: transform 0.24s ease, background 0.24s ease;
}

.player-start:hover span {
  transform: scale(1.08);
  background: rgba(34, 211, 238, 0.32);
}

.movie-player.is-active .player-start {
  display: none;
}

.player-message {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 5;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  color: #fecdd3;
  background: rgba(127, 29, 29, 0.72);
}

.movie-player[data-state="error"] .player-message {
  display: block;
}

.detail-panel,
.side-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  background: rgba(15, 23, 42, 0.58);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.detail-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.detail-title-row h1 {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.detail-meta {
  margin: 18px 0;
}

.lead-text,
.detail-panel p {
  color: #cbd5e1;
  line-height: 1.86;
}

.lead-text {
  margin: 0;
  font-size: 18px;
}

.detail-panel h2,
.side-card h2 {
  font-size: 24px;
}

.detail-panel p {
  margin: 0;
}

.poster-card {
  position: sticky;
  top: 100px;
  min-height: 430px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(2, 6, 23, 0.92)),
    var(--poster-image);
  background-size: cover;
  background-position: center;
}

.poster-card div {
  position: relative;
  z-index: 2;
}

.poster-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #bae6fd;
  font-weight: 900;
}

.poster-card strong {
  display: block;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.2;
}

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

.side-related .movie-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 13px;
}

.side-related .poster-link {
  border-radius: 14px;
}

.side-related .movie-card-body {
  padding-top: 0;
}

.side-related .movie-card h3 {
  margin-top: 0;
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--cyan));
  color: #ffffff;
  font-weight: 950;
}

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

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

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 800;
}

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

[hidden] {
  display: none !important;
}

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

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

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

  .menu-button {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    align-content: center;
    padding: 56px 0 126px;
  }

  .hero-poster {
    display: none;
  }

  .hero-controls {
    grid-template-columns: repeat(5, minmax(72px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .section-title.align-left {
    text-align: center;
  }

  .align-left p {
    margin-left: auto;
  }

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

  .filter-bar,
  .filter-bar.wide {
    grid-template-columns: 1fr 1fr;
  }

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

  .poster-card {
    position: relative;
    top: auto;
    min-height: 360px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

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

  .page-main,
  .hero {
    padding-top: 66px;
  }

  .hero-content {
    min-height: calc(100vh - 66px);
  }

  .hero-controls {
    bottom: 18px;
  }

  .hero-dot {
    min-height: 44px;
  }

  .section-wrap {
    padding: 48px 0;
  }

  .movie-grid,
  .listing-grid,
  .search-grid,
  .compact-grid,
  .top-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .category-grid,
  .ranking-list.large {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    grid-template-columns: 92px 38px minmax(0, 1fr);
    gap: 10px;
  }

  .filter-bar,
  .filter-bar.wide {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
  }

  .category-preview-head,
  .detail-title-row {
    display: grid;
  }

  .side-related .movie-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .movie-grid,
  .listing-grid,
  .search-grid,
  .compact-grid,
  .top-three {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy p,
  .lead-text {
    font-size: 16px;
  }

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

  .ranking-item {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .ranking-number {
    display: none;
  }

  .player-start span {
    width: 70px;
    height: 70px;
    font-size: 30px;
  }
}
