:root {
  --purple-950: #3b0764;
  --purple-900: #581c87;
  --purple-800: #6b21a8;
  --purple-700: #7e22ce;
  --purple-600: #9333ea;
  --purple-500: #a855f7;
  --purple-100: #f3e8ff;
  --purple-50: #faf5ff;
  --taro-500: #d8b4fe;
  --rose-500: #ec4899;
  --orange-500: #f97316;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #eadcff;
  --card: #ffffff;
  --bg: #fff7ff;
  --shadow-soft: 0 18px 45px rgba(88, 28, 135, 0.10);
  --shadow-purple: 0 22px 65px rgba(126, 34, 206, 0.22);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 52%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(216, 180, 254, 0.55);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(88, 28, 135, 0.08);
}

.nav-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-600), var(--taro-500));
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(147, 51, 234, 0.35);
  animation: float 4s ease-in-out infinite;
}

.brand-text,
.footer-brand {
  font-size: 22px;
  background: linear-gradient(90deg, var(--purple-700), var(--rose-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  color: #4b5563;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--purple-700);
  background: var(--purple-50);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.dropdown-card {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 250px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-purple);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: 0.2s ease;
}

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

.dropdown-card a {
  padding: 9px 10px;
  color: #4b5563;
  border-radius: 12px;
  background: #fff;
}

.dropdown-card a:hover {
  color: var(--purple-700);
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
}

.nav-search {
  display: flex;
  align-items: center;
  width: min(360px, 34vw);
  padding: 4px;
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  border-radius: 999px;
}

.nav-search input {
  min-width: 0;
  flex: 1;
  padding: 10px 14px;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}

.nav-search button,
.search-page-box button {
  padding: 10px 18px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple-600), var(--rose-500));
  box-shadow: 0 10px 24px rgba(147, 51, 234, 0.24);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: #faf5ff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--purple-700);
  border-radius: 99px;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-950), var(--purple-700) 55%, #b794f4);
}

.hero-slides,
.hero-slide,
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.03);
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 22%, rgba(216, 180, 254, 0.46), transparent 28%),
    linear-gradient(90deg, rgba(59, 7, 100, 0.96) 0%, rgba(88, 28, 135, 0.72) 45%, rgba(88, 28, 135, 0.18) 100%),
    linear-gradient(0deg, rgba(59, 7, 100, 0.92), transparent 48%);
}

.hero-wave {
  position: absolute;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 160px;
  pointer-events: none;
  opacity: 0.22;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #fff;
  stroke-width: 4;
}

.top-wave {
  top: 0;
}

.bottom-wave {
  bottom: 0;
  transform: rotate(180deg);
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(720px, 100%);
  animation: slideUp 0.75s ease both;
}

.hero-chip,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 15px;
  color: var(--purple-800);
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(243,232,255,0.82));
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 680px;
  margin: 0 0 34px;
  color: #f3e8ff;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  font-weight: 900;
  border-radius: 999px;
  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: var(--purple-700);
  background: #fff;
  box-shadow: 0 16px 35px rgba(255, 255, 255, 0.22), 0 18px 42px rgba(88, 28, 135, 0.28);
}

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

.btn-light {
  color: var(--purple-700);
  background: var(--purple-50);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  color: #fff;
  font-size: 38px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.23);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.52);
  border: 0;
  border-radius: 999px;
  transition: 0.25s ease;
}

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

.stats-strip {
  position: relative;
  z-index: 8;
  margin-top: -38px;
}

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

.stats-grid div,
.info-card,
.rank-panel,
.detail-card,
.side-card,
.filter-box,
.search-page-box {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(233, 213, 255, 0.82);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.stats-grid div {
  padding: 24px;
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: var(--purple-700);
  font-size: 34px;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.content-section {
  padding: 70px 0;
}

.cloud-section {
  margin: 30px 0;
  padding: 70px 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(216, 180, 254, 0.42), transparent 25%),
    linear-gradient(135deg, #faf5ff, #ffffff);
}

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

.section-heading h2,
.page-hero h1,
.detail-card h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading p,
.page-hero p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.section-more {
  flex: 0 0 auto;
  color: var(--purple-700);
  font-weight: 900;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

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

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

.movie-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(233, 213, 255, 0.68);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(168, 85, 247, 0.42);
  box-shadow: var(--shadow-purple);
  transform: translateY(-8px);
}

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

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.movie-card:hover .poster-wrap img,
.category-tile:hover img,
.related-card:hover img,
.ranking-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  opacity: 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%) scale(0.82);
  transition: 0.25s ease;
}

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

.duration-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(17, 24, 39, 0.78);
  border-radius: 999px;
}

.card-body {
  padding: 18px;
}

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.card-meta a,
.card-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  background: var(--purple-50);
  border-radius: 999px;
}

.movie-card h3 {
  margin: 13px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--purple-700);
}

.movie-card p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag-row span,
.detail-tags a {
  padding: 5px 9px;
  color: var(--purple-700);
  font-size: 12px;
  background: #faf5ff;
  border: 1px solid #f3e8ff;
  border-radius: 999px;
}

.card-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: #7c3aed;
  font-size: 13px;
  font-weight: 800;
}

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

.category-tile {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  color: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(59, 7, 100, 0.82), rgba(59, 7, 100, 0.10));
}

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

.category-tile span,
.category-tile strong {
  position: absolute;
  z-index: 2;
  left: 16px;
}

.category-tile span {
  bottom: 42px;
  font-size: 18px;
  font-weight: 900;
}

.category-tile strong {
  bottom: 18px;
  font-size: 13px;
  opacity: 0.86;
}

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

.rank-panel {
  padding: 20px;
}

.sticky-panel {
  position: sticky;
  top: 96px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 900;
}

.panel-title a {
  color: var(--purple-700);
  font-size: 14px;
}

.rank-row {
  display: grid;
  grid-template-columns: 34px 82px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  transition: 0.2s ease;
}

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

.rank-no,
.ranking-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple-600), var(--rose-500));
  border-radius: 12px;
}

.rank-row img {
  width: 82px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-title {
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score {
  color: var(--purple-700);
  font-weight: 900;
}

.page-shell {
  padding: 46px 0 80px;
}

.page-hero {
  position: relative;
  margin-bottom: 34px;
  padding: 52px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 22%, rgba(216, 180, 254, 0.62), transparent 22%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(250,245,255,0.94));
  border: 1px solid rgba(233, 213, 255, 0.78);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

.page-hero .eyebrow {
  background: #fff;
}

.filter-box {
  margin-top: 28px;
  padding: 14px;
}

.filter-box input,
.search-page-box input {
  width: 100%;
  padding: 15px 18px;
  color: var(--text);
  background: #fff;
  border: 1px solid #eadcff;
  border-radius: 18px;
  outline: 0;
}

.filter-box input:focus,
.search-page-box input:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.14);
}

.filter-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.filter-tips button {
  padding: 7px 12px;
  color: var(--purple-700);
  background: var(--purple-50);
  border: 1px solid var(--line);
  border-radius: 999px;
}

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

.category-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(233, 213, 255, 0.72);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  transition: 0.25s ease;
}

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

.category-thumbs {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 8px;
  height: 110px;
}

.category-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.category-card h2 {
  margin: 0 0 8px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 54px 154px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(233, 213, 255, 0.72);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  transition: 0.25s ease;
}

.ranking-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple);
}

.ranking-item img {
  width: 154px;
  height: 94px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.35s ease;
}

.ranking-copy h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.ranking-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
}

.ranking-item > strong {
  color: var(--purple-700);
  font-size: 20px;
}

.search-page-box {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding: 14px;
}

.search-summary {
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 800;
}

.detail-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #2e0757 0%, #faf5ff 50%, #fff 100%);
}

.detail-top {
  position: relative;
  overflow: hidden;
  padding: 38px 0 86px;
}

.detail-backdrop,
.detail-mask {
  position: absolute;
  inset: 0;
}

.detail-backdrop {
  width: 100%;
  height: 540px;
  object-fit: cover;
  opacity: 0.25;
  filter: blur(3px) saturate(1.15);
}

.detail-mask {
  background: linear-gradient(180deg, rgba(59,7,100,0.88), rgba(59,7,100,0.58) 32%, rgba(250,245,255,0.96) 64%, #fff 100%);
}

.detail-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 22px;
}

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #05010a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.player-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  background: radial-gradient(circle, rgba(168,85,247,0.25), rgba(0,0,0,0.70));
  transition: opacity 0.25s ease;
}

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

.player-play {
  width: 88px;
  height: 88px;
  color: var(--purple-700);
  font-size: 34px;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

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

.player-status {
  font-weight: 900;
}

.detail-card,
.side-card {
  padding: 26px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.detail-card h1 {
  margin-bottom: 18px;
}

.detail-card h2,
.side-card h2,
.info-card h2 {
  margin: 24px 0 10px;
  color: #111827;
  font-size: 22px;
}

.detail-card p,
.side-card p,
.info-card p {
  color: #4b5563;
  line-height: 1.9;
}

.detail-actions {
  margin: 22px 0;
}

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

.detail-side {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 96px;
}

.related-list {
  display: grid;
  gap: 14px;
}

.related-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 9px;
  border-radius: 18px;
  transition: 0.2s ease;
}

.related-card:hover {
  background: var(--purple-50);
}

.related-card img {
  width: 112px;
  height: 68px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.related-card span {
  display: block;
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-card small {
  color: var(--muted);
}

.info-mini a {
  color: var(--purple-700);
  font-weight: 800;
}

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

.info-card {
  padding: 28px;
}

.site-footer {
  margin-top: 70px;
  padding: 64px 0 28px;
  background: linear-gradient(180deg, rgba(250,245,255,0.12), rgba(250,245,255,0.86));
  border-top: 1px solid rgba(233, 213, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
}

.site-footer p {
  max-width: 460px;
  color: var(--muted);
  line-height: 1.8;
}

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

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--purple-700);
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 36px auto 0;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid rgba(233, 213, 255, 0.88);
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .split-section,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-side,
  .sticky-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .nav-inner {
    flex-wrap: wrap;
    min-height: 64px;
  }

  .nav-panel {
    display: none;
    width: 100%;
    flex-basis: 100%;
    padding: 0 0 16px;
  }

  .nav-panel.is-open {
    display: grid;
  }

  .nav-links {
    display: grid;
    gap: 6px;
  }

  .nav-link {
    justify-content: flex-start;
  }

  .dropdown-card {
    position: static;
    width: 100%;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .nav-search {
    width: 100%;
  }

  .hero {
    height: 560px;
  }

  .hero-arrow {
    display: none;
  }

  .stats-grid,
  .movie-grid,
  .small-grid,
  .category-list,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .section-heading,
  .footer-bottom,
  .search-page-box {
    align-items: stretch;
    flex-direction: column;
  }

  .page-hero {
    padding: 32px;
  }

  .ranking-item {
    grid-template-columns: 44px 104px minmax(0, 1fr);
  }

  .ranking-item > strong {
    display: none;
  }

  .ranking-item img {
    width: 104px;
    height: 70px;
  }
}

@media (max-width: 560px) {
  .container,
  .nav-inner,
  .footer-bottom {
    width: min(100% - 22px, 1180px);
  }

  .hero {
    height: 520px;
  }

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

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

  .stats-grid,
  .movie-grid,
  .small-grid,
  .category-grid,
  .category-list,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    margin-top: 18px;
  }

  .content-section {
    padding: 42px 0;
  }

  .page-shell {
    padding-top: 24px;
  }

  .page-hero {
    border-radius: 24px;
  }

  .rank-row {
    grid-template-columns: 32px 78px minmax(0, 1fr);
  }

  .rank-score {
    display: none;
  }

  .detail-top {
    padding-top: 20px;
  }

  .detail-card,
  .side-card {
    padding: 20px;
    border-radius: 22px;
  }

  .player,
  .movie-card,
  .rank-panel {
    border-radius: 22px;
  }

  .related-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .related-card img {
    width: 96px;
    height: 60px;
  }
}
