@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;700;900&display=swap");

:root {
  --bg: #fffaf4;
  --bg-soft: #fff1e0;
  --ink: #111827;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.22);
  --card: rgba(255, 255, 255, 0.86);
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --sunrise-50: #fff7ed;
  --sunrise-100: #ffedd5;
  --sunrise-300: #fdba74;
  --sunrise-400: #fb923c;
  --sunrise-500: #f97316;
  --sunrise-600: #ea580c;
  --rose: #fb7185;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(251, 146, 60, 0.18), transparent 32rem),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 42%, #fffaf4 100%);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", 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-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 244, 0.86);
  border-bottom: 1px solid rgba(251, 146, 60, 0.18);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--sunrise-500), var(--rose));
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.28);
}

.brand-text {
  font-size: 1.25rem;
}

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

.nav-link {
  padding: 9px 15px;
  color: #475569;
  border-radius: 999px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--sunrise-500), var(--rose));
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #ffffff;
  background: var(--dark);
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

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

.hero-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-bg::after,
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 22%, rgba(251, 146, 60, 0.42), transparent 22rem),
    linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.72));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 56px;
  padding: 112px 0 144px;
}

.hero-copy {
  max-width: 760px;
}

.hero-badge,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 7px 13px;
  color: #fff7ed;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.section-kicker {
  color: var(--sunrise-600);
  border-color: rgba(249, 115, 22, 0.2);
  background: rgba(255, 237, 213, 0.78);
}

.hero h1,
.page-hero h1,
.category-hero h1,
.detail-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.5rem, 8vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
  font-weight: 900;
}

.hero p,
.page-hero p,
.category-hero p,
.detail-copy p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
}

.hero-tags,
.tag-row,
.rank-meta,
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags {
  margin-top: 24px;
}

.hero-tags a,
.hero-tags span,
.tag-row span,
.rank-meta span,
.filter-chips button {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #7c2d12;
  background: #ffedd5;
}

.hero-tags a,
.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

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

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--sunrise-500), var(--rose));
  box-shadow: 0 16px 38px rgba(249, 115, 22, 0.34);
}

.button.ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.button.ghost.dark {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(249, 115, 22, 0.2);
}

.hero-poster,
.detail-poster,
.movie-poster,
.rank-cover,
.mini-feature {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(251, 146, 60, 0.38), transparent 13rem),
    linear-gradient(135deg, #1e293b, #111827 52%, #7c2d12);
}

.hero-poster {
  aspect-ratio: 0.72;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

.hero-poster::after,
.detail-poster::after,
.movie-poster::after,
.rank-cover::after,
.mini-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.72));
  pointer-events: none;
}

.hero-poster img,
.detail-poster img,
.movie-poster img,
.rank-cover img,
.mini-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.hero-poster:hover img,
.movie-card:hover img,
.rank-item:hover img,
.mini-feature:hover img {
  transform: scale(1.06);
}

.hero-panel {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero-search {
  width: min(560px, 100%);
  display: flex;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-search.inside {
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: #ffffff;
  background: transparent;
}

.hero-search.inside input {
  color: var(--ink);
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.hero-search.inside input::placeholder {
  color: var(--muted);
}

.hero-search button,
.filter-panel button {
  border: 0;
  color: #ffffff;
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sunrise-500), var(--rose));
  cursor: pointer;
}

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

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

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

.section {
  padding: 74px 0;
}

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

.section-heading h2,
.strip-title h3,
.detail-article h2,
.detail-side h2 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-action,
.strip-title a {
  color: var(--sunrise-600);
  font-weight: 900;
}

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

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

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

.movie-card {
  position: relative;
  min-width: 0;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(249, 115, 22, 0.12);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.34);
  box-shadow: 0 28px 75px rgba(15, 23, 42, 0.16);
}

.movie-card.large .movie-poster {
  aspect-ratio: 0.76;
}

.movie-poster {
  display: block;
  aspect-ratio: 0.7;
}

.poster-glow {
  position: absolute;
  inset: auto 16px 16px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(18px);
}

.movie-year,
.play-chip {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 5px 9px;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
}

.movie-year {
  left: 12px;
}

.play-chip {
  top: auto;
  left: 12px;
  bottom: 12px;
  background: linear-gradient(135deg, var(--sunrise-500), var(--rose));
}

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

.movie-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.25;
}

.movie-card h3 a:hover,
.rank-content h3 a:hover,
.overview-card a:hover,
.detail-side a:hover {
  color: var(--sunrise-600);
}

.movie-meta,
.movie-desc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.movie-desc {
  display: -webkit-box;
  min-height: 45px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  margin-top: 12px;
}

.warm-section {
  background:
    radial-gradient(circle at 82% 20%, rgba(251, 146, 60, 0.2), transparent 22rem),
    linear-gradient(180deg, rgba(255, 237, 213, 0.66), rgba(255, 247, 237, 0.22));
}

.dark-section {
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 10%, rgba(251, 146, 60, 0.25), transparent 28rem),
    linear-gradient(135deg, #111827, #1f2937 50%, #431407);
}

.dark-section .section-heading h2,
.dark-section .movie-card h3,
.dark-section .movie-meta,
.dark-section .movie-desc {
  color: inherit;
}

.dark-section .movie-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

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

.category-card,
.overview-main {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 26px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.28), transparent 10rem),
    linear-gradient(135deg, #fb923c, #f43f5e 60%, #7c2d12);
  box-shadow: 0 18px 55px rgba(249, 115, 22, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover,
.overview-main:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 80px rgba(249, 115, 22, 0.28);
}

.category-card span,
.overview-main span {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.category-card strong {
  font-size: 0.94rem;
}

.category-card em,
.overview-main p {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 84px 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(249, 115, 22, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.rank-cover {
  aspect-ratio: 0.76;
  border-radius: 18px;
}

.rank-number {
  color: transparent;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, var(--sunrise-500), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
}

.rank-content h3 {
  margin: 0;
  font-size: 1.05rem;
}

.rank-content p {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.rank-meta span {
  color: #7c2d12;
  background: #fff1e0;
}

.strip-wrap {
  overflow: hidden;
}

.category-strip + .category-strip {
  margin-top: 36px;
}

.strip-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.strip-title h3 {
  font-size: 1.7rem;
}

.horizontal-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-snap-type: x proximity;
}

.horizontal-row .movie-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
}

.page-main {
  min-height: 70vh;
}

.page-hero,
.category-hero {
  color: #ffffff;
  padding: 100px 0 76px;
  background:
    radial-gradient(circle at 78% 14%, rgba(251, 146, 60, 0.32), transparent 22rem),
    linear-gradient(135deg, #111827, #1f2937 55%, #7c2d12);
}

.compact-hero,
.search-hero,
.ranking-hero {
  position: relative;
  overflow: hidden;
}

.compact-hero::after,
.search-hero::after,
.ranking-hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -80px;
  top: -60px;
  border-radius: 999px;
  background: rgba(251, 146, 60, 0.22);
  filter: blur(8px);
}

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

.overview-card {
  padding: 10px;
  border: 1px solid rgba(249, 115, 22, 0.13);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.overview-main {
  min-height: 146px;
}

.overview-card ul {
  list-style: none;
  padding: 14px 12px 4px;
  margin: 0;
}

.overview-card li + li {
  margin-top: 8px;
}

.overview-card li a {
  color: #475569;
  font-weight: 700;
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 700;
}

.breadcrumb.inverse {
  color: rgba(255, 255, 255, 0.74);
}

.breadcrumb a:hover {
  color: var(--sunrise-400);
}

.mini-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-feature {
  aspect-ratio: 0.72;
  border-radius: 22px;
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.24);
}

.mini-feature span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.2;
}

.filter-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 10px;
  border: 1px solid rgba(249, 115, 22, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.filter-panel.slim {
  max-width: 760px;
}

.filter-panel input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 14px 15px;
  color: var(--ink);
  background: transparent;
}

.filter-chips {
  margin-bottom: 22px;
}

.filter-chips button {
  color: var(--ink);
  border: 1px solid rgba(249, 115, 22, 0.18);
  cursor: pointer;
}

.filter-chips button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--sunrise-500), var(--rose));
}

.empty-state {
  display: none;
  padding: 26px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed rgba(249, 115, 22, 0.3);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

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

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

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  min-height: 620px;
  padding: 88px 0;
}

.detail-poster {
  aspect-ratio: 0.72;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.detail-copy h1 {
  max-width: 860px;
}

.detail-tags {
  max-width: 800px;
}

.player-section {
  padding-bottom: 44px;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #020617;
  box-shadow: 0 34px 100px rgba(15, 23, 42, 0.22);
  aspect-ratio: 16 / 9;
}

.movie-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 12px;
  align-content: center;
  color: #ffffff;
  border: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(249, 115, 22, 0.35), transparent 16rem),
    rgba(2, 6, 23, 0.36);
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sunrise-500), var(--rose));
  box-shadow: 0 20px 55px rgba(249, 115, 22, 0.38);
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid #ffffff;
}

.player-overlay strong {
  font-size: 1.2rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
  padding-bottom: 36px;
}

.detail-article,
.detail-side {
  border: 1px solid rgba(249, 115, 22, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 65px rgba(15, 23, 42, 0.08);
}

.detail-article {
  padding: 30px;
}

.detail-article h2,
.detail-side h2 {
  font-size: 1.55rem;
}

.detail-article p {
  color: #334155;
  font-size: 1.02rem;
}

.detail-article h2 + p {
  margin-top: 12px;
}

.detail-side {
  padding: 24px;
  position: sticky;
  top: 96px;
}

.detail-side dl,
.detail-side dd {
  margin: 0;
}

.detail-side div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.detail-side div:last-child {
  border-bottom: 0;
}

.detail-side dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-side dd {
  font-weight: 800;
}

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

.site-footer {
  padding: 60px 0 28px;
  color: rgba(255, 255, 255, 0.76);
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 40px;
}

.footer-brand {
  color: #ffffff;
  font-size: 1.45rem;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1rem;
}

.site-footer p {
  max-width: 560px;
  margin: 12px 0 0;
}

.site-footer a:not(.footer-brand) {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--sunrise-400);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.92rem;
}

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

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

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

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

  .hero-poster {
    display: none;
  }

  .detail-side {
    position: static;
  }
}

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

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(249, 115, 22, 0.16);
    border-radius: 20px;
    background: rgba(255, 250, 244, 0.98);
    box-shadow: var(--shadow);
  }

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

  .nav-link {
    text-align: center;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    display: block;
    padding-top: 110px;
  }

  .hero-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-search {
    width: 100%;
  }

  .section {
    padding: 48px 0;
  }

  .section-heading,
  .strip-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .featured-grid,
  .movie-grid,
  .movie-grid.dense,
  .related-grid,
  .rank-list.compact,
  .overview-grid,
  .category-cloud,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rank-item {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .rank-number {
    position: absolute;
    right: 18px;
    top: 16px;
    font-size: 1.35rem;
  }

  .rank-content p {
    display: none;
  }

  .detail-hero-inner {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    min-height: 480px;
  }

  .detail-poster {
    border-radius: 22px;
  }

  .detail-copy h1 {
    font-size: clamp(2rem, 12vw, 3.3rem);
  }

  .detail-copy p {
    font-size: 0.96rem;
  }

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

  .detail-article,
  .detail-side {
    padding: 20px;
    border-radius: 22px;
  }

  .mini-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .featured-grid,
  .movie-grid,
  .movie-grid.dense,
  .related-grid,
  .overview-grid,
  .category-cloud,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-row .movie-card {
    flex-basis: 180px;
  }

  .hero h1,
  .page-hero h1,
  .category-hero h1 {
    font-size: clamp(2.3rem, 15vw, 4.2rem);
  }

  .hero-search,
  .filter-panel {
    border-radius: 18px;
    flex-direction: column;
  }

  .hero-search input,
  .filter-panel input,
  .hero-search button,
  .filter-panel button {
    width: 100%;
  }

  .detail-hero-inner {
    display: block;
  }

  .detail-poster {
    width: 150px;
    margin-bottom: 22px;
  }

  .rank-item {
    grid-template-columns: 76px minmax(0, 1fr);
  }
}
