* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #1f2937;
  background: linear-gradient(135deg, #fff1f2 0%, #ffffff 42%, #fdf2f8 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.32);
  transition: transform 0.3s ease;
}

.site-logo:hover .logo-mark {
  transform: scale(1.08) rotate(-4deg);
}

.logo-text {
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(135deg, #db2777, #e11d48);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  color: #4b5563;
  font-weight: 700;
  transition: color 0.25s ease;
}

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

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff1f2;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #be185d;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 14px 24px 22px;
  border-top: 1px solid #f3f4f6;
  background: #ffffff;
}

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

.mobile-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}

.mobile-sub-link {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  color: #be185d;
  background: #fdf2f8;
  font-size: 13px;
  font-weight: 700;
}

main {
  min-height: 60vh;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  color: #ffffff;
  background: linear-gradient(120deg, #db2777 0%, #f43f5e 48%, #be185d 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 48px;
  align-items: center;
  padding: 68px 0;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 14px 0 22px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 690px;
  margin: 0 0 28px;
  color: #ffe4e6;
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff1f2;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-search {
  width: min(650px, 100%);
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(88, 28, 135, 0.22);
  backdrop-filter: blur(18px);
}

.hero-search input,
.filter-panel input,
.filter-panel select {
  border: 0;
  outline: 0;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border-radius: 999px;
  color: #831843;
  background: #ffffff;
}

.hero-search button,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-search button {
  padding: 0 24px;
  border-radius: 999px;
  color: #be185d;
  background: #ffffff;
}

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

.primary-button {
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  color: #db2777;
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(190, 24, 93, 0.26);
}

.ghost-button {
  min-height: 48px;
  padding: 0 26px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
}

.primary-button:hover,
.ghost-button:hover,
.hero-search button:hover {
  transform: translateY(-2px) scale(1.02);
}

.ghost-button:hover {
  color: #db2777;
  background: #ffffff;
}

.hero-glow {
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 999px;
  opacity: 0.22;
  filter: blur(48px);
  mix-blend-mode: overlay;
  animation: blob 10s infinite ease-in-out;
}

.hero-glow-one {
  top: 70px;
  left: 8%;
  background: #ffffff;
}

.hero-glow-two {
  top: 170px;
  right: 8%;
  background: #f9a8d4;
  animation-delay: 2s;
}

.hero-glow-three {
  bottom: 60px;
  left: 45%;
  background: #fb7185;
  animation-delay: 4s;
}

.hero-showcase {
  position: relative;
  min-height: 540px;
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(76, 5, 25, 0.34);
}

.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 34px;
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s ease;
  background: #111827;
}

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

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

.hero-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.86));
}

.hero-poster-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 32px;
}

.hero-poster-content span,
.detail-badge,
.movie-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-poster-content span {
  padding: 7px 12px;
  color: #ffe4e6;
  background: rgba(236, 72, 153, 0.76);
}

.hero-poster-content h3 {
  margin: 14px 0 10px;
  font-size: 30px;
  line-height: 1.2;
}

.hero-poster-content p {
  display: -webkit-box;
  margin: 0 0 12px;
  color: #f9fafb;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-poster-content small {
  display: block;
  color: #fecdd3;
}

.hero-poster-content a {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #be185d;
  background: #ffffff;
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

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

.hero-dot.active {
  width: 30px;
  background: #ffffff;
}

.stats-section {
  background: #ffffff;
}

.stats-grid,
.content-section,
.detail-layout,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 42px 0;
}

.stat-card {
  padding: 28px;
  border-radius: 26px;
  text-align: center;
  background: linear-gradient(135deg, #fdf2f8, #fff1f2);
  transition: transform 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card strong {
  display: block;
  color: #111827;
  font-size: 32px;
  line-height: 1.1;
}

.stat-card span {
  color: #6b7280;
}

.content-section {
  padding: 70px 0;
}

.content-section.soft-blue,
.soft-blue {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(90deg, #eff6ff, #ecfeff);
}

.content-section.soft-orange,
.soft-orange {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(90deg, #fff7ed, #fffbeb);
}

.content-section.soft-rose,
.soft-rose {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, #ffe4e6, #fdf2f8);
}

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

.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #111827;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.section-heading h2 span {
  color: #db2777;
}

.section-heading p {
  margin: 6px 0 0;
  color: #6b7280;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-radius: 22px;
  color: #111827;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(190, 24, 93, 0.18);
}

.movie-poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #831843);
}

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

.movie-card:hover img,
.mini-card:hover img,
.ranking-item:hover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.72), transparent);
}

.movie-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  color: #be185d;
  background: rgba(255, 255, 255, 0.9);
}

.rank-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #f43f5e);
  font-size: 13px;
  font-weight: 900;
}

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

.movie-card-body strong {
  display: -webkit-box;
  min-height: 1.5em;
  font-size: 17px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-body em {
  display: -webkit-box;
  min-height: 3em;
  color: #6b7280;
  font-size: 14px;
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #9ca3af;
  font-size: 12px;
}

.movie-meta span {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f9fafb;
}

.card-tags {
  color: #be185d;
  font-size: 12px;
  font-weight: 700;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  padding: 28px;
  border-radius: 28px;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.category-tile span {
  display: block;
  margin-bottom: 16px;
  font-size: 52px;
  line-height: 1;
}

.category-tile strong,
.category-overview-card strong {
  display: block;
  font-size: 25px;
  line-height: 1.2;
}

.category-tile em,
.category-overview-card em {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.theme-pink {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.theme-rose {
  background: linear-gradient(135deg, #e11d48, #be123c);
}

.theme-blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.theme-orange {
  background: linear-gradient(135deg, #f97316, #f59e0b);
}

.theme-violet {
  background: linear-gradient(135deg, #8b5cf6, #d946ef);
}

.theme-amber {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.theme-cyan {
  background: linear-gradient(135deg, #06b6d4, #14b8a6);
}

.theme-emerald {
  background: linear-gradient(135deg, #10b981, #22c55e);
}

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

.mini-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(190, 24, 93, 0.15);
}

.mini-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.mini-card strong,
.ranking-info strong {
  display: -webkit-box;
  color: #111827;
  font-size: 17px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-card em,
.ranking-info em {
  display: -webkit-box;
  margin-top: 6px;
  color: #6b7280;
  font-style: normal;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 64px 86px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-item:hover {
  transform: translateX(4px);
  box-shadow: 0 18px 42px rgba(190, 24, 93, 0.14);
}

.ranking-item.compact {
  grid-template-columns: 52px 70px minmax(0, 1fr) auto;
}

.ranking-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  font-weight: 900;
}

.ranking-item img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.ranking-item.compact img {
  width: 70px;
  height: 70px;
}

.ranking-info small {
  display: block;
  margin-top: 6px;
  color: #9ca3af;
}

.ranking-action {
  display: inline-flex;
  padding: 9px 15px;
  border-radius: 999px;
  color: #be185d;
  background: #fdf2f8;
  font-size: 13px;
  font-weight: 900;
}

.sub-hero {
  color: #ffffff;
  background: linear-gradient(135deg, #db2777, #f43f5e);
}

.sub-hero > div {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0;
}

.sub-hero span {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  color: #ffe4e6;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.sub-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
}

.sub-hero p {
  max-width: 720px;
  margin: 0;
  color: #ffe4e6;
  font-size: 18px;
}

.category-overview-card {
  min-height: 260px;
}

.category-overview-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.category-overview-head > span {
  font-size: 42px;
}

.category-preview-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.category-preview-images img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
}

.filter-panel {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 14px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.filter-panel input {
  flex: 1 1 320px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f9fafb;
}

.filter-panel select {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  color: #4b5563;
  background: #f9fafb;
}

.empty-state {
  display: none;
  margin: 42px 0 0;
  padding: 26px;
  border-radius: 22px;
  text-align: center;
  color: #be185d;
  background: #fff1f2;
  font-weight: 800;
}

.empty-state.show {
  display: block;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.04);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 70px 0;
}

.detail-cover img {
  width: 280px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #ffe4e6;
}

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

.breadcrumb em {
  font-style: normal;
}

.detail-badge {
  padding: 7px 13px;
  color: #be185d;
  background: rgba(255, 255, 255, 0.9);
}

.detail-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
}

.detail-copy p {
  max-width: 780px;
  margin: 0 0 20px;
  color: #ffe4e6;
  font-size: 19px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 56px 0 76px;
}

.detail-main,
.related-panel {
  min-width: 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #030712;
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.2);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.18), rgba(3, 7, 18, 0.72));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #be185d;
  background: #ffffff;
  font-size: 32px;
  box-shadow: 0 18px 40px rgba(244, 63, 94, 0.28);
}

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

.detail-panel,
.related-panel {
  margin-top: 24px;
  padding: 28px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.detail-panel h2,
.related-panel h2 {
  margin: 0 0 18px;
  color: #111827;
  font-size: 24px;
}

.detail-panel p {
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.9;
}

.review-panel {
  background: linear-gradient(135deg, #fdf2f8, #fff1f2);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list span {
  padding: 8px 13px;
  border: 1px solid #fbcfe8;
  border-radius: 999px;
  color: #be185d;
  background: #fdf2f8;
  font-size: 14px;
  font-weight: 800;
}

.related-panel {
  position: sticky;
  top: 92px;
  height: fit-content;
  margin-top: 0;
}

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

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

.footer-inner {
  padding: 54px 0 30px;
}

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

.footer-grid h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

.footer-grid p {
  margin: 0;
  color: #d1d5db;
}

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

.footer-grid a:hover {
  color: #f9a8d4;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: #9ca3af;
}

.footer-bottom p {
  margin: 0;
}

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

@keyframes blob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(24px, -30px) scale(1.08);
  }
  66% {
    transform: translate(-20px, 18px) scale(0.94);
  }
}

@media (max-width: 1080px) {
  .hero-inner,
  .detail-hero-inner,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 500px;
  }

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

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

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

  .related-panel {
    position: static;
  }
}

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

  .mobile-menu-button {
    display: inline-block;
  }

  .header-inner {
    height: 62px;
  }

  .logo-text {
    font-size: 18px;
  }

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

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 46px 0;
  }

  .hero-search {
    flex-direction: column;
    border-radius: 24px;
  }

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

  .hero-actions {
    display: grid;
  }

  .hero-showcase {
    min-height: 430px;
    border-radius: 24px;
  }

  .hero-slide {
    border-radius: 24px;
  }

  .stats-grid,
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .catalog-grid,
  .category-grid,
  .category-overview-grid,
  .recent-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 46px 0;
  }

  .content-section.soft-blue,
  .content-section.soft-orange,
  .content-section.soft-rose {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .ranking-item,
  .ranking-item.compact {
    grid-template-columns: 46px 72px minmax(0, 1fr);
  }

  .ranking-action {
    display: none;
  }

  .ranking-item img,
  .ranking-item.compact img {
    width: 72px;
    height: 72px;
  }

  .detail-hero-inner {
    padding: 42px 0;
  }

  .detail-cover img {
    width: min(250px, 70vw);
  }

  .detail-layout {
    padding: 36px 0 52px;
  }

  .mini-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .mini-card img {
    width: 86px;
    height: 86px;
  }

  .filter-panel {
    display: grid;
  }

  .sub-hero > div {
    padding: 48px 0;
  }
}
