:root {
  color-scheme: dark;
  --page-bg: #020617;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(168, 85, 247, 0.22);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --purple: #a855f7;
  --pink: #ec4899;
  --blue: #38bdf8;
  --radius: 24px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.18), transparent 34rem),
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.14), transparent 32rem),
    linear-gradient(135deg, #020617 0%, #0f172a 48%, #020617 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

img {
  max-width: 100%;
}

main {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(88, 28, 135, 0.94), rgba(15, 23, 42, 0.96));
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.24);
}

.header-inner,
.footer-inner,
.content-section,
.search-panel,
.feature-panel,
.rank-panel,
.page-hero,
.ranking-hero,
.detail-hero-inner,
.watch-section,
.detail-layout,
.seo-section,
.overview-grid,
.filter-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 72px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 12px 35px rgba(168, 85, 247, 0.35);
}

.logo-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #d8b4fe, #f9a8d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link,
.mobile-link {
  color: #d1d5db;
  border-radius: 14px;
  transition: 0.2s ease;
}

.nav-link {
  padding: 10px 13px;
  font-size: 14px;
}

.nav-link:hover,
.mobile-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.header-search input,
.mobile-search input,
.search-panel-form input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
  color: #fff;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(168, 85, 247, 0.28);
  outline: none;
}

.header-search input {
  width: 220px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
}

.header-search button,
.mobile-search button,
.search-panel-form button,
.search-page-form button {
  align-self: stretch;
  padding: 0 16px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(90deg, var(--purple), var(--pink));
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #e5e7eb;
  border-radius: 99px;
}

.mobile-menu {
  display: none;
  padding: 0 0 18px;
}

.mobile-menu.is-open {
  display: grid;
  gap: 8px;
}

.mobile-link {
  padding: 12px 14px;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.mobile-search input {
  min-width: 0;
  flex: 1;
  padding: 12px;
  border-radius: 14px;
}

.mobile-search button {
  border-radius: 14px;
}

.hero-carousel {
  position: relative;
  height: 640px;
  min-height: 520px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease, transform 0.85s ease;
  transform: scale(1.02);
  pointer-events: none;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.62)),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.12) 48%, rgba(2, 6, 23, 0.58) 100%);
}

.hero-copy {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  bottom: 82px;
  width: min(680px, calc(100% - 48px));
}

.hero-pills,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hero-pills span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #ede9fe;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-pills span:first-child {
  color: #fff;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  border: 0;
}

.hero-copy h1,
.page-hero h1,
.ranking-copy h1,
.detail-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 950;
}

.hero-copy p,
.page-hero p,
.ranking-copy p,
.detail-copy p {
  max-width: 760px;
  color: #e5e7eb;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.7;
}

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

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

.primary-btn {
  color: #fff;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.3);
}

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

.primary-btn:hover,
.ghost-btn:hover,
.movie-card:hover,
.horizontal-card:hover,
.category-card:hover,
.overview-card:hover {
  transform: translateY(-3px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease;
}

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

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  transition: 0.25s ease;
}

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

.search-panel {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 28px;
  align-items: center;
  margin-top: 36px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.28), rgba(15, 23, 42, 0.82));
  box-shadow: var(--shadow);
}

.search-panel h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
}

.search-panel p {
  margin-top: 10px;
  color: var(--soft);
  line-height: 1.7;
}

.search-panel-form,
.search-page-form {
  display: flex;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.22);
}

.search-panel-form input,
.search-page-form input {
  min-width: 0;
  flex: 1;
  padding: 16px 18px;
  border: 0;
  background: rgba(2, 6, 23, 0.48);
}

.search-panel-form button,
.search-page-form button {
  min-width: 120px;
}

.content-section,
.feature-panel,
.rank-panel,
.page-hero,
.ranking-hero,
.watch-section,
.detail-layout,
.seo-section,
.overview-grid,
.filter-panel {
  margin-top: 64px;
}

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

.section-heading.center {
  justify-content: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: #d8b4fe;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.feature-copy h2,
.detail-article h2,
.detail-side h2,
.seo-section h2 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.section-heading p,
.seo-section p,
.detail-article p {
  color: var(--soft);
  line-height: 1.9;
}

.section-heading a {
  color: #c084fc;
  font-weight: 800;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.movie-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.16);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.92));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  border-color: rgba(216, 180, 254, 0.38);
  box-shadow: 0 24px 70px rgba(88, 28, 135, 0.3);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.7);
}

.poster-frame img,
.horizontal-poster img,
.feature-poster img,
.overview-cover img,
.ranking-cover img,
.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover .poster-frame img,
.horizontal-card:hover .horizontal-poster img,
.feature-poster:hover img,
.overview-card:hover .overview-cover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 58%);
}

.year-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.card-info {
  display: grid;
  gap: 9px;
  padding: 17px;
}

.card-meta {
  color: var(--muted);
  font-size: 12px;
}

.card-info strong,
.horizontal-body strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.28;
}

.card-desc,
.horizontal-body span:last-child {
  display: -webkit-box;
  overflow: hidden;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.18), transparent 24rem),
    linear-gradient(135deg, rgba(30, 41, 59, 0.76), rgba(88, 28, 135, 0.22));
  box-shadow: var(--shadow);
}

.feature-copy h3 {
  margin: 10px 0 16px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 950;
}

.feature-copy p {
  color: var(--soft);
  line-height: 1.9;
  margin-bottom: 24px;
}

.feature-poster {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 26px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.horizontal-list,
.ranking-list,
.side-list {
  display: grid;
  gap: 16px;
}

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

.horizontal-card {
  display: flex;
  gap: 16px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.66), rgba(15, 23, 42, 0.9));
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.horizontal-card:hover {
  border-color: rgba(216, 180, 254, 0.38);
}

.horizontal-poster {
  display: block;
  width: 150px;
  flex: 0 0 150px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.7);
}

.horizontal-body {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
}

.rank-number {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(88, 28, 135, 0.24), rgba(15, 23, 42, 0.9));
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.category-card strong {
  position: relative;
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 950;
}

.category-card span:last-child {
  position: relative;
  color: var(--soft);
  line-height: 1.7;
}

.category-glow {
  position: absolute;
  right: -50px;
  top: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.38), transparent 68%);
}

.rank-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.62);
  box-shadow: var(--shadow);
}

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

.rank-panel.full .ranking-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-hero,
.ranking-hero {
  padding: clamp(42px, 7vw, 84px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 22%, rgba(168, 85, 247, 0.3), transparent 24rem),
    linear-gradient(135deg, rgba(30, 41, 59, 0.74), rgba(2, 6, 23, 0.92));
  box-shadow: var(--shadow);
}

.page-hero.compact {
  text-align: center;
}

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

.overview-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.overview-cover {
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: 18px;
}

.overview-card h2 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 950;
}

.overview-card p {
  color: var(--soft);
  line-height: 1.7;
}

.overview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.overview-links a {
  padding: 6px 10px;
  border-radius: 999px;
  color: #d8b4fe;
  background: rgba(168, 85, 247, 0.12);
}

.filter-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.72);
}

.filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
}

.filter-row label {
  display: grid;
  gap: 8px;
  color: #d8b4fe;
  font-weight: 850;
}

.filter-row input,
.filter-row select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
}

.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag-filter button {
  padding: 9px 13px;
  border-radius: 999px;
  color: #e5e7eb;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(168, 85, 247, 0.18);
}

.tag-filter button.is-active,
.tag-filter button:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--purple), var(--pink));
}

.empty-state {
  padding: 60px 20px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed rgba(168, 85, 247, 0.24);
  border-radius: 24px;
}

.ranking-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
}

.ranking-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.ranking-cover span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(12px);
}

.detail-hero {
  position: relative;
  min-height: 560px;
  background-image: var(--detail-cover);
  background-position: center;
  background-size: cover;
}

.detail-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.66), rgba(2, 6, 23, 0.96)),
    linear-gradient(0deg, #020617 0%, transparent 48%, rgba(2, 6, 23, 0.76) 100%);
}

.detail-hero-inner {
  position: relative;
  padding: 52px 0 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 38px;
  color: #c4b5fd;
  font-weight: 800;
}

.detail-intro {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.watch-section {
  scroll-margin-top: 90px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.24);
  border-radius: 30px;
  background: #000;
  box-shadow: var(--shadow);
}

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

.player-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  background: radial-gradient(circle at center, rgba(168, 85, 247, 0.3), rgba(0, 0, 0, 0.58));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 34px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 18px 45px rgba(168, 85, 247, 0.45);
}

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

.detail-article,
.detail-side,
.seo-section {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.72);
}

.detail-article h2 {
  margin-top: 28px;
  margin-bottom: 14px;
}

.detail-article h2:first-child {
  margin-top: 0;
}

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

.info-list div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}

.info-list dt {
  color: #d8b4fe;
  font-weight: 850;
}

.info-list dd {
  margin: 0;
  color: var(--soft);
}

.detail-side {
  position: sticky;
  top: 96px;
}

.detail-side h2 {
  margin-bottom: 18px;
}

.detail-side .horizontal-card {
  align-items: center;
}

.detail-side .horizontal-poster {
  width: 120px;
  flex-basis: 120px;
}

.seo-section {
  margin-bottom: 64px;
}

.seo-section p {
  margin-top: 14px;
}

.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(0, 0, 0, 0.94));
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 28px;
  padding: 42px 0;
}

.footer-brand p {
  max-width: 560px;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

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

.footer-links a:hover {
  color: #fff;
  background: rgba(168, 85, 247, 0.22);
}

.footer-bottom {
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

[data-movie-card].is-hidden {
  display: none;
}

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

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

  .movie-grid.four,
  .movie-grid.five,
  .rank-panel.full .ranking-list,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .detail-side {
    position: static;
  }
}

@media (max-width: 860px) {
  .hero-carousel {
    height: 560px;
  }

  .hero-copy {
    bottom: 76px;
  }

  .search-panel,
  .feature-panel,
  .ranking-hero,
  .detail-intro,
  .overview-card,
  .filter-row {
    grid-template-columns: 1fr;
  }

  .horizontal-list,
  .rank-panel .ranking-list,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .movie-grid.three,
  .movie-grid.four,
  .movie-grid.five,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .header-inner,
  .footer-inner,
  .content-section,
  .search-panel,
  .feature-panel,
  .rank-panel,
  .page-hero,
  .ranking-hero,
  .detail-hero-inner,
  .watch-section,
  .detail-layout,
  .seo-section,
  .overview-grid,
  .filter-panel {
    width: min(100% - 22px, 1180px);
  }

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

  .hero-carousel {
    height: 520px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-copy h1,
  .page-hero h1,
  .ranking-copy h1,
  .detail-copy h1 {
    font-size: 38px;
  }

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

  .search-panel,
  .feature-panel,
  .rank-panel,
  .page-hero,
  .ranking-hero,
  .detail-article,
  .detail-side,
  .seo-section,
  .filter-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .search-panel-form,
  .search-page-form {
    display: grid;
  }

  .search-panel-form button,
  .search-page-form button {
    min-height: 46px;
  }

  .movie-grid.three,
  .movie-grid.four,
  .movie-grid.five,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-card {
    gap: 12px;
  }

  .horizontal-poster {
    width: 112px;
    flex-basis: 112px;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
