:root {
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --orange-400: #fb923c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fff 0%, #fff7fb 46%, #ffffff 100%);
  color: var(--gray-800);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

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: 50;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid var(--pink-100);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink-400), var(--rose-500));
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.28);
}

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

.brand-name {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

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

.desktop-nav a:hover,
.desktop-nav .is-active {
  color: var(--pink-500);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: -18px;
  width: 180px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--pink-100);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.2s ease;
}

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

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

.nav-dropdown-panel a:hover {
  background: var(--pink-50);
  color: var(--pink-500);
}

.header-search,
.mobile-search,
.search-page-form {
  display: flex;
  align-items: center;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.header-search:focus-within,
.mobile-search:focus-within,
.search-page-form:focus-within {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(249, 168, 212, 0.52);
}

.header-search input,
.mobile-search input,
.search-page-form input {
  width: 220px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 8px 10px 18px;
  color: var(--gray-700);
}

.header-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  color: #fff;
  height: 40px;
  min-width: 46px;
  padding: 0 16px;
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  border: 0;
  background: var(--pink-50);
  color: var(--pink-600);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 18px;
}

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

.mobile-menu nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.mobile-menu nav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--pink-50);
  color: var(--gray-700);
  font-weight: 700;
}

.hero-carousel {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #111827;
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.58) 43%, rgba(0, 0, 0, 0.12) 100%);
}

.hero-content {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.24);
}

.hero-content h1,
.hero-content h2 {
  max-width: 720px;
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.hero-content p {
  max-width: 720px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.detail-tags span {
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(10px);
}

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

.primary-btn,
.ghost-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;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  box-shadow: 0 16px 34px rgba(244, 63, 94, 0.28);
}

.ghost-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(244, 63, 94, 0.32);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--gray-800);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: all 0.2s ease;
}

.hero-arrow:hover {
  background: #fff;
  color: var(--pink-500);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

.hero-dots .is-active {
  width: 34px;
  background: #fff;
}

.hero-category-strip {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 48%;
}

.hero-category-strip a {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  backdrop-filter: blur(10px);
}

.main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-section {
  margin-top: 58px;
}

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

.section-heading > div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-heading h2 {
  margin: 0;
  color: var(--gray-800);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
}

.section-heading a {
  color: var(--pink-500);
  font-weight: 800;
}

.section-icon,
.section-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.section-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
}

.section-line {
  width: 5px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pink-500), var(--rose-500));
}

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

.compact-grid {
  gap: 18px;
}

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-100), #fff);
}

.poster-wrap img,
.list-poster img,
.category-card img,
.ranking-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  font-size: 12px;
  font-weight: 800;
}

.hover-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-500);
  font-size: 28px;
  background: rgba(0, 0, 0, 0.26);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hover-play::before {
  content: "";
  width: 64px;
  height: 64px;
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.hover-play {
  text-shadow: 0 1px 0 #fff;
}

.hover-play {
  line-height: 1;
}

.hover-play > * {
  position: relative;
}

.movie-card:hover .hover-play {
  opacity: 1;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.card-body strong {
  color: var(--gray-800);
  font-size: 16px;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card:hover .card-body strong {
  color: var(--pink-500);
}

.card-desc {
  min-height: 42px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  color: var(--gray-500);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 26px;
  align-items: start;
}

.simple-heading {
  margin-bottom: 16px;
}

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

.movie-list-card {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

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

.list-poster {
  position: relative;
  height: 96px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--pink-100);
}

.list-poster span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.24);
  font-size: 20px;
}

.list-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.list-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--gray-800);
}

.list-info em {
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.45;
  font-style: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.list-info small {
  color: var(--gray-500);
  font-size: 12px;
}

.ranking-panel,
.side-panel,
.detail-card {
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.ranking-panel {
  padding: 22px;
}

.ranking-list,
.ranking-page-list {
  display: grid;
  gap: 12px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 38px 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.ranking-row:hover {
  background: var(--pink-50);
}

.rank-number {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  background: var(--gray-100);
  font-weight: 900;
}

.top-rank .rank-number {
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
}

.ranking-row img {
  width: 76px;
  height: 52px;
  border-radius: 10px;
  background: var(--pink-100);
}

.rank-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.rank-copy strong,
.rank-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy strong {
  font-size: 14px;
  color: var(--gray-800);
}

.rank-copy em {
  color: var(--gray-500);
  font-size: 12px;
  font-style: normal;
}

.rank-chip {
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-500);
  padding: 5px 10px;
  font-size: 12px;
}

.page-main {
  padding-bottom: 60px;
}

.page-hero {
  max-width: 1280px;
  margin: 34px auto 0;
  padding: 54px 24px;
  border-radius: 0 0 32px 32px;
}

.soft-hero,
.category-hero,
.ranking-hero {
  background: linear-gradient(135deg, var(--pink-50), #fff, #fff1f2);
  border: 1px solid var(--pink-100);
  box-shadow: var(--shadow-sm);
}

.page-hero h1 {
  max-width: 820px;
  margin: 18px 0 12px;
  color: var(--gray-800);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.05em;
}

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

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

.category-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  background: #111827;
}

.category-card img {
  position: absolute;
  inset: 0;
}

.category-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.28));
}

.category-copy {
  position: relative;
  z-index: 2;
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  color: #fff;
}

.category-copy strong {
  font-size: 30px;
  font-weight: 900;
}

.category-copy em {
  max-width: 620px;
  font-style: normal;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

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

.category-samples span {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.18);
}

.filter-bar {
  position: sticky;
  top: 90px;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 180px 160px 160px;
  gap: 14px;
  margin: 34px 0 28px;
  padding: 16px;
  border: 1px solid var(--pink-100);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  outline: 0;
  background: var(--gray-50);
  color: var(--gray-700);
  padding: 0 16px;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--pink-200);
  box-shadow: 0 0 0 3px rgba(249, 168, 212, 0.42);
}

.category-movie-grid {
  margin-bottom: 40px;
}

.empty-state {
  display: none;
  padding: 56px 20px;
  text-align: center;
  color: var(--gray-500);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.empty-state.is-visible {
  display: block;
}

.featured-ranking-grid {
  margin-top: 38px;
}

.ranking-page-list {
  margin-top: 30px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.search-page-form {
  width: min(680px, 100%);
  margin-top: 28px;
  background: #fff;
}

.search-page-form input {
  flex: 1;
  width: auto;
  height: 52px;
}

.search-page-form button {
  height: 52px;
  min-width: 96px;
}

.detail-main {
  padding: 28px 0 60px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 14px;
  margin: 8px 0 22px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  box-shadow: var(--shadow-xl);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5));
  cursor: pointer;
  z-index: 3;
}

.player-shell.is-playing .player-overlay {
  display: none;
}

.player-overlay span {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--pink-500);
  background: rgba(255, 255, 255, 0.94);
  font-size: 36px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease;
}

.player-overlay:hover span {
  transform: scale(1.08);
}

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

.detail-card h1 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.18;
  font-weight: 900;
  color: var(--gray-800);
}

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

.detail-meta span,
.detail-meta a {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--gray-600);
  background: var(--gray-100);
  font-size: 13px;
}

.detail-meta a {
  color: var(--pink-600);
  background: var(--pink-50);
  font-weight: 800;
}

.detail-one-line {
  margin: 0 0 26px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--pink-50), #fff);
  color: var(--gray-700);
  line-height: 1.8;
  font-weight: 700;
}

.detail-card h2,
.side-panel h2 {
  margin: 24px 0 12px;
  color: var(--gray-800);
  font-size: 22px;
  font-weight: 900;
}

.detail-card p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.95;
  font-size: 16px;
}

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

.detail-tags span {
  color: var(--pink-600);
  background: var(--pink-50);
  border: 1px solid var(--pink-100);
}

.detail-sidebar {
  position: sticky;
  top: 104px;
}

.side-panel {
  padding: 22px;
}

.side-panel h2 {
  margin-top: 0;
}

.compact-ranking .ranking-row {
  grid-template-columns: 32px 64px minmax(0, 1fr);
}

.compact-ranking .rank-chip {
  display: none;
}

.compact-ranking .ranking-row img {
  width: 64px;
  height: 44px;
}

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

.site-footer {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--pink-50), #fff1f2);
  border-top: 1px solid var(--pink-100);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 24px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(180px, 0.6fr) minmax(180px, 0.6fr);
  gap: 40px;
}

.footer-brand p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--gray-600);
  line-height: 1.75;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: var(--gray-800);
  font-size: 18px;
  font-weight: 900;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-column a {
  color: var(--gray-600);
  font-size: 14px;
}

.footer-column a:hover {
  color: var(--pink-500);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid var(--pink-200);
  color: var(--gray-500);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 18px;
  }

  .header-search input {
    width: 170px;
  }

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

  .two-column-section,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }

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

@media (max-width: 820px) {
  .header-inner {
    height: 68px;
    padding: 0 16px;
  }

  .desktop-nav,
  .header-search {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mobile-search input {
    flex: 1;
    width: auto;
  }

  .hero-carousel {
    height: 560px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.78));
  }

  .hero-content {
    justify-content: flex-end;
    padding: 0 18px 92px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-category-strip {
    left: 18px;
    right: 18px;
    bottom: 54px;
    max-width: none;
    justify-content: flex-start;
  }

  .hero-arrow {
    display: none;
  }

  .main-container,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .movie-grid,
  .category-grid,
  .list-grid,
  .featured-ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .filter-bar {
    position: static;
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 34px 68px minmax(0, 1fr);
  }

  .rank-chip {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

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

  .hero-content h1,
  .hero-content h2 {
    font-size: 34px;
  }

  .movie-grid,
  .category-grid,
  .list-grid,
  .featured-ranking-grid {
    grid-template-columns: 1fr;
  }

  .movie-list-card {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .list-poster {
    height: 86px;
  }

  .detail-card {
    padding: 20px;
  }

  .player-overlay span {
    width: 66px;
    height: 66px;
    font-size: 30px;
  }
}
