:root {
  --primary-50: #e0f2fe;
  --primary-100: #bae6fd;
  --primary-500: #0284c7;
  --primary-600: #0369a1;
  --primary-700: #075985;
  --secondary-50: #f0fdfa;
  --secondary-100: #ccfbf1;
  --secondary-500: #14b8a6;
  --secondary-600: #0d9488;
  --accent-50: #fff7ed;
  --accent-100: #ffedd5;
  --accent-500: #f97316;
  --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;
  --shadow: 0 12px 34px rgba(15, 23, 42, 0.10);
  --shadow-hover: 0 22px 50px rgba(15, 23, 42, 0.18);
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82));
  backdrop-filter: blur(14px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
  box-shadow: 0 10px 24px rgba(3, 105, 161, 0.25);
}

.brand-text {
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(90deg, var(--primary-600), var(--secondary-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

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

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

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

.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;
}

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

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

.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: 650;
}

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

.hero-slider {
  position: relative;
  min-height: 650px;
  height: 78vh;
  overflow: hidden;
  background: #000000;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

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

.hero-image,
.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.46) 48%, rgba(0, 0, 0, 0.18));
}

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

.hero-copy {
  width: min(760px, 100%);
  color: var(--white);
}

.hero-site-title {
  margin: 0 0 16px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.08em;
}

.hero-pills,
.detail-pills,
.movie-meta-line,
.movie-sub-meta,
.detail-meta,
.footer-badges,
.tag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pill,
.pill,
.tag-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.hero-pill {
  padding: 9px 13px;
}

.hero-pill.primary,
.pill.strong {
  color: var(--white);
  background: var(--primary-600);
}

.hero-pill.glass,
.pill.dark {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.hero-desc {
  max-width: 720px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 12px;
  opacity: 0.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 13px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary-button {
  color: var(--white);
  background: var(--primary-600);
  box-shadow: 0 16px 30px rgba(3, 105, 161, 0.28);
}

.primary-button:hover {
  background: var(--primary-700);
  box-shadow: 0 20px 42px rgba(3, 105, 161, 0.36);
}

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

.outline-button {
  color: var(--primary-700);
  background: var(--white);
  border: 1px solid var(--primary-100);
}

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

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.54);
  transform: translateY(-50%) scale(1.04);
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

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

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

.search-panel {
  background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
  border-bottom: 1px solid rgba(3, 105, 161, 0.08);
}

.search-panel-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 28px;
  align-items: center;
  padding: 34px 0;
}

.search-panel h2,
.search-panel p {
  margin: 0;
}

.search-panel h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.search-panel p {
  color: var(--gray-600);
}

.home-search,
.filter-bar {
  display: flex;
  gap: 12px;
}

.home-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 0 16px;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

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

.home-search button {
  min-width: 96px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  font-weight: 800;
  background: var(--primary-600);
  cursor: pointer;
}

.page-sections {
  padding: 56px 0;
}

.page-sections > section + section {
  margin-top: 74px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 26px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
}

.title-bar {
  width: 5px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary-600), var(--secondary-600));
}

.section-icon {
  color: var(--primary-600);
  font-weight: 900;
}

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

.category-tile {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--gray-900);
  box-shadow: var(--shadow);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
  opacity: 0.68;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.category-tile span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: var(--white);
  font-size: 20px;
  font-weight: 850;
}

.category-tile:hover img {
  opacity: 0.86;
  transform: scale(1.08);
}

.card-grid,
.large-card-grid,
.horizontal-grid,
.ranking-grid,
.related-grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-link {
  display: block;
  height: 100%;
}

.movie-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-200);
}

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

.movie-card:hover .movie-cover img,
.category-overview-block:hover .category-overview-head + .card-grid .movie-cover img {
  transform: scale(1.08);
}

.cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.10));
}

.quality-badge,
.score-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.quality-badge {
  top: 12px;
  right: 12px;
  padding: 6px 9px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(10px);
}

.score-badge {
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.rank-badge {
  top: 12px;
  left: 12px;
  min-width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-600), var(--primary-600));
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.28);
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary-600);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-mark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-info {
  padding: 16px;
}

.movie-info h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

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

.movie-info p {
  margin: 0 0 14px;
  min-height: 45px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
}

.pill.soft {
  padding: 6px 8px;
  color: var(--primary-700);
  background: var(--primary-100);
}

.score {
  color: #b45309;
  font-weight: 800;
  font-size: 13px;
}

.movie-sub-meta {
  color: var(--gray-500);
  font-size: 13px;
}

.movie-sub-meta span + span::before {
  content: "·";
  margin-right: 10px;
  color: var(--gray-500);
}

.movie-card-horizontal .movie-link {
  display: flex;
  min-height: 176px;
}

.horizontal-cover {
  width: 220px;
  flex: 0 0 220px;
  aspect-ratio: auto;
}

.horizontal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.horizontal-info p {
  min-height: auto;
}

.movie-card-large {
  border-radius: var(--radius-2xl);
}

.large-cover {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-2xl);
}

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

.large-card-copy h3 {
  margin: 12px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

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

.large-play {
  width: 64px;
  height: 64px;
}

.soft-panel {
  border-radius: var(--radius-3xl);
  padding: 34px;
}

.warm-panel {
  background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
}

.cool-panel {
  background: linear-gradient(90deg, var(--secondary-50), var(--primary-50), var(--accent-50));
}

.ranking-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.text-link {
  color: var(--primary-700);
  font-weight: 800;
}

.inner-page {
  padding-top: 76px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
}

.compact-hero {
  padding: 74px 0 64px;
  color: var(--gray-900);
  background: linear-gradient(135deg, var(--primary-50), var(--secondary-50) 55%, var(--accent-50));
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: var(--gray-600);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--primary-700);
  font-weight: 700;
}

.breadcrumb span::before,
.breadcrumb a + span::before,
.breadcrumb a + a::before {
  content: "/";
  margin-right: 10px;
  color: var(--gray-500);
}

.compact-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.04em;
}

.compact-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.8;
}

.filter-bar-wrap {
  margin-top: 28px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 160px 150px;
  padding: 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}

.filter-bar select:last-child:nth-child(3) {
  display: block;
}

.first-section {
  padding-top: 34px;
}

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

.category-overview-block {
  padding: 30px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-3xl);
  background: var(--white);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
}

.category-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.category-overview-head h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.category-overview-head p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}

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

.detail-hero {
  min-height: 560px;
  color: var(--white);
  background: #000000;
}

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

.detail-bg {
  filter: blur(2px);
  opacity: 0.82;
}

.detail-bg-shade {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.90), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.40));
}

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

.light-breadcrumb,
.light-breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
}

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

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

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

.detail-intro h1 {
  margin: 18px 0 16px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

.detail-meta {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
}

.detail-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
}

.detail-main {
  padding: 54px 0 78px;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  background: #000000;
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.22);
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000000;
}

.player-cover.is-hidden {
  display: none;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.player-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.20));
}

.big-play-button {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary-600);
  font-size: 36px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease;
}

.player-cover:hover .big-play-button {
  transform: scale(1.06);
}

.content-card {
  margin-top: 34px;
  padding: 34px;
  border-radius: var(--radius-3xl);
  background: var(--white);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.07);
}

.detail-section-title {
  margin-bottom: 18px;
}

.movie-detail-text p {
  margin: 0 0 24px;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.9;
}

.movie-detail-text h2 {
  margin: 30px 0 14px;
  font-size: 26px;
}

.tag-chip {
  padding: 9px 12px;
  color: var(--primary-700);
  background: var(--primary-50);
  transition: background 0.2s ease, color 0.2s ease;
}

.tag-chip:hover {
  color: var(--white);
  background: var(--primary-600);
}

.related-section {
  margin-top: 56px;
}

.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: minmax(0, 1.4fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
  gap: 46px;
  padding: 54px 0;
}

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

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

.footer-badges span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--gray-600);
  background: var(--white);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

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

.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 {
  color: var(--primary-600);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
  text-align: center;
}

.searchable-card.is-hidden {
  display: none;
}

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

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

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

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

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

  .hero-slider {
    min-height: 610px;
    height: 72vh;
  }

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

  .hero-arrow {
    display: none;
  }

  .search-panel-inner,
  .footer-grid,
  .detail-layout,
  .ranking-list-page {
    grid-template-columns: 1fr;
  }

  .filter-bar,
  .global-filter {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid,
  .listing-grid,
  .compact-grid,
  .small-preview-grid,
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .large-card-grid,
  .horizontal-grid,
  .ranking-grid {
    grid-template-columns: 1fr;
  }

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

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

  .header-inner {
    height: 66px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    font-size: 19px;
  }

  .hero-slider {
    min-height: 580px;
    height: 76vh;
  }

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

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 40px;
  }

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

  .home-search,
  .filter-bar,
  .global-filter,
  .category-overview-head,
  .ranking-heading {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .home-search {
    display: grid;
  }

  .card-grid,
  .listing-grid,
  .compact-grid,
  .small-preview-grid,
  .related-grid,
  .category-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-info {
    padding: 12px;
  }

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

  .movie-info p {
    display: none;
  }

  .movie-card-horizontal .movie-link {
    min-height: 0;
  }

  .horizontal-cover {
    width: 128px;
    flex-basis: 128px;
  }

  .horizontal-info {
    padding: 12px;
  }

  .soft-panel,
  .category-overview-block,
  .content-card {
    padding: 20px;
    border-radius: 22px;
  }

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

  .detail-hero-inner {
    padding: 28px 0 46px;
  }

  .detail-intro h1 {
    font-size: 34px;
  }

  .player-card,
  .content-card {
    border-radius: 22px;
  }

  .big-play-button {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}
