:root {
  --red-950: #450a0a;
  --red-900: #7f1d1d;
  --red-800: #991b1b;
  --red-700: #b91c1c;
  --red-600: #dc2626;
  --amber-900: #78350f;
  --amber-800: #92400e;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --rose-50: #fff1f2;
  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow-sm: 0 4px 16px rgba(69, 10, 10, 0.08);
  --shadow-md: 0 16px 40px rgba(69, 10, 10, 0.16);
  --shadow-lg: 0 28px 70px rgba(69, 10, 10, 0.28);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--amber-50), var(--white) 36%, var(--rose-50));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 241, 242, 0.96), rgba(255, 251, 235, 0.96));
  border-bottom: 4px solid var(--red-800);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red-700), var(--amber-700));
  color: var(--white);
  font-size: 23px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(185, 28, 28, 0.28);
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-name {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--red-900), var(--amber-800));
  -webkit-background-clip: text;
  color: transparent;
}

.brand-subtitle {
  color: var(--gray-600);
  font-size: 12px;
  margin-top: 4px;
}

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

.nav-link {
  color: var(--gray-700);
  padding: 10px 15px;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--red-800);
  background: rgba(254, 226, 226, 0.9);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  color: var(--red-900);
  background: rgba(254, 226, 226, 0.7);
}

.menu-button span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-nav nav,
.mobile-category-links {
  display: grid;
  gap: 8px;
}

.mobile-nav a,
.mobile-category-links a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.72);
}

.mobile-category-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background: var(--red-950);
}

.hero-track {
  position: relative;
  min-height: 650px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(69, 10, 10, 0.96) 0%, rgba(127, 29, 29, 0.88) 42%, rgba(120, 53, 15, 0.62) 100%),
    var(--hero-image) center / cover no-repeat;
  filter: saturate(1.08);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 16% 24%, rgba(251, 191, 36, 0.22), transparent 28%), radial-gradient(circle at 86% 18%, rgba(248, 113, 113, 0.24), transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 370px;
  gap: 48px;
  align-items: center;
  color: var(--white);
}

.hero-kicker,
.page-hero span,
.section-heading span {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fed7aa;
  background: rgba(127, 29, 29, 0.42);
  border: 1px solid rgba(254, 215, 170, 0.28);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 18px 0 10px;
  max-width: 860px;
  font-size: clamp(36px, 6vw, 74px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.hero-copy h2 {
  margin: 0 0 14px;
  color: #fde68a;
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.1;
  font-weight: 900;
}

.hero-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

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

.hero-tags span,
.detail-tags span,
.movie-card-tags span {
  border-radius: 999px;
  background: rgba(254, 243, 199, 0.14);
  color: #fde68a;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

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

.primary-button,
.secondary-button,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
  box-shadow: 0 16px 32px rgba(185, 28, 28, 0.32);
}

.secondary-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.secondary-button:hover,
.section-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-nav {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  width: min(100% - 32px, var(--container));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

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

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

.hero-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border-radius: 999px;
}

.hero-dot.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--red-600), var(--amber-600));
}

.content-section {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 64px 0;
}

.alt-bg {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - var(--container)) / 2));
  padding-right: max(16px, calc((100% - var(--container)) / 2));
  background: linear-gradient(180deg, rgba(243, 244, 246, 0.8), rgba(255, 255, 255, 0.92));
}

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

.section-heading h2,
.filter-copy h2,
.story-panel h2,
.side-panel h2 {
  margin: 8px 0 0;
  color: var(--gray-900);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-link {
  min-height: 40px;
  color: var(--red-800);
  background: rgba(254, 226, 226, 0.82);
}

.filter-panel {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.86fr);
  gap: 22px;
  align-items: end;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: linear-gradient(135deg, var(--white), var(--amber-50));
  border: 1px solid rgba(252, 165, 165, 0.38);
  box-shadow: var(--shadow-sm);
}

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

.filter-controls {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 12px;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  color: var(--gray-900);
  background: var(--white);
  padding: 0 14px;
  outline: none;
}

.filter-controls input:focus,
.filter-controls select:focus {
  border-color: var(--red-600);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.filter-empty {
  margin: 14px 0 0;
  grid-column: 1 / -1;
  color: var(--red-800);
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.92);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(252, 165, 165, 0.92);
  box-shadow: var(--shadow-md);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-950), var(--amber-900));
}

.poster-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.08);
  filter: saturate(1.12);
}

.poster-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(127, 29, 29, 0.78);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.poster-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

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

.movie-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
  color: var(--gray-900);
  font-size: 17px;
  line-height: 1.38;
  font-weight: 900;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-card-title {
  color: var(--red-700);
}

.movie-card-meta {
  margin: 8px 0 0;
  color: var(--amber-800);
  font-size: 13px;
  font-weight: 800;
}

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

.movie-card-tags span {
  color: var(--red-700);
  background: var(--rose-50);
}

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

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

.category-card {
  display: block;
  min-height: 150px;
  border-radius: var(--radius-md);
  padding: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-800), var(--amber-700));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -46px;
  bottom: -64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.category-card span {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 23px;
  font-weight: 950;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.rank-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-item {
  display: grid;
  grid-template-columns: 52px 76px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--shadow-sm);
}

.rank-no {
  color: var(--red-700);
  font-size: 24px;
  font-weight: 950;
  text-align: center;
}

.rank-poster {
  overflow: hidden;
  border-radius: 12px;
  background: var(--red-950);
}

.rank-poster img {
  width: 76px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.rank-copy a {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 17px;
  font-weight: 950;
}

.rank-copy a:hover {
  color: var(--red-700);
}

.rank-copy p {
  margin: 5px 0 0;
  color: var(--gray-600);
  font-size: 13px;
}

.page-hero,
.detail-hero {
  width: min(100% - 32px, var(--container));
  margin: 34px auto 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--red-950), var(--red-800) 48%, var(--amber-800));
  color: var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.page-hero {
  padding: clamp(38px, 7vw, 86px);
  position: relative;
}

.page-hero::after,
.detail-hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -120px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.18);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin: 18px 0 10px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.page-hero p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  padding: 32px;
}

.detail-poster {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.12);
}

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

.detail-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #fde68a;
}

.detail-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.detail-meta span {
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--red-900);
  background: #fde68a;
  font-size: 13px;
  font-weight: 950;
}

.detail-tags {
  margin-top: 16px;
}

.player-section {
  width: min(100% - 32px, var(--container));
  margin: 34px auto 0;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--gray-950);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--gray-950);
}

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, rgba(3, 7, 18, 0.34), rgba(69, 10, 10, 0.74));
  cursor: pointer;
}

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

.play-icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
  font-size: 30px;
  padding-left: 5px;
}

.play-layer span:last-child {
  font-size: 18px;
  font-weight: 950;
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(127, 29, 29, 0.86);
  font-weight: 800;
}

.detail-layout {
  width: min(100% - 32px, var(--container));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.story-panel,
.side-panel {
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.92);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.story-panel h2,
.side-panel h2 {
  font-size: 28px;
}

.story-panel p {
  margin: 12px 0 26px;
  color: var(--gray-700);
  font-size: 17px;
}

.story-panel p:last-child {
  margin-bottom: 0;
}

.mini-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.mini-movie {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 14px;
  padding: 10px;
  background: var(--amber-50);
  transition: background 0.2s ease, transform 0.2s ease;
}

.mini-movie:hover {
  background: var(--rose-50);
  transform: translateX(3px);
}

.mini-movie img {
  width: 64px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}

.mini-movie strong {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 15px;
}

.mini-movie em {
  display: block;
  margin-top: 4px;
  color: var(--gray-600);
  font-size: 12px;
  font-style: normal;
}

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

.site-footer {
  margin-top: 70px;
  color: var(--gray-300);
  background: linear-gradient(180deg, var(--gray-900), var(--gray-950));
}

.footer-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
}

.footer-brand {
  color: var(--white);
  font-size: 24px;
  font-weight: 950;
}

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

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

.footer-links a {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--gray-300);
  background: rgba(255, 255, 255, 0.06);
}

.footer-links a:hover {
  color: var(--white);
  background: rgba(220, 38, 38, 0.46);
}

.footer-bottom {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--gray-500);
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

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

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

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

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

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

  .hero-carousel,
  .hero-track,
  .hero-content {
    min-height: 760px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 30px;
    padding: 38px 0 80px;
  }

  .hero-poster {
    width: min(260px, 62vw);
    transform: rotate(0);
  }

  .filter-panel,
  .detail-hero,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(320px, 100%);
  }

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

@media (max-width: 720px) {
  .header-inner {
    min-height: 68px;
  }

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

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

  .hero-copy h1 {
    font-size: clamp(34px, 14vw, 54px);
  }

  .hero-copy p,
  .page-hero p,
  .detail-one-line {
    font-size: 16px;
  }

  .filter-controls {
    grid-template-columns: 1fr;
  }

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

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

  .movie-card-title {
    min-height: 44px;
    font-size: 15px;
  }

  .movie-card-desc {
    display: none;
  }

  .detail-hero,
  .story-panel,
  .side-panel {
    padding: 20px;
  }

  .player-wrap {
    border-radius: 18px;
  }

  .play-icon {
    width: 62px;
    height: 62px;
  }

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

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

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

  .rank-item {
    grid-template-columns: 42px 64px 1fr;
    gap: 10px;
  }

  .rank-poster img {
    width: 64px;
  }
}
