* {
  box-sizing: border-box;
}

:root {
  --rose: #f43f5e;
  --rose-dark: #e11d48;
  --pink: #ec4899;
  --orange: #fb923c;
  --amber: #f59e0b;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --violet: #8b5cf6;
  --slate: #0f172a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow-sm: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 26px 70px rgba(244, 63, 94, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--gray-900);
  background: var(--gray-50);
  line-height: 1.65;
}

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

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

button,
input {
  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.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--rose);
  letter-spacing: -0.03em;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(244, 63, 94, 0.32);
}

.brand-text,
.footer-brand {
  background: linear-gradient(135deg, var(--rose), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-nav-link {
  position: relative;
  color: var(--gray-700);
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--pink));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-current,
.mobile-nav-link:hover,
.mobile-nav-link.is-current {
  color: var(--rose);
}

.nav-link:hover::after,
.nav-link.is-current::after {
  transform: scaleX(1);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
}

.header-search input,
.mobile-search input {
  width: 190px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 8px 6px 8px 12px;
  color: var(--gray-900);
}

.header-search button,
.mobile-search button,
.primary-button,
.secondary-button,
.section-link,
.cta-inner a {
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.header-search button,
.mobile-search button {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--gray-700);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 18px;
  border-top: 1px solid var(--gray-200);
}

.mobile-nav.is-open {
  display: grid;
  gap: 12px;
}

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, rgba(251, 113, 133, 0.35), transparent 26%), linear-gradient(135deg, #fff1f2 0%, #fff7ed 55%, #ffffff 100%);
}

.hero-bg-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.45;
  pointer-events: none;
}

.hero-bg-glow.one {
  top: 46px;
  left: 5%;
  background: #fb7185;
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero-bg-glow.two {
  right: 6%;
  bottom: 20px;
  background: #f9a8d4;
  animation: pulseGlow 7s ease-in-out infinite 1s;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 420px);
  align-items: center;
  gap: 54px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-overlay {
  position: absolute;
  inset: 56px 0 56px auto;
  width: 60%;
  border-radius: 42px;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.25)), var(--hero-image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
  opacity: 0.28;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rose-dark);
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.18);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1,
.hero-copy h2,
.page-hero h1,
.detail-title-row h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.05;
  color: var(--gray-900);
  letter-spacing: -0.06em;
}

.hero-copy p,
.page-hero p,
.detail-title-row p {
  max-width: 660px;
  margin: 0 0 26px;
  color: var(--gray-500);
  font-size: 19px;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  color: var(--rose-dark);
  background: #fff1f2;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
}

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

.primary-button,
.secondary-button,
.cta-inner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-button,
.cta-inner a {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: 0 16px 35px rgba(244, 63, 94, 0.26);
}

.secondary-button {
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.84);
  border: 2px solid var(--gray-200);
}

.primary-button:hover,
.secondary-button:hover,
.cta-inner a:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.secondary-button:hover {
  color: var(--rose);
  border-color: var(--rose);
}

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

.hero-poster {
  position: relative;
  z-index: 2;
  display: block;
  align-self: center;
  justify-self: center;
  width: min(380px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255,255,255,0.5);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.22);
  transform: rotate(2deg);
}

.hero-poster img,
.poster-frame img,
.detail-cover,
.rank-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #fff;
  background: rgba(15, 23, 42, 0.68);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}

.hero-controls button {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--rose);
  background: rgba(255,255,255,0.8);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  min-width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(244, 63, 94, 0.28);
  box-shadow: none;
}

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

.quick-search-section {
  margin-top: -30px;
  position: relative;
  z-index: 6;
}

.quick-search {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.quick-search div {
  flex: 1;
  display: grid;
  gap: 4px;
}

.quick-search span {
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
}

.quick-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--gray-900);
  font-size: 18px;
}

.quick-search button {
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  font-weight: 800;
  cursor: pointer;
}

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

.content-section.muted {
  background: linear-gradient(180deg, #fff, var(--gray-100));
}

.content-section.blush {
  background: linear-gradient(135deg, #fff1f2, #fdf2f8);
}

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

.section-heading h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.04em;
}

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

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rose);
  font-weight: 800;
}

.section-link span {
  transition: transform 0.2s ease;
}

.section-link:hover span {
  transform: translateX(4px);
}

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

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

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

.movie-card.is-hidden,
.rank-item.is-hidden {
  display: none;
}

.movie-link {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-link:hover {
  transform: translateY(-8px);
  border-color: rgba(244, 63, 94, 0.35);
  box-shadow: var(--shadow-lg);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #fff;
}

.poster-frame img {
  transition: transform 0.35s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.72));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: rgba(244, 63, 94, 0.92);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  box-shadow: 0 18px 45px rgba(244, 63, 94, 0.38);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.year-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #fff;
  background: rgba(244, 63, 94, 0.94);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  left: 12px;
  right: auto;
  background: rgba(245, 158, 11, 0.96);
}

.card-body {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.card-title {
  color: var(--gray-900);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-link:hover .card-title {
  color: var(--rose);
}

.card-desc {
  min-height: 44px;
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--gray-500);
  font-size: 13px;
}

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

.category-card,
.category-overview-card a {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 180px;
  padding: 24px;
  color: var(--gray-900);
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::before,
.category-overview-card a::before,
.page-hero.category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.14), rgba(236, 72, 153, 0.06));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.category-card:hover,
.category-overview-card a:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-card:hover::before,
.category-overview-card a:hover::before,
.page-hero.category-hero::before {
  opacity: 1;
}

.category-icon {
  position: relative;
  z-index: 1;
  font-size: 34px;
}

.category-card strong,
.category-overview-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 20px;
}

.category-card small,
.category-overview-card p {
  position: relative;
  z-index: 1;
  color: var(--gray-500);
}

.sample-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sample-links span {
  color: var(--rose);
  background: #fff1f2;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
}

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

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

.rank-item a {
  display: grid;
  grid-template-columns: auto 82px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 118px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.rank-item img {
  width: 82px;
  height: 96px;
  border-radius: 16px;
  background: #fff;
}

.list-rank {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  border-radius: 12px;
  font-weight: 900;
}

.rank-item strong {
  display: block;
  color: var(--gray-900);
  font-size: 16px;
  line-height: 1.35;
}

.rank-item small {
  display: block;
  margin-top: 5px;
  color: var(--gray-500);
}

.cta-section {
  padding: 80px 16px;
  background: linear-gradient(135deg, var(--rose), var(--pink));
}

.cta-inner {
  width: min(880px, 100%);
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.cta-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.04em;
}

.cta-inner p {
  margin: 0 auto 30px;
  color: rgba(255,255,255,0.86);
  font-size: 18px;
}

.cta-inner a {
  color: var(--rose);
  background: #fff;
}

.page-hero {
  position: relative;
  padding: 100px 0 70px;
  background: linear-gradient(135deg, #fff1f2, #fff7ed);
  overflow: hidden;
}

.page-hero.small {
  padding: 76px 0 58px;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 20%;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.18);
  filter: blur(35px);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
}

.filter-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.filter-search-wrap {
  position: relative;
}

.filter-input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  outline: 0;
  padding: 0 54px 0 20px;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-input:focus {
  border-color: rgba(244, 63, 94, 0.6);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.08);
}

.filter-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rose);
  font-weight: 900;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  min-height: 38px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  color: var(--gray-700);
  background: #fff;
  padding: 0 15px;
  cursor: pointer;
  font-weight: 750;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  border-color: transparent;
}

.detail-hero {
  position: relative;
  min-height: 520px;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(15,23,42,0.95), rgba(15,23,42,0.62), rgba(15,23,42,0.9)), var(--detail-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(3px);
}

.detail-head {
  position: relative;
  z-index: 1;
  padding: 44px 0 60px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

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

.detail-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 44px;
  align-items: end;
}

.detail-title-row h1,
.detail-title-row p {
  color: #fff;
}

.detail-title-row p {
  color: rgba(255,255,255,0.78);
}

.detail-cover {
  width: 260px;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  box-shadow: 0 32px 70px rgba(0,0,0,0.38);
  background: rgba(255,255,255,0.08);
}

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

.detail-main-section {
  padding-top: 38px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.detail-main,
.detail-sidebar {
  display: grid;
  gap: 24px;
}

.player-card,
.detail-block,
.info-card {
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.video-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  gap: 8px;
  width: 150px;
  height: 150px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(244, 63, 94, 0.88);
  box-shadow: 0 28px 70px rgba(244, 63, 94, 0.42);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.video-play-button:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.video-play-button span {
  font-size: 34px;
  line-height: 1;
}

.video-play-button strong {
  font-size: 15px;
}

.video-play-button.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.detail-block {
  padding: 28px;
}

.detail-block h2,
.info-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

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

.info-card {
  padding: 24px;
}

.info-card dl {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}

.info-card div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.info-card dt {
  color: var(--gray-500);
}

.info-card dd {
  margin: 0;
  color: var(--gray-900);
  font-weight: 750;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-inner {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  padding: 54px 0 34px;
}

.footer-inner p {
  max-width: 540px;
  color: #9ca3af;
}

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

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

.footer-bottom {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  color: #9ca3af;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
}

.from-blue::before {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(6, 182, 212, 0.08));
}

.from-rose::before,
.from-pink::before {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.16), rgba(236, 72, 153, 0.08));
}

.from-violet::before {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(124, 58, 237, 0.08));
}

.from-amber::before,
.from-orange::before {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(251, 146, 60, 0.08));
}

.from-red::before {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.16), rgba(244, 63, 94, 0.08));
}

.from-cyan::before {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.16), rgba(14, 165, 233, 0.08));
}

.from-slate::before {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.12), rgba(71, 85, 105, 0.06));
}

.from-emerald::before {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(5, 150, 105, 0.08));
}

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

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

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

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

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

  .hero-slider,
  .hero-slides {
    min-height: 760px;
  }

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

  .hero-overlay {
    inset: 220px 0 78px;
    width: 100%;
  }

  .hero-poster {
    width: min(300px, 82%);
  }

  .quick-search {
    display: grid;
  }

  .rank-strip,
  .rank-list,
  .detail-layout,
  .detail-title-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .detail-cover {
    width: min(260px, 70%);
  }
}

@media (max-width: 680px) {
  .container,
  .header-inner,
  .mobile-nav,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 24px, 1180px);
  }

  .brand-text {
    font-size: 20px;
  }

  .hero-copy h1,
  .hero-copy h2,
  .page-hero h1,
  .detail-title-row h1 {
    font-size: 38px;
  }

  .hero-copy p,
  .page-hero p,
  .detail-title-row p {
    font-size: 16px;
  }

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

  .card-body {
    padding: 13px;
  }

  .card-desc,
  .tag-row {
    display: none;
  }

  .rank-item a {
    grid-template-columns: 34px 70px 1fr;
    gap: 12px;
  }

  .rank-item img {
    width: 70px;
    height: 88px;
  }

  .video-play-button {
    width: 112px;
    height: 112px;
  }

  .detail-block,
  .info-card {
    padding: 20px;
  }
}
