
:root {
  --bg: #fff7ed;
  --bg-soft: #fff1f2;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(251, 146, 60, 0.18);
  --orange: #f97316;
  --pink: #ec4899;
  --yellow: #f59e0b;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(190, 72, 28, 0.15);
  --soft-shadow: 0 12px 32px rgba(190, 72, 28, 0.10);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(251, 146, 60, 0.22), transparent 34rem),
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.18), transparent 36rem),
    linear-gradient(135deg, #fff7ed 0%, #fff1f2 48%, #fef9c3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 80%);
  z-index: -1;
}

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: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(249, 115, 22, 0.14);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--yellow));
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.25);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

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

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

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

.desktop-nav > a,
.nav-group > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  color: #4b5563;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav > a:hover,
.nav-group:hover > a {
  color: var(--orange);
  background: rgba(249, 115, 22, 0.10);
  transform: translateY(-1px);
}

.nav-group {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 190px;
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(249, 115, 22, 0.16);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-group:hover .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #4b5563;
  font-weight: 600;
}

.nav-menu a:hover {
  color: var(--pink);
  background: rgba(236, 72, 153, 0.08);
}

.top-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 280px;
  padding: 5px;
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.top-search input,
.wide-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.top-search input {
  padding: 0 10px;
  font-size: 14px;
}

.top-search button,
.wide-search button {
  border: 0;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.10);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--orange);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(249, 115, 22, 0.16);
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: #4b5563;
  font-weight: 700;
}

.mobile-nav a:hover {
  background: rgba(249, 115, 22, 0.10);
  color: var(--orange);
}

.mobile-nav.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

main {
  min-height: 60vh;
}

.hero-carousel {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  margin: 28px auto 24px;
  overflow: hidden;
  border-radius: 36px;
  min-height: 620px;
  background: #111827;
  box-shadow: var(--shadow);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 32px;
  padding: clamp(30px, 6vw, 72px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) saturate(1.18) brightness(0.64);
  transform: scale(1.12);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 24%, rgba(249, 115, 22, 0.52), transparent 30rem),
    radial-gradient(circle at 68% 10%, rgba(236, 72, 153, 0.44), transparent 28rem),
    linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.58));
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 2;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  color: #fed7aa;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 900;
}

.hero-content h1 {
  margin: 0 0 20px;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.hero-tags,
.detail-meta,
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.detail-meta span,
.card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.primary-btn,
.ghost-btn,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 16px 30px rgba(236, 72, 153, 0.30);
}

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.20);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.hero-poster {
  justify-self: end;
  width: min(360px, 100%);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 34px;
  transform: rotate(2deg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.20);
}

.hero-poster img,
.poster img,
.category-card img,
.overview-card img,
.spot-rank img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

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

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

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

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

.hero-dots button.is-active {
  width: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.quick-panel {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(280px, 1.2fr);
  gap: 16px;
}

.quick-card,
.wide-search,
.filter-panel,
.story-card {
  border: 1px solid rgba(249, 115, 22, 0.14);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.quick-card {
  min-height: 98px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 22px;
  border-radius: 24px;
}

.quick-card strong {
  font-size: 20px;
}

.quick-card span {
  color: var(--muted);
}

.wide-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 98px;
  padding: 18px;
  border-radius: 24px;
}

.wide-search input {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.78);
}

.content-section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #111827;
}

.section-head p {
  margin: 10px 0 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow {
  color: var(--orange);
  margin-bottom: 10px;
}

.section-more {
  color: var(--orange);
  background: #ffffff;
  border: 1px solid rgba(249, 115, 22, 0.18);
  box-shadow: var(--soft-shadow);
  white-space: nowrap;
}

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

.category-card,
.overview-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border-radius: 28px;
  background: #111827;
  box-shadow: var(--soft-shadow);
  isolation: isolate;
}

.category-card::after,
.overview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.16));
  z-index: 1;
}

.category-card img,
.overview-card img {
  position: absolute;
  inset: 0;
  transition: transform 0.35s ease;
}

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

.category-card span,
.overview-card strong,
.overview-card p,
.overview-tags {
  position: relative;
  z-index: 2;
}

.category-card span {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 22px;
  color: #ffffff;
}

.category-card strong,
.overview-card strong {
  font-size: 22px;
}

.category-card em,
.overview-card p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
}

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

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

.movie-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(249, 115, 22, 0.14);
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 58px rgba(236, 72, 153, 0.18);
  border-color: rgba(236, 72, 153, 0.24);
}

.poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

.poster img {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover .poster img {
  transform: scale(1.06);
  filter: saturate(1.12);
}

.rating,
.rank-badge {
  position: absolute;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.rating {
  right: 12px;
  background: rgba(17, 24, 39, 0.68);
}

.rank-badge {
  left: 12px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

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

.card-body strong {
  color: #111827;
  font-size: 17px;
  line-height: 1.34;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body em {
  min-height: 44px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  gap: 6px;
}

.card-meta span {
  min-height: 24px;
  color: #9a3412;
  background: rgba(255, 237, 213, 0.86);
  border: 0;
  font-size: 12px;
}

.compact-card .card-body strong {
  font-size: 16px;
}

.rank-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

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

.page-hero {
  width: min(1240px, calc(100% - 32px));
  margin: 30px auto 0;
  padding: clamp(42px, 7vw, 86px);
  border-radius: 34px;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 22rem),
    linear-gradient(135deg, var(--orange), var(--pink) 56%, var(--yellow));
  box-shadow: var(--shadow);
}

.page-hero .eyebrow {
  color: #ffedd5;
  margin-left: auto;
  margin-right: auto;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.centered-actions {
  justify-content: center;
}

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

.overview-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
  color: #ffffff;
}

.overview-card p {
  margin: 10px 0 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.overview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.overview-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffedd5;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px;
  border-radius: 24px;
}

.large-filter {
  grid-template-columns: minmax(280px, 1fr) 180px 220px;
}

.filter-panel input,
.filter-panel select {
  min-height: 48px;
  padding: 0 15px;
  border-radius: 16px;
  background: #fff7ed;
  color: #374151;
}

.spot-rank-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.spot-rank {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 30px;
  background: #111827;
  box-shadow: var(--shadow);
}

.spot-rank::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.16));
}

.spot-rank img {
  position: absolute;
  inset: 0;
}

.spot-rank span {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  gap: 8px;
  color: #ffffff;
}

.spot-rank em {
  color: #fed7aa;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.spot-rank strong {
  font-size: 28px;
  line-height: 1.2;
}

.spot-rank small {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.breadcrumb {
  width: min(1240px, calc(100% - 32px));
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9a3412;
  font-weight: 700;
}

.detail-hero {
  width: min(1240px, calc(100% - 32px));
  margin: 20px auto 28px;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 34px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(249, 115, 22, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.detail-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 24px 58px rgba(190, 72, 28, 0.22);
}

.detail-info {
  display: grid;
  align-content: center;
  gap: 18px;
}

.detail-info h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  color: #111827;
}

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

.detail-meta span {
  color: #9a3412;
  background: rgba(255, 237, 213, 0.88);
  border: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: #be185d;
  background: rgba(252, 231, 243, 0.90);
  font-size: 13px;
  font-weight: 800;
}

.watch-section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px;
  border-radius: 34px;
  background: #111827;
  box-shadow: var(--shadow);
}

.watch-section h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 34px);
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle, rgba(236, 72, 153, 0.25), transparent 24rem),
    linear-gradient(to top, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.36));
  cursor: pointer;
}

.player-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.play-ring {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 20px 42px rgba(236, 72, 153, 0.35);
  font-size: 32px;
}

.player-cover strong {
  max-width: 80%;
  font-size: clamp(24px, 4vw, 44px);
  text-align: center;
}

.player-cover em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-weight: 800;
}

.detail-body {
  width: min(1240px, calc(100% - 32px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.story-card {
  padding: 26px;
  border-radius: 28px;
}

.story-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.story-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.9;
}

.meta-story {
  grid-column: 1 / -1;
}

.meta-story dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.meta-story div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 247, 237, 0.78);
}

.meta-story dt {
  color: var(--muted);
  font-size: 13px;
}

.meta-story dd {
  margin: 6px 0 0;
  color: #111827;
  font-weight: 800;
}

.related-section {
  padding-top: 34px;
}

.site-footer {
  margin-top: 40px;
  padding: 48px 0 26px;
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(135deg, #111827, #7c2d12 52%, #831843);
}

.footer-grid {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

.site-footer p {
  margin: 0;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  padding: 7px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.10);
}

.footer-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.copyright {
  width: min(1240px, calc(100% - 32px));
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
}

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

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

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

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

  .mobile-toggle {
    display: block;
    margin-left: auto;
  }

  .hero-carousel {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    text-align: left;
  }

  .hero-poster {
    justify-self: start;
    width: min(260px, 68vw);
  }

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

  .wide-search {
    grid-column: 1 / -1;
  }

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

  .filter-panel,
  .large-filter,
  .detail-hero,
  .detail-body,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .nav-shell {
    min-height: 66px;
    gap: 12px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 19px;
  }

  .brand-text small {
    display: none;
  }

  .mobile-nav.is-open {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    width: min(100% - 20px, 1240px);
    margin-top: 16px;
    min-height: 720px;
    border-radius: 26px;
  }

  .hero-slide {
    padding: 28px 22px;
  }

  .hero-arrow {
    display: none;
  }

  .quick-panel,
  .movie-grid,
  .small-grid,
  .category-grid,
  .overview-grid,
  .spot-rank-grid {
    grid-template-columns: 1fr;
  }

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

  .page-hero,
  .content-section,
  .quick-panel,
  .breadcrumb,
  .detail-hero,
  .watch-section,
  .detail-body {
    width: min(100% - 20px, 1240px);
  }

  .watch-section {
    padding: 16px;
    border-radius: 26px;
  }

  .player-shell {
    border-radius: 20px;
  }

  .meta-story dl {
    grid-template-columns: 1fr;
  }
}
