:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-600: #db2777;
  --orange-50: #fff7ed;
  --text: #111827;
  --muted: #6b7280;
  --line: #f1d6dc;
  --card: rgba(255, 255, 255, 0.94);
  --shadow: 0 24px 70px rgba(136, 19, 55, 0.12);
}

body {
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #fff 0%, var(--rose-50) 42%, #fff 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

img {
  background: linear-gradient(135deg, var(--rose-100), var(--orange-50));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(244, 63, 94, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(136, 19, 55, 0.06);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 72px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rose-600);
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.logo-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--rose-600), var(--pink-600));
  color: #fff;
  box-shadow: 0 14px 30px rgba(225, 29, 72, 0.28);
}

.logo-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.logo-mark path {
  fill: var(--rose-600);
}

.logo-mark rect {
  fill: #fff;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--rose-600);
  background: var(--rose-50);
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(225, 29, 72, 0.14);
  border-radius: 999px;
  background: #fff;
}

.nav-search input,
.search-panel input,
.filter-input,
.filter-select {
  border: 0;
  outline: 0;
  color: #111827;
  background: transparent;
}

.nav-search input {
  width: 150px;
  padding: 0 10px;
}

.nav-search button,
.search-panel button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--rose-600), var(--pink-600));
  box-shadow: 0 15px 32px rgba(225, 29, 72, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-search button:hover,
.search-panel button:hover,
.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(225, 29, 72, 0.32);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.ghost-button.dark {
  color: var(--rose-600);
  border-color: rgba(225, 29, 72, 0.2);
  background: #fff;
}

.primary-button.full {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--rose-50);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 99px;
  background: var(--rose-600);
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background: #111827;
}

.hero-slides {
  position: relative;
  min-height: 680px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(136, 19, 55, 0.72) 46%, rgba(17, 24, 39, 0.36) 100%), linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.88));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  align-items: center;
  gap: 52px;
  max-width: 1240px;
  min-height: 680px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

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

.hero-eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--rose-600);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: var(--rose-50);
}

.hero-eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 820px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

.hero-copy h2 {
  margin-top: 14px;
  font-size: clamp(30px, 4.4vw, 56px);
}

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

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

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

.hero-tags span,
.movie-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--rose-600);
  font-size: 12px;
  font-weight: 800;
  background: var(--rose-50);
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

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

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 34px;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--rose-600), var(--pink-600));
}

.hero-control {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

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

.search-band {
  margin-top: -42px;
  position: relative;
  z-index: 5;
  padding: 0 24px;
}

.search-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(225, 29, 72, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-band h2,
.section-heading h2,
.side-panel h2,
.page-hero h1,
.detail-content h1 {
  color: var(--text);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.search-band p,
.section-heading p,
.page-hero p {
  color: var(--muted);
  line-height: 1.8;
}

.search-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(225, 29, 72, 0.16);
  border-radius: 999px;
  background: #fff;
}

.search-panel input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
}

.content-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 82px 24px;
}

.tinted-section {
  max-width: none;
  padding-left: max(24px, calc((100% - 1240px) / 2 + 24px));
  padding-right: max(24px, calc((100% - 1240px) / 2 + 24px));
  background: linear-gradient(135deg, var(--rose-50), var(--orange-50));
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 12px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(225, 29, 72, 0.11);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 18px 48px rgba(136, 19, 55, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(225, 29, 72, 0.26);
  box-shadow: 0 26px 70px rgba(136, 19, 55, 0.16);
}

.movie-card-cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--rose-50);
}

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

.movie-card:hover .movie-card-cover img {
  transform: scale(1.06);
}

.movie-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(17, 24, 39, 0.65));
}

.movie-badge,
.movie-play,
.rank-number {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
}

.movie-badge {
  left: 12px;
  top: 12px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(8px);
}

.movie-play {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose-600), var(--pink-600));
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.28);
}

.rank-number {
  left: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, #111827, var(--rose-600));
}

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

.movie-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 48px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 900;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-title:hover {
  color: var(--rose-600);
}

.movie-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.movie-card-desc {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 10px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.movie-card-desc.compact {
  -webkit-line-clamp: 2;
}

.movie-tags {
  margin-top: 12px;
}

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

.category-tile,
.category-card-large,
.side-panel,
.side-card,
.detail-content,
.player-card {
  border: 1px solid rgba(225, 29, 72, 0.12);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.category-tile {
  overflow: hidden;
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(136, 19, 55, 0.16);
}

.category-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  overflow: hidden;
  height: 118px;
  border-radius: 18px;
  background: var(--rose-50);
}

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

.category-tile h3 {
  margin-top: 18px;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
}

.category-tile p,
.category-card-content p,
.side-panel p {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.8;
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.section-more.align-left {
  justify-content: flex-start;
}

.section-more a,
.text-link {
  color: var(--rose-600);
  font-weight: 900;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
}

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

.ranking-list .movie-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
}

.ranking-list .movie-card-cover {
  height: 100%;
  aspect-ratio: auto;
}

.side-panel {
  position: sticky;
  top: 98px;
  align-self: start;
  padding: 28px;
  background: linear-gradient(135deg, #fff, var(--rose-50));
}

.side-panel .primary-button {
  margin-top: 20px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 24px;
  color: #fff;
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.24), transparent 28%), linear-gradient(135deg, #111827 0%, #881337 54%, var(--rose-600) 100%);
}

.page-hero > div {
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero .section-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.page-hero h1 {
  color: #fff;
  max-width: 760px;
}

.page-hero p {
  max-width: 780px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.small-hero {
  padding-top: 82px;
  padding-bottom: 82px;
}

.filter-bar {
  position: sticky;
  top: 86px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px 170px;
  gap: 12px;
  margin-bottom: 32px;
  padding: 12px;
  border: 1px solid rgba(225, 29, 72, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 45px rgba(136, 19, 55, 0.08);
  backdrop-filter: blur(16px);
}

.filter-input,
.filter-select {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(225, 29, 72, 0.14);
  border-radius: 16px;
  background: #fff;
}

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

.category-card-large {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  overflow: hidden;
}

.category-cover-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 260px;
  background: var(--rose-50);
}

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

.category-card-content {
  padding: 32px;
}

.category-card-content h2 {
  color: var(--text);
  font-size: 28px;
  font-weight: 900;
}

.category-card-content ul {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.category-card-content li a {
  color: #374151;
}

.category-card-content li a:hover {
  color: var(--rose-600);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 132px;
  align-items: center;
  gap: 22px;
  padding: 16px;
  border: 1px solid rgba(225, 29, 72, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(136, 19, 55, 0.08);
}

.rank-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
}

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

.rank-cover b {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #111827, var(--rose-600));
}

.rank-info h2 {
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
}

.rank-info h2 a:hover {
  color: var(--rose-600);
}

.rank-info > p:not(.movie-meta) {
  margin-top: 10px;
  color: #4b5563;
  line-height: 1.75;
}

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

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

.rank-heat strong {
  color: var(--rose-600);
  font-size: 26px;
  font-weight: 900;
}

.detail-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 24px 0;
}

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

.breadcrumb a {
  color: var(--rose-600);
  font-weight: 800;
}

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

.detail-main {
  display: grid;
  gap: 24px;
}

.player-card {
  overflow: hidden;
  background: #000;
}

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

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

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #000;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(1.06) contrast(1.08);
}

.play-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68));
}

.play-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.big-play {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  color: #fff;
  font-size: 34px;
  background: linear-gradient(135deg, var(--rose-600), var(--pink-600));
  box-shadow: 0 24px 70px rgba(225, 29, 72, 0.4);
}

.detail-content {
  padding: 32px;
}

.detail-content h1 {
  margin-bottom: 16px;
}

.detail-lead {
  color: #374151;
  font-size: 18px;
  line-height: 1.9;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #374151;
  background: var(--rose-50);
  font-weight: 800;
}

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

.detail-content h2 {
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
}

.detail-content p {
  color: #374151;
  line-height: 1.95;
}

.detail-side {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 18px;
}

.detail-poster {
  overflow: hidden;
  display: block;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

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

.side-card {
  padding: 24px;
}

.side-card h2 {
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
}

.side-card dl {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  margin: 18px 0 22px;
}

.side-card dt {
  color: var(--muted);
}

.side-card dd {
  color: var(--text);
  font-weight: 800;
}

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

.site-footer {
  margin-top: 70px;
  border-top: 1px solid rgba(225, 29, 72, 0.12);
  background: linear-gradient(180deg, #fff, var(--rose-50));
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 24px;
}

.footer-brand p {
  max-width: 560px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.footer-links a {
  color: #374151;
  font-weight: 800;
}

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

.footer-copy {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 34px;
  color: var(--muted);
  font-size: 14px;
}

[data-filter-list] .movie-card[hidden] {
  display: none;
}

@media (max-width: 1160px) {
  .movie-grid,
  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .nav-search {
    display: none;
  }
}

@media (max-width: 960px) {
  .site-nav {
    min-height: 64px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(225, 29, 72, 0.14);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .nav-link {
    justify-content: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    min-height: 700px;
  }

  .hero-poster {
    display: none;
  }

  .search-band-inner,
  .two-column-section,
  .detail-grid,
  .footer-inner,
  .category-card-large {
    grid-template-columns: 1fr;
  }

  .ranking-list {
    grid-template-columns: 1fr;
  }

  .detail-side,
  .side-panel {
    position: static;
  }

  .filter-bar {
    grid-template-columns: 1fr;
    position: static;
  }
}

@media (max-width: 760px) {
  .site-nav {
    padding: 0 16px;
  }

  .site-logo span:last-child {
    font-size: 18px;
  }

  .hero-carousel,
  .hero-slides,
  .hero-content {
    min-height: 620px;
  }

  .hero-content {
    padding: 56px 18px 88px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    letter-spacing: -0.045em;
  }

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

  .search-band {
    padding: 0 16px;
  }

  .search-band-inner,
  .search-panel {
    display: block;
  }

  .search-panel {
    border-radius: 22px;
    margin-top: 18px;
  }

  .search-panel input {
    width: 100%;
    min-height: 46px;
  }

  .search-panel button {
    width: 100%;
    margin-top: 10px;
  }

  .content-section,
  .detail-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

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

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

  .movie-title {
    font-size: 15px;
  }

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

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

  .category-cover-strip {
    min-height: 190px;
  }

  .detail-content {
    padding: 22px;
  }

  .big-play {
    width: 72px;
    height: 72px;
    font-size: 26px;
  }
}

@media (max-width: 430px) {
  .movie-grid,
  .feature-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }
}
