:root {
  --bg: #f5f7fb;
  --paper: #ffffff;
  --text: #111827;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.10);
  --blue: #2563eb;
  --cyan: #06b6d4;
  --red: #ef4444;
  --pink: #ec4899;
  --purple: #7c3aed;
  --green: #10b981;
  --amber: #f59e0b;
  --dark: #0f172a;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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: 100;
  color: #ffffff;
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.28);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #083344;
  background: linear-gradient(135deg, #67e8f9, #38bdf8);
  box-shadow: 0 10px 20px rgba(34, 211, 238, 0.3);
}

.brand-text,
.footer-logo {
  background: linear-gradient(90deg, #60a5fa, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav a,
.nav-drop > button {
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active,
.nav-drop:hover > button {
  color: #67e8f9;
}

.nav-drop {
  position: relative;
}

.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  width: 160px;
  padding: 8px;
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

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

.nav-drop-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: #334155;
}

.nav-drop-menu a:hover {
  color: #2563eb;
  background: #eff6ff;
}

.quick-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(330px, 30vw);
}

.quick-search input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 10px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  outline: none;
}

.quick-search input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.quick-search button,
.primary-btn,
.ghost-btn,
.pill-link,
.section-link {
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.quick-search button {
  padding: 10px 16px;
  border-radius: 999px;
  color: #083344;
  font-weight: 700;
  background: #67e8f9;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  border-radius: 999px;
}

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.22), transparent 34%), linear-gradient(135deg, #0f172a 0%, #1e3a8a 48%, #075985 100%);
}

.hero-slides {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 680px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 420px;
  gap: 56px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(30px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: 46px -8vw 46px 44%;
  z-index: 0;
  border-radius: 36px;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.25)), var(--hero-poster);
  background-size: cover;
  background-position: center;
  filter: saturate(1.15);
  opacity: 0.42;
}

.hero-copy,
.hero-poster {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #67e8f9;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #dbeafe;
  font-size: clamp(18px, 2.5vw, 22px);
}

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

.hero-tags span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.86);
}

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

.primary-btn,
.ghost-btn,
.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 800;
}

.primary-btn {
  color: #082f49;
  background: linear-gradient(135deg, #ffffff, #67e8f9);
  box-shadow: 0 18px 38px rgba(8, 145, 178, 0.32);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-link:hover,
.pill-link:hover {
  transform: translateY(-2px);
}

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

.hero-poster {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
}

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

.hero-dots button {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.hero-dots button.active {
  background: #67e8f9;
}

.hero-orb {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.5;
}

.orb-a {
  left: 7%;
  top: 8%;
  width: 280px;
  height: 280px;
  background: #22d3ee;
}

.orb-b {
  right: 5%;
  bottom: 10%;
  width: 360px;
  height: 360px;
  background: #2563eb;
}

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

.section-hot,
.section-editor {
  width: 100%;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
}

.section-latest {
  width: 100%;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, #ecfeff, #eff6ff);
}

.section-categories {
  width: 100%;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: #ffffff;
}

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

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

.section-head.compact {
  margin-bottom: 18px;
}

.section-head h2,
.page-hero h1,
.info-card h2,
.rank-copy h2,
.category-showcase h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-head p,
.page-hero p,
.rank-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-link {
  color: #2563eb;
  font-weight: 800;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.card-poster {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 10;
  background: #dbeafe;
}

.movie-card:not(.wide-card) .card-poster {
  aspect-ratio: 3 / 4;
}

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

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

.year-pill,
.rank-badge,
.play-pill {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.year-pill {
  right: 12px;
  top: 12px;
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.78);
}

.play-pill {
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.88);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: 0.25s ease;
}

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

.rank-badge {
  left: 12px;
  top: 12px;
  min-width: 42px;
  height: 32px;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
}

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

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

.card-tags span {
  color: #475569;
  background: #f1f5f9;
}

.wide-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
}

.wide-card .card-body {
  padding: 18px 20px;
}

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

.category-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 22px;
  border-radius: 24px;
  color: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px) scale(1.01);
}

.category-name {
  position: relative;
  z-index: 2;
  font-size: 24px;
  font-weight: 900;
}

.category-desc,
.category-sample {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.category-sample {
  color: #ffffff;
  font-weight: 800;
}

.category-glow {
  position: absolute;
  right: -36px;
  top: -36px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.tone-blue,
.category-card.tone-blue {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.tone-purple,
.category-card.tone-purple {
  background: linear-gradient(135deg, #7c3aed, #db2777);
}

.tone-pink,
.category-card.tone-pink {
  background: linear-gradient(135deg, #ec4899, #fb7185);
}

.tone-slate,
.category-card.tone-slate {
  background: linear-gradient(135deg, #0f172a, #475569);
}

.tone-red,
.category-card.tone-red {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.tone-amber,
.category-card.tone-amber {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.tone-cyan,
.category-card.tone-cyan {
  background: linear-gradient(135deg, #0891b2, #2563eb);
}

.tone-green,
.category-card.tone-green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.tone-orange,
.category-card.tone-orange {
  background: linear-gradient(135deg, #f97316, #dc2626);
}

.tone-indigo,
.category-card.tone-indigo {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
}

.rank-panel {
  width: 100%;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: center;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #1e3a8a 55%, #0e7490);
}

.rank-copy h2,
.rank-copy p {
  color: #ffffff;
}

.rank-copy p {
  color: #dbeafe;
  margin-bottom: 24px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 44px 84px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.rank-panel .rank-row {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  backdrop-filter: blur(16px);
}

.rank-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
}

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

.rank-info {
  min-width: 0;
}

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

.rank-info em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.rank-panel .rank-info em {
  color: #bfdbfe;
}

.rank-heat {
  color: #ef4444;
  font-weight: 900;
  white-space: nowrap;
}

.rank-panel .rank-heat {
  color: #67e8f9;
}

.page-hero {
  color: #ffffff;
  padding: 78px max(16px, calc((100% - 1180px) / 2));
}

.page-hero h1,
.page-hero p {
  color: #ffffff;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 160px 180px auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.result-count {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 12px;
  color: #0f172a;
  font-weight: 900;
  background: #eff6ff;
}

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

.detail-main {
  background: #f8fafc;
}

.detail-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  color: #ffffff;
  background-image: var(--detail-poster);
  background-size: cover;
  background-position: center;
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.74), rgba(15, 23, 42, 0.35));
  backdrop-filter: blur(3px);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.detail-title-block {
  max-width: 820px;
}

.detail-title-block h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-title-block p {
  margin: 0 0 22px;
  color: #dbeafe;
  font-size: 19px;
}

.detail-layout {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
  margin: 0 auto;
  padding: 34px 0 80px;
}

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

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000000;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #ffffff;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  background: #000000;
}

.player-card.is-started .player-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-cover-bg,
.player-cover-shade {
  position: absolute;
  inset: 0;
}

.player-cover-bg {
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.15);
  transform: scale(1.04);
}

.player-cover-shade {
  background: rgba(15, 23, 42, 0.58);
}

.player-play-icon,
.player-cover strong {
  position: relative;
  z-index: 2;
}

.player-play-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0f172a;
  font-size: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.player-cover strong {
  max-width: 80%;
  font-size: 24px;
}

.info-card,
.side-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.info-card {
  padding: 26px;
}

.info-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.info-card h2,
.side-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.2;
}

.info-card p {
  margin: 0 0 14px;
  color: #334155;
}

.lead-text {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a !important;
}

.pill-link {
  min-height: 38px;
  padding: 8px 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0 0;
}

.meta-list div {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
}

.meta-list dt {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.meta-list dd {
  margin: 4px 0 0;
  color: #0f172a;
  font-weight: 900;
}

.review-card {
  background: linear-gradient(135deg, #ffffff, #eff6ff);
}

.detail-side {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 18px;
}

.side-card {
  padding: 18px;
}

.poster-side img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 14px;
}

.primary-btn.full {
  width: 100%;
}

.side-rank .rank-row {
  grid-template-columns: 34px 58px minmax(0, 1fr);
  padding: 8px;
}

.side-rank .rank-row img {
  width: 58px;
  height: 42px;
}

.side-rank .rank-heat {
  display: none;
}

.next-prev {
  display: grid;
  gap: 10px;
}

.next-prev a {
  display: block;
  padding: 12px;
  border-radius: 14px;
  color: #2563eb;
  font-weight: 800;
  background: #eff6ff;
}

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

.rank-page-list {
  padding-top: 0;
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
}

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

.footer-logo {
  font-size: 24px;
  font-weight: 900;
}

.footer-links,
.footer-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.footer-links a,
.footer-channels a {
  color: #e2e8f0;
}

.footer-links a:hover,
.footer-channels a:hover {
  color: #67e8f9;
}

.copyright {
  margin: 20px 0 0;
  color: #94a3b8;
}

@media (max-width: 1024px) {
  .quick-search {
    display: none;
  }

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

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

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

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

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 64px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 0 0 16px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-drop-menu {
    position: static;
    width: 100%;
    margin-top: 4px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hero-carousel,
  .hero-slides {
    min-height: 780px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 26px;
    align-content: center;
    padding: 48px 0 78px;
  }

  .hero-backdrop {
    inset: 0;
    border-radius: 0;
  }

  .hero-poster {
    max-width: 260px;
    margin: 0 auto;
  }

  .section-head,
  .rank-panel {
    display: block;
  }

  .section-link {
    display: inline-block;
    margin-top: 12px;
  }

  .movie-grid,
  .wide-grid,
  .rank-featured-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .filter-panel,
  .meta-list,
  .detail-side {
    grid-template-columns: 1fr;
  }

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

  .rank-heat {
    display: none;
  }

  .page-hero {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .info-head {
    display: block;
  }

  .pill-link {
    margin-top: 10px;
  }
}
