:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(14, 165, 233, 0.18);
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 32rem),
    linear-gradient(135deg, var(--sky-50), #ffffff 42%, var(--amber-50));
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(240, 249, 255, 0.95), rgba(255, 251, 235, 0.95), rgba(240, 249, 255, 0.95));
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 32px rgba(14, 165, 233, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--sky-500), var(--amber-400));
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.28);
}

.brand-text strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--sky-600), var(--amber-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

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

.main-nav a {
  padding: 10px 14px;
  border-radius: 12px;
  color: #334155;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.main-nav a:hover {
  color: var(--sky-600);
  background: linear-gradient(90deg, var(--sky-100), var(--amber-100));
  transform: translateY(-1px);
}

.header-search {
  display: flex;
  align-items: center;
  width: 300px;
  border: 1px solid rgba(14, 165, 233, 0.24);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
}

.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 10px 14px;
  background: transparent;
}

.header-search button {
  border: 0;
  padding: 10px 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky-500), var(--amber-400));
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 710px;
  overflow: hidden;
}

.hero-track {
  position: relative;
  min-height: 650px;
}

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

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

.hero-image {
  width: 100%;
  height: 650px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.78)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.78), transparent 46%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 360px;
  align-items: center;
  gap: 48px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-copy {
  color: #ffffff;
  animation: fadeUp 0.7s ease both;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--sky-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, rgba(224, 242, 254, 0.92), rgba(254, 243, 199, 0.92));
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.12);
}

.hero-copy h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}

.hero-copy p {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.8;
}

.hero-tags,
.tag-list,
.detail-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.hero-tags span,
.tag-list span,
.detail-meta span,
.movie-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  padding: 7px 11px;
  font-size: 13px;
  backdrop-filter: blur(12px);
}

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky-500), var(--amber-400));
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.28);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.btn-ghost.light {
  color: var(--sky-600);
  border-color: rgba(14, 165, 233, 0.28);
  background: rgba(255, 255, 255, 0.86);
}

.hero-poster {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.hero-poster:hover {
  transform: rotate(0) scale(1.03);
}

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

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

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--sky-500), var(--amber-400));
}

.hero-search-card {
  position: relative;
  z-index: 10;
  margin-top: -82px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-search,
.big-search {
  display: flex;
  gap: 12px;
}

.hero-search input,
.big-search input,
.local-search input {
  width: 100%;
  border: 1px solid rgba(14, 165, 233, 0.22);
  outline: 0;
  border-radius: 999px;
  padding: 14px 18px;
  background: #ffffff;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-search input:focus,
.big-search input:focus,
.local-search input:focus {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.hero-search button,
.big-search button {
  min-width: 120px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--sky-500), var(--amber-400));
}

.hero-category-links,
.footer-links,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-category-links {
  margin-top: 14px;
}

.hero-category-links a,
.footer-links a,
.inline-links a,
.filter-chips button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: #475569;
  background: linear-gradient(90deg, var(--sky-100), var(--amber-100));
  transition: transform 0.25s ease, color 0.25s ease;
}

.hero-category-links a:hover,
.footer-links a:hover,
.inline-links a:hover,
.filter-chips button:hover,
.filter-chips button.is-active {
  color: var(--sky-600);
  transform: translateY(-1px);
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.48), rgba(254, 243, 199, 0.56));
}

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

.section-heading h1,
.section-heading h2,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.section-heading p,
.page-hero p,
.detail-line {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.compact-heading {
  align-items: center;
  margin-bottom: 22px;
}

.compact-heading h2 {
  font-size: 28px;
}

.section-more {
  color: var(--sky-600);
  font-weight: 800;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.32);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.14);
}

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-100), var(--amber-100));
}

.movie-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.movie-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.65), transparent);
  opacity: 0.74;
}

.movie-score,
.movie-type {
  position: absolute;
  z-index: 2;
  top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.movie-score {
  left: 10px;
  background: rgba(245, 158, 11, 0.9);
}

.movie-type {
  right: 10px;
  background: rgba(14, 165, 233, 0.9);
}

.movie-body {
  padding: 16px;
}

.movie-title {
  display: -webkit-box;
  min-height: 46px;
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.25s ease;
}

.movie-card:hover .movie-title {
  color: var(--sky-600);
}

.movie-body p {
  display: -webkit-box;
  min-height: 46px;
  overflow: hidden;
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta span {
  color: #475569;
  background: linear-gradient(90deg, var(--sky-100), var(--amber-100));
}

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

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

.movie-card-compact .movie-body p {
  font-size: 13px;
}

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

.split-layout.reversed {
  grid-template-columns: minmax(0, 1fr) 330px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 44px 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  background: linear-gradient(90deg, rgba(240, 249, 255, 0.96), rgba(255, 251, 235, 0.96));
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.rank-num {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--sky-500), var(--amber-400));
}

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

.rank-thumb img {
  width: 92px;
  height: 60px;
  object-fit: cover;
}

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

.rank-info em {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-views {
  color: var(--sky-600);
  font-weight: 800;
}

.rank-list.slim .rank-row {
  grid-template-columns: 38px 72px minmax(0, 1fr);
}

.rank-list.slim .rank-views {
  display: none;
}

.rank-list.slim .rank-thumb img {
  width: 72px;
  height: 52px;
}

.page-hero {
  padding: 70px 0 34px;
}

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

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

.category-card {
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 150px;
  background: linear-gradient(135deg, var(--sky-100), var(--amber-100));
}

.category-thumbs img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.category-card-body {
  padding: 20px;
}

.category-card-body h2 {
  margin: 0;
  font-size: 24px;
}

.category-card-body p {
  min-height: 48px;
  margin: 10px 0 16px;
  color: var(--muted);
  line-height: 1.65;
}

.category-card-body span {
  color: var(--sky-600);
  font-weight: 800;
}

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

.filter-chips button {
  border: 0;
}

.local-search {
  width: min(320px, 100%);
}

.sticky-panel {
  position: sticky;
  top: 102px;
  padding: 20px;
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.sticky-panel h2 {
  margin: 0 0 16px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 28rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.92));
}

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

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, var(--sky-100), var(--amber-100));
}

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

.detail-copy {
  color: #ffffff;
}

.detail-copy h1 {
  color: #ffffff;
  font-size: clamp(38px, 6vw, 72px);
}

.detail-copy .section-kicker {
  color: #ffffff;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.86), rgba(245, 158, 11, 0.86));
}

.detail-line {
  color: rgba(255, 255, 255, 0.82);
}

.detail-meta {
  margin-top: 22px;
}

.tag-list {
  margin-top: 18px;
}

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

.breadcrumb a:hover {
  color: #ffffff;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.25);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22), rgba(2, 6, 23, 0.72));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  position: relative;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-500), var(--amber-400));
  box-shadow: 0 18px 38px rgba(14, 165, 233, 0.32);
}

.play-icon::before {
  content: "";
  margin-left: 6px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 26px solid #ffffff;
}

.player-overlay strong {
  max-width: 82%;
  font-size: 24px;
  text-align: center;
}

.player-message {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  min-height: 0;
  color: #ffffff;
  font-size: 14px;
}

.detail-text {
  display: grid;
  gap: 22px;
}

.detail-text article {
  padding: 24px;
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
}

.detail-text h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.detail-text p {
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.9;
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  color: #475569;
  background: rgba(255, 255, 255, 0.72);
}

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

.footer-brand {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  line-height: 1.75;
}

.big-search {
  max-width: 760px;
  margin-top: 24px;
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .header-search {
    display: none;
  }

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

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

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
  }

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

  .hero {
    min-height: 760px;
  }

  .hero-track,
  .hero-image {
    min-height: 700px;
    height: 700px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 26px;
  }

  .hero-poster {
    display: none;
  }

  .hero-dots {
    bottom: 142px;
  }

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

  .section-heading {
    display: grid;
  }

  .movie-grid,
  .featured-grid,
  .small-grid,
  .catalog-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-panel {
    position: static;
  }

  .detail-poster {
    max-width: 320px;
  }
}

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

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text em {
    display: none;
  }

  .hero-copy h2,
  .detail-copy h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .hero-copy p,
  .page-hero p,
  .detail-line {
    font-size: 15px;
  }

  .hero-search,
  .big-search {
    display: grid;
  }

  .hero-search button,
  .big-search button {
    min-height: 46px;
  }

  .movie-grid,
  .featured-grid,
  .small-grid,
  .catalog-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-views {
    display: none;
  }

  .rank-thumb img {
    width: 74px;
    height: 54px;
  }

  .section {
    padding: 48px 0;
  }

  .detail-hero {
    padding: 40px 0;
  }

  .player-overlay strong {
    font-size: 18px;
  }
}
