:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-solid: #0f172a;
  --panel-soft: #111827;
  --line: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --brand: #38bdf8;
  --brand-strong: #2563eb;
  --brand-soft: rgba(56, 189, 248, 0.14);
  --radius: 22px;
  --shadow: 0 22px 65px rgba(0, 0, 0, 0.42);
}

* {
  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(14, 165, 233, 0.18), transparent 30rem),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 32rem),
    linear-gradient(180deg, #020617 0%, #0f172a 42%, #020617 100%);
  color: var(--text);
}

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

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

button,
input,
select {
  font: inherit;
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand span:last-child {
  background: linear-gradient(90deg, #38bdf8, #2563eb 65%, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #e0f2fe;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.36);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.76);
  color: var(--text);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.94);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  background: rgba(148, 163, 184, 0.08);
}

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

.hero-section {
  position: relative;
  height: 80vh;
  min-height: 650px;
  overflow: hidden;
  background: #020617;
}

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

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.70) 42%, rgba(2, 6, 23, 0.88)),
    radial-gradient(circle at 70% 38%, rgba(56, 189, 248, 0.18), transparent 25rem);
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(1.22) contrast(1.08);
}

.hero-backdrop:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.34), rgba(2, 6, 23, 0.82) 82%, #020617 100%),
    linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.74) 42%, rgba(2, 6, 23, 0.24) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  padding-top: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 390px;
  align-items: center;
  gap: 54px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #7dd3fc;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-text h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-text p,
.page-hero p,
.lead-text {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.88;
}

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

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(125, 211, 252, 0.16);
  font-size: 13px;
  font-weight: 700;
}

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

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.36);
}

.btn-secondary {
  color: #dbeafe;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(12px);
}

.btn-primary:hover,
.btn-secondary:hover,
.movie-card:hover,
.category-tile:hover {
  transform: translateY(-3px);
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.2;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.28), rgba(30, 41, 59, 0.72));
  border: 1px solid rgba(226, 232, 240, 0.12);
  box-shadow: var(--shadow);
}

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

.hero-poster span,
.play-mark {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(2, 132, 199, 0.86);
  box-shadow: 0 16px 42px rgba(2, 132, 199, 0.45);
}

.hero-poster span {
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  font-size: 24px;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.16);
  color: white;
  background: rgba(15, 23, 42, 0.66);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.36);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--brand);
}

.after-hero {
  position: relative;
  z-index: 8;
  margin-top: -34px;
}

.quick-categories,
.search-panel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.quick-categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.quick-categories a {
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #dbeafe;
  font-weight: 800;
  background: rgba(148, 163, 184, 0.08);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quick-categories a:hover {
  color: white;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.85), rgba(37, 99, 235, 0.85));
  transform: translateY(-2px);
}

.search-panel {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
}

.search-panel input,
.search-panel select {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(148, 163, 184, 0.20);
  border-radius: 16px;
  color: var(--text);
  outline: none;
  background: rgba(2, 6, 23, 0.58);
  padding: 0 15px;
}

.search-panel input:focus,
.search-panel select:focus {
  border-color: rgba(56, 189, 248, 0.70);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.section-block {
  margin-top: 68px;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3.5vw, 38px);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--subtle);
  line-height: 1.7;
}

.section-more {
  flex: 0 0 auto;
  color: #7dd3fc;
  font-weight: 800;
}

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.62));
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  border-color: rgba(56, 189, 248, 0.38);
  box-shadow: 0 22px 54px rgba(8, 47, 73, 0.36);
}

.cover-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.1;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.28), transparent 16rem),
    linear-gradient(145deg, #0f172a, #1e293b 52%, #082f49);
}

.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.movie-card:hover .cover-frame img {
  transform: scale(1.06);
}

.cover-frame.image-missing img,
.hero-backdrop.image-missing img,
.hero-poster.image-missing img,
.detail-bg.image-missing img,
.ranking-cover.image-missing img {
  opacity: 0;
}

.badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: white;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
}

.play-mark {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.movie-card:hover .play-mark {
  opacity: 1;
  transform: translateY(0);
}

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

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--brand);
}

.movie-card p {
  margin: 0;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.72;
}

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

.movie-card-small {
  width: 255px;
  flex: 0 0 255px;
}

.scroll-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x proximity;
}

.scroll-row .movie-card {
  scroll-snap-align: start;
}

.ranking-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.rank-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.18), rgba(15, 23, 42, 0.82));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.45);
}

.rank-card span {
  color: #7dd3fc;
  font-size: 28px;
  font-weight: 900;
}

.rank-card strong {
  line-height: 1.32;
}

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

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

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

.category-tile {
  min-height: 142px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 12rem),
    linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.72));
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.category-tile:hover {
  border-color: rgba(56, 189, 248, 0.40);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.26), transparent 12rem),
    linear-gradient(145deg, rgba(7, 89, 133, 0.92), rgba(37, 99, 235, 0.72));
}

.category-tile strong {
  font-size: 22px;
}

.category-tile span {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.category-tile b {
  color: #7dd3fc;
}

.page-main {
  padding-top: 98px;
  padding-bottom: 72px;
}

.page-hero {
  position: relative;
  padding: 54px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 28rem),
    linear-gradient(145deg, rgba(15, 23, 42, 0.90), rgba(2, 6, 23, 0.72));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.compact-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.compact-hero p {
  max-width: 800px;
}

.category-hero .search-panel,
.page-hero .search-panel {
  max-width: 880px;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 72px 74px minmax(0, 1fr) 230px;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
}

.ranking-number {
  color: #7dd3fc;
  font-size: 24px;
  font-weight: 900;
}

.ranking-cover {
  position: relative;
  width: 58px;
  height: 78px;
  overflow: hidden;
  border-radius: 13px;
  background: linear-gradient(145deg, #0f172a, #082f49);
}

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

.ranking-title {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.ranking-title strong {
  font-size: 17px;
}

.ranking-title em,
.ranking-meta {
  color: var(--subtle);
  font-style: normal;
  font-size: 13px;
}

.detail-main {
  padding-top: 68px;
}

.detail-hero {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #020617;
}

.detail-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(56, 189, 248, 0.18), transparent 28rem),
    linear-gradient(135deg, #020617, #0f172a);
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: blur(2px) saturate(1.12);
}

.detail-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.48), rgba(2, 6, 23, 0.92)),
    linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.78) 48%, rgba(2, 6, 23, 0.42) 100%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 60px;
}

.breadcrumb,
.breadcrumb-sep {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--subtle);
  font-size: 14px;
  font-weight: 700;
}

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

.breadcrumb-sep {
  margin-left: 8px;
  margin-right: 8px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
}

.detail-poster {
  border-radius: 28px;
  border: 1px solid rgba(226, 232, 240, 0.13);
  box-shadow: var(--shadow);
}

.detail-info h1 {
  max-width: 880px;
}

.lead-text {
  max-width: 880px;
}

.player-section {
  margin-top: -76px;
  position: relative;
  z-index: 5;
}

.player-shell {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.20), transparent 30rem),
    #020617;
  border: 1px solid rgba(226, 232, 240, 0.16);
  box-shadow: var(--shadow);
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: white;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.62));
}

.player-overlay span {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  box-shadow: 0 24px 54px rgba(37, 99, 235, 0.45);
  font-size: 30px;
}

.player-overlay strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.player-shell.is-playing .player-overlay {
  display: none;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
}

.content-card {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.20);
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.content-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}

.meta-card dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.meta-card div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.meta-card dt {
  color: var(--subtle);
}

.meta-card dd {
  margin: 0;
  color: var(--text);
}

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

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer strong {
  font-size: 20px;
}

.site-footer p {
  max-width: 640px;
  color: var(--subtle);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

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

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 14px;
    font-size: 14px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
  }

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

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

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

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

  .brand {
    font-size: 17px;
  }

  .hero-section {
    height: auto;
    min-height: 760px;
  }

  .hero-content {
    min-height: 760px;
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: 98px;
    padding-bottom: 90px;
  }

  .hero-poster {
    width: min(320px, 78vw);
    margin: 0 auto;
    order: -1;
  }

  .hero-control {
    display: none;
  }

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

  .search-panel {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .ranking-row {
    grid-template-columns: 52px 58px minmax(0, 1fr);
  }

  .ranking-meta {
    display: none;
  }

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

  .detail-poster {
    width: min(280px, 72vw);
  }

  .player-section {
    margin-top: 34px;
  }

  .page-hero {
    padding: 32px 22px;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .nav-inner {
    height: 62px;
  }

  .brand span:last-child {
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

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

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

  .movie-card-small {
    width: 220px;
    flex-basis: 220px;
  }

  .detail-hero {
    min-height: 720px;
  }

  .content-card {
    padding: 20px;
  }

  .player-shell {
    border-radius: 20px;
  }
}
