:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --indigo: #4f46e5;
  --purple: #7c3aed;
  --yellow: #fde68a;
  --pink: #fbcfe8;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

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;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.header-inner {
  max-width: 1280px;
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 188px;
}

.brand-mark,
.footer-logo span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(3deg);
}

.brand-text {
  display: grid;
  line-height: 1.18;
}

.brand-text strong {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--blue), var(--indigo));
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.header-search {
  flex: 1;
  max-width: 430px;
  display: flex;
  align-items: center;
  position: relative;
}

.header-search input,
.mobile-search input,
.search-large input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 2px solid #bfdbfe;
  border-radius: 999px;
  outline: none;
  padding: 11px 104px 11px 18px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.search-large input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
}

.header-search button,
.mobile-search button,
.search-large button {
  position: absolute;
  right: 5px;
  top: 5px;
  border: 0;
  color: #ffffff;
  padding: 7px 18px;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.search-large button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

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

.nav-link,
.nav-dropdown > button,
.dropdown-menu a,
.mobile-panel a {
  font-weight: 700;
  color: #374151;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown > button:hover,
.dropdown-menu a:hover,
.mobile-panel a:hover {
  color: var(--blue);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  width: 196px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

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

.dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 12px;
}

.dropdown-menu a:hover {
  background: #eff6ff;
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
  color: var(--text);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 0 24px 18px;
  border-top: 1px solid var(--line);
}

.mobile-panel.open {
  display: block;
}

.mobile-search {
  position: relative;
  margin: 14px auto;
  max-width: 640px;
}

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 640px;
  margin: 0 auto;
}

.mobile-panel nav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
}

.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: linear-gradient(115deg, #2563eb 0%, #4f46e5 45%, #1d4ed8 100%);
}

.hero-stage,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.62fr);
  align-items: center;
  gap: 54px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(34px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  background-image: linear-gradient(90deg, rgba(37, 99, 235, 0.88), rgba(79, 70, 229, 0.74), rgba(30, 64, 175, 0.68)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

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

.hero-content {
  max-width: 720px;
  color: #ffffff;
  z-index: 2;
}

.eyebrow,
.inner-hero span,
.section-kicker,
.category-panel-text span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 16px;
  color: #dbeafe;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 5.5vw, 66px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.hero h2 {
  display: inline-block;
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 900;
  color: transparent;
  background: linear-gradient(90deg, var(--yellow), var(--pink));
  -webkit-background-clip: text;
}

.hero p {
  max-width: 650px;
  margin: 0 0 22px;
  font-size: clamp(17px, 2vw, 21px);
  color: #dbeafe;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 13px;
  font-weight: 800;
}

.hero .tag,
.detail-hero .tag {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

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

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

.primary-btn {
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
}

.ghost-btn {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-poster {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 30px;
  min-height: 430px;
  box-shadow: 0 34px 78px rgba(15, 23, 42, 0.34);
  transform: rotate(1deg);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.hero-poster:hover img {
  transform: scale(1.05);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-controls button {
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: transparent;
}

.hero-controls > button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.hero-controls > button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-dots {
  display: flex;
  gap: 7px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46) !important;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 28px;
  background: #ffffff !important;
}

.hero-glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(40px);
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero-glow.one {
  width: 170px;
  height: 170px;
  top: 74px;
  left: 8%;
}

.hero-glow.two {
  width: 210px;
  height: 210px;
  right: 12%;
  bottom: 90px;
  animation-delay: 1.2s;
}

.hero-glow.three {
  width: 150px;
  height: 150px;
  top: 45%;
  left: 44%;
  animation-delay: 2.1s;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.92;
  }
}

.section-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-wrap.compact {
  padding-top: 62px;
  padding-bottom: 62px;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-head a {
  color: var(--blue);
  font-weight: 900;
}

.section-kicker {
  color: var(--blue);
  background: #eff6ff;
}

.section-head.light h2,
.section-head.light a,
.section-head.light .section-kicker {
  color: #ffffff;
}

.section-head.light .section-kicker {
  background: rgba(255, 255, 255, 0.15);
}

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

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

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

.movie-card {
  min-width: 0;
}

.card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e0e7ff;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.68), rgba(15, 23, 42, 0.05));
  transition: opacity 0.25s ease;
}

.poster-shade span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  font-weight: 900;
  background: rgba(37, 99, 235, 0.88);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.28);
}

.card-link:hover .poster-shade {
  opacity: 1;
}

.corner-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--blue);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.card-meta,
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.card-meta em {
  padding: 4px 9px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-style: normal;
  font-weight: 900;
}

.card-meta i,
.card-foot i,
.card-foot b {
  font-style: normal;
  font-weight: 700;
}

.card-body strong {
  margin: 10px 0 8px;
  color: #111827;
  font-size: 18px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.card-link:hover strong {
  color: var(--blue);
}

.card-desc {
  flex: 1;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.category-band {
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8, #4f46e5 55%, #7c3aed);
}

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

.category-tile a {
  display: grid;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.category-tile a:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.2);
}

.category-tile span {
  font-size: 20px;
  font-weight: 900;
}

.category-tile p {
  margin: 10px 0 16px;
  color: #dbeafe;
}

.category-tile div {
  display: grid;
  gap: 6px;
  color: #ffffff;
  font-size: 13px;
}

.ranking-band {
  background: linear-gradient(135deg, #f8fafc, #eff6ff);
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.rank-poster {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 11;
}

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

.rank-poster span {
  position: absolute;
  left: 8px;
  top: 8px;
  color: #ffffff;
  font-weight: 950;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
}

.rank-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.rank-info p {
  margin: 0 0 10px;
  color: #4b5563;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rank-meta span {
  color: #1d4ed8;
  background: #dbeafe;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
}

.inner-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  background: linear-gradient(115deg, rgba(37, 99, 235, 0.95), rgba(79, 70, 229, 0.9)), url('./1.jpg') center / cover;
  color: #ffffff;
}

.inner-hero.category-hero {
  background-image: linear-gradient(115deg, rgba(30, 64, 175, 0.92), rgba(79, 70, 229, 0.84)), url('./2.jpg');
}

.inner-hero.ranking-hero {
  background-image: linear-gradient(115deg, rgba(79, 70, 229, 0.92), rgba(124, 58, 237, 0.84)), url('./3.jpg');
}

.inner-hero.search-hero {
  background-image: linear-gradient(115deg, rgba(14, 116, 144, 0.92), rgba(37, 99, 235, 0.84)), url('./4.jpg');
}

.inner-hero > div {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 56px 24px;
}

.inner-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.inner-hero p {
  max-width: 760px;
  margin: 0;
  color: #dbeafe;
  font-size: 19px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 180px;
  gap: 14px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.filter-bar input,
.filter-bar select {
  padding: 11px 16px;
  border-radius: 16px;
  background: #ffffff;
}

.category-panels {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  gap: 22px;
}

.category-panel {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.category-panel-text span {
  color: var(--blue);
  background: #eff6ff;
}

.category-panel-text h2 {
  margin: 0 0 12px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.category-panel-text p {
  color: #4b5563;
  margin: 0 0 20px;
}

.text-btn {
  min-height: 44px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
}

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

.category-samples a {
  position: relative;
  overflow: hidden;
  min-height: 140px;
  border-radius: 18px;
  background: #e0e7ff;
}

.category-samples img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.category-samples span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  color: #ffffff;
  padding: 30px 12px 10px;
  font-weight: 900;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.72), transparent);
}

.detail-hero {
  position: relative;
  min-height: 430px;
  color: #ffffff;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.84), rgba(30, 64, 175, 0.72), rgba(15, 23, 42, 0.38)), var(--detail-image);
  background-size: cover;
  background-position: center;
}

.detail-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 80px;
  color: #dbeafe;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: #ffffff;
}

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

.detail-title-block h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

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

.detail-wrap {
  max-width: 1280px;
  margin: -46px auto 0;
  padding: 0 24px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.34);
  aspect-ratio: 16 / 9;
}

.movie-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #020617;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), rgba(2, 6, 23, 0.42));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  padding-left: 6px;
  border-radius: 50%;
  font-size: 42px;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.34);
}

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

.detail-article {
  margin-top: 24px;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

.detail-meta-grid span {
  display: grid;
  gap: 3px;
  padding: 14px;
  border-radius: 18px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 900;
}

.detail-meta-grid b {
  color: #64748b;
  font-size: 12px;
}

.detail-article h2,
.related-column h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.detail-article p {
  margin: 0 0 24px;
  color: #374151;
  font-size: 16px;
  line-height: 1.9;
}

.related-column {
  align-self: start;
  padding: 24px;
  border-radius: 28px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

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

.related-list .small-card .card-link {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  border-radius: 18px;
}

.related-list .small-card .poster-wrap {
  height: 100%;
  min-height: 120px;
  aspect-ratio: auto;
}

.related-list .small-card .card-body strong {
  font-size: 16px;
}

.related-list .small-card .card-desc {
  -webkit-line-clamp: 2;
}

.search-large {
  position: relative;
  max-width: 760px;
  margin: 0 auto 30px;
}

.search-large input {
  min-height: 58px;
  padding-right: 120px;
  font-size: 18px;
}

.search-large button {
  top: 7px;
  right: 7px;
  min-height: 44px;
  padding: 0 24px;
}

.search-title {
  min-height: 32px;
  text-align: center;
  color: #4b5563;
  font-weight: 800;
  margin-bottom: 18px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: #64748b;
  background: #f8fafc;
  border-radius: 24px;
}

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

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.65fr 1.1fr;
  gap: 34px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 22px;
}

.footer-about p {
  color: #cbd5e1;
  margin: 0;
  max-width: 430px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links h3 {
  margin: 0 0 10px;
  color: #ffffff;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #ffffff;
}

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

.footer-category-list a {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 24px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

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

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

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

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

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

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

  .mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-inner {
    height: 66px;
  }

  .hero {
    height: auto;
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 96px;
  }

  .hero-poster {
    min-height: 260px;
    max-width: 420px;
  }

  .hero-poster img {
    min-height: 260px;
  }

  .rank-grid,
  .home-rank,
  .category-panel {
    grid-template-columns: 1fr;
  }

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

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

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-text strong {
    font-size: 21px;
  }

  .brand {
    min-width: 0;
  }

  .header-inner,
  .section-wrap,
  .inner-hero > div,
  .detail-hero-inner,
  .detail-wrap,
  .category-panels {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-slide {
    padding-left: 16px;
    padding-right: 16px;
  }

  .movie-grid,
  .feature-grid,
  .all-grid,
  .category-grid,
  .category-samples,
  .related-list {
    grid-template-columns: 1fr;
  }

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

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

  .detail-wrap {
    margin-top: -26px;
  }

  .detail-article,
  .related-column {
    padding: 20px;
  }

  .related-list .small-card .card-link {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .play-overlay span {
    width: 76px;
    height: 76px;
    font-size: 34px;
  }
}
