:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-500: #ec4899;
  --amber-50: #fffbeb;
  --amber-400: #f59e0b;
  --blue-50: #eff6ff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-md: 0 10px 30px rgba(17, 24, 39, 0.08);
  --shadow-xl: 0 22px 50px rgba(244, 63, 94, 0.18);
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 18px rgba(17, 24, 39, 0.08);
}

.top-nav {
  max-width: 1280px;
  height: 68px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  box-shadow: 0 12px 25px rgba(244, 63, 94, 0.28);
  font-size: 14px;
}

.brand-text {
  font-size: 22px;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  color: var(--gray-700);
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--rose-500);
}

.nav-search {
  width: 260px;
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  overflow: hidden;
}

.nav-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 10px 0 10px 18px;
  color: var(--gray-700);
}

.nav-search button {
  border: 0;
  background: transparent;
  color: var(--rose-500);
  width: 44px;
  cursor: pointer;
  font-size: 22px;
}

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

.mobile-nav {
  border-top: 1px solid var(--gray-200);
  padding: 14px 20px 20px;
  background: var(--white);
}

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--gray-700);
  font-weight: 600;
}

.mobile-link:hover,
.mobile-link.active {
  background: var(--rose-50);
  color: var(--rose-500);
}

.mobile-search {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.mobile-search input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 11px 16px;
}

.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--white);
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
}

main {
  overflow: hidden;
}

.section {
  padding: 84px 24px;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

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

.section-title {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
}

.section-subtitle {
  margin: 0;
  color: var(--gray-600);
  font-size: 17px;
}

.more-link {
  color: var(--rose-500);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 116px 24px 54px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fff1f2 0%, #fff7ed 45%, #fdf2f8 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 12% 18%, rgba(244, 63, 94, 0.16), transparent 32%), radial-gradient(circle at 80% 35%, rgba(236, 72, 153, 0.13), transparent 34%), radial-gradient(circle at 55% 88%, rgba(245, 158, 11, 0.12), transparent 34%);
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  mix-blend-mode: multiply;
  filter: blur(34px);
  opacity: 0.42;
  animation: blob 8s infinite ease-in-out;
}

.blob-one {
  top: 9%;
  left: 8%;
  background: #fda4af;
}

.blob-two {
  top: 22%;
  right: 9%;
  background: #f9a8d4;
  animation-delay: 2s;
}

.blob-three {
  bottom: 5%;
  left: 28%;
  background: #fcd34d;
  animation-delay: 4s;
}

@keyframes blob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(28px, -34px) scale(1.08);
  }
  66% {
    transform: translate(-24px, 26px) scale(0.96);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-500), var(--amber-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  margin: 0 0 28px;
  max-width: 720px;
  color: var(--gray-700);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--rose-600);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-md);
  font-weight: 800;
  margin-bottom: 20px;
}

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

.btn-primary,
.btn-ghost,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 50px;
  padding: 0 26px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
  box-shadow: 0 16px 34px rgba(244, 63, 94, 0.25);
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-ghost {
  color: var(--rose-500);
  background: var(--white);
  border: 2px solid var(--rose-500);
}

.btn-light {
  color: var(--gray-900);
  background: rgba(255, 255, 255, 0.82);
}

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

.hero-cats a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--rose-600);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(244, 63, 94, 0.12);
  font-weight: 700;
}

.hero-panel {
  position: relative;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 32px 80px rgba(244, 63, 94, 0.22);
  padding: 18px;
  backdrop-filter: blur(18px);
}

.hero-slider {
  position: relative;
  min-height: 620px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--gray-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

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

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.12) 55%, rgba(17, 24, 39, 0.06));
}

.hero-slide-content {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 30px;
  color: var(--white);
}

.hero-slide-content h2 {
  margin: 10px 0 10px;
  font-size: 32px;
  line-height: 1.15;
}

.hero-slide-content p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.86);
}

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

.slide-meta span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 700;
}

.hero-dots {
  position: absolute;
  z-index: 5;
  left: 34px;
  top: 34px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.hero-dot.active {
  width: 28px;
  background: var(--white);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.stat-card {
  border-radius: 22px;
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--rose-500);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card span {
  color: var(--gray-600);
  font-weight: 700;
}

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

.bg-amber {
  background: linear-gradient(135deg, var(--amber-50), var(--rose-50));
}

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

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

.movie-card {
  min-width: 0;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.poster-link {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: block;
  background: linear-gradient(135deg, var(--rose-100), #fdf2f8);
}

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

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

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--white);
  background: var(--rose-500);
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  padding: 20px;
}

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

.card-meta strong {
  color: var(--amber-400);
  font-size: 15px;
}

.movie-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h2 a:hover {
  color: var(--rose-500);
}

.movie-card p {
  margin: 0 0 14px;
  color: var(--gray-600);
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--rose-600);
  background: var(--rose-50);
  font-size: 12px;
  font-weight: 700;
}

.compact-strip {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 4px 24px 20px;
  scroll-snap-type: x mandatory;
}

.compact-card {
  position: relative;
  flex: 0 0 250px;
  height: 330px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  scroll-snap-align: start;
  background: var(--gray-900);
}

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

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

.compact-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.78), transparent 65%);
}

.compact-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: var(--white);
}

.compact-info strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.compact-info small {
  color: rgba(255, 255, 255, 0.78);
}

.rank-num {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--rose-500);
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(244, 63, 94, 0.3);
}

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

.category-card {
  position: relative;
  min-height: 210px;
  padding: 28px;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  right: -56px;
  top: -56px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.18), rgba(236, 72, 153, 0.14));
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.category-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.category-card p {
  margin: 0 0 22px;
  color: var(--gray-600);
}

.category-card span {
  color: var(--rose-500);
  font-weight: 800;
}

.page-hero {
  padding: 132px 24px 64px;
  background: linear-gradient(135deg, var(--rose-50), #fff7ed, #fdf2f8);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-500);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--rose-500);
  font-weight: 700;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.05;
}

.page-hero p {
  max-width: 860px;
  margin: 0;
  color: var(--gray-600);
  font-size: 18px;
}

.filter-panel {
  margin-bottom: 34px;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 20px;
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(140px, 1fr));
  gap: 14px;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 12px 14px;
  outline: 0;
  color: var(--gray-700);
  background: var(--white);
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--rose-500);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.empty-state {
  display: none;
  border-radius: var(--radius-2xl);
  padding: 50px 24px;
  text-align: center;
  background: var(--rose-50);
  color: var(--gray-600);
  font-weight: 800;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rank-row:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.rank-poster {
  position: relative;
  height: 210px;
  background: var(--rose-50);
}

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

.rank-poster span {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--rose-500);
  font-weight: 900;
  font-size: 20px;
}

.rank-content {
  padding: 22px 24px 22px 0;
}

.rank-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--rose-500);
  font-weight: 800;
  margin-bottom: 8px;
}

.rank-content h2 {
  margin: 0 0 8px;
  font-size: 25px;
}

.rank-content h2 a:hover {
  color: var(--rose-500);
}

.rank-content p {
  color: var(--gray-600);
  margin: 0 0 14px;
}

.detail-wrap {
  padding: 126px 24px 84px;
  background: linear-gradient(135deg, var(--rose-50), #ffffff 42%, #fdf2f8);
}

.detail-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.detail-panel {
  display: grid;
  grid-template-columns: 410px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  border-radius: 34px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 32px 80px rgba(244, 63, 94, 0.14);
  backdrop-filter: blur(16px);
}

.detail-poster {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--rose-50);
}

.detail-poster img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.detail-info h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.detail-desc {
  margin: 0 0 22px;
  color: var(--gray-700);
  font-size: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.detail-meta span,
.detail-meta strong {
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--white);
  color: var(--gray-700);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
  font-weight: 800;
}

.detail-meta strong {
  color: var(--amber-400);
}

.summary-box {
  border-radius: 22px;
  background: var(--rose-50);
  padding: 22px;
  color: var(--gray-700);
  margin: 24px 0;
}

.summary-box h2 {
  margin: 0 0 10px;
  color: var(--gray-900);
}

.summary-box p {
  margin: 0;
}

.player-section {
  margin-top: 36px;
  border-radius: 34px;
  padding: 26px;
  background: var(--gray-900);
  box-shadow: 0 34px 80px rgba(17, 24, 39, 0.32);
  color: var(--white);
}

.player-section h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #020617;
}

.watch-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
  cursor: pointer;
}

.play-mask {
  position: absolute;
  inset: 0;
  border: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.58), rgba(244, 63, 94, 0.2));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-mask span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  box-shadow: 0 18px 42px rgba(244, 63, 94, 0.35);
  font-size: 34px;
  padding-left: 5px;
}

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

.article-content {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 28px;
}

.article-card,
.related-card {
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.article-card h2,
.related-card h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

.article-card p {
  color: var(--gray-700);
  margin: 0 0 18px;
}

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

.related-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-radius: 18px;
  padding: 10px;
  background: var(--gray-50);
  transition: background 0.25s ease, transform 0.25s ease;
}

.related-item:hover {
  background: var(--rose-50);
  transform: translateX(4px);
}

.related-item img {
  width: 82px;
  height: 104px;
  border-radius: 14px;
  object-fit: cover;
}

.related-item strong {
  display: block;
  margin-bottom: 5px;
}

.related-item span {
  color: var(--gray-500);
  font-size: 13px;
}

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

.site-footer {
  background: linear-gradient(135deg, var(--rose-50), #fdf2f8);
  border-top: 1px solid var(--rose-100);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 58px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 38px;
}

.footer-brand p,
.site-footer p,
.site-footer a,
.site-footer li {
  color: var(--gray-600);
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a:hover {
  color: var(--rose-500);
}

.footer-bottom {
  border-top: 1px solid var(--rose-200);
  padding: 20px 24px;
  text-align: center;
  color: var(--gray-600);
}

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

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .hero-inner,
  .detail-panel,
  .article-content {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

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

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

@media (max-width: 820px) {
  .top-nav {
    height: 64px;
    padding: 0 16px;
  }

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

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-inner {
    gap: 32px;
  }

  .hero-slider {
    min-height: 480px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .section,
  .detail-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .grid-cards,
  .grid-cards.wide,
  .category-grid,
  .search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .poster-link {
    height: 240px;
  }

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

  .rank-row {
    grid-template-columns: 1fr;
  }

  .rank-poster {
    height: 280px;
  }

  .rank-content {
    padding: 0 20px 22px;
  }

  .detail-panel {
    padding: 16px;
  }

  .detail-poster img {
    height: auto;
    aspect-ratio: 3 / 4;
  }

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

@media (max-width: 520px) {
  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-slider {
    min-height: 430px;
  }

  .hero-slide-content h2 {
    font-size: 26px;
  }

  .grid-cards,
  .grid-cards.wide,
  .category-grid,
  .search-results {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .compact-card {
    flex-basis: 220px;
  }
}
