:root {
  --bg: #fff7ed;
  --bg-2: #fff1f2;
  --bg-3: #fffbeb;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: rgba(255, 255, 255, .78);
  --line: rgba(251, 146, 60, .22);
  --orange: #f97316;
  --orange-dark: #ea580c;
  --pink: #ec4899;
  --rose: #f43f5e;
  --amber: #f59e0b;
  --shadow: 0 22px 55px rgba(194, 65, 12, .16);
  --shadow-soft: 0 14px 34px rgba(194, 65, 12, .10);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(251, 146, 60, .22), transparent 34rem),
    radial-gradient(circle at top right, rgba(236, 72, 153, .18), transparent 34rem),
    linear-gradient(135deg, var(--bg), var(--bg-2) 48%, var(--bg-3));
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .54);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(234, 88, 12, .08);
}

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

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

.logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 14px 28px rgba(236, 72, 153, .22);
}

.logo-text {
  font-size: 1.22rem;
  background: linear-gradient(90deg, var(--orange-dark), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  color: #374151;
  font-weight: 700;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-link {
  padding: 10px 16px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--orange-dark);
  background: rgba(249, 115, 22, .10);
}

.mobile-menu-button {
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  border-radius: 14px;
  color: #111827;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-soft);
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-soft);
}

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

.mobile-link {
  padding: 12px 14px;
  text-align: center;
}

.hero-section {
  width: min(1380px, calc(100% - 32px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.hero-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 34px;
  background: #111827;
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(28px, 5vw, 64px);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .65s ease, transform 1.1s ease;
}

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

.hero-copy {
  width: min(650px, 100%);
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .38);
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #fed7aa;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.55rem, 7vw, 5.35rem);
  line-height: .96;
  letter-spacing: -.08em;
}

.hero-copy p {
  width: min(590px, 100%);
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .88);
  font-size: 1.08rem;
  line-height: 1.82;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
}

.tag-row span {
  color: #9a3412;
  background: rgba(255, 237, 213, .88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.ghost-button,
.hero-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.primary-button,
.hero-search button {
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  box-shadow: 0 16px 32px rgba(236, 72, 153, .25);
}

.ghost-button {
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(10px);
}

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

.hero-controls {
  position: absolute;
  left: clamp(24px, 5vw, 58px);
  right: clamp(24px, 5vw, 58px);
  bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  pointer-events: none;
}

.hero-arrow,
.hero-dot {
  pointer-events: auto;
}

.hero-arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 1.55rem;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .46);
  transition: width .2s ease, background .2s ease;
}

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

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-search-card,
.hero-side-list,
.filter-card,
.detail-copy-card,
.category-overview-card,
.sitemap-group {
  border: 1px solid rgba(255, 255, 255, .70);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.hero-search-card {
  padding: 26px;
}

.hero-search-card h2 {
  margin: 0 0 18px;
  font-size: 1.55rem;
  line-height: 1.22;
  letter-spacing: -.04em;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-search input,
.filter-card input,
.filter-card select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(251, 146, 60, .24);
  border-radius: 999px;
  color: #1f2937;
  outline: none;
  background: rgba(255, 255, 255, .92);
  transition: border .2s ease, box-shadow .2s ease;
}

.hero-search input {
  padding: 0 16px;
}

.hero-search input:focus,
.filter-card input:focus,
.filter-card select:focus {
  border-color: rgba(249, 115, 22, .58);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .12);
}

.hero-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-category-links a {
  padding: 8px 11px;
  border-radius: 999px;
  color: #9a3412;
  font-size: .86rem;
  font-weight: 800;
  background: rgba(255, 237, 213, .82);
}

.hero-side-list {
  padding: 18px;
}

.hero-side-list h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 900;
}

.hero-side-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  transition: background .2s ease, transform .2s ease;
}

.hero-side-card:hover {
  background: rgba(255, 237, 213, .72);
  transform: translateX(3px);
}

.hero-side-card img {
  width: 70px;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(249, 115, 22, .12);
}

.hero-side-card span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.hero-side-card strong,
.rank-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-side-card em,
.rank-copy em {
  color: var(--muted);
  font-size: .82rem;
  font-style: normal;
}

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

.soft-section {
  background: rgba(255, 255, 255, .34);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -.06em;
}

.section-heading p {
  width: min(760px, 100%);
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-more {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--orange-dark);
  font-weight: 900;
  background: rgba(255, 237, 213, .85);
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 12px 30px rgba(194, 65, 12, .08);
  transition: transform .22s ease, box-shadow .22s ease, border .22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, .32);
  box-shadow: var(--shadow);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(251, 146, 60, .28), rgba(236, 72, 153, .24));
}

.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .36s ease, filter .36s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.07);
  filter: saturate(1.08);
}

.poster-badge,
.poster-play {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  background: rgba(17, 24, 39, .70);
  backdrop-filter: blur(8px);
}

.poster-badge {
  top: 12px;
  left: 12px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .78rem;
}

.poster-play {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}

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

.movie-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.movie-meta-line a {
  color: var(--orange-dark);
}

.movie-card h2,
.ranking-body h2 {
  margin: 0 0 9px;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -.02em;
}

.movie-card h2 a:hover,
.ranking-body h2 a:hover,
.sitemap-links a:hover {
  color: var(--orange-dark);
}

.movie-card p,
.ranking-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.65;
}

.movie-card-compact .movie-card-body {
  padding: 15px;
}

.movie-card-compact h2 {
  font-size: 1rem;
}

.movie-card-compact p {
  font-size: .88rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 48px 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(194, 65, 12, .08);
  transition: transform .2s ease, background .2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  background: rgba(255, 237, 213, .82);
}

.rank-number {
  color: var(--pink);
  font-weight: 950;
  font-size: 1.18rem;
}

.rank-item img {
  width: 64px;
  height: 82px;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(249, 115, 22, .12);
}

.rank-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

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

.category-tile {
  min-height: 160px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 26px rgba(194, 65, 12, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.category-tile strong {
  display: block;
  margin-bottom: 9px;
  font-size: 1.12rem;
  font-weight: 950;
}

.category-tile p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}

.category-tile div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.category-tile span {
  max-width: 100%;
  overflow: hidden;
  padding: 5px 8px;
  border-radius: 999px;
  color: #9a3412;
  background: rgba(255, 237, 213, .84);
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(124, 45, 18, .94), rgba(190, 24, 93, .82)),
    radial-gradient(circle at 80% 10%, rgba(251, 191, 36, .55), transparent 34rem);
}

.small-page-hero {
  padding: 82px 0 58px;
}

.page-hero h1 {
  margin: 0 0 15px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.07em;
}

.page-hero p {
  width: min(760px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 1.05rem;
  line-height: 1.85;
}

.page-hero .section-kicker,
.detail-hero .section-kicker {
  color: #fed7aa;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  font-weight: 800;
}

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

.filter-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(150px, 220px));
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px;
}

.wide-filter {
  grid-template-columns: minmax(240px, 1fr) repeat(4, minmax(130px, 180px));
}

.filter-card label {
  display: grid;
  gap: 7px;
  color: #9a3412;
  font-weight: 900;
  font-size: .84rem;
}

.filter-card input,
.filter-card select {
  padding: 0 15px;
}

.search-status {
  min-height: 24px;
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 800;
}

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

.category-overview-card {
  overflow: hidden;
}

.category-cover {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.category-cover span {
  font-size: 2.1rem;
  font-weight: 950;
  opacity: .76;
}

.category-cover strong {
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: -.04em;
}

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

.category-overview-body h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 950;
}

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

.category-overview-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-overview-body li a {
  display: block;
  overflow: hidden;
  color: #9a3412;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 24px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 10px 28px rgba(194, 65, 12, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.ranking-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.ranking-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  background: rgba(249, 115, 22, .12);
}

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

.ranking-poster span {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: .8rem;
  font-weight: 950;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.ranking-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.detail-hero {
  padding: 54px 0 44px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(17, 24, 39, .96), rgba(124, 45, 18, .88), rgba(190, 24, 93, .72)),
    radial-gradient(circle at 82% 18%, rgba(251, 191, 36, .42), transparent 30rem);
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, .16);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
  background: rgba(255, 255, 255, .12);
}

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

.detail-intro h1 {
  margin: 0 0 16px;
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -.07em;
}

.detail-one-line {
  width: min(860px, 100%);
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .86);
  font-size: 1.08rem;
  line-height: 1.85;
}

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

.detail-meta-grid span {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(10px);
}

.detail-meta-grid strong {
  color: #fed7aa;
  font-size: .78rem;
}

.detail-tags {
  margin-bottom: 28px;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #050505;
  box-shadow: 0 30px 70px rgba(17, 24, 39, .24);
}

.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(76vh, 760px);
  background: #000;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .54));
  transition: opacity .24s ease, visibility .24s ease;
}

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

.play-circle {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 999px;
  font-size: 2.05rem;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 20px 44px rgba(236, 72, 153, .38);
}

.player-overlay strong {
  font-size: 1.08rem;
  letter-spacing: .04em;
}

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

.detail-copy-card {
  padding: 28px;
}

.detail-copy-card h2 {
  margin: 0 0 14px;
  font-size: 1.65rem;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.detail-copy-card p {
  margin: 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.95;
}

.sitemap-container {
  display: grid;
  gap: 22px;
}

.sitemap-group {
  padding: 24px;
}

.sitemap-group h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 950;
}

.sitemap-group p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.sitemap-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 14px;
}

.sitemap-links a {
  overflow: hidden;
  color: #9a3412;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  padding: 58px 0 24px;
  color: #4b5563;
  background: rgba(255, 255, 255, .50);
  border-top: 1px solid rgba(255, 255, 255, .78);
}

.footer-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr);
  gap: 42px;
}

.footer-brand p {
  width: min(520px, 100%);
  margin: 18px 0 0;
  line-height: 1.8;
}

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

.footer-links h2 {
  margin: 0 0 12px;
  color: #1f2937;
  font-size: 1rem;
  font-weight: 950;
}

.footer-links a {
  display: block;
  margin: 8px 0;
  font-weight: 700;
}

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

.footer-bottom {
  width: min(var(--container), calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(249, 115, 22, .14);
  color: var(--muted);
  font-size: .92rem;
}

[data-card].is-hidden {
  display: none;
}

@media (max-width: 1180px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

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

  .split-layout,
  .detail-hero-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .mobile-menu-button {
    display: flex;
  }

  .header-inner {
    height: 66px;
  }

  .hero-stage {
    min-height: 520px;
    border-radius: 26px;
  }

  .hero-panel,
  .ranking-grid,
  .detail-copy-grid,
  .detail-meta-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

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

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

  .detail-hero-inner {
    gap: 24px;
  }

  .detail-poster {
    width: min(260px, 74vw);
  }

  .filter-card,
  .wide-filter {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-more {
    margin-top: 16px;
  }
}

@media (max-width: 560px) {
  .container,
  .header-inner,
  .mobile-nav,
  .footer-inner,
  .footer-bottom,
  .hero-section {
    width: min(100% - 22px, var(--container));
  }

  .hero-slide {
    padding: 26px 22px 76px;
  }

  .hero-copy p {
    font-size: .96rem;
  }

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

  .hero-controls {
    left: 22px;
    right: 22px;
    justify-content: center;
  }

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

  .movie-grid,
  .compact-grid,
  .category-tile-grid,
  .category-overview-grid,
  .sitemap-links {
    grid-template-columns: 1fr;
  }

  .ranking-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
  }

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

  .small-page-hero {
    padding: 62px 0 44px;
  }

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

  .play-circle {
    width: 66px;
    height: 66px;
    font-size: 1.7rem;
  }
}
