:root {
  color-scheme: light;
  --bg: #fff7fb;
  --text: #1f2937;
  --muted: #6b7280;
  --pink: #db2777;
  --pink-dark: #be185d;
  --purple: #7c3aed;
  --blue: #2563eb;
  --cyan: #0891b2;
  --gold: #d97706;
  --green: #059669;
  --card: rgba(255, 255, 255, 0.94);
  --shadow: 0 18px 50px rgba(190, 24, 93, 0.14);
  --radius-xl: 24px;
  --radius-2xl: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(236, 72, 153, 0.12), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.12), transparent 30rem),
    var(--bg);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(219, 39, 119, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 18px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.35rem;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 10px 20px rgba(219, 39, 119, 0.25);
  font-size: 0.9rem;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--pink);
  background: #fdf2f8;
  transform: translateY(-1px);
}

.top-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 280px;
}

.top-search input,
.search-large input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(219, 39, 119, 0.16);
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 11px 15px;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.top-search button,
.search-large button,
.filter-panel button,
.btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.top-search button,
.search-large button,
.filter-panel button {
  color: white;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 10px 22px rgba(219, 39, 119, 0.22);
}

.top-search button:hover,
.search-large button:hover,
.filter-panel button:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--pink);
  background: #fdf2f8;
  font-size: 1.2rem;
}

.mobile-panel {
  display: none;
  padding: 0 16px 16px;
  gap: 10px;
  flex-wrap: wrap;
}

.mobile-panel a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #be185d;
  background: #fdf2f8;
  font-weight: 700;
}

.hero-section {
  position: relative;
  min-height: 640px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #db2777, #7c3aed, #2563eb, #0891b2);
  background-size: 260% 260%;
  animation: gradientMove 13s ease infinite;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.14) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.12) 25%, transparent 25%);
  background-size: 42px 42px;
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(0deg, var(--bg), transparent);
}

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

.hero-shell {
  position: relative;
  min-height: 500px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 48px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.28);
  transform: rotate(-1.5deg);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.38), transparent 55%);
}

.hero-image img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image:hover img {
  transform: scale(1.06);
}

.hero-copy {
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.hero-copy h1,
.page-hero h1,
.rank-hero h1,
.detail-intro h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1.03;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.hero-copy p {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  line-height: 1.85;
}

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

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

.hero-tags span,
.detail-tags span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-tags span {
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

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

.btn-light {
  color: var(--pink);
  background: white;
  box-shadow: 0 16px 34px rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
}

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

.hero-dots button {
  width: 34px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-dots button.is-active {
  background: white;
}

.category-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: -70px;
  margin-bottom: 54px;
}

.category-tile,
.category-overview-card,
.category-hero,
.gradient-hero,
.search-hero,
.rank-hero {
  color: white;
  background: linear-gradient(135deg, #db2777, #7c3aed);
}

.category-tile {
  min-height: 126px;
  padding: 20px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 24px 60px rgba(190, 24, 93, 0.22);
}

.category-tile strong,
.category-tile small {
  display: block;
}

.category-tile strong {
  margin-top: 14px;
  font-size: 1.05rem;
}

.category-tile small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
}

.from-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.from-blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.from-orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.from-amber { background: linear-gradient(135deg, #f59e0b, #f97316); }
.from-purple { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.from-rose { background: linear-gradient(135deg, #e11d48, #db2777); }
.from-cyan { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.from-indigo { background: linear-gradient(135deg, #6366f1, #7c3aed); }
.from-lime { background: linear-gradient(135deg, #84cc16, #10b981); }
.from-fuchsia { background: linear-gradient(135deg, #d946ef, #ec4899); }

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

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 950;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.blue-heading h2 { background-image: linear-gradient(90deg, var(--blue), var(--cyan)); }
.gold-heading h2 { background-image: linear-gradient(90deg, #d97706, #f97316); }
.green-heading h2 { background-image: linear-gradient(90deg, #059669, #14b8a6); }

.soft-panel {
  border-radius: var(--radius-2xl);
  padding: clamp(18px, 3vw, 32px);
  box-shadow: var(--shadow);
}

.warm-panel { background: linear-gradient(135deg, #fff7ed, #fff1f2, #fdf2f8); }
.cool-panel { background: linear-gradient(135deg, #eff6ff, #ecfeff, #f0fdfa); }
.rank-panel { background: linear-gradient(135deg, #fffbeb, #fff7ed, #fff1f2); }
.mosaic-panel { background: linear-gradient(135deg, #ecfdf5, #f0fdfa, #f5f3ff); }

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

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

.movie-card {
  overflow: hidden;
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.14);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.poster-link img,
.rank-thumb img,
.category-preview img,
.detail-cover img,
.rank-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-link img {
  transition: transform 0.5s ease;
}

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

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

.play-badge,
.play-dot {
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: rgba(219, 39, 119, 0.92);
  box-shadow: 0 12px 24px rgba(219, 39, 119, 0.3);
}

.play-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
}

.card-year {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: white;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 800;
}

.card-body {
  padding: 16px;
}

.card-tags span {
  color: var(--pink);
  background: #fce7f3;
}

.card-body h3 {
  margin: 12px 0 8px;
  font-size: 1.06rem;
  line-height: 1.35;
}

.card-body p,
.rank-info p,
.page-hero p,
.content-card p {
  color: var(--muted);
  line-height: 1.75;
}

.card-body p {
  min-height: 3.4em;
  margin: 0;
  font-size: 0.94rem;
}

.card-meta,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
  color: #64748b;
  font-size: 0.86rem;
}

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

.ranked-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 14px;
}

.rank-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  font-weight: 950;
  font-size: 1.15rem;
}

.rank-row {
  display: grid;
  grid-template-columns: 152px 1fr;
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.rank-thumb {
  position: relative;
  height: 96px;
  overflow: hidden;
  border-radius: 14px;
}

.play-dot {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  font-size: 0.78rem;
}

.rank-title {
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 900;
  color: #111827;
}

.full-rank {
  align-items: stretch;
}

.page-main {
  padding: 34px 0 72px;
}

.page-hero,
.rank-hero {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(32px, 5vw, 62px);
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.page-hero::after,
.rank-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% 45%;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.page-hero p,
.rank-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-stats span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

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

.category-overview-card {
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.category-card-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.category-card-head span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.18);
}

.category-card-head h2 {
  margin: 0 0 8px;
  font-size: 1.55rem;
}

.category-card-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

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

.category-preview a {
  position: relative;
  overflow: hidden;
  height: 94px;
  border-radius: 14px;
  background: rgba(255,255,255,0.16);
}

.category-preview span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 8px 8px;
  color: white;
  background: linear-gradient(0deg, rgba(0,0,0,0.72), transparent);
  font-size: 0.78rem;
  font-weight: 800;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr 180px 180px auto;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.catalog-grid {
  align-items: stretch;
}

.empty-state,
.result-summary {
  padding: 22px;
  border-radius: 20px;
  text-align: center;
  color: #be185d;
  background: #fdf2f8;
  font-weight: 850;
}

.search-workbench {
  display: grid;
  gap: 20px;
}

.search-large {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.search-filters {
  grid-template-columns: repeat(3, 1fr);
}

.rank-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 34px;
  align-items: center;
  background: linear-gradient(135deg, #f59e0b, #ec4899, #7c3aed);
}

.rank-hero-cover {
  position: relative;
  z-index: 2;
  height: 220px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.25);
}

.rank-hero .btn {
  display: inline-flex;
  margin-top: 26px;
}

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

.detail-hero-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(88, 28, 135, 0.7), rgba(219, 39, 119, 0.36)),
    linear-gradient(0deg, var(--bg), transparent 38%);
  backdrop-filter: blur(10px);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  margin-bottom: 42px;
}

.breadcrumb a:hover {
  color: white;
}

.detail-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 3 / 4;
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.38);
}

.detail-intro {
  color: white;
}

.detail-intro .lead {
  max-width: 820px;
  margin: 22px 0;
  font-size: 1.2rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.86);
}

.detail-tags span {
  color: white;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.detail-meta-grid span {
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.detail-meta-grid b {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.detail-main {
  margin-top: -74px;
  position: relative;
  z-index: 3;
  padding-bottom: 74px;
}

.player-card,
.content-card {
  border-radius: 30px;
  padding: clamp(14px, 2.5vw, 24px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #020617;
  aspect-ratio: 16 / 9;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 16px;
  align-content: center;
  color: white;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.28));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-overlay button {
  width: 84px;
  height: 84px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 20px 40px rgba(219, 39, 119, 0.42);
  font-size: 1.5rem;
}

.play-overlay strong {
  max-width: 80%;
  text-align: center;
  font-size: 1.2rem;
}

.content-card {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 42px);
}

.content-card h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 1.65rem;
}

.content-card h2:not(:first-child) {
  margin-top: 30px;
}

.summary-line {
  font-size: 1.08rem;
  color: var(--pink) !important;
  font-weight: 850;
}

.info-table {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.info-table div {
  padding: 14px;
  border-radius: 16px;
  background: #fdf2f8;
}

.info-table span,
.info-table strong {
  display: block;
}

.info-table span {
  margin-bottom: 5px;
  color: #be185d;
  font-size: 0.82rem;
  font-weight: 800;
}

.related-block {
  margin-top: 42px;
}

.site-footer {
  color: white;
  background: linear-gradient(135deg, #831843, #581c87, #1e3a8a);
  padding: 48px 0 22px;
}

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

.footer-logo {
  color: white;
  -webkit-background-clip: initial;
  background-clip: initial;
  background: none;
}

.site-footer p {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

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

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

.footer-links a {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 1100px) {
  .top-search {
    min-width: 220px;
  }

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

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

  .detail-meta-grid,
  .info-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .main-nav,
  .top-search {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .mobile-panel.is-open {
    display: flex;
  }

  .hero-section {
    min-height: 780px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-image {
    transform: none;
  }

  .hero-image img {
    height: 260px;
  }

  .hero-copy h1,
  .page-hero h1,
  .rank-hero h1,
  .detail-intro h1 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .category-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -45px;
  }

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

  .filter-panel,
  .search-filters,
  .search-large,
  .rank-hero,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rank-hero-cover {
    height: 260px;
  }

  .detail-grid {
    gap: 24px;
  }

  .detail-cover {
    max-width: 260px;
  }
}

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

  .hero-inner {
    padding-top: 42px;
  }

  .category-strip,
  .movie-grid,
  .three-col,
  .category-overview-grid,
  .category-preview {
    grid-template-columns: 1fr;
  }

  .category-preview a {
    height: 136px;
  }

  .ranked-item {
    grid-template-columns: 1fr;
  }

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

  .rank-thumb {
    height: 86px;
  }

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

  .detail-meta-grid,
  .info-table {
    grid-template-columns: 1fr;
  }
}
