:root {
  --rose-50: #fff1f4;
  --rose-100: #ffe4ec;
  --rose-200: #fecdd8;
  --rose-300: #fda4ba;
  --rose-400: #fb718f;
  --rose-500: #f43f6e;
  --rose-600: #e11d55;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --text-900: #111827;
  --text-800: #1f2937;
  --text-700: #374151;
  --text-600: #4b5563;
  --text-500: #6b7280;
  --line: #f7d4de;
  --shadow-sm: 0 10px 30px rgba(244, 63, 110, 0.10);
  --shadow-md: 0 20px 60px rgba(244, 63, 110, 0.16);
  --shadow-lg: 0 30px 90px rgba(244, 63, 110, 0.22);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-800);
  background: linear-gradient(180deg, rgba(255, 241, 244, 0.55), #ffffff 28%, rgba(255, 241, 244, 0.65));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(244, 63, 110, 0.10);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-400), var(--pink-500));
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(244, 63, 110, 0.25);
}

.logo-text strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500), var(--rose-400));
  -webkit-background-clip: text;
  background-clip: text;
}

.logo-text em {
  display: block;
  margin-top: 4px;
  color: var(--text-500);
  font-size: 12px;
  font-style: normal;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-600);
  font-size: 15px;
  font-weight: 650;
}

.main-nav > a,
.nav-dropdown > button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 8px 2px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.main-nav > a:hover,
.nav-dropdown > button:hover,
.main-nav > a.active {
  color: var(--rose-500);
}

.nav-dropdown {
  position: relative;
}

.nav-panel {
  position: absolute;
  right: -40px;
  top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  gap: 8px;
  min-width: 230px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(244, 63, 110, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s ease;
}

.nav-panel a {
  padding: 8px 10px;
  color: var(--text-600);
  border-radius: 10px;
}

.nav-panel a:hover {
  color: var(--rose-600);
  background: var(--rose-50);
}

.nav-dropdown:hover .nav-panel,
.nav-dropdown:focus-within .nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu-button {
  display: none;
  border: 0;
  color: var(--text-700);
  background: var(--rose-50);
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
  border-top: 1px solid rgba(244, 63, 110, 0.10);
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--text-600);
  font-weight: 650;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 84px;
  background: radial-gradient(circle at 10% 10%, rgba(253, 164, 186, 0.48), transparent 26%), radial-gradient(circle at 86% 18%, rgba(244, 114, 182, 0.42), transparent 24%), linear-gradient(135deg, #fff1f4 0%, #fff7fb 52%, #ffe4ec 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(54px);
  opacity: 0.35;
}

.hero::before {
  left: -90px;
  top: -80px;
  background: var(--rose-300);
}

.hero::after {
  right: -80px;
  bottom: -100px;
  background: var(--pink-400);
}

.hero-title-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 34px;
}

.hero-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--rose-500);
  font-weight: 750;
}

.hero-title-wrap h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.12;
  color: transparent;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-500), var(--rose-400));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-title-wrap p {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--text-600);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-stage {
  position: relative;
  z-index: 3;
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  background: #111827;
  box-shadow: var(--shadow-lg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

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

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 70px);
  color: #fff;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.78), rgba(17, 24, 39, 0.15));
}

.hero-copy .label {
  width: max-content;
  padding: 7px 14px;
  color: #fff;
  background: var(--rose-500);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-copy h2 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08;
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 30px;
}

.hero-meta span {
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

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

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  transition: 0.2s ease;
}

.button-primary {
  color: var(--rose-600);
  background: #fff;
}

.button-primary:hover {
  color: #fff;
  background: var(--rose-500);
  transform: translateY(-2px);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.hero-art {
  position: relative;
  min-height: 100%;
}

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

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.28), transparent 44%), linear-gradient(0deg, rgba(17, 24, 39, 0.22), transparent 52%);
}

.hero-controls {
  position: absolute;
  left: clamp(24px, 6vw, 70px);
  bottom: 32px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.hero-arrow {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 22px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 99px;
  opacity: 0.6;
  transition: 0.2s ease;
}

.hero-dot.active {
  width: 28px;
  background: #fff;
  opacity: 1;
}

.feature-panel {
  position: relative;
  z-index: 4;
  margin-top: -42px;
}

.feature-box {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.feature-main {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding: 26px;
  align-items: center;
}

.feature-main img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 20px;
}

.feature-main h2,
.section-heading h2,
.page-hero h1 {
  margin: 0;
  color: var(--text-800);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.18;
}

.feature-main p {
  color: var(--text-600);
}

.feature-side {
  padding: 28px;
  background: linear-gradient(135deg, var(--rose-50), #fff7fb);
}

.feature-side h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--text-800);
  font-size: 24px;
}

.hot-list {
  display: grid;
  gap: 10px;
}

.hot-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  transition: 0.2s ease;
}

.hot-item:hover {
  background: #fff;
  transform: translateX(4px);
}

.hot-rank {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--rose-400), var(--pink-500));
  border-radius: 999px;
}

.hot-copy {
  min-width: 0;
}

.hot-copy strong,
.hot-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-copy strong {
  color: var(--text-800);
  font-size: 15px;
}

.hot-copy em,
.hot-year {
  color: var(--text-500);
  font-size: 12px;
  font-style: normal;
}

.section {
  padding: 52px 0;
}

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

.section-heading p {
  margin: 8px 0 0;
  color: var(--text-500);
}

.text-link {
  color: var(--rose-600);
  font-weight: 800;
}

.category-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.category-pills a,
.category-pills button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--text-600);
  background: #fff;
  border: 1px solid rgba(244, 63, 110, 0.10);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: 0.2s ease;
}

.category-pills a:hover,
.category-pills button:hover,
.category-pills a.active {
  color: #fff;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
  transform: translateY(-2px);
}

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

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

.movie-link {
  display: block;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(244, 63, 110, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: 0.25s ease;
}

.movie-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.movie-cover {
  position: relative;
  height: 246px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose-100), #fff);
}

.movie-card-large .movie-cover {
  height: 360px;
}

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

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

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.62), transparent 56%);
  opacity: 0;
  transition: 0.2s ease;
}

.movie-link:hover .movie-cover::after {
  opacity: 1;
}

.movie-type,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  color: #fff;
  background: var(--rose-500);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  left: auto;
  right: 12px;
  background: rgba(17, 24, 39, 0.82);
}

.play-mark {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  backdrop-filter: blur(8px);
  transition: 0.2s ease;
}

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

.movie-info {
  padding: 18px;
}

.movie-info h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--text-800);
  font-size: 18px;
  line-height: 1.42;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.movie-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.movie-meta {
  margin-bottom: 10px;
  color: var(--text-500);
  font-size: 13px;
}

.tag-row span {
  padding: 4px 8px;
  color: var(--rose-600);
  background: var(--rose-50);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  margin: 26px 0 8px;
  background: #fff;
  border: 1px solid rgba(244, 63, 110, 0.10);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: none;
  color: var(--text-700);
  background: transparent;
  font-size: 16px;
}

.search-box span {
  color: var(--rose-600);
  font-weight: 800;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 54px;
  background: linear-gradient(135deg, var(--rose-100), #fff7fb, var(--rose-50));
}

.page-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--text-600);
  font-size: 17px;
}

.archive-layout {
  padding: 42px 0 70px;
}

.no-result {
  display: none;
  padding: 28px;
  text-align: center;
  color: var(--text-500);
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.no-result.show {
  display: block;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 38px;
  color: #fff;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.26;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) saturate(1.1);
  transform: scale(1.04);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.78), rgba(17, 24, 39, 0.58));
}

.detail-head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

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

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

.breadcrumbs a:hover {
  color: #fff;
}

.detail-title h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.06;
}

.detail-title p {
  max-width: 780px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.detail-tags,
.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.detail-tags span,
.detail-facts span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.detail-body {
  padding: 46px 0 70px;
}

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

.content-card,
.side-card {
  background: #fff;
  border: 1px solid rgba(244, 63, 110, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.content-card {
  overflow: hidden;
}

.movie-player {
  position: relative;
  overflow: hidden;
  background: #030712;
  aspect-ratio: 16 / 9;
}

.movie-player video {
  width: 100%;
  height: 100%;
  background: #030712;
  object-fit: contain;
}

.play-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(17, 24, 39, 0.10), rgba(17, 24, 39, 0.58));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.play-layer button {
  width: 86px;
  height: 86px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(244, 63, 110, 0.34);
  font-size: 34px;
  cursor: pointer;
}

.movie-player.is-playing .play-layer {
  opacity: 0;
  pointer-events: none;
}

.detail-copy {
  padding: 28px;
}

.detail-copy h2,
.detail-copy h3 {
  margin: 0 0 14px;
  color: var(--text-800);
}

.detail-copy h2 {
  font-size: 28px;
}

.detail-copy h3 {
  font-size: 22px;
  margin-top: 26px;
}

.detail-copy p {
  margin: 0 0 16px;
  color: var(--text-700);
}

.review-box {
  margin-top: 24px;
  padding: 22px;
  background: linear-gradient(135deg, var(--rose-50), #fff7fb);
  border: 1px solid var(--line);
  border-radius: 20px;
}

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

.side-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

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

.related-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  padding: 8px;
  border-radius: 14px;
  transition: 0.2s ease;
}

.related-item:hover {
  background: var(--rose-50);
}

.related-item img {
  width: 104px;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
}

.related-item strong,
.related-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-item strong {
  color: var(--text-800);
}

.related-item span {
  color: var(--text-500);
  font-size: 13px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 72px 142px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(244, 63, 110, 0.08);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  transition: 0.2s ease;
}

.rank-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  border-radius: 18px;
  font-size: 20px;
  font-weight: 900;
}

.rank-thumb {
  width: 142px;
  height: 88px;
  object-fit: cover;
  border-radius: 16px;
}

.rank-copy h3 {
  margin: 0 0 6px;
  color: var(--text-800);
  font-size: 20px;
}

.rank-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-600);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-meta {
  display: flex;
  gap: 8px;
  color: var(--text-500);
  white-space: nowrap;
}

.info-page {
  padding: 58px 0 80px;
}

.info-card {
  max-width: 880px;
  margin: 0 auto 24px;
  padding: clamp(24px, 5vw, 44px);
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.info-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.info-card p {
  color: var(--text-600);
}

.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, var(--rose-50), #fff);
  border-top: 1px solid rgba(244, 63, 110, 0.12);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--rose-600);
  font-size: 20px;
}

.footer-grid p,
.footer-grid a {
  display: block;
  color: var(--text-600);
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--text-800);
}

.footer-grid a {
  margin: 7px 0;
}

.footer-grid a:hover {
  color: var(--rose-600);
}

.footer-cats {
  columns: 2;
}

.footer-bottom {
  padding: 18px 16px;
  text-align: center;
  color: var(--text-500);
  border-top: 1px solid rgba(244, 63, 110, 0.10);
}

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

@media (max-width: 1024px) {
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .side-card {
    position: static;
  }

  .feature-box,
  .hero-slide {
    grid-template-columns: 1fr;
  }

  .hero-art {
    position: absolute;
    inset: 0;
    opacity: 0.36;
  }

  .hero-copy {
    min-height: 520px;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.72));
  }
}

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

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

  .header-inner {
    height: 68px;
  }

  .hero {
    padding: 40px 0 64px;
  }

  .feature-main,
  .detail-head {
    grid-template-columns: 1fr;
  }

  .feature-main img {
    height: 280px;
  }

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

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

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

  .rank-thumb {
    width: 100px;
    height: 70px;
  }

  .rank-meta {
    grid-column: 3;
  }

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

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

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

  .hero-stage {
    min-height: 560px;
    border-radius: 24px;
  }

  .hero-copy {
    min-height: 560px;
    padding: 28px;
  }

  .hero-controls {
    left: 28px;
    bottom: 22px;
  }

  .feature-panel {
    margin-top: -26px;
  }

  .feature-main,
  .feature-side,
  .detail-copy,
  .side-card {
    padding: 20px;
  }

  .movie-grid {
    gap: 14px;
  }

  .movie-cover {
    height: 210px;
  }

  .movie-info {
    padding: 14px;
  }

  .movie-info h3 {
    font-size: 16px;
  }

  .section-heading {
    display: block;
  }

  .rank-row {
    grid-template-columns: 44px 1fr;
  }

  .rank-thumb,
  .rank-meta {
    display: none;
  }

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