* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --cyan-600: #0891b2;
  --blue-600: #2563eb;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.10);
  --shadow-hover: 0 18px 48px rgba(15, 118, 110, 0.22);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--slate-900);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 46%, #f8fafc 100%);
  line-height: 1.65;
}

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: 50;
  background: linear-gradient(90deg, var(--teal-700), var(--cyan-600), var(--blue-600));
  box-shadow: 0 12px 26px rgba(8, 145, 178, 0.24);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  flex: 0 0 auto;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(2deg);
}

.brand-text strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.brand-text small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.75rem;
}

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

.desktop-nav a,
.mobile-links a {
  color: var(--white);
  font-weight: 700;
  padding: 9px 13px;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-links a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
  border: 0;
  outline: 0;
  border-radius: 14px;
  padding: 11px 14px;
}

.header-search input,
.mobile-search input {
  width: 230px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  color: var(--teal-700);
  background: var(--white);
  border-radius: 14px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.search-page-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 255, 255, 0.24);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 118, 110, 0.96);
}

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

.mobile-search {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 8px;
  display: flex;
  gap: 10px;
}

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

.mobile-links {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0 18px;
  display: grid;
  gap: 8px;
}

.hero-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 64px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24);
  background: #0f172a;
}

.hero-carousel {
  position: relative;
  min-height: clamp(430px, 56vw, 640px);
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 74% 22%, rgba(45, 212, 191, 0.34), transparent 36%), linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.58) 48%, rgba(2, 6, 23, 0.10)), linear-gradient(0deg, rgba(2, 6, 23, 0.82), transparent 38%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(680px, 88%);
  min-height: clamp(430px, 56vw, 640px);
  padding: clamp(34px, 6vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.hero-kicker {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  padding: 7px 12px;
  color: #ccfbf1;
  background: rgba(20, 184, 166, 0.22);
  backdrop-filter: blur(12px);
  font-weight: 800;
  font-size: 0.88rem;
}

.hero-copy h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 660px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

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

.hero-tags span,
.tag-row span,
.category-pill {
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 12px 18px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: var(--teal-700);
  background: var(--white);
}

.ghost-btn {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

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

.hero-controls {
  position: absolute;
  left: clamp(22px, 6vw, 76px);
  right: clamp(22px, 6vw, 76px);
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-prev,
.hero-next,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-prev,
.hero-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.65rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.25s ease, background 0.25s ease;
}

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

.content-section,
.detail-layout,
.page-hero,
.filter-panel,
.search-page-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.content-section {
  margin-bottom: 66px;
}

.soft-block {
  padding: clamp(24px, 4vw, 46px);
  border-radius: 32px;
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
}

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

.section-heading h2,
.rank-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.1;
}

.section-heading p,
.rank-heading p {
  margin: 8px 0 0;
  color: var(--slate-600);
}

.section-more,
.rank-heading a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-700);
  font-weight: 900;
}

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

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

.movie-card {
  border-radius: var(--radius-xl);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-link {
  display: block;
  height: 100%;
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .poster-frame img,
.rank-row:hover img,
.rank-list-item:hover img {
  transform: scale(1.08);
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 6, 23, 0.72));
  opacity: 0.78;
}

.play-mark {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.7rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .play-mark {
  opacity: 1;
}

.duration-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  border-radius: 9px;
  padding: 4px 8px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.movie-info {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.movie-info strong {
  font-size: 1.08rem;
  line-height: 1.32;
  transition: color 0.2s ease;
}

.movie-card:hover strong,
.rank-row:hover strong,
.rank-list-item:hover strong {
  color: var(--teal-700);
}

.movie-line {
  color: var(--slate-600);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--slate-600);
  font-size: 0.84rem;
}

.movie-meta em {
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--teal-700);
  background: #ccfbf1;
  font-style: normal;
  font-weight: 800;
}

.movie-card-horizontal .movie-link {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.movie-card-horizontal .poster-frame {
  aspect-ratio: auto;
  height: 96px;
}

.movie-card-horizontal .movie-info {
  padding: 13px 14px 13px 0;
}

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

.category-tile,
.category-card {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile {
  min-height: 200px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #ffffff, #f0fdfa);
}

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

.category-tile strong {
  font-size: 1.35rem;
}

.category-tile span,
.category-tile em {
  color: var(--slate-600);
  font-style: normal;
  font-size: 0.92rem;
}

.rank-panel {
  padding: clamp(24px, 4vw, 46px);
  border-radius: 32px;
  background: linear-gradient(135deg, #eff6ff, #ecfeff, #f0fdfa);
}

.rank-heading span {
  color: var(--teal-700);
  font-weight: 900;
  letter-spacing: 0.16em;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 42px 86px minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: center;
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.rank-num,
.rank-large {
  color: var(--teal-700);
  font-weight: 950;
  font-size: 1.08rem;
}

.rank-row img,
.rank-list-item img {
  width: 86px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.rank-copy,
.rank-list-copy {
  display: grid;
  min-width: 0;
}

.rank-copy strong,
.rank-list-copy strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-copy em,
.rank-list-copy em,
.rank-list-copy small {
  color: var(--slate-600);
  font-style: normal;
  font-size: 0.82rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-arrow {
  color: var(--teal-700);
  font-size: 1.5rem;
}

.page-hero {
  margin-top: 36px;
  margin-bottom: 28px;
  border-radius: 30px;
  padding: clamp(28px, 5vw, 58px);
  color: var(--white);
  background: radial-gradient(circle at right top, rgba(34, 211, 238, 0.34), transparent 34%), linear-gradient(90deg, var(--teal-700), var(--cyan-600));
  box-shadow: 0 20px 48px rgba(8, 145, 178, 0.22);
}

.simple-hero {
  background: radial-gradient(circle at right top, rgba(255, 255, 255, 0.22), transparent 34%), linear-gradient(110deg, #0f766e, #2563eb);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.crumbs a:hover {
  color: var(--white);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 4.8vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.page-hero p,
.page-hero span {
  margin: 0;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

.filter-panel,
.search-page-panel {
  margin-bottom: 28px;
  border-radius: 24px;
  padding: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.filter-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}

.filter-row label {
  display: grid;
  gap: 8px;
  color: var(--slate-700);
  font-weight: 800;
}

.filter-panel input,
.filter-panel select,
.search-page-form input {
  width: 100%;
  border: 1px solid var(--slate-200);
  background: #f8fafc;
  color: var(--slate-900);
}

.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
}

.search-page-form button {
  color: var(--white);
  background: linear-gradient(90deg, var(--teal-600), var(--cyan-600));
}

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

.category-card {
  padding: 0;
  overflow: hidden;
}

.category-card-main {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: linear-gradient(135deg, #f0fdfa, #eff6ff);
}

.category-card-main span {
  color: var(--teal-700);
  font-weight: 950;
}

.category-card-main h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: 1.16rem;
}

.category-card-main em {
  color: var(--teal-700);
  font-style: normal;
  font-weight: 900;
}

.category-card ul {
  list-style: none;
  padding: 18px 24px 24px;
  margin: 0;
  display: grid;
  gap: 8px;
}

.category-card li a {
  color: var(--slate-600);
}

.category-card li a:hover {
  color: var(--teal-700);
}

.rank-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.rank-list-item {
  display: grid;
  grid-template-columns: 64px 130px minmax(0, 1fr) 100px;
  gap: 18px;
  align-items: center;
  border-radius: 20px;
  padding: 14px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-list-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.rank-list-item img {
  width: 130px;
  height: 80px;
}

.rank-list-copy em {
  font-size: 0.95rem;
}

.rank-views {
  justify-self: end;
  color: var(--teal-700);
  font-weight: 900;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 360px;
  gap: 28px;
  margin-top: 34px;
  margin-bottom: 66px;
}

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

.detail-crumbs {
  margin: 0;
  color: var(--slate-600);
}

.detail-crumbs a:hover {
  color: var(--teal-700);
}

.player-card,
.detail-card,
.side-cover,
.side-recommend {
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.player-card {
  background: #020617;
}

.player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.movie-player {
  width: 100%;
  height: 100%;
  cursor: pointer;
  object-fit: contain;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(15, 118, 110, 0.18), rgba(2, 6, 23, 0.38));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding-left: 6px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  font-size: 2rem;
}

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

.detail-card {
  padding: clamp(22px, 4vw, 34px);
}

.detail-card .tag-row span,
.detail-card .category-pill {
  color: var(--teal-700);
  background: #ccfbf1;
}

.detail-card .tag-row span {
  color: var(--slate-700);
  background: var(--slate-100);
}

.detail-card h1 {
  margin: 18px 0 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--slate-200);
}

.detail-meta span {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--slate-600);
  background: #f8fafc;
  font-weight: 700;
  font-size: 0.9rem;
}

.detail-card h2,
.side-recommend h2 {
  margin: 24px 0 10px;
  font-size: 1.35rem;
}

.lead-text {
  color: var(--slate-900);
  font-weight: 900;
  font-size: 1.08rem;
}

.detail-card p {
  color: var(--slate-700);
  margin: 0 0 14px;
}

.review-box {
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
}

.side-cover {
  position: relative;
}

.side-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.side-cover div {
  padding: 18px;
  display: grid;
  gap: 4px;
}

.side-cover strong {
  font-size: 1.2rem;
}

.side-cover span {
  color: var(--slate-600);
}

.side-recommend {
  padding: 20px;
}

.side-recommend h2 {
  margin-top: 0;
}

.side-list {
  display: grid;
  gap: 14px;
}

.side-list .movie-card {
  box-shadow: none;
  border: 1px solid var(--slate-200);
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, #020617, #134e4a 52%, #0f172a);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.18rem;
}

.footer-brand span {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(45, 212, 191, 0.18);
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1.05rem;
}

.site-footer p {
  color: #94a3b8;
  margin: 12px 0 0;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: #94a3b8;
}

.site-footer a:hover {
  color: #5eead4;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 32px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  color: #64748b;
  font-size: 0.92rem;
}

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

@media (max-width: 1060px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

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

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

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

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

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

  .brand-text small {
    display: none;
  }

  .hero-shell {
    margin-top: 16px;
    border-radius: 0;
    width: 100%;
  }

  .hero-copy {
    width: 100%;
    padding: 34px 20px 82px;
  }

  .hero-controls {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

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

  .movie-grid,
  .compact-grid,
  .catalog-grid,
  .rank-grid,
  .category-grid,
  .category-list-grid,
  .footer-inner,
  .filter-row,
  .search-page-form {
    grid-template-columns: 1fr;
  }

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

  .rank-list-item img {
    width: 96px;
    height: 64px;
  }

  .rank-views {
    display: none;
  }

  .page-hero {
    margin-top: 20px;
    border-radius: 22px;
  }
}

@media (max-width: 520px) {
  .movie-card-horizontal .movie-link {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .movie-card-horizontal .poster-frame {
    height: 90px;
  }

  .hero-tags,
  .ghost-btn:nth-child(3) {
    display: none;
  }
}
