html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #fff7f0;
  color: #1f2937;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.top-ribbon {
  background: linear-gradient(90deg, #fb923c, #f472b6, #ef4444);
  color: #fff;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}

.nav-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #f97316);
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.28);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: #4b5563;
}

.desktop-nav a {
  padding: 0.7rem 0.8rem;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav .is-active {
  color: #db2777;
  background: #fff1f2;
}

.menu-button {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.75rem;
  background: #fff1f2;
  color: #db2777;
  font-size: 1.2rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 0.5rem 1rem 1rem;
  border-top: 1px solid #fee2e2;
  background: #fff;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0.75rem;
  border-radius: 0.75rem;
  color: #374151;
  font-weight: 700;
}

.mobile-nav a:hover {
  background: #fff7ed;
  color: #ea580c;
}

.mobile-nav.is-open {
  display: block;
}

.hero-section {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: linear-gradient(135deg, #fce7f3 0%, #fff7ed 52%, #fef3c7 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 680px;
  margin: 0 auto;
  padding: 4rem 1rem 6rem;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 4rem 1rem 6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 3rem;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

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

.hero-pill,
.section-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #7c2d12;
  box-shadow: 0 10px 30px rgba(251, 146, 60, 0.14);
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
  margin: 0 0 1.35rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #111827;
}

.hero-copy h1:first-line {
  background: linear-gradient(90deg, #db2777, #f97316, #eab308);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy h1 span {
  color: #1f2937;
}

.hero-copy p {
  max-width: 720px;
  color: #4b5563;
  font-size: 1.18rem;
  line-height: 1.85;
  margin-bottom: 1.4rem;
}

.hero-tags,
.tag-row,
.footer-tags,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-tags span,
.tag-row span,
.footer-tags a,
.social-row span {
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  background: #fff;
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.08);
}

.hero-actions,
.center-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.primary-button,
.ghost-button,
.white-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: all 0.28s ease;
}

.primary-button {
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  color: #fff;
  background: linear-gradient(90deg, #ec4899, #f97316);
  box-shadow: 0 16px 35px rgba(236, 72, 153, 0.26);
}

.primary-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 45px rgba(236, 72, 153, 0.35);
}

.ghost-button {
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  color: #374151;
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.ghost-button:hover {
  transform: translateY(-2px);
  color: #db2777;
}

.hero-poster {
  position: relative;
  min-height: 500px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(124, 45, 18, 0.28);
  transform: rotate(2deg);
  background: linear-gradient(135deg, #fff, #fed7aa);
}

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

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

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(17, 24, 39, 0.82));
  z-index: 1;
}

.hero-poster-caption {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 2;
  color: #fff;
}

.hero-poster-caption strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.hero-poster-caption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.hero-controls {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 2.2rem;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.hero-arrow {
  width: 2.7rem;
  height: 2.7rem;
  border: 0;
  border-radius: 999px;
  color: #db2777;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hero-dot {
  width: 0.7rem;
  height: 0.7rem;
  border: 0;
  border-radius: 999px;
  background: rgba(219, 39, 119, 0.24);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot.is-active {
  width: 2.2rem;
  background: linear-gradient(90deg, #ec4899, #f97316);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(56px);
  opacity: 0.16;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

.hero-glow-one {
  width: 14rem;
  height: 14rem;
  top: 4rem;
  left: 6rem;
  background: #ec4899;
}

.hero-glow-two {
  width: 18rem;
  height: 18rem;
  right: 8rem;
  bottom: 8rem;
  background: #f97316;
  animation-delay: 0.9s;
}

.hero-glow-three {
  width: 14rem;
  height: 14rem;
  left: 45%;
  top: 45%;
  background: #eab308;
  animation-delay: 0.45s;
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9rem;
  background: linear-gradient(180deg, transparent, #fff);
}

@keyframes pulseGlow {
  from {
    transform: translate3d(0, 0, 0) scale(0.95);
  }
  to {
    transform: translate3d(1rem, -0.5rem, 0) scale(1.06);
  }
}

.stats-section,
.content-section {
  background: #fff;
}

.stats-grid,
.footer-grid,
.movie-grid,
.category-grid,
.category-overview-grid,
.detail-content,
.ranking-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.stat-card {
  text-align: center;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
  padding: 2rem 1rem;
  box-shadow: 0 16px 35px rgba(249, 115, 22, 0.08);
  transition: transform 0.28s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-card strong {
  display: block;
  font-size: 2.2rem;
  color: #111827;
  margin-bottom: 0.35rem;
}

.stat-card span {
  color: #6b7280;
  font-weight: 700;
}

.content-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.soft-bg {
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #1f2937;
  font-weight: 900;
}

.section-heading p {
  color: #6b7280;
  line-height: 1.8;
  font-size: 1.02rem;
}

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

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

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

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-0.45rem);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f4f6, #fff7ed);
}

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

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

.poster-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.28s ease;
}

.movie-card:hover .poster-link::after {
  background: rgba(0, 0, 0, 0.2);
}

.play-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  transform: translate(-50%, -50%) scale(0.78);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #ec4899;
  opacity: 0;
  transition: all 0.28s ease;
}

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

.region-chip,
.year-chip,
.rank-badge {
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  border-radius: 0.5rem;
  padding: 0.28rem 0.55rem;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
}

.region-chip {
  left: 0.75rem;
  background: #ec4899;
}

.year-chip {
  right: 0.75rem;
  background: rgba(17, 24, 39, 0.68);
  backdrop-filter: blur(6px);
}

.rank-badge {
  top: auto;
  bottom: 0.75rem;
  left: 0.75rem;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.card-body {
  padding: 1rem;
}

.card-body h3 {
  margin: 0 0 0.55rem;
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.card-body h3 a:hover {
  color: #db2777;
}

.card-body p {
  margin: 0 0 0.7rem;
  min-height: 2.9rem;
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.65;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: #9ca3af;
  font-size: 0.78rem;
  font-weight: 800;
}

.tag-row {
  margin-top: 0.75rem;
}

.tag-row span {
  padding: 0.25rem 0.55rem;
  color: #be123c;
  background: #fff1f2;
  box-shadow: none;
}

.compact-card .card-body {
  padding: 0.85rem;
}

.compact-card .card-body p {
  min-height: 2.65rem;
  font-size: 0.82rem;
}

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

.category-tile,
.category-overview-card,
.article-card,
.detail-side-card,
.ranking-sidebar,
.filter-panel {
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.category-tile {
  padding: 1.35rem;
  min-height: 10rem;
  background: linear-gradient(135deg, #fff, #fff7ed);
  transition: all 0.28s ease;
}

.category-tile:hover {
  transform: translateY(-0.35rem);
  box-shadow: 0 26px 60px rgba(249, 115, 22, 0.18);
}

.category-tile span {
  display: block;
  color: #1f2937;
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 0.7rem;
}

.category-tile p {
  color: #6b7280;
  line-height: 1.75;
  font-size: 0.9rem;
}

.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #db2777, #f97316);
  color: #fff;
  padding: 5.5rem 1rem;
  text-align: center;
}

.cta-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 900;
}

.cta-section p {
  max-width: 680px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.white-button {
  padding: 0.9rem 1.7rem;
  color: #db2777;
  background: #fff;
  box-shadow: 0 18px 45px rgba(255, 255, 255, 0.25);
}

.page-hero {
  background: linear-gradient(135deg, #ec4899, #f97316);
  color: #fff;
  padding: 4.8rem 1rem;
}

.page-hero > div {
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.filter-panel {
  max-width: 1280px;
  margin: 0 auto 2rem;
  padding: 1rem;
}

.single-search {
  max-width: 820px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 0 1rem;
  background: #fff;
}

.search-box span {
  color: #9ca3af;
  font-size: 1.4rem;
}

.search-box input {
  width: 100%;
  height: 3.4rem;
  border: 0;
  outline: 0;
  color: #1f2937;
  font-size: 1rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.filter-button {
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  color: #4b5563;
  background: #f9fafb;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: #fff;
  background: linear-gradient(90deg, #ec4899, #f97316);
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.2);
}

.empty-state {
  display: none;
  max-width: 1280px;
  margin: 2rem auto 0;
  padding: 2rem;
  border-radius: 1.5rem;
  background: #fff;
  color: #6b7280;
  text-align: center;
  font-weight: 800;
}

.empty-state.is-visible {
  display: block;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem;
  align-items: center;
}

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.category-cover-stack img {
  aspect-ratio: 3 / 4;
  width: 100%;
  border-radius: 0.8rem;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.category-overview-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.55rem;
  font-weight: 900;
  color: #111827;
}

.category-overview-card p {
  color: #6b7280;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.text-link {
  color: #db2777;
  font-size: 0.95rem;
}

.text-link:hover {
  color: #ea580c;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}

.ranking-sidebar {
  position: sticky;
  top: 6.5rem;
  padding: 1.25rem;
}

.ranking-sidebar h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 900;
}

.ranking-row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid #f3f4f6;
}

.ranking-row strong {
  color: #f97316;
  font-size: 1.05rem;
}

.ranking-row span {
  color: #1f2937;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-row em {
  grid-column: 2;
  color: #9ca3af;
  font-size: 0.78rem;
  font-style: normal;
}

.detail-hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.detail-bg,
.detail-overlay {
  position: absolute;
  inset: 0;
}

.detail-bg {
  background-position: center;
  background-size: cover;
  filter: blur(18px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.55;
}

.detail-overlay {
  background: linear-gradient(110deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.62), rgba(190, 24, 93, 0.34));
}

.detail-head {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 1rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 1.6rem;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.detail-info h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.detail-line {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  line-height: 1.9;
  margin-bottom: 1.4rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.detail-meta span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.45rem 0.78rem;
  font-size: 0.88rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.detail-tags span {
  color: #fff;
  background: rgba(236, 72, 153, 0.55);
}

.player-section {
  background: #111827;
  padding: 3rem 1rem;
}

.player-shell {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #000;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 9;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45));
  cursor: pointer;
}

.play-overlay span {
  width: 5.8rem;
  height: 5.8rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.35rem;
  background: linear-gradient(135deg, #ec4899, #f97316);
  color: #fff;
  font-size: 2.1rem;
  box-shadow: 0 22px 60px rgba(236, 72, 153, 0.4);
  transition: transform 0.25s ease;
}

.play-overlay:hover span {
  transform: scale(1.08);
}

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

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}

.article-card,
.detail-side-card {
  padding: 2rem;
}

.article-card h2,
.detail-side-card h2 {
  margin: 0 0 1rem;
  color: #1f2937;
  font-size: 1.55rem;
  font-weight: 900;
}

.article-card p {
  margin: 0 0 1.5rem;
  color: #4b5563;
  line-height: 2;
  font-size: 1.03rem;
}

.detail-side-card {
  position: sticky;
  top: 6.5rem;
}

.detail-side-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.85rem 1rem;
}

.detail-side-card dt {
  color: #9ca3af;
  font-weight: 800;
}

.detail-side-card dd {
  margin: 0;
  color: #374151;
  font-weight: 800;
}

.detail-side-card a {
  color: #db2777;
}

.site-footer {
  background: #111827;
  color: #d1d5db;
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 1rem;
  color: #fff;
  font-weight: 900;
}

.site-footer h3 {
  font-size: 1.45rem;
  background: linear-gradient(90deg, #f472b6, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-footer p {
  color: #9ca3af;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.65rem;
}

.site-footer a:hover {
  color: #f472b6;
}

.footer-tags a,
.social-row span {
  background: #1f2937;
  color: #d1d5db;
  box-shadow: none;
}

.copyright {
  border-top: 1px solid #1f2937;
  padding: 1.3rem 1rem;
  color: #9ca3af;
  text-align: center;
  font-size: 0.9rem;
}

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

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-poster {
    display: none;
  }

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

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

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

  .ranking-sidebar,
  .detail-side-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .top-ribbon {
    font-size: 0.78rem;
  }

  .nav-shell {
    height: 4rem;
  }

  .brand {
    font-size: 1.1rem;
  }

  .hero-section,
  .hero-inner {
    min-height: 620px;
  }

  .hero-inner {
    padding-top: 3rem;
  }

  .hero-slide {
    inset: 3rem 1rem 6rem;
  }

  .hero-copy h1 {
    font-size: 3.15rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .stats-grid,
  .movie-grid,
  .catalog-grid,
  .ranking-grid,
  .related-grid,
  .category-grid,
  .category-overview-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    gap: 0.85rem;
  }

  .stat-card {
    padding: 1.35rem 0.75rem;
  }

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

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

  .detail-poster {
    max-width: 240px;
  }

  .article-card,
  .detail-side-card {
    padding: 1.35rem;
  }
}

@media (max-width: 520px) {
  .movie-grid,
  .catalog-grid,
  .ranking-grid,
  .related-grid,
  .category-grid,
  .category-overview-grid,
  .footer-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .compact-card .poster-link {
    aspect-ratio: 3 / 4;
    height: 100%;
  }

  .compact-card .tag-row {
    display: none;
  }

  .detail-info h1 {
    font-size: 2.35rem;
  }

  .player-section {
    padding: 1.5rem 0.75rem;
  }
}
