:root {
  --page-bg: #fff7ed;
  --surface: #ffffff;
  --surface-soft: #fff3e7;
  --text: #111827;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --line: #f0dfd0;
  --brand: #f97316;
  --brand-deep: #ea580c;
  --brand-soft: #ffedd5;
  --amber: #f59e0b;
  --dark: #111827;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.10);
  --shadow-soft: 0 10px 25px rgba(249, 115, 22, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 237, 213, 0.95), transparent 38rem),
    linear-gradient(135deg, #f8fafc 0%, #fff7ed 48%, #fffbeb 100%);
}

body.no-scroll {
  overflow: hidden;
}

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

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

img.image-failed {
  opacity: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark,
.footer-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--amber));
  box-shadow: 0 10px 18px rgba(249, 115, 22, 0.32);
}

.brand-copy strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--brand-deep), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.site-nav a {
  color: #374151;
  font-weight: 650;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--brand-deep);
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(320px, 28vw);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  overflow: visible;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
}

.header-search button {
  border: 0;
  margin: 4px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--amber));
  font-weight: 650;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(420px, 92vw);
  display: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.search-suggest.is-open {
  display: block;
}

.search-suggest a {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid #f5eadf;
}

.search-suggest a:last-child {
  border-bottom: 0;
}

.search-suggest img {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, #fed7aa, #fdba74);
}

.search-suggest strong {
  display: block;
  font-size: 14px;
}

.search-suggest span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 22px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  margin-bottom: 34px;
  background: #111827;
  color: #ffffff;
}

.hero-slider {
  position: relative;
  min-height: 620px;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2f1b12, #111827);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transform: scale(1.04);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.52), rgba(17, 24, 39, 0.88)),
    linear-gradient(0deg, rgba(17, 24, 39, 1), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 420px;
  gap: 34px;
  align-items: center;
  min-height: 620px;
  padding: 70px 0 90px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fed7aa;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 650;
}

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

.hero p {
  margin: 0 0 22px;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--amber));
  box-shadow: 0 16px 35px rgba(249, 115, 22, 0.34);
}

.btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.btn-light {
  color: var(--brand-deep);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #fb923c, #111827);
}

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

.hero-poster span {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.58);
  font-size: 13px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.hero-stats span {
  padding: 14px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
  color: #ffedd5;
  font-size: 13px;
}

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

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

.hero-dots button.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--brand), var(--amber));
}

.quick-strip {
  position: relative;
  z-index: 4;
  margin-top: -74px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-card {
  min-height: 132px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 45px rgba(17, 24, 39, 0.13);
}

.quick-card strong {
  display: block;
  margin-bottom: 9px;
  color: var(--brand-deep);
  font-size: 19px;
}

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

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

.page-hero-card {
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(28px, 5vw, 56px);
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(251, 146, 60, 0.72), transparent 30rem),
    linear-gradient(135deg, #1f2937, #111827);
  box-shadow: var(--shadow);
}

.page-hero-card h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.05em;
}

.page-hero-card p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.section {
  padding: 34px 0;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-more {
  color: var(--brand-deep);
  font-weight: 750;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.movie-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin: 0;
  background: linear-gradient(135deg, #fed7aa, #fb923c 45%, #111827);
}

.movie-card.vertical .movie-thumb {
  aspect-ratio: 3 / 4;
}

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

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

.movie-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 52%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .movie-thumb::after {
  opacity: 1;
}

.quality,
.duration {
  position: absolute;
  z-index: 2;
  top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.quality {
  left: 10px;
  background: linear-gradient(135deg, var(--brand), var(--amber));
}

.duration {
  right: 10px;
}

.play-badge {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--brand);
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.26);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-info {
  padding: 16px;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

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

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

.tag-row span,
.chip,
.info-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 700;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 22px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: 28px;
  color: #ffffff;
  background: #111827;
  box-shadow: var(--shadow);
}

.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.12));
}

.feature-card-content {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px;
}

.feature-card h3 {
  margin: 12px 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.05em;
}

.feature-card p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
}

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

.rank-panel,
.filter-panel,
.content-panel {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.rank-panel h2,
.filter-panel h2,
.content-panel h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--amber));
  font-weight: 800;
}

.rank-item img {
  width: 92px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, #fed7aa, #fb923c);
}

.rank-copy {
  min-width: 0;
  flex: 1;
}

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

.rank-copy em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-score {
  color: var(--brand-deep);
  font-weight: 800;
}

.category-cloud,
.filter-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-cloud a,
.filter-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #374151;
  font-weight: 700;
  transition: border 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.category-cloud a:hover,
.filter-cloud a:hover {
  color: var(--brand-deep);
  border-color: var(--brand);
  transform: translateY(-2px);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--brand-deep);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 0;
}

.pagination a,
.pagination strong,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: #374151;
}

.pagination strong {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--amber));
  border-color: transparent;
}

.movie-detail-hero {
  padding: 34px 0 0;
}

.detail-title-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.detail-poster {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #fed7aa, #111827);
}

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

.detail-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

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

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

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

.player-card {
  overflow: hidden;
  border-radius: 28px;
  background: #09090b;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.player-frame {
  position: relative;
  background: #000000;
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.player-start {
  pointer-events: auto;
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--amber));
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.32);
  font-size: 28px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.player-start:hover {
  transform: scale(1.06);
}

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

.player-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: #d1d5db;
  background: #111827;
  font-size: 14px;
}

.article-card {
  margin-top: 24px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

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

.article-card p {
  margin: 0;
  color: #374151;
  line-height: 1.9;
}

.article-card p + p {
  margin-top: 14px;
}

.search-page-box {
  display: grid;
  gap: 18px;
}

.search-page-form {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.search-page-form input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 12px;
  font-size: 16px;
}

.search-page-form button {
  border: 0;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--amber));
  font-weight: 800;
  cursor: pointer;
}

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

.empty-state {
  padding: 32px;
  border-radius: 24px;
  background: #ffffff;
  color: var(--muted);
  text-align: center;
}

.sitemap-list {
  columns: 4 220px;
  column-gap: 28px;
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.sitemap-list a {
  display: block;
  break-inside: avoid;
  padding: 8px 0;
  color: #374151;
  border-bottom: 1px dashed #f1e2d3;
}

.sitemap-list a:hover {
  color: var(--brand-deep);
}

.site-footer {
  margin-top: 70px;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 34px;
  padding: 48px 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 22px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fdba74;
  font-size: 18px;
}

.site-footer p,
.site-footer a {
  display: block;
  color: #d1d5db;
  line-height: 1.8;
}

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

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .site-nav,
  .header-search {
    display: none;
  }

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

  .site-nav.is-open {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a {
    padding: 12px;
    border-radius: 12px;
    background: #fff7ed;
  }

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

  .hero-panel {
    max-width: 520px;
  }

  .quick-grid,
  .movie-grid,
  .movie-grid.compact,
  .search-results,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-title-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

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

  .brand-copy strong {
    font-size: 18px;
  }

  .hero,
  .hero-slider,
  .hero-content {
    min-height: 700px;
  }

  .hero-content {
    padding-top: 46px;
    padding-bottom: 80px;
  }

  .hero p {
    font-size: 16px;
  }

  .quick-strip {
    margin-top: 0;
    padding-top: 18px;
  }

  .quick-grid,
  .movie-grid,
  .movie-grid.compact,
  .search-results,
  .footer-grid,
  .detail-title-card {
    grid-template-columns: 1fr;
  }

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

  .section-head,
  .footer-bottom,
  .player-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .rank-item img {
    width: 82px;
    height: 54px;
  }
}
