:root {
  --primary-50: #e0f2fe;
  --primary-100: #bae6fd;
  --primary-500: #0284c7;
  --primary-600: #0369a1;
  --primary-700: #075985;
  --secondary-50: #f0fdfa;
  --secondary-500: #14b8a6;
  --secondary-600: #0d9488;
  --accent-100: #ffedd5;
  --accent-600: #ea580c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --black: #000000;
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--gray-50), var(--white));
  line-height: 1.5;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.95), rgb(255 255 255 / 0.82));
  backdrop-filter: blur(16px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
  box-shadow: var(--shadow-md);
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--primary-600), var(--secondary-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link {
  position: relative;
  color: var(--gray-700);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-600);
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary-600);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--gray-700);
}

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px 20px;
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--gray-700);
  font-weight: 600;
}

.mobile-nav-link.is-active,
.mobile-nav-link:hover {
  color: var(--primary-600);
  background: var(--primary-50);
}

.hero {
  position: relative;
  height: 60vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--black);
}

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(0 0 0 / 0.88), rgb(0 0 0 / 0.52), rgb(0 0 0 / 0.16));
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 72px;
}

.hero-copy {
  max-width: 760px;
  color: var(--white);
}

.hero-badges,
.detail-meta,
.movie-meta-line,
.hero-meta,
.filter-buttons,
.tag-row,
.hero-actions,
.category-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.18);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.hero-badges span:first-child {
  background: var(--primary-600);
}

.hero-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 30px rgb(0 0 0 / 0.35);
}

.hero-copy p {
  margin: 0 0 18px;
  max-width: 680px;
  color: var(--gray-200);
  font-size: 18px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-meta {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 26px;
}

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

.primary-button {
  min-height: 48px;
  padding: 0 28px;
  color: var(--white);
  background: var(--primary-600);
  box-shadow: var(--shadow-lg);
}

.primary-button:hover {
  background: var(--primary-700);
  box-shadow: var(--shadow-xl);
  transform: translateY(-1px);
}

.ghost-button {
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  border: 1px solid rgb(255 255 255 / 0.4);
  background: rgb(255 255 255 / 0.14);
  backdrop-filter: blur(12px);
}

.ghost-button:hover {
  background: rgb(255 255 255 / 0.24);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgb(0 0 0 / 0.35);
  font-size: 38px;
  line-height: 1;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgb(0 0 0 / 0.55);
  transform: translateY(-50%) scale(1.04);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.52);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--white);
}

.quick-categories {
  padding-top: 28px;
}

.category-strip {
  padding: 18px;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  background: rgb(255 255 255 / 0.9);
  box-shadow: var(--shadow-md);
}

.category-strip a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--primary-700);
  background: var(--primary-50);
  font-weight: 700;
}

.category-strip a:hover {
  color: var(--white);
  background: var(--primary-600);
}

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

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 30px;
}

.section-bar {
  width: 5px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary-600), var(--secondary-600));
  flex: 0 0 auto;
}

.section-heading h2,
.panel-title h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--gray-600);
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-100);
  box-shadow: var(--shadow-xl);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--gray-100);
}

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

.movie-card:hover .poster-link img,
.category-tile:hover img,
.rank-card:hover img {
  transform: scale(1.06);
}

.poster-gradient,
.category-layer {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(0deg, rgb(0 0 0 / 0.78), transparent);
}

.poster-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgb(0 0 0 / 0.55);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

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

.movie-meta-line {
  gap: 8px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 700;
}

.movie-meta-line span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--gray-500);
}

.movie-card h3 {
  margin: 8px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.rank-body h3 a:hover,
.category-card-large h2 a:hover {
  color: var(--primary-600);
}

.movie-card p {
  margin: 0 0 14px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row span {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--secondary-600);
  background: var(--secondary-50);
  font-size: 12px;
  font-weight: 800;
}

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

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 26px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

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

.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 22px;
}

.category-tile strong {
  margin-top: 120px;
  font-size: 24px;
}

.category-tile em {
  margin-top: 8px;
  margin-bottom: 20px;
  color: var(--gray-200);
  font-style: normal;
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.ranking-panel {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

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

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

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

.rank-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.rank-cover {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 3 / 4;
  background: var(--gray-100);
}

.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rank-cover span {
  position: absolute;
  left: 8px;
  top: 8px;
  min-width: 34px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-600), var(--primary-600));
  font-weight: 900;
  font-size: 12px;
}

.rank-body h3 {
  margin: 4px 0 8px;
  font-size: 18px;
}

.rank-body p {
  margin: 0 0 12px;
  color: var(--gray-600);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-main {
  padding-top: 72px;
}

.page-hero {
  padding: 86px 0 72px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
}

.soft-hero {
  color: var(--gray-900);
  background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
}

.category-hero {
  background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
}

.ranking-hero {
  background: linear-gradient(135deg, var(--gray-900), var(--primary-700));
}

.search-hero {
  background: linear-gradient(135deg, var(--secondary-600), var(--primary-600));
}

.page-hero h1 {
  margin: 12px 0 14px;
  max-width: 850px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: currentColor;
  opacity: 0.86;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--primary-700);
  background: rgb(255 255 255 / 0.76);
  font-weight: 900;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  color: rgb(255 255 255 / 0.8);
  font-weight: 700;
}

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

.breadcrumb:not(.light) {
  color: rgb(255 255 255 / 0.86);
}

.filter-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  margin-bottom: 28px;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.search-box input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  outline: none;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgb(2 132 199 / 0.12);
}

.filter-button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--gray-700);
  background: var(--gray-100);
  font-weight: 800;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--white);
  background: var(--primary-600);
}

.movie-card.is-hidden,
.rank-card.is-hidden {
  display: none;
}

.all-movies-grid {
  align-items: stretch;
}

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

.category-card-large {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--gray-200);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.category-card-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  min-height: 170px;
}

.category-card-images img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  border-radius: 16px;
}

.category-card-large h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.category-card-large p {
  margin: 0 0 16px;
  color: var(--gray-600);
  line-height: 1.8;
}

.large-rank-list {
  gap: 18px;
}

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

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

.detail-hero {
  position: relative;
  min-height: 660px;
  padding-top: 92px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.detail-bg,
.detail-shade {
  position: absolute;
  inset: 0;
}

.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px);
  transform: scale(1.08);
  opacity: 0.65;
}

.detail-shade {
  background: linear-gradient(0deg, rgb(0 0 0 / 0.94), rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.28));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 36px 0 56px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 38px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-2xl);
  aspect-ratio: 3 / 4;
  background: var(--gray-900);
}

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

.detail-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.detail-copy p {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--gray-200);
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta {
  margin-bottom: 18px;
  color: rgb(255 255 255 / 0.88);
  font-weight: 700;
}

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

.watch-card {
  overflow: hidden;
  border-radius: 30px;
  background: var(--gray-900);
  box-shadow: var(--shadow-2xl);
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--black);
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
  z-index: 4;
}

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

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

.overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(0 0 0 / 0.78), rgb(0 0 0 / 0.2));
}

.play-button-core {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: rgb(3 105 161 / 0.92);
  box-shadow: 0 18px 46px rgb(0 0 0 / 0.35);
  font-size: 38px;
  padding-left: 6px;
}

.watch-info {
  padding: 22px 26px 26px;
  color: var(--white);
}

.watch-info h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.watch-info p {
  margin: 0;
  color: var(--gray-200);
  line-height: 1.7;
}

.article-section {
  padding-top: 8px;
}

.detail-article {
  max-width: 920px;
  padding: 30px;
  border: 1px solid var(--gray-200);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.detail-article h2,
.about-panel h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.detail-article p,
.about-panel p {
  margin: 0 0 22px;
  color: var(--gray-600);
  line-height: 1.9;
}

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

.about-panel {
  padding: 28px;
  border: 1px solid var(--gray-200);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.site-footer {
  border-top: 1px solid var(--gray-200);
  background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 42px;
  padding: 54px 0 34px;
}

.footer-brand-block p {
  max-width: 430px;
  color: var(--gray-600);
  line-height: 1.8;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-pill {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--primary-700);
  background: var(--primary-50);
  font-weight: 800;
}

.site-footer h3 {
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--gray-600);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  display: inline-block;
  color: var(--primary-600);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 14px;
}

@media (min-width: 768px) {
  .hero {
    height: 70vh;
  }

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

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

@media (min-width: 1024px) {
  .hero {
    height: 80vh;
  }

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

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

  .split-section {
    grid-template-columns: minmax(0, 1fr) 420px;
  }
}

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

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

  .brand-name {
    font-size: 20px;
  }

  .hero {
    min-height: 600px;
  }

  .hero-content {
    padding-bottom: 86px;
  }

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

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

  .hero-arrow {
    top: auto;
    bottom: 70px;
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .hero-prev {
    left: 16px;
  }

  .hero-next {
    right: 16px;
  }

  .detail-layout,
  .category-card-large,
  .footer-grid,
  .about-content {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: column;
  }
}

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

  .header-inner {
    height: 64px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 18px;
  }

  .page-main {
    padding-top: 64px;
  }

  .page-hero {
    padding: 60px 0 54px;
  }

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

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

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

  .movie-card h3 {
    font-size: 16px;
  }

  .movie-card p {
    font-size: 13px;
  }

  .rank-card,
  .large-rank-list .rank-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .detail-hero {
    padding-top: 64px;
    min-height: auto;
  }

  .detail-hero-inner {
    padding: 24px 0 40px;
  }

  .play-button-core {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }
}
