* {
  box-sizing: border-box;
}

:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-soft: #e0f2fe;
  --secondary: #0d9488;
  --secondary-soft: #ccfbf1;
  --accent: #ea580c;
  --accent-soft: #fff7ed;
  --neutral-50: #fafaf9;
  --neutral-100: #f5f5f4;
  --neutral-200: #e7e5e4;
  --neutral-500: #78716c;
  --neutral-600: #57534e;
  --neutral-700: #44403c;
  --neutral-900: #1c1917;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 24px 70px rgba(28, 25, 23, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--neutral-900);
  background: linear-gradient(180deg, var(--neutral-50), var(--white));
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231, 229, 228, 0.9);
  box-shadow: 0 8px 30px rgba(28, 25, 23, 0.05);
}

.header-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.22);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-4deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--neutral-900);
}

.brand-copy small {
  color: var(--neutral-500);
  font-size: 12px;
  margin-top: 3px;
}

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

.nav-link,
.nav-drop-button {
  border: 0;
  background: transparent;
  padding: 10px 0;
  color: var(--neutral-700);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: -12px;
  width: 220px;
  padding: 10px;
  display: grid;
  gap: 4px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--neutral-700);
  font-size: 14px;
}

.dropdown-panel a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.header-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--neutral-200);
  border-radius: 999px;
  padding: 3px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.header-search input,
.mobile-search input {
  border: 0;
  outline: 0;
  min-width: 190px;
  padding: 9px 12px 9px 16px;
  background: transparent;
}

.header-search button,
.mobile-search button,
.search-panel button {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  cursor: pointer;
  font-weight: 700;
}

.mobile-toggle {
  display: none;
  border: 0;
  background: var(--neutral-100);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  background: var(--neutral-900);
  margin: 5px 0;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--neutral-200);
  padding: 14px 20px 20px;
  background: var(--white);
}

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

.mobile-nav a {
  padding: 10px 2px;
  color: var(--neutral-700);
  font-weight: 700;
}

.mobile-search {
  display: flex;
  border: 1px solid var(--neutral-200);
  border-radius: 999px;
  padding: 3px;
}

.hero-slider {
  position: relative;
  height: 78vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--neutral-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1.4s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(2, 132, 199, 0.35), transparent 32%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.76)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 72px;
  color: var(--white);
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(2, 132, 199, 0.36);
}

.hero-content h1,
.hero-content h2 {
  margin: 18px 0 0;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-content h2 {
  font-size: clamp(30px, 5vw, 58px);
}

.hero-content p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.primary-button,
.ghost-button,
.text-button,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 22px;
  font-weight: 800;
  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(--primary), var(--secondary));
  box-shadow: 0 16px 34px rgba(2, 132, 199, 0.28);
}

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

.ghost-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.ghost-button.light {
  color: var(--neutral-900);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.8);
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

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

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

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

.section-heading p {
  margin: 8px 0 0;
  color: var(--neutral-600);
  line-height: 1.7;
}

.section-link,
.text-button {
  min-height: 40px;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

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

.three-grid {
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.movie-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--neutral-900);
  background: var(--white);
  border: 1px solid rgba(231, 229, 228, 0.78);
  border-radius: 20px;
  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(-5px);
  border-color: rgba(2, 132, 199, 0.25);
  box-shadow: var(--shadow-lg);
}

.card-poster {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--neutral-100);
}

.card-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.54));
  transition: opacity 0.25s ease;
}

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

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

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

.card-year,
.card-category {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 10px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
}

.card-category {
  left: 12px;
  right: auto;
  background: var(--primary);
}

.card-category.inline {
  position: static;
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.card-body {
  position: relative;
  padding: 18px;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--neutral-900);
  font-size: 18px;
  line-height: 1.42;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--primary-dark);
}

.card-body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--neutral-600);
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--neutral-500);
  font-size: 13px;
}

.card-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  color: var(--neutral-200);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--neutral-600);
  background: var(--neutral-100);
  font-size: 12px;
  font-weight: 700;
}

.movie-card-horizontal {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 190px;
}

.movie-card-horizontal .card-poster {
  height: 100%;
}

.movie-card-horizontal .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.movie-card-horizontal .card-body h3 {
  min-height: auto;
  font-size: 22px;
}

.movie-card-horizontal .card-body p {
  min-height: auto;
  -webkit-line-clamp: 3;
}

.rank-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  color: rgba(2, 132, 199, 0.12);
}

.movie-card-large {
  min-height: 380px;
  border-radius: 26px;
}

.movie-card-large img,
.large-card-shade {
  position: absolute;
  inset: 0;
}

.large-card-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78));
}

.large-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  color: var(--white);
}

.large-card-copy span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.large-card-copy h3 {
  margin: 14px 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

.large-card-copy p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.soft-panel {
  margin-top: 64px;
  padding: 42px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--primary-soft), var(--secondary-soft));
}

.horizontal-list,
.ranking-strip {
  display: grid;
  gap: 18px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--neutral-900), #0f172a 58%, var(--primary-dark));
  color: var(--white);
}

.page-hero {
  min-height: 330px;
  display: flex;
  align-items: end;
  padding: 76px 0 58px;
}

.page-hero > div {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.page-hero span {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.page-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.05;
}

.page-hero p {
  max-width: 740px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.75;
}

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

.category-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(231, 229, 228, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-cover {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.category-cover span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
  font-weight: 800;
}

.category-copy {
  padding: 24px;
}

.category-copy h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.category-copy p {
  margin: 0 0 18px;
  color: var(--neutral-600);
  line-height: 1.7;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.category-samples a {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--neutral-700);
  background: var(--neutral-100);
  font-size: 13px;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.8fr;
  gap: 16px;
  margin-bottom: 26px;
  padding: 20px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--neutral-600);
  font-size: 14px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select,
.search-panel input {
  width: 100%;
  border: 1px solid var(--neutral-200);
  border-radius: 999px;
  outline: 0;
  padding: 12px 16px;
  color: var(--neutral-900);
  background: var(--white);
}

.filter-panel input:focus,
.filter-panel select:focus,
.search-panel input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
}

.search-panel {
  display: flex;
  gap: 10px;
  max-width: 700px;
  margin-top: 28px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.search-panel input {
  border: 0;
  flex: 1;
}

.detail-hero {
  min-height: 680px;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.15);
  transform: scale(1.08);
  opacity: 0.36;
}

.detail-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.34), transparent 28%),
    linear-gradient(180deg, rgba(28, 25, 23, 0.62), rgba(28, 25, 23, 0.92));
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 72px;
}

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

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

.detail-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  align-items: center;
  gap: 48px;
}

.detail-poster {
  height: 500px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
}

.detail-copy h1 {
  margin: 18px 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.75;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  font-weight: 700;
}

.detail-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.player-section h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 38px);
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62));
  cursor: pointer;
}

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

.play-icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 34px;
  box-shadow: 0 22px 54px rgba(2, 132, 199, 0.4);
  padding-left: 5px;
}

.player-overlay strong {
  font-size: 20px;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.article-card {
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(231, 229, 228, 0.76);
}

.article-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.article-card p {
  margin: 0;
  color: var(--neutral-700);
  line-height: 1.9;
  font-size: 16px;
}

.site-footer {
  margin-top: 80px;
  background: var(--neutral-900);
  color: var(--white);
}

.footer-grid {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding: 52px 0 36px;
}

.footer-brand {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 12px;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.8;
}

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

.site-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.62);
}

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

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.hidden-card {
  display: none !important;
}

.empty-state {
  padding: 42px;
  border-radius: 24px;
  text-align: center;
  color: var(--neutral-600);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

  .mobile-toggle {
    display: block;
    margin-left: auto;
  }

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

  .feature-grid,
  .three-grid,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .detail-layout {
    grid-template-columns: 280px 1fr;
    gap: 30px;
  }

  .detail-poster {
    height: 430px;
  }
}

@media (max-width: 780px) {
  .brand-copy small {
    display: none;
  }

  .hero-slider {
    min-height: 540px;
    height: 74vh;
  }

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

  .hero-arrow {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }

  .content-section {
    padding-top: 44px;
  }

  .section-heading {
    display: grid;
  }

  .movie-grid,
  .compact-grid,
  .three-grid,
  .feature-grid,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-poster {
    height: 230px;
  }

  .movie-card-horizontal {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal .card-poster {
    height: 220px;
  }

  .soft-panel {
    padding: 22px;
    border-radius: 26px;
  }

  .category-card,
  .detail-layout,
  .filter-panel {
    grid-template-columns: 1fr;
  }

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

  .detail-hero {
    min-height: auto;
  }

  .detail-inner {
    padding-top: 28px;
  }

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

  .detail-meta span {
    font-size: 13px;
  }

  .search-panel {
    border-radius: 24px;
    flex-direction: column;
  }

  .search-panel button {
    min-height: 44px;
  }

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

@media (max-width: 520px) {
  .header-inner {
    width: min(100% - 20px, 1280px);
  }

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

  .hero-content,
  .content-section,
  .page-hero > div,
  .detail-inner,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 22px, 1280px);
  }

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

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