:root {
  --primary-50: #fdf8f3;
  --primary-100: #faeee0;
  --primary-400: #e1a06a;
  --primary-600: #cb6f3f;
  --primary-700: #a95636;
  --primary-900: #6e3b2c;
  --secondary-50: #f5f5f4;
  --secondary-100: #e7e5e4;
  --secondary-200: #d1ccc9;
  --secondary-300: #b8b0ac;
  --secondary-500: #807773;
  --secondary-600: #69615d;
  --secondary-700: #59524f;
  --secondary-800: #4d4845;
  --secondary-900: #433f3d;
  --secondary-950: #2a2725;
  --white: #ffffff;
  --black: #000000;
  --shadow-soft: 0 16px 40px rgba(42, 39, 37, 0.14);
  --shadow-card: 0 12px 30px rgba(42, 39, 37, 0.12);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--secondary-50);
  color: var(--secondary-900);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(42, 39, 37, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  box-shadow: 0 8px 24px rgba(203, 111, 63, 0.36);
}

.logo-text {
  white-space: nowrap;
  font-size: 1.1rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a {
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a {
  color: var(--secondary-200);
  font-weight: 600;
  font-size: 0.95rem;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--primary-400);
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(300px, 28vw);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.header-search input,
.mobile-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  padding: 10px 14px;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: var(--secondary-300);
}

.header-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  color: var(--white);
  background: var(--primary-600);
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  padding: 9px 14px;
  border-radius: 12px;
}

.mobile-nav {
  display: none;
  max-height: calc(100vh - 66px);
  overflow: auto;
  padding: 0 20px 20px;
  background: var(--secondary-950);
}

.mobile-nav a {
  display: block;
  color: var(--secondary-100);
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.mobile-nav a.is-active,
.mobile-nav a:hover {
  color: var(--primary-400);
}

.mobile-search {
  display: flex;
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.hero-section {
  position: relative;
  min-height: 620px;
  height: 70vh;
  overflow: hidden;
  background: var(--secondary-900);
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.02);
}

.hero-overlay,
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(42, 39, 37, 0.98) 0%, rgba(42, 39, 37, 0.72) 44%, rgba(42, 39, 37, 0.22) 100%);
}

.hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1180px, calc(100% - 40px));
  transform: translate(-50%, -46%);
  color: var(--white);
}

.hero-content h1,
.hero-content h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5.2vw, 5.6rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-content p {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--secondary-100);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
}

.hero-kicker,
.page-hero span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary-600);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(203, 111, 63, 0.28);
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--secondary-100);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

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

.primary-button,
.ghost-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
  padding: 12px 24px;
  color: var(--white);
  background: var(--primary-600);
  box-shadow: 0 14px 30px rgba(203, 111, 63, 0.28);
}

.primary-button:hover,
.header-search button:hover,
.mobile-search button:hover,
.search-page-form button:hover {
  background: var(--primary-700);
}

.ghost-button {
  padding: 11px 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.primary-button:hover,
.ghost-button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

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

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

.hero-dots button.is-active {
  width: 36px;
  background: var(--primary-400);
}

.section-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 20px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.quick-links a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--secondary-700);
  background: var(--white);
  border: 1px solid var(--secondary-100);
  box-shadow: 0 8px 20px rgba(42, 39, 37, 0.06);
  font-weight: 800;
}

.quick-links a:hover {
  color: var(--primary-700);
  background: var(--primary-50);
}

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

.section-title h2 {
  margin: 0;
  color: var(--secondary-900);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.2;
  font-weight: 900;
}

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

.section-band {
  background: var(--secondary-100);
}

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

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

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

.movie-card {
  min-width: 0;
}

.movie-card a {
  display: block;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card a:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 46px rgba(42, 39, 37, 0.18);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background: var(--secondary-200);
  overflow: hidden;
}

.movie-card-wide .movie-poster {
  aspect-ratio: 16 / 9;
}

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

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

.movie-type {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.movie-play {
  position: absolute;
  left: 14px;
  bottom: 14px;
  opacity: 0;
  color: var(--white);
  background: rgba(203, 111, 63, 0.95);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card a:hover .movie-play {
  opacity: 1;
  transform: translateY(0);
}

.movie-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
}

.movie-info strong {
  color: var(--secondary-900);
  font-size: 1.05rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-info span {
  min-height: 43px;
  color: var(--secondary-600);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-info em {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--secondary-500);
  font-style: normal;
  font-size: 0.82rem;
}

.movie-info b {
  max-width: 48%;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--primary-700);
  background: var(--primary-100);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-info i {
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.category-card {
  position: relative;
  display: block;
  min-height: 210px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  background: var(--secondary-800);
  box-shadow: var(--shadow-card);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.category-card span {
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 2;
}

.category-card strong,
.category-card em {
  display: block;
}

.category-card strong {
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-weight: 900;
}

.category-card em {
  color: var(--secondary-100);
  font-style: normal;
  font-size: 0.9rem;
}

.category-card:hover img {
  opacity: 0.62;
  transform: scale(1.06);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
}

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

.rank-item a {
  display: grid;
  grid-template-columns: 54px 92px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(42, 39, 37, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item a:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.rank-number {
  color: var(--primary-600);
  font-size: 1.55rem;
  font-weight: 900;
  text-align: center;
}

.rank-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: var(--secondary-200);
}

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

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

.rank-copy strong,
.rank-copy em {
  display: block;
}

.rank-copy strong {
  color: var(--secondary-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 900;
}

.rank-copy em {
  color: var(--secondary-500);
  font-size: 0.88rem;
  font-style: normal;
}

.page-hero {
  color: var(--white);
  background: radial-gradient(circle at 20% 20%, rgba(203, 111, 63, 0.32), transparent 34%), linear-gradient(120deg, var(--secondary-950), var(--secondary-800));
}

.page-hero .section-wrap {
  padding-top: 64px;
  padding-bottom: 64px;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 1.1;
  font-weight: 900;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--secondary-100);
  font-size: 1.08rem;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.category-cover {
  display: block;
  min-height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--secondary-200);
}

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

.category-overview-card h2 {
  margin: 4px 0 10px;
  font-size: 1.45rem;
  font-weight: 900;
}

.category-overview-card p {
  margin: 0 0 12px;
  color: var(--secondary-600);
}

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

.category-overview-card li {
  margin: 7px 0;
}

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

.filter-panel,
.search-page-form,
.search-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-panel {
  justify-content: space-between;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.filter-panel label {
  color: var(--secondary-900);
  font-weight: 900;
}

.filter-panel input,
.search-page-form input,
.search-filters select {
  border: 1px solid var(--secondary-200);
  border-radius: 999px;
  background: var(--white);
  outline: 0;
}

.filter-panel input {
  width: min(520px, 100%);
  padding: 12px 16px;
}

.search-panel {
  max-width: 1100px;
}

.search-page-form input {
  flex: 1;
  padding: 14px 18px;
}

.search-page-form button {
  border-radius: 999px;
  padding: 14px 28px;
}

.search-filters select {
  min-width: 160px;
  padding: 11px 14px;
}

.search-status {
  margin: 0 0 24px;
  color: var(--secondary-600);
  font-weight: 700;
}

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

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

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

.detail-main {
  background: var(--secondary-50);
}

.detail-hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  color: var(--white);
  background: var(--secondary-900);
}

.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 72px;
  padding-bottom: 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--secondary-100);
  font-size: 0.94rem;
}

.breadcrumb a::after {
  content: "/";
  margin-left: 8px;
  color: var(--secondary-300);
}

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

.detail-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 4.8vw, 5rem);
  line-height: 1.08;
  font-weight: 900;
}

.detail-hero p {
  max-width: 860px;
  margin: 0 0 20px;
  color: var(--secondary-100);
  font-size: 1.15rem;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--black);
  box-shadow: var(--shadow-soft);
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.player-overlay-button {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.22));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary-600);
  box-shadow: 0 18px 40px rgba(203, 111, 63, 0.35);
}

.play-circle::before {
  content: "";
  margin-left: 5px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid var(--white);
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
}

.detail-card,
.side-card {
  margin-top: 24px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.detail-card h2,
.side-card h2 {
  margin: 0 0 14px;
  color: var(--secondary-900);
  font-size: 1.4rem;
  font-weight: 900;
}

.detail-card p {
  margin: 0 0 22px;
  color: var(--secondary-700);
  line-height: 1.9;
}

.lead-text {
  font-weight: 800;
}

.detail-card blockquote {
  margin: 0 0 22px;
  padding: 18px;
  border-left: 5px solid var(--primary-600);
  border-radius: 0 14px 14px 0;
  color: var(--secondary-700);
  background: var(--primary-50);
  line-height: 1.85;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list a,
.side-tags a {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--secondary-700);
  background: var(--secondary-100);
  font-weight: 800;
}

.tag-list a:hover,
.side-tags a:hover {
  color: var(--primary-700);
  background: var(--primary-100);
}

.inline-title {
  margin-bottom: 20px;
}

.detail-side {
  position: sticky;
  top: 86px;
}

.side-card:first-child {
  margin-top: 0;
}

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

.side-related {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.side-related img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  background: var(--secondary-200);
}

.side-related strong,
.side-related em {
  display: block;
}

.side-related strong {
  color: var(--secondary-900);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.side-related em {
  margin-top: 4px;
  color: var(--secondary-500);
  font-style: normal;
  font-size: 0.85rem;
}

.side-related:hover strong {
  color: var(--primary-600);
}

.side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.side-tags h2 {
  flex: 0 0 100%;
}

.site-footer {
  margin-top: 42px;
  color: var(--secondary-100);
  background: var(--secondary-950);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 38px 20px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
}

.footer-logo {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.2rem;
}

.footer-inner p {
  max-width: 520px;
  margin: 0;
  color: var(--secondary-300);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--secondary-200);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--primary-400);
}

.footer-bottom {
  padding: 16px 20px;
  color: var(--secondary-300);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[hidden] {
  display: none !important;
}

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

  .header-search {
    margin-left: auto;
  }

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

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

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }
}

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

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

  .mobile-nav.is-open {
    display: block;
  }

  .hero-section {
    min-height: 560px;
    height: 72vh;
  }

  .movie-grid,
  .feature-grid,
  .category-movie-grid,
  .search-grid,
  .rank-page-list,
  .spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .latest-grid,
  .related-grid,
  .split-layout,
  .footer-inner,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .category-cover {
    min-height: 260px;
  }

  .filter-panel,
  .search-page-form,
  .search-filters {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-panel input,
  .search-filters select {
    width: 100%;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .header-inner {
    padding: 12px 14px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .section-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-content {
    width: calc(100% - 28px);
  }

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

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

  .movie-grid,
  .feature-grid,
  .category-movie-grid,
  .search-grid,
  .rank-page-list,
  .spotlight-grid {
    gap: 14px;
  }

  .movie-info {
    padding: 12px;
  }

  .movie-info strong {
    font-size: 0.98rem;
  }

  .movie-info span {
    font-size: 0.86rem;
  }

  .movie-info em {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-info b {
    max-width: 100%;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .rank-item a {
    grid-template-columns: 42px 82px minmax(0, 1fr);
    gap: 10px;
  }

  .rank-number {
    font-size: 1.2rem;
  }

  .detail-card,
  .side-card {
    padding: 20px;
  }

  .side-related {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}
