:root {
  --page-bg: #f8fafc;
  --text: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --card: #ffffff;
  --red: #dc2626;
  --orange: #f97316;
  --blue: #2563eb;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--page-bg);
  font-family: -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.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.25);
}

.brand-name,
.footer-brand {
  font-size: 24px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 700;
}

.main-nav > a,
.nav-dropdown > a {
  color: #334155;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
}

.nav-dropdown {
  position: relative;
  padding: 22px 0;
}

.dropdown-panel {
  position: absolute;
  top: 64px;
  left: 0;
  width: 190px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

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

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  color: #475569;
  border-radius: 10px;
}

.dropdown-panel a:hover {
  color: var(--red);
  background: #fff1f2;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-search input,
.mobile-menu input,
.big-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 260px;
  padding: 11px 16px;
}

.header-search input:focus,
.mobile-menu input:focus,
.big-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.header-search button,
.mobile-menu button,
.big-search button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-menu-toggle {
  display: none;
  border: 0;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 22px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

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

.mobile-menu form {
  display: flex;
  gap: 8px;
}

.mobile-menu input {
  padding: 11px 14px;
}

.mobile-menu a {
  padding: 10px 4px;
  font-weight: 700;
  color: #334155;
}

.hero-slider {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(249, 115, 22, 0.2), transparent 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 47%, rgba(0, 0, 0, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  align-items: center;
  padding: 72px 0 92px;
}

.hero-copy {
  max-width: 760px;
  color: #fff;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.section-kicker {
  color: var(--red);
  background: #fff1f2;
}

.section-kicker.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero p,
.detail-copy p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.8;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 18px;
}

.hero-meta span,
.detail-meta span {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.hero-tags,
.media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.media-tags span {
  padding: 6px 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.media-tags span {
  color: #64748b;
  background: #f1f5f9;
}

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

.primary-button,
.ghost-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  min-height: 48px;
  padding: 0 26px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.primary-button:hover,
.ghost-button:hover,
.outline-button:hover {
  transform: translateY(-2px);
}

.primary-button.light {
  color: var(--red);
  background: #fff;
  box-shadow: 0 14px 32px rgba(255, 255, 255, 0.24);
}

.ghost-button {
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
}

.outline-button {
  min-height: 42px;
  padding: 0 20px;
  color: var(--red);
  border: 1px solid rgba(220, 38, 38, 0.28);
  background: #fff;
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.35);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  height: 44px;
  color: #fff;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.56);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  border-radius: 999px;
  font-size: 38px;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
  transition: 0.2s ease;
}

.hero-dot.active {
  width: 34px;
  background: #fff;
}

.content-section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

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

.section-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  line-height: 1.8;
}

.section-more {
  flex: none;
  color: var(--red);
  font-weight: 800;
}

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

.media-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(226, 232, 240, 0.78);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.media-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 38, 38, 0.28);
  box-shadow: var(--soft-shadow);
}

.media-card-link {
  display: block;
  height: 100%;
}

.media-cover {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #334155);
}

.media-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.duration-badge,
.play-mark {
  position: absolute;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.duration-badge {
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  font-size: 12px;
}

.play-mark {
  left: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
}

.media-info {
  padding: 14px;
}

.media-info h3 {
  display: -webkit-box;
  min-height: 44px;
  margin: 8px 0 8px;
  overflow: hidden;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.media-info p {
  display: -webkit-box;
  min-height: 42px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.media-meta-line,
.media-score {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #64748b;
  font-size: 12px;
}

.media-score {
  justify-content: space-between;
  color: #f59e0b;
  font-weight: 800;
}

.media-card-horizontal .media-card-link {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
}

.wide-cover img {
  aspect-ratio: 16 / 10;
}

.media-card-horizontal .media-info h3 {
  min-height: auto;
  font-size: 20px;
  -webkit-line-clamp: 1;
}

.media-card-horizontal .media-info p {
  -webkit-line-clamp: 2;
}

.rank-entry {
  width: min(1240px, calc(100% - 32px));
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 30px;
  box-shadow: 0 26px 56px rgba(220, 38, 38, 0.24);
}

.rank-entry h2 {
  margin: 12px 0;
  font-size: clamp(30px, 5vw, 52px);
}

.rank-entry p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
}

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

.category-tile {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--soft-shadow);
}

.category-tile-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.category-tile-images img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.category-tile h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.category-tile p {
  min-height: 68px;
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.category-tile span {
  color: var(--red);
  font-weight: 800;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
}

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

.hot-panel {
  position: sticky;
  top: 90px;
  align-self: start;
  padding: 24px;
  background: #111827;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.hot-panel h2 {
  margin: 0 0 18px;
  color: #fff;
}

.hot-panel a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  color: #e5e7eb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hot-panel span {
  color: #f97316;
  font-weight: 900;
}

.hot-panel strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-panel em {
  color: #fbbf24;
  font-style: normal;
  font-weight: 800;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 12px;
  margin-bottom: 18px;
}

.category-filter {
  grid-template-columns: minmax(260px, 1fr) 150px 150px 180px 160px;
}

.filter-bar input,
.filter-bar select {
  padding: 12px 14px;
  color: #334155;
}

.result-count {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.page-hero,
.detail-hero {
  position: relative;
  color: #fff;
  background: #111827;
  overflow: hidden;
}

.page-hero {
  padding: 80px 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(249, 115, 22, 0.3), transparent 32%),
    linear-gradient(135deg, #0f172a, #1e293b 56%, #7f1d1d);
}

.page-hero > div {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.compact-hero,
.category-hero,
.search-hero,
.rank-hero {
  min-height: 300px;
  display: grid;
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

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

.category-overview-grid {
  display: grid;
  gap: 22px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
}

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.category-cover-stack img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  border-radius: 16px;
}

.category-overview-body span {
  color: var(--red);
  font-weight: 800;
}

.category-overview-body h2 {
  margin: 10px 0;
  font-size: 30px;
}

.category-overview-body p {
  color: var(--muted);
  line-height: 1.8;
}

.mini-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
}

.mini-link-list a {
  padding: 8px 12px;
  color: #475569;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 13px;
}

.rank-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 26px;
}

.rank-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  color: #fff;
  border-radius: 28px;
  background: #111827;
  box-shadow: var(--shadow);
}

.rank-feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.rank-feature-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
}

.rank-feature-card span,
.rank-feature-card em {
  color: #fbbf24;
  font-style: normal;
  font-weight: 900;
}

.rank-feature-card h2 {
  margin: 12px 0;
  font-size: 30px;
}

.rank-feature-card p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.rank-table {
  display: grid;
  gap: 10px;
}

.rank-row {
  display: grid;
  grid-template-columns: 64px 72px minmax(0, 1fr) 90px 120px 120px 80px;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.rank-row img {
  width: 72px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.rank-number {
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
}

.rank-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row em {
  color: #f59e0b;
  font-style: normal;
  font-weight: 900;
}

.big-search {
  display: flex;
  width: min(760px, 100%);
  gap: 12px;
  margin-top: 28px;
}

.big-search input {
  padding: 16px 20px;
  font-size: 16px;
}

.big-search button {
  padding: 0 28px;
}

.detail-hero {
  min-height: 600px;
  background-position: center;
  background-size: cover;
}

.detail-hero-mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(249, 115, 22, 0.24), transparent 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.28));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 80px;
}

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

.detail-poster {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-copy h1 {
  max-width: 850px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.68));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-play-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(220, 38, 38, 0.32);
  font-size: 34px;
}

.player-overlay strong {
  font-size: 24px;
}

.player-overlay em {
  color: rgba(255, 255, 255, 0.74);
  font-style: normal;
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: none;
  padding: 12px 14px;
  color: #fff;
  background: rgba(15, 23, 42, 0.82);
  border-radius: 14px;
}

.player-message.show {
  display: block;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  margin-top: 34px;
}

.detail-article,
.detail-aside {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
}

.detail-article h2,
.detail-aside h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.detail-article p {
  margin: 0 0 26px;
  color: #334155;
  line-height: 2;
  font-size: 16px;
}

.detail-aside dl {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px 16px;
  margin: 0;
}

.detail-aside dt {
  color: #94a3b8;
  font-weight: 800;
}

.detail-aside dd {
  margin: 0;
  color: #334155;
  line-height: 1.6;
}

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

.site-footer {
  margin-top: 50px;
  color: #cbd5e1;
  background: #0f172a;
}

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

.footer-inner p {
  max-width: 620px;
  color: #94a3b8;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 28px;
}

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

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

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

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

  .hot-panel {
    position: static;
  }

  .hero-content {
    grid-template-columns: 1fr 260px;
  }

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

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

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

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

  .hero-content,
  .detail-layout,
  .category-overview-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

  .media-card-horizontal .media-card-link,
  .rank-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .media-card-horizontal .wide-cover img {
    aspect-ratio: 2 / 3;
  }

  .rank-row span:not(.rank-number),
  .rank-row em {
    display: none;
  }

  .rank-feature-grid,
  .category-grid,
  .filter-bar,
  .category-filter {
    grid-template-columns: 1fr;
  }

  .rank-entry,
  .section-head,
  .big-search {
    flex-direction: column;
    align-items: flex-start;
  }

  .rank-entry {
    padding: 28px;
  }

  .hero-control {
    display: none;
  }
}

@media (max-width: 520px) {
  .header-inner {
    height: 62px;
  }

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

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

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 36px;
  }

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

  .media-info {
    padding: 12px;
  }

  .media-info h3 {
    font-size: 15px;
  }

  .category-cover-stack {
    grid-template-columns: repeat(2, 1fr);
  }
}
