:root {
  --bg: #020617;
  --panel: #0f172a;
  --panel-soft: #111827;
  --panel-light: #1e293b;
  --line: #334155;
  --text: #ffffff;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --gold: #f59e0b;
  --gold-deep: #d97706;
  --orange: #f97316;
  --shadow: 0 24px 60px rgba(245, 158, 11, 0.18);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.10), transparent 34rem),
    linear-gradient(180deg, #020617 0%, #0f172a 44%, #020617 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--container));
  height: 64px;
  margin: 0 auto;
}

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

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.12);
  transform: translateZ(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand__mark {
  transform: scale(1.08);
  box-shadow: 0 0 0 9px rgba(245, 158, 11, 0.18);
}

.brand__name {
  font-size: 1.18rem;
  color: transparent;
  background: linear-gradient(90deg, #fbbf24, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
}

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

.nav-link {
  color: #d1d5db;
  font-size: 0.95rem;
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fbbf24;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

.mobile-nav {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto 14px;
  padding: 12px;
  border: 1px solid rgba(51, 65, 85, 0.72);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.98);
}

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

.mobile-nav__link {
  padding: 10px 12px;
  border-radius: 12px;
  color: #d1d5db;
  font-weight: 650;
}

.mobile-nav__link:hover,
.mobile-nav__link.is-active {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
}

main {
  min-height: 68vh;
}

.hero {
  position: relative;
  height: 72vh;
  min-height: 560px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

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

.hero-slide__image,
.hero-slide__image img {
  width: 100%;
  height: 100%;
}

.hero-slide__image img {
  object-fit: cover;
  transform: scale(1.02);
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.65) 42%, rgba(2, 6, 23, 0.10) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.72) 36%, transparent 100%);
}

.hero-slide__content {
  position: absolute;
  right: 0;
  bottom: 84px;
  left: 0;
}

.hero-slide__meta,
.detail-meta,
.page-hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: #d1d5db;
  font-size: 0.95rem;
}

.hero-slide h1 {
  max-width: 780px;
  margin: 18px 0 14px;
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-slide p {
  max-width: 680px;
  margin: 0 0 28px;
  color: #d1d5db;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(10px);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-50%) scale(1.05);
}

.hero-arrow--prev {
  left: 22px;
}

.hero-arrow--next {
  right: 22px;
}

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

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: var(--shadow);
}

.button--ghost {
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.62);
}

.button--ghost:hover {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.10);
}

.badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.2;
}

.badge--gold {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.96);
}

.badge--dark {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
}

.quick-search-panel {
  position: relative;
  z-index: 5;
  margin-top: -34px;
  padding: 22px;
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.quick-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.quick-search input,
.filter-bar input,
.search-controls input,
.search-controls select {
  min-height: 46px;
  width: 100%;
  border: 1px solid rgba(71, 85, 105, 0.95);
  border-radius: 12px;
  outline: none;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.76);
  padding: 0 14px;
}

.quick-search input:focus,
.filter-bar input:focus,
.search-controls input:focus,
.search-controls select:focus {
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.13);
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.quick-tags a {
  padding: 7px 12px;
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.9);
}

.quick-tags a:hover {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.22);
}

.section-block {
  padding-top: 58px;
}

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

.section-heading__eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #fbbf24;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.section-heading h2,
.page-hero h1,
.detail-main h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-heading p,
.page-hero p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
}

.section-more {
  flex: 0 0 auto;
  color: #fbbf24;
  font-weight: 750;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

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

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

.movie-card__link {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.62);
  border-radius: 18px;
  background: rgba(30, 41, 59, 0.82);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card__link:hover {
  transform: scale(1.02) translateY(-2px);
  border-color: rgba(245, 158, 11, 0.42);
  box-shadow: var(--shadow);
}

.image-frame {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 158, 11, 0.24), transparent 34%),
    linear-gradient(135deg, #1e293b, #020617);
}

.image-frame::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  content: "";
  color: rgba(255, 255, 255, 0.34);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.image-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card__link:hover img {
  transform: scale(1.10);
}

.movie-card__cover {
  aspect-ratio: 3 / 4;
}

.movie-card--medium .movie-card__cover {
  aspect-ratio: 16 / 9;
}

.movie-card--large .movie-card__cover {
  aspect-ratio: 21 / 9;
}

.movie-card__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.10) 56%, transparent);
  opacity: 0.72;
  transition: opacity 0.25s ease;
}

.movie-card__link:hover .movie-card__shade {
  opacity: 0.92;
}

.movie-card__play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card__play span,
.player-overlay__button span {
  display: block;
}

.movie-card__play::before,
.player-overlay__button {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.92);
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.25);
  transform: scale(0.86);
  transition: transform 0.25s ease;
}

.movie-card__play::before {
  content: "▶";
}

.movie-card__link:hover .movie-card__play {
  opacity: 1;
}

.movie-card__link:hover .movie-card__play::before {
  transform: scale(1);
}

.icon-play {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
}


.movie-card__play .icon-play {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-left: 0;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.92);
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.25);
  transform: scale(0.86);
  transition: transform 0.25s ease;
}

.movie-card__play .icon-play::after {
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid currentColor;
  content: "";
}

.movie-card__play::before {
  display: none;
}

.movie-card__link:hover .movie-card__play .icon-play {
  transform: scale(1);
}

.movie-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: calc(100% - 24px);
}

.movie-card__badges .badge--gold {
  max-width: 148px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-card__duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  padding: 4px 8px;
  border-radius: 9px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.movie-card__body {
  padding: 14px;
}

.movie-card__body h3 {
  margin: 0 0 8px;
  overflow: hidden;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.movie-card__link:hover h3 {
  color: #fbbf24;
}

.movie-card__body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.split-section__main,
.editor-panel,
.ranking-panel,
.side-card,
.detail-card,
.search-panel,
.list-tools,
.category-tile {
  border: 1px solid rgba(51, 65, 85, 0.62);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.86));
}

.split-section__main,
.editor-panel,
.search-panel,
.list-tools {
  padding: 26px;
}

.region-list {
  display: grid;
  gap: 30px;
}

.region-block__title,
.ranking-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.region-block__title h3,
.ranking-panel__head h2 {
  margin: 0;
}

.region-block__title a,
.ranking-panel__head a {
  color: #fbbf24;
  font-size: 0.9rem;
  font-weight: 750;
}

.ranking-panel {
  position: sticky;
  top: 82px;
  padding: 22px;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.64);
  transition: background 0.2s ease;
}

.ranking-row:hover {
  background: rgba(245, 158, 11, 0.12);
}

.ranking-row__num {
  color: #fbbf24;
  font-weight: 900;
}

.ranking-row__title {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-row__meta {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.78rem;
}

.ranking-row__score {
  grid-row: 1 / span 2;
  grid-column: 3;
  color: #ffffff;
  font-weight: 800;
}

.scroll-row {
  display: grid;
  grid-auto-columns: minmax(210px, 250px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

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

.page-hero {
  padding: 132px 0 54px;
  background:
    linear-gradient(180deg, rgba(245, 158, 11, 0.12), transparent),
    radial-gradient(circle at 75% 30%, rgba(249, 115, 22, 0.16), transparent 28rem);
}

.page-hero--compact {
  padding-bottom: 38px;
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p {
  font-size: 1.08rem;
}

.page-hero__stats {
  margin-top: 18px;
}

.page-hero__stats span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.78);
}

.filter-bar,
.search-controls {
  display: grid;
  gap: 12px;
}

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

.filter-count,
.search-status {
  margin: 12px 0 0;
  color: var(--muted);
}

.search-controls {
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(160px, 0.5fr));
}

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

.category-tile {
  display: block;
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: var(--shadow);
}

.category-tile__label {
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 800;
}

.category-tile h2 {
  margin: 8px 0;
}

.category-tile p {
  min-height: 54px;
  margin: 0 0 18px;
  color: var(--muted);
}

.category-tile strong {
  color: #ffffff;
  font-size: 1.4rem;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.pager__item {
  min-width: 42px;
  padding: 9px 12px;
  border-radius: 12px;
  color: #d1d5db;
  background: rgba(30, 41, 59, 0.82);
  text-align: center;
  font-weight: 750;
}

.pager__item:hover,
.pager__item.is-active {
  color: #ffffff;
  background: var(--gold);
}

.pager__item.is-disabled,
.pager__item.is-ellipsis {
  opacity: 0.48;
  pointer-events: none;
}

.ranking-table {
  display: grid;
  gap: 8px;
}

.ranking-table__head,
.ranking-table__row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.3fr) minmax(0, 1fr) 80px 80px;
  gap: 12px;
  align-items: center;
}

.ranking-table__head {
  padding: 0 18px 10px;
  color: var(--muted);
  font-weight: 800;
}

.ranking-table__row {
  padding: 14px 18px;
  border: 1px solid rgba(51, 65, 85, 0.62);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.74);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-table__row:hover {
  background: rgba(245, 158, 11, 0.11);
  transform: translateX(3px);
}

.ranking-table__rank,
.ranking-table__score {
  color: #fbbf24;
  font-weight: 900;
}

.ranking-table__name,
.ranking-table__genre {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-table__genre,
.ranking-table__year {
  color: var(--muted);
}

.player-section {
  padding-top: 64px;
  background: #000000;
}

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.56), transparent 58%);
  transition: opacity 0.25s ease;
}

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

.player-overlay__button {
  color: #ffffff;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding-top: 36px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 22px;
}

.tag-list span {
  padding: 6px 12px;
  border-radius: 10px;
  color: #d1d5db;
  background: rgba(30, 41, 59, 0.9);
  font-size: 0.9rem;
}

.detail-card {
  padding: 24px;
  margin-top: 18px;
}

.detail-card--gradient {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.95));
}

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

.detail-card p {
  margin: 0;
  color: #d1d5db;
}

.detail-card p + p {
  margin-top: 14px;
}

.detail-side {
  min-width: 0;
}

.side-card {
  position: sticky;
  top: 84px;
  padding: 20px;
}

.related-mini {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 9px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.related-mini:hover {
  background: rgba(51, 65, 85, 0.62);
}

.related-mini__cover {
  aspect-ratio: 3 / 2;
  border-radius: 10px;
}

.related-mini__body {
  min-width: 0;
}

.related-mini strong {
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.site-footer {
  margin-top: 70px;
  border-top: 1px solid rgba(51, 65, 85, 0.72);
  background: rgba(15, 23, 42, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1fr 1fr;
  gap: 30px;
  padding: 42px 0;
}

.footer-about p,
.site-footer a {
  color: var(--muted);
}

.site-footer h3 {
  margin: 0 0 14px;
}

.site-footer a {
  display: block;
  margin: 7px 0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(51, 65, 85, 0.72);
  padding: 16px;
  color: #64748b;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.is-hidden-card {
  display: none;
}

@media (max-width: 1080px) {
  .grid--6 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .ranking-panel,
  .side-card {
    position: static;
  }

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

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

  .menu-toggle {
    display: flex;
  }

  .hero {
    height: 76vh;
    min-height: 540px;
  }

  .hero-slide__overlay {
    background:
      linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.74) 46%, rgba(2, 6, 23, 0.38) 100%);
  }

  .hero-slide__content {
    bottom: 70px;
  }

  .hero-arrow {
    display: none;
  }

  .quick-search,
  .filter-bar,
  .search-controls,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .grid--6,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-card--medium .movie-card__cover,
  .movie-card--large .movie-card__cover {
    aspect-ratio: 3 / 4;
  }

  .section-heading {
    display: block;
  }

  .section-more {
    display: inline-flex;
    margin-top: 12px;
  }

  .ranking-table__head {
    display: none;
  }

  .ranking-table__row {
    grid-template-columns: 54px 1fr 52px;
  }

  .ranking-table__genre,
  .ranking-table__year {
    display: none;
  }
}

@media (max-width: 480px) {
  .container,
  .site-header__inner,
  .mobile-nav {
    width: min(100% - 22px, var(--container));
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .grid--6,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero-slide h1 {
    font-size: 2.35rem;
  }

  .quick-search-panel,
  .split-section__main,
  .editor-panel,
  .search-panel,
  .list-tools {
    padding: 16px;
  }
}
