:root {
  --bg: #fff7ed;
  --paper: rgba(255, 255, 255, 0.88);
  --paper-strong: #ffffff;
  --text: #1f2937;
  --muted: #667085;
  --soft: #ffe4e6;
  --line: rgba(244, 114, 182, 0.22);
  --pink: #ec4899;
  --rose: #f43f5e;
  --orange: #f97316;
  --amber: #f59e0b;
  --yellow: #eab308;
  --blue: #2563eb;
  --purple: #7c3aed;
  --cyan: #06b6d4;
  --green: #10b981;
  --shadow: 0 24px 60px rgba(244, 114, 182, 0.20);
  --shadow-soft: 0 14px 32px rgba(31, 41, 55, 0.10);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(236, 72, 153, 0.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.16), transparent 32rem),
    linear-gradient(135deg, #fdf2f8 0%, #fff7ed 50%, #fefce8 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(244, 114, 182, 0.10);
}

.nav-shell {
  max-width: 1180px;
  height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange), var(--yellow));
  box-shadow: 0 16px 26px rgba(236, 72, 153, 0.32);
  font-size: 15px;
}

.brand-text {
  font-size: 26px;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--pink);
  background: rgba(236, 72, 153, 0.09);
  transform: translateY(-1px);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(236, 72, 153, 0.10);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--pink);
}

main {
  min-height: 60vh;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  padding: 74px 22px 52px;
  color: #fff;
  background: linear-gradient(135deg, #ec4899 0%, #fb923c 52%, #facc15 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255, 255, 255, 0.65) 1px, transparent 1.2px);
  background-size: 46px 46px, 72px 72px;
  background-position: 0 0, 18px 16px;
}

.hero-title-block,
.hero-carousel {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-title-block {
  display: grid;
  gap: 18px;
  text-align: center;
  justify-items: center;
  margin-bottom: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 800;
}

.hero-title-block h1,
.page-hero h1,
.detail-hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  font-weight: 950;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);
}

.hero-title-block p,
.page-hero p,
.detail-hero p {
  margin: 0;
  max-width: 760px;
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.90);
}

.hero-search {
  width: min(720px, 100%);
  padding: 8px;
  display: flex;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 12px 18px;
  color: var(--text);
  background: transparent;
}

.hero-search button,
.primary-btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(236, 72, 153, 0.26);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-search button:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(236, 72, 153, 0.34);
}

.ghost-btn {
  border-radius: 999px;
  padding: 12px 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.hero-carousel {
  min-height: 350px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(80, 20, 45, 0.28);
  background: rgba(17, 24, 39, 0.55);
}

.hero-slide {
  display: none;
  position: relative;
  min-height: 350px;
}

.hero-slide.is-active {
  display: block;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(1.15);
  transform: scale(1.04);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.48), rgba(15, 23, 42, 0.68));
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 350px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 280px;
  align-items: center;
  gap: 34px;
  padding: 38px;
}

.hero-copy {
  display: grid;
  gap: 16px;
}

.hero-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 950;
}

.hero-copy p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

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

.hero-cover span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 22px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.hero-dots {
  position: absolute;
  left: 38px;
  bottom: 26px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 26px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
}

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

.content-section,
.page-shell,
.detail-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 62px 22px 0;
}

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

.section-heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--pink);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-heading a {
  color: var(--pink);
  font-weight: 900;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(236, 72, 153, 0.22);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(249, 115, 22, 0.22));
}

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

.movie-card:hover .poster-frame img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.72));
}

.play-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 180ms ease, transform 180ms ease;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.movie-card:hover .play-dot {
  opacity: 1;
  transform: scale(1);
}

.year-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  font-size: 12px;
  font-weight: 900;
}

.movie-card-body {
  padding: 17px;
}

.movie-card h3,
.movie-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card h3 a:hover,
.movie-card h2 a:hover,
.rank-content h2 a:hover {
  color: var(--pink);
}

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: #6b7280;
  font-size: 12px;
}

.movie-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.08);
}

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

.category-tile,
.category-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.category-tile {
  min-height: 230px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.category-tile:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow);
}

.category-tile::before,
.category-panel::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.20), transparent 42%);
}

.category-icon {
  font-size: 42px;
}

.category-tile strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
}

.category-tile em {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-style: normal;
  font-size: 13px;
}

.sample-links {
  display: grid;
  gap: 5px;
  margin-top: 16px;
}

.sample-links a {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tone-pink-orange,
.tone-hot-stream {
  background: linear-gradient(135deg, #ec4899, #f97316);
}

.tone-blue-purple {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.tone-cyan-blue {
  background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.tone-yellow-orange {
  background: linear-gradient(135deg, #eab308, #f97316);
}

.tone-amber-red {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.tone-purple-slate {
  background: linear-gradient(135deg, #7c3aed, #1f2937);
}

.tone-rose-orange {
  background: linear-gradient(135deg, #f43f5e, #fb923c);
}

.tone-amber-brown {
  background: linear-gradient(135deg, #d97706, #78350f);
}

.tone-teal-indigo {
  background: linear-gradient(135deg, #14b8a6, #4f46e5);
}

.tone-green-cyan {
  background: linear-gradient(135deg, #10b981, #06b6d4);
}

.tone-main {
  background: linear-gradient(135deg, #ec4899, #f97316, #eab308);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 72px 22px;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
}

.page-hero .hero-actions {
  justify-content: center;
  margin-top: 22px;
}

.category-overview {
  display: grid;
  gap: 26px;
}

.category-panel {
  padding: 26px;
}

.category-panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

.category-panel-head > span {
  font-size: 46px;
}

.category-panel-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.1;
}

.category-panel-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.category-panel-head a {
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
  white-space: nowrap;
}

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

.compact-grid.vertical {
  grid-template-columns: 1fr;
}

.compact-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 180ms ease, transform 180ms ease;
}

.compact-card:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.compact-card img {
  width: 76px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.18);
}

.compact-card strong {
  display: block;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-card em {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-style: normal;
}

.filter-bar {
  margin-bottom: 28px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
}

.filter-bar.search-wide {
  grid-template-columns: 1fr 240px;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid rgba(236, 72, 153, 0.16);
  outline: none;
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(236, 72, 153, 0.42);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.10);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 62px 120px minmax(0, 1fr) 120px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.rank-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-size: 20px;
  font-weight: 950;
}

.rank-poster img {
  width: 120px;
  height: 76px;
  object-fit: cover;
  border-radius: 16px;
  background: rgba(236, 72, 153, 0.12);
}

.rank-content h2 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.25;
}

.rank-content p {
  margin: 0 0 8px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-heat {
  text-align: right;
}

.rank-heat strong {
  display: block;
  color: var(--pink);
  font-size: 20px;
  line-height: 1;
}

.rank-heat span {
  color: var(--muted);
  font-size: 12px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: end;
  color: #fff;
  background: #111827;
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.42;
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) saturate(1.15);
  transform: scale(1.06);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.34), rgba(17, 24, 39, 0.96));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 22px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.80);
  font-size: 14px;
}

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

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

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  aspect-ratio: 16 / 9;
}

.site-player {
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.50), rgba(236, 72, 153, 0.22));
  cursor: pointer;
}

.player-overlay.is-hidden {
  display: none;
}

.player-overlay span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.94);
  font-size: 30px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.player-overlay strong {
  font-size: 20px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.detail-content,
.cover-panel,
.side-panel {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.80);
  box-shadow: var(--shadow-soft);
}

.detail-content {
  margin-top: 24px;
  padding: 28px;
}

.detail-content h2 {
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.detail-content h2:first-child {
  margin-top: 0;
}

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

.detail-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.detail-title-row h2 {
  margin: 0;
}

.detail-title-row a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  font-size: 13px;
  font-weight: 900;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.tag-cloud span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #4b5563;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.07);
  font-size: 13px;
}

.detail-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 22px;
}

.cover-panel {
  overflow: hidden;
}

.cover-panel > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: rgba(236, 72, 153, 0.10);
}

.cover-panel dl {
  margin: 0;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.cover-panel dl div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
}

.cover-panel dt {
  color: var(--muted);
}

.cover-panel dd {
  margin: 0;
  font-weight: 800;
}

.side-panel {
  padding: 18px;
}

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

.side-panel .compact-card {
  color: var(--text);
  background: #fff;
  box-shadow: 0 10px 20px rgba(31, 41, 55, 0.07);
}

.side-panel .compact-card em {
  color: var(--muted);
}

.detail-related {
  padding: 38px 0 0;
}

.site-footer {
  margin-top: 72px;
  color: #4b5563;
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(252, 231, 243, 0.92), rgba(255, 237, 213, 0.92), rgba(254, 249, 195, 0.92));
}

.footer-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 22px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  color: var(--text);
}

.footer-brand p {
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px 28px;
  color: #6b7280;
  font-size: 14px;
}

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

.no-result {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
}

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

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

  .detail-sidebar {
    position: static;
  }

  .hero-inner {
    grid-template-columns: 1fr 220px;
  }

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

@media (max-width: 760px) {
  .nav-shell {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    padding: 0 0 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    border-radius: 14px;
    background: rgba(236, 72, 153, 0.06);
  }

  .brand-text {
    font-size: 22px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-search,
  .filter-bar,
  .filter-bar.search-wide {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .hero-search {
    display: grid;
  }

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

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

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

  .hero-cover {
    width: min(220px, 70vw);
    margin: 0 auto;
  }

  .hero-dots {
    left: 26px;
    bottom: 18px;
  }

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

  .movie-grid,
  .featured-grid,
  .latest-grid,
  .category-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-poster img {
    width: 92px;
    height: 62px;
  }

  .rank-heat {
    grid-column: 2 / -1;
    text-align: left;
  }

  .category-panel-head {
    grid-template-columns: 1fr;
  }

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

  .detail-content,
  .side-panel {
    padding: 20px;
  }
}
