:root {
  color-scheme: light;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #0891b2;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --amber: #f59e0b;
  --red: #ef4444;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --soft-shadow: 0 14px 35px rgba(15, 23, 42, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --container: 1180px;
}

* {
  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", Arial, sans-serif;
  color: var(--slate-800);
  background: var(--slate-50);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(120deg, var(--blue), var(--blue-dark) 58%, var(--cyan));
  color: var(--white);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.25);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand:hover {
  opacity: 0.92;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.brand-mark span {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--white);
  margin-left: 4px;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

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

.nav-link {
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--white);
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(180deg, var(--slate-950), var(--slate-900));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.8), transparent 28%), radial-gradient(circle at 80% 10%, rgba(6, 182, 212, 0.7), transparent 24%), linear-gradient(135deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.08) 75%, transparent 75%, transparent);
  background-size: auto, auto, 72px 72px;
}

.hero-container {
  position: relative;
  z-index: 1;
  padding: 62px 0 72px;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-title-row > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(250, 204, 21, 0.14);
  color: #facc15;
  font-size: 24px;
}

.hero-title-row strong {
  display: block;
  font-size: 32px;
  line-height: 1.15;
}

.hero-title-row small {
  color: rgba(226, 232, 240, 0.82);
}

.hero-stage {
  position: relative;
  min-height: 430px;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1fr);
  align-items: center;
  gap: 42px;
}

.hero-slide.is-active {
  display: grid;
  animation: fadeUp 0.45s ease both;
}

.hero-cover {
  position: relative;
  min-height: 430px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(2, 6, 23, 0.48);
  background: rgba(15, 23, 42, 0.65);
}

.hero-cover img {
  height: 430px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.hero-cover:hover img {
  transform: scale(1.045);
}

.hero-cover span {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(15, 23, 42, 0.08) 58%, rgba(37, 99, 235, 0.16));
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0;
  max-width: 720px;
  color: rgba(226, 232, 240, 0.84);
  font-size: 19px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.hero-badges span:first-child {
  background: var(--blue);
  color: var(--white);
}

.hero-stats {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.hero-stats strong {
  color: #facc15;
  font-size: 28px;
}

.hero-stats span {
  color: rgba(226, 232, 240, 0.72);
}

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

.primary-btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.primary-btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 15px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
  font-weight: 700;
}

.primary-btn:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.32);
}

.ghost-btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
  font-weight: 700;
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.hero-dots {
  display: flex;
  gap: 9px;
  margin-top: 28px;
}

.hero-dot {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.hero-search {
  display: flex;
  gap: 12px;
  max-width: 780px;
  margin-top: 30px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  border-radius: 14px;
  padding: 0 16px;
  min-height: 48px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-search input::placeholder {
  color: rgba(226, 232, 240, 0.72);
}

.hero-search button {
  min-width: 100px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: var(--blue);
  font-weight: 700;
  cursor: pointer;
}

.hero-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.category-pill {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.22s ease, transform 0.22s ease;
}

.category-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

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

.flush-top {
  padding-top: 24px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 26px;
}

.section-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.section-heading h2 {
  margin: 0;
  font-size: 30px;
  color: var(--slate-800);
}

.dark-section .section-heading h2 {
  color: var(--white);
}

.section-heading p {
  margin: 3px 0 0;
  color: var(--slate-500);
}

.dark-section .section-heading p {
  color: rgba(226, 232, 240, 0.70);
}

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

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--slate-200);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.78));
}

.play-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.28);
  transition: transform 0.22s ease;
}

.movie-card:hover .play-chip {
  transform: scale(1.08);
}

.score-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.76);
  font-weight: 800;
  font-size: 13px;
}

.movie-body {
  padding: 16px;
}

.movie-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
  color: var(--slate-800);
}

.movie-body h3 a:hover {
  color: var(--blue);
}

.movie-body p {
  display: -webkit-box;
  min-height: 45px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--slate-600);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.movie-meta span {
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--slate-600);
  background: var(--slate-100);
  font-size: 12px;
}

.tag-line {
  margin-top: 9px;
  color: var(--slate-500);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.soft-section {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.dark-section {
  color: var(--white);
  background: linear-gradient(145deg, var(--slate-800), var(--slate-950));
}

.dark-section .movie-card {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 50px rgba(2, 6, 23, 0.22);
}

.dark-section .movie-body h3 {
  color: var(--white);
}

.dark-section .movie-body p,
.dark-section .tag-line {
  color: rgba(226, 232, 240, 0.74);
}

.dark-section .movie-meta span {
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.12);
}

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

.category-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 210px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 20px;
  color: var(--white);
  box-shadow: var(--soft-shadow);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.10), rgba(15, 23, 42, 0.78));
}

.category-card strong,
.category-card small {
  position: relative;
  z-index: 1;
}

.category-card strong {
  font-size: 22px;
}

.category-card small {
  color: rgba(255, 255, 255, 0.78);
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 28px;
}

.panel-card {
  border-radius: var(--radius-xl);
  padding: 28px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.amber-card {
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

.rank-list,
.rank-page-list {
  display: grid;
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 56px 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.92);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.7);
}

.rank-index {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.rank-poster {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  background: var(--slate-200);
}

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

.rank-copy h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.rank-copy h3 a:hover {
  color: var(--blue);
}

.rank-copy p {
  margin: 0 0 8px;
  color: var(--slate-600);
  font-size: 14px;
}

.rank-copy div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.rank-copy span {
  color: var(--amber);
  font-size: 20px;
  font-weight: 900;
}

.rank-copy small {
  color: var(--slate-500);
}

.text-link {
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.text-link:hover {
  color: var(--blue-dark);
  transform: translateX(2px);
}

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

.mini-card {
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(254, 243, 199, 0.9);
}

.mini-card a {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
}

.mini-card img {
  height: 82px;
  border-radius: 12px;
  object-fit: cover;
}

.mini-card span {
  font-weight: 800;
}

.mini-card small {
  display: block;
  padding: 0 10px 10px 82px;
  color: var(--slate-500);
}

.site-footer {
  margin-top: 40px;
  padding: 36px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--slate-950);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid strong {
  display: block;
  color: var(--white);
  font-size: 22px;
  margin-bottom: 8px;
}

.footer-grid p {
  max-width: 680px;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

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

.page-main {
  padding-top: 32px;
}

.page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  border-radius: 30px;
  padding: 40px;
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-900), var(--blue-dark) 58%, var(--cyan));
  box-shadow: var(--shadow);
}

.compact-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

.compact-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(226, 232, 240, 0.84);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

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

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

.category-detail-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  border-radius: var(--radius-xl);
  padding: 18px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.category-image {
  overflow: hidden;
  border-radius: 18px;
  min-height: 220px;
  background: var(--slate-200);
}

.category-image img {
  height: 100%;
  object-fit: cover;
}

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

.category-detail-card p {
  color: var(--slate-600);
}

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

.category-samples a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #eff6ff;
  font-size: 13px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(150px, 0.6fr));
  gap: 14px;
  margin: 24px 0 16px;
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.filter-field {
  display: grid;
  gap: 7px;
}

.filter-field label {
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 800;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  outline: none;
  padding: 0 13px;
  color: var(--slate-800);
  background: var(--slate-50);
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.result-bar {
  min-height: 28px;
  color: var(--slate-500);
  font-weight: 700;
}

.detail-main {
  max-width: 1180px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.player-card,
.detail-copy,
.detail-section {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.player-card {
  padding: 12px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 9;
  background: var(--slate-950);
}

.movie-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  text-align: center;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.26), rgba(2, 6, 23, 0.74));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.large-play {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.34);
  font-size: 34px;
  padding-left: 4px;
}

.player-overlay strong {
  max-width: 80%;
  font-size: 22px;
}

.detail-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 28px;
}

.dark-badges span {
  color: var(--slate-700);
  background: var(--slate-100);
}

.dark-badges span:first-child {
  color: var(--white);
  background: var(--blue);
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  color: var(--slate-900);
}

.lead-text {
  margin: 0;
  color: var(--slate-600);
  font-size: 18px;
}

.detail-meta {
  display: grid;
  gap: 10px;
  margin: 0;
}

.detail-meta div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
}

.detail-meta dt {
  color: var(--slate-500);
  font-weight: 800;
}

.detail-meta dd {
  margin: 0;
  color: var(--slate-800);
}

.detail-meta a {
  color: var(--blue);
  font-weight: 800;
}

.play-now {
  width: max-content;
}

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

.detail-section h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.detail-section p {
  margin: 0;
  color: var(--slate-700);
  font-size: 17px;
}

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

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #dbeafe;
  font-weight: 700;
}

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

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

@media (max-width: 1100px) {
  .four-grid,
  .five-grid,
  .category-list-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .hero-stage {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .header-wrap {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    padding-top: 12px;
  }

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

  .header-wrap {
    flex-wrap: wrap;
  }

  .hero-container {
    padding: 42px 0 52px;
  }

  .hero-slide {
    gap: 26px;
  }

  .hero-cover,
  .hero-cover img {
    min-height: 320px;
    height: 320px;
  }

  .hero-search {
    flex-direction: column;
  }

  .hero-search button {
    min-height: 46px;
  }

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

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

  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }

  .wide-field {
    grid-column: 1 / -1;
  }

  .page-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
  }

  .footer-grid {
    flex-direction: column;
  }
}

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

  .brand-copy strong {
    font-size: 21px;
  }

  .brand-copy small {
    font-size: 12px;
  }

  .hero-title-row strong,
  .section-heading h2 {
    font-size: 25px;
  }

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

  .movie-grid,
  .four-grid,
  .five-grid,
  .category-list-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-body {
    padding: 12px;
  }

  .movie-body h3 {
    font-size: 15px;
  }

  .movie-body p {
    font-size: 13px;
  }

  .category-grid,
  .category-detail-grid,
  .mini-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

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

  .rank-item {
    grid-template-columns: 48px 62px minmax(0, 1fr);
    gap: 10px;
  }

  .rank-copy p {
    display: none;
  }

  .detail-copy,
  .detail-section {
    padding: 20px;
  }

  .detail-meta div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
