:root {
  --rose: #f43f5e;
  --rose-dark: #e11d48;
  --pink: #db2777;
  --amber: #f59e0b;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #fff7ed;
  --bg: #f9fafb;
  --card: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--rose);
  white-space: nowrap;
}

.brand-mark,
.footer-logo span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  color: #fff;
  font-size: 14px;
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.24);
}

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

.desktop-nav a,
.mobile-nav a {
  font-size: 15px;
  font-weight: 650;
  color: #374151;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover {
  color: var(--rose);
}

.top-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.top-search input,
.mobile-nav input,
.hero-search input,
.filter-bar input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.top-search input {
  width: 180px;
  padding: 7px 8px 7px 14px;
}

.top-search button,
.hero-search button,
.mobile-nav button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  color: #fff;
  font-weight: 700;
  padding: 8px 16px;
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: #fff1f2;
  color: var(--rose);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 22px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.mobile-nav form {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.mobile-nav input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  background: #f9fafb;
}

.hero-shell {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff1f2 0%, #fdf2f8 45%, #fffbeb 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 12% 12%, rgba(244, 63, 94, 0.18), transparent 28%), radial-gradient(circle at 90% 20%, rgba(245, 158, 11, 0.17), transparent 25%), linear-gradient(rgba(251, 113, 133, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(251, 113, 133, 0.08) 1px, transparent 1px);
  background-size: auto, auto, 60px 60px, 60px 60px;
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  align-items: center;
  gap: 52px;
  padding: 56px 0 86px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  color: #4b5563;
  background: rgba(255, 255, 255, 0.80);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-copy h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  font-weight: 900;
  color: #111827;
}

.hero-copy h1 span {
  display: block;
  margin-top: 10px;
  color: transparent;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 19px;
  line-height: 1.85;
  color: #4b5563;
}

.hero-search {
  display: flex;
  align-items: center;
  width: min(100%, 560px);
  margin-top: 30px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.hero-search input {
  flex: 1;
  padding: 14px 18px;
  font-size: 16px;
}

.hero-search button {
  padding: 14px 22px;
}

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

.primary-action,
.ghost-action,
.hero-channels a,
.more-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.primary-action {
  padding: 13px 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: 0 16px 30px rgba(244, 63, 94, 0.24);
}

.ghost-action,
.hero-channels a {
  padding: 12px 22px;
  color: #374151;
  background: #fff;
  border: 1px solid var(--line);
}

.hero-channels a {
  padding: 8px 14px;
  color: var(--rose);
  background: rgba(255, 255, 255, 0.70);
}

.primary-action:hover,
.ghost-action:hover,
.hero-channels a:hover,
.more-link:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero-panel {
  position: relative;
  height: 560px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s ease, transform 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

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

.hero-slide-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.16), rgba(255, 255, 255, 0.04));
}

.hero-slide-content {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 28px;
  color: #fff;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-tags span,
.detail-tags span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 750;
}

.hero-slide-content h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 850;
}

.hero-slide-content p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.hero-slide-content a {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--rose);
  font-weight: 850;
}

.hero-dots {
  position: absolute;
  right: 24px;
  top: 24px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 28px;
  background: #fff;
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
}

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

.white-block {
  width: 100%;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: #fff;
}

.warm-block {
  width: 100%;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 850;
}

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

.center-head {
  text-align: center;
}

.split-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.more-link,
.text-link {
  color: var(--rose);
  font-size: 15px;
}

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

.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.20));
}

.category-content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  color: #fff;
}

.category-content strong {
  display: block;
  font-size: 24px;
  font-weight: 850;
  margin-bottom: 6px;
}

.category-content em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-style: normal;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.55;
}

.category-tile:hover img,
.movie-card:hover img,
.category-preview:hover img {
  transform: scale(1.08);
}

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

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

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

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

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

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

.movie-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(229, 231, 235, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.14);
}

.movie-poster {
  position: relative;
  height: 292px;
  overflow: hidden;
  background: #111827;
}

.movie-card-compact .movie-poster,
.related-grid .movie-poster {
  height: 230px;
}

.catalog-grid .movie-poster {
  height: 260px;
}

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

.movie-region,
.rank-badge {
  position: absolute;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.18);
}

.movie-region {
  right: 14px;
  padding: 6px 10px;
  background: var(--rose);
}

.rank-badge {
  left: 14px;
  width: 34px;
  height: 34px;
  justify-content: center;
  background: var(--amber);
}

.movie-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(244, 63, 94, 0.86);
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card-link:hover .movie-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}

.movie-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.movie-meta span:first-child {
  color: var(--rose);
  background: #fff1f2;
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 800;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 850;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.movie-card-link:hover h3 {
  color: var(--rose);
}

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

.movie-genre {
  margin-top: auto;
  color: #9ca3af;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, #fff1f2, #fdf2f8 55%, #fffbeb);
}

.page-hero div {
  max-width: 760px;
}

.page-hero span {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--rose);
  background: rgba(255, 255, 255, 0.85);
  font-weight: 850;
  margin-bottom: 18px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.page-hero p {
  margin: 18px 0 0;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.8;
}

.rank-page-hero {
  background: linear-gradient(135deg, #111827, #7f1d1d 55%, #f97316);
  color: #fff;
}

.rank-page-hero p {
  color: rgba(255, 255, 255, 0.82);
}

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

.category-overview-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.category-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  height: 170px;
  overflow: hidden;
  background: #111827;
}

.category-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-overview-body {
  padding: 24px;
}

.category-overview-body h2 {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 850;
}

.category-overview-body p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.filter-bar input {
  flex: 1 1 260px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px solid var(--line);
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn,
.filter-bar select {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #374151;
  font-weight: 750;
  padding: 0 14px;
  cursor: pointer;
}

.filter-btn.is-active,
.filter-btn:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--rose), var(--pink));
}

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

.ranking-side,
.detail-side .side-panel,
.poster-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.ranking-side {
  position: sticky;
  top: 98px;
  padding: 22px;
}

.ranking-side h2,
.side-panel h2,
.poster-panel h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 850;
}

.side-movie {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}

.side-movie:last-child {
  border-bottom: 0;
}

.side-movie img {
  width: 66px;
  height: 82px;
  border-radius: 14px;
  object-fit: cover;
}

.side-body strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 850;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.side-body em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.side-rank {
  position: absolute;
  right: 0;
  top: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #fff;
  background: var(--amber);
  font-size: 12px;
  font-weight: 850;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--rose);
  font-weight: 750;
}

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

.player-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: radial-gradient(circle at center, rgba(244, 63, 94, 0.35), rgba(15, 23, 42, 0.62));
}

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

.play-ring {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: 0 18px 42px rgba(244, 63, 94, 0.34);
  font-size: 28px;
}

.player-overlay strong {
  max-width: 88%;
  font-size: 22px;
  line-height: 1.35;
}

.detail-body {
  padding: 30px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.detail-tags span {
  color: var(--rose);
  background: #fff1f2;
}

.detail-body h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.detail-meta a {
  color: var(--rose);
  font-weight: 750;
}

.detail-body h2 {
  margin: 28px 0 12px;
  font-size: 24px;
  font-weight: 850;
}

.detail-body p {
  margin: 0 0 16px;
  color: #374151;
  line-height: 1.9;
  font-size: 16px;
}

.review-box {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff1f2, #fdf2f8);
  border: 1px solid #ffe4e6;
}

.related-section {
  margin-top: 38px;
}

.detail-side {
  display: grid;
  gap: 24px;
  position: sticky;
  top: 98px;
}

.poster-panel {
  overflow: hidden;
}

.poster-panel > img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.poster-panel h2,
.poster-panel p,
.poster-panel .tag-cloud,
.side-panel {
  padding-left: 22px;
  padding-right: 22px;
}

.poster-panel h2 {
  padding-top: 22px;
  margin-bottom: 8px;
}

.poster-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 22px;
}

.tag-cloud span {
  color: var(--rose);
  background: #fff1f2;
}

.side-panel {
  padding-top: 22px;
  padding-bottom: 16px;
}

.site-footer {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #d1d5db;
}

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

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 850;
  margin-bottom: 14px;
}

.footer-brand p,
.site-footer li {
  color: #9ca3af;
  line-height: 1.8;
  margin: 0;
}

.site-footer h2 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 850;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: #9ca3af;
  padding: 20px 16px;
}

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

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero-panel {
    height: 480px;
  }

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

  .featured-grid,
  .category-overview-grid,
  .ranking-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .ranking-side,
  .detail-side {
    position: static;
  }

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

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

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-wrap {
    min-height: 66px;
  }

  .brand {
    font-size: 20px;
  }

  .hero-shell,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    gap: 30px;
    padding: 34px 0 70px;
  }

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

  .hero-search {
    border-radius: 26px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search button {
    width: 100%;
  }

  .hero-panel {
    height: 430px;
    border-radius: 26px;
  }

  .hero-slide-content h2 {
    font-size: 24px;
  }

  .section-block,
  .white-block,
  .warm-block {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .split-head {
    display: block;
  }

  .more-link {
    margin-top: 14px;
  }

  .category-grid,
  .movie-grid,
  .catalog-grid,
  .ranking-grid,
  .latest-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .movie-poster,
  .catalog-grid .movie-poster {
    height: 230px;
  }

  .movie-info {
    padding: 14px;
  }

  .movie-info p,
  .movie-genre {
    display: none;
  }

  .page-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .filter-bar {
    display: grid;
  }

  .filter-buttons {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .detail-page {
    padding-top: 16px;
  }

  .detail-body {
    padding: 22px;
  }

  .poster-panel > img {
    height: 380px;
  }

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

@media (max-width: 480px) {
  .category-grid,
  .movie-grid,
  .catalog-grid,
  .ranking-grid,
  .latest-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .movie-poster,
  .catalog-grid .movie-poster,
  .movie-card-compact .movie-poster,
  .related-grid .movie-poster {
    height: 340px;
  }
}
