:root {
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --secondary-50: #f0fdfa;
  --secondary-100: #ccfbf1;
  --secondary-500: #14b8a6;
  --secondary-600: #0d9488;
  --accent-50: #fff7ed;
  --accent-100: #ffedd5;
  --neutral-50: #fafaf9;
  --neutral-100: #f5f5f4;
  --neutral-200: #e7e5e4;
  --neutral-300: #d6d3d1;
  --neutral-400: #a8a29e;
  --neutral-500: #78716c;
  --neutral-600: #57534e;
  --neutral-700: #44403c;
  --neutral-800: #292524;
  --neutral-900: #1c1917;
  --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 32px -18px rgb(28 25 23 / 0.45);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--neutral-900);
  background: linear-gradient(to bottom, var(--neutral-50), #ffffff 520px);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0.96), rgb(255 255 255 / 0.22));
}

.site-header.is-scrolled {
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.nav-shell {
  max-width: 1280px;
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
  box-shadow: 0 12px 24px -14px var(--primary-700);
  transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(-3deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

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

.brand-text em {
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
  color: var(--neutral-500);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--neutral-700);
  font-weight: 600;
}

.desktop-nav > a,
.nav-dropdown > a {
  padding: 8px 0;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.nav-dropdown:hover > a {
  color: var(--primary-600);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 230px;
  padding: 8px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-2xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

.dropdown-menu a:hover {
  background: var(--primary-50);
  color: var(--primary-600);
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search input,
.mobile-menu input,
.filter-form input,
.filter-form select,
.search-hero input {
  border: 1px solid var(--neutral-200);
  border-radius: 999px;
  outline: none;
  background: #ffffff;
  color: var(--neutral-800);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
  width: 250px;
  padding: 11px 16px;
}

.nav-search input:focus,
.mobile-menu input:focus,
.filter-form input:focus,
.filter-form select:focus,
.search-hero input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgb(14 165 233 / 0.15);
}

.nav-search button,
.mobile-menu button,
.filter-form button,
.search-hero button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-search button:hover,
.mobile-menu button:hover,
.filter-form button:hover,
.search-hero button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

.mobile-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--neutral-800);
}

.mobile-menu {
  display: none;
  padding: 12px 24px 22px;
  border-top: 1px solid var(--neutral-200);
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

.mobile-menu form {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.mobile-menu input {
  flex: 1;
  padding: 11px 14px;
}

.mobile-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--neutral-700);
  font-weight: 600;
}

.mobile-menu a:hover {
  background: var(--primary-50);
  color: var(--primary-600);
}

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

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

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.9s ease, transform 1.2s ease;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.9), rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.28));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px 78px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.hero-chip {
  display: inline-flex;
  padding: 8px 18px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  background: var(--primary-600);
  box-shadow: var(--shadow);
}

.hero-content h1,
.hero-content h2 {
  max-width: 820px;
  margin: 18px 0 16px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 760px;
  margin: 0 0 18px;
  color: rgb(255 255 255 / 0.92);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.72;
}

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

.hero-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgb(255 255 255 / 0.88);
  background: rgb(255 255 255 / 0.16);
  backdrop-filter: blur(10px);
}

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

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

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn.primary {
  color: #ffffff;
  background: var(--primary-600);
  box-shadow: var(--shadow-lg);
}

.btn.primary:hover {
  background: var(--primary-700);
}

.btn.ghost {
  color: #ffffff;
  background: rgb(255 255 255 / 0.18);
  border: 1px solid rgb(255 255 255 / 0.28);
  backdrop-filter: blur(14px);
}

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

.hero-dot {
  width: 28px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgb(255 255 255 / 0.42);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 52px;
  background: #ffffff;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  background: rgb(255 255 255 / 0.18);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgb(255 255 255 / 0.32);
  transform: translateY(-50%) scale(1.05);
}

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

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

.hero-rail {
  position: absolute;
  right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 74px;
  z-index: 3;
  width: min(360px, 34vw);
  display: grid;
  gap: 12px;
}

.hero-mini {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  color: #ffffff;
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.16);
  backdrop-filter: blur(16px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-mini:hover {
  transform: translateX(-4px);
  background: rgb(255 255 255 / 0.22);
}

.hero-mini img {
  width: 82px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.hero-mini strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.hero-mini span {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 5px;
  color: rgb(255 255 255 / 0.72);
  font-size: 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.content-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
}

.content-wrap.narrow {
  max-width: 980px;
}

.section-block {
  margin-bottom: 74px;
}

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

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary-600);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2,
.page-hero h1,
.detail-title h1 {
  margin: 0;
  color: var(--neutral-900);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.section-heading p,
.page-hero p,
.detail-title p {
  margin: 10px 0 0;
  color: var(--neutral-600);
  line-height: 1.75;
}

.section-heading > a {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--primary-700);
  background: var(--primary-50);
  font-weight: 800;
}

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

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

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

.movie-card-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2xl);
}

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

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

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

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.72), transparent 60%);
  transition: opacity 0.25s ease;
}

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

.movie-badge,
.quality-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.movie-badge {
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: var(--primary-600);
}

.quality-badge {
  top: 12px;
  right: 12px;
  padding: 6px 9px;
  background: rgb(0 0 0 / 0.56);
}

.rank-badge {
  left: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgb(255 255 255 / 0.22);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-info {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.movie-info h3 {
  margin: 0 0 8px;
  color: var(--neutral-900);
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

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

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: auto;
  color: var(--neutral-500);
  font-size: 13px;
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.movie-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--primary-700);
  background: var(--primary-50);
  font-size: 12px;
}

.feature-panel {
  border-radius: 28px;
  padding: 34px;
  background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
}

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

.category-card {
  min-height: 152px;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.category-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--neutral-900);
  font-size: 20px;
}

.category-card span {
  color: var(--neutral-600);
  font-size: 14px;
  line-height: 1.65;
}

.rank-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
}

.rank-list {
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.rank-row {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--neutral-100);
  transition: background 0.2s ease;
}

.rank-row:hover {
  background: var(--primary-50);
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-num {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
}

.rank-title {
  min-width: 0;
  overflow: hidden;
  color: var(--neutral-900);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-meta {
  color: var(--neutral-500);
  font-size: 13px;
}

.page-hero {
  padding: 140px 24px 54px;
  background: linear-gradient(135deg, var(--primary-50), #ffffff 45%, var(--secondary-50));
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--neutral-500);
  font-size: 14px;
}

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

.filter-form {
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-form input,
.filter-form select {
  min-height: 44px;
  padding: 0 16px;
}

.filter-form input {
  min-width: min(360px, 100%);
  flex: 1;
}

.result-status {
  margin-top: 16px;
  min-height: 20px;
  color: var(--neutral-500);
  font-size: 14px;
}

.search-hero {
  padding: 144px 24px 70px;
  background: linear-gradient(135deg, var(--neutral-900), var(--neutral-800));
  color: #ffffff;
}

.search-hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.search-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.04em;
}

.search-hero p {
  margin: 16px auto 30px;
  max-width: 720px;
  color: rgb(255 255 255 / 0.78);
  line-height: 1.8;
}

.search-hero form {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.search-hero input {
  width: min(620px, 100%);
  min-height: 52px;
  padding: 0 20px;
}

.detail-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 112px 24px 70px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.9fr);
  gap: 30px;
  align-items: start;
}

.player-card,
.detail-card,
.side-card {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.player-box {
  position: relative;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.video-player {
  width: 100%;
  height: 100%;
  background: #000000;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.play-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.82), rgb(0 0 0 / 0.34));
}

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

.play-button {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  font-size: 34px;
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
  box-shadow: var(--shadow-2xl);
  transition: transform 0.2s ease;
}

.play-button:hover {
  transform: scale(1.08);
}

.detail-title {
  padding: 24px;
}

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

.detail-meta span,
.detail-tags span {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 700;
}

.detail-meta span {
  color: var(--primary-700);
  background: var(--primary-50);
}

.detail-card {
  margin-top: 24px;
  padding: 28px;
}

.detail-card h2,
.side-card h2 {
  margin: 0 0 18px;
  color: var(--neutral-900);
  font-size: 24px;
}

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

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.detail-tags span {
  color: var(--secondary-700);
  background: var(--secondary-50);
}

.side-card {
  padding: 22px;
  margin-bottom: 24px;
}

.poster-side {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.poster-side img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

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

.side-link {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.side-link:hover {
  background: var(--primary-50);
}

.side-link img {
  width: 86px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

.side-link strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--neutral-900);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.side-link span {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 5px;
  color: var(--neutral-500);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.site-footer {
  color: var(--neutral-300);
  background: linear-gradient(135deg, var(--neutral-900), var(--neutral-800));
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.9fr 1fr;
  gap: 34px;
}

.footer-brand p {
  max-width: 540px;
  color: var(--neutral-400);
  line-height: 1.8;
}

.footer-logo .brand-text strong {
  color: #ffffff;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 17px;
}

.footer-col a {
  color: var(--neutral-400);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary-100);
}

.tag-cloud {
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
}

.tag-cloud h2 {
  width: 100%;
}

.tag-cloud a {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 28px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  color: var(--neutral-500);
  font-size: 14px;
}

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

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-rail {
    display: none;
  }

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

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

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

@media (max-width: 760px) {
  .nav-shell {
    height: 68px;
    padding: 0 16px;
  }

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

  .brand-text em {
    display: none;
  }

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

  .hero-content {
    padding: 0 18px 74px;
  }

  .hero-arrow {
    display: none;
  }

  .content-wrap {
    padding: 42px 16px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .rank-row {
    grid-template-columns: 46px 1fr;
  }

  .rank-meta {
    grid-column: 2;
  }

  .page-hero,
  .search-hero {
    padding: 108px 16px 44px;
  }

  .search-hero form {
    flex-direction: column;
  }

  .filter-form {
    flex-direction: column;
  }

  .filter-form input,
  .filter-form select,
  .filter-form button {
    width: 100%;
  }

  .detail-wrap {
    padding: 94px 16px 46px;
  }

  .detail-card {
    padding: 22px;
  }

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

.category-wide {
  min-height: 230px;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.category-strip img {
  width: 100%;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
}
