:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #dbeafe;
  --orange: #f97316;
  --green: #16a34a;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  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.94);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-weight: 800;
  font-size: 22px;
  white-space: nowrap;
}

.brand-icon,
.footer-brand span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

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

.desktop-nav a,
.mobile-panel nav a {
  color: #334155;
  font-weight: 650;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-panel nav a:hover,
.mobile-panel nav a.is-active {
  color: var(--brand);
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 250px;
}

.nav-search input,
.mobile-panel input,
.search-panel input,
.filter-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 44px 10px 16px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input:focus,
.mobile-panel input:focus,
.search-panel input:focus,
.filter-search input:focus,
.list-toolbar select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.nav-search button {
  position: absolute;
  right: 6px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--brand);
  background: transparent;
  cursor: pointer;
}

.menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #334155;
  font-size: 28px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 16px;
  background: #fff;
}

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

.mobile-panel form {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.mobile-panel form button,
.search-panel button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  padding: 10px 18px;
  cursor: pointer;
}

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

.hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.hero-stage {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.90), rgba(30, 64, 175, 0.70), rgba(15, 23, 42, 0.35));
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100% - 1180px) / 2));
  top: 50%;
  width: min(620px, calc(100% - 48px));
  transform: translateY(-50%);
  color: #fff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--brand);
  padding: 6px 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-content h1,
.hero-content h2 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.hero-content p {
  max-width: 580px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 26px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.30);
}

.btn.primary:hover {
  background: var(--brand-dark);
}

.btn.ghost {
  color: var(--brand);
  background: #fff;
}

.btn.full {
  width: 100%;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.30);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: #fff;
}

.hero-search-panel {
  width: min(1180px, calc(100% - 32px));
  margin: -44px auto 0;
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-search-panel form label {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 8px 4px;
}

.hero-search-panel form div {
  display: flex;
  gap: 10px;
}

.hero-search-panel input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  outline: none;
}

.hero-search-panel button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  padding: 0 24px;
  font-weight: 800;
  cursor: pointer;
}

.hero-search-panel > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 0 18px;
  font-weight: 800;
}

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

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

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.section-head h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
}

.section-action {
  color: var(--brand);
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.15);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}

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

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

.movie-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border-radius: 7px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
}

.movie-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: rgba(15, 23, 42, 0.0);
  opacity: 0;
  font-size: 42px;
  transition: opacity 0.22s ease, background 0.22s ease;
}

.movie-card:hover .movie-play {
  opacity: 1;
  background: rgba(15, 23, 42, 0.30);
}

.movie-info {
  padding: 16px;
}

.movie-title {
  display: -webkit-box;
  min-height: 48px;
  color: var(--text);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.4;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-title:hover {
  color: var(--brand);
}

.movie-desc {
  display: -webkit-box;
  height: 44px;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta,
.wide-meta,
.ranking-page-body div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
}

.movie-meta a,
.movie-meta span,
.wide-meta b,
.ranking-page-body div span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 3px 8px;
  font-style: normal;
  font-weight: 750;
}

.movie-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.movie-tags span,
.detail-tags span {
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
}

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

.category-tile {
  min-height: 148px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  padding: 24px;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.20);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:nth-child(2n) {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.category-tile:nth-child(3n) {
  background: linear-gradient(135deg, #0891b2, #2563eb);
}

.category-tile:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.26);
}

.category-tile strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 900;
}

.category-tile span {
  display: -webkit-box;
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 26px;
  align-items: start;
}

.wide-grid {
  display: grid;
  gap: 16px;
}

.wide-card {
  display: flex;
  gap: 16px;
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.wide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.wide-poster {
  position: relative;
  width: 190px;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: #e2e8f0;
}

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

.wide-poster em {
  position: absolute;
  right: 8px;
  bottom: 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  padding: 3px 8px;
  font-size: 12px;
  font-style: normal;
}

.wide-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.wide-content strong {
  display: -webkit-box;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wide-content small {
  display: -webkit-box;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wide-meta i {
  font-style: normal;
}

.ranking-box {
  position: sticky;
  top: 86px;
  border-radius: 22px;
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow);
}

.ranking-title {
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 900;
}

.rank-row {
  display: grid;
  grid-template-columns: 30px 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.rank-row:first-of-type {
  border-top: 0;
}

.rank-num {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
  font-size: 13px;
}

.rank-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 9px;
  background: #e2e8f0;
}

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

.rank-body {
  min-width: 0;
}

.rank-body strong,
.rank-body em {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.rank-body strong {
  color: var(--text);
  font-size: 14px;
  -webkit-line-clamp: 1;
}

.rank-body em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  -webkit-line-clamp: 1;
}

.rank-views {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.cta-band {
  margin-top: 58px;
  margin-bottom: 56px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  padding: 48px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.24);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
}

.cta-band p {
  width: min(720px, 100%);
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.82);
}

.page-main {
  padding-bottom: 56px;
}

.page-hero {
  margin-top: 34px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  padding: 42px;
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin: 12px 0 12px;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.12;
  font-weight: 900;
}

.page-hero p:last-child {
  width: min(760px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.80);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 750;
}

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

.list-toolbar,
.search-panel {
  margin-top: 28px;
  border-radius: 20px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.list-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.filter-search {
  flex: 1;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.list-toolbar select {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 14px;
  outline: none;
}

.filter-actions a {
  color: var(--brand);
  font-weight: 850;
}

.category-overview-list {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.category-overview-card {
  border-radius: 24px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}

.category-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.category-overview-head h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
}

.category-overview-head p {
  margin: 0;
  color: var(--muted);
}

.ranking-page-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.ranking-page-row {
  display: grid;
  grid-template-columns: 150px 52px minmax(0, 1fr) 88px;
  gap: 18px;
  align-items: center;
  border-radius: 20px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.ranking-page-poster {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #e2e8f0;
}

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

.ranking-page-num {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  font-size: 18px;
  font-weight: 900;
}

.ranking-page-body a {
  display: block;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
}

.ranking-page-body p {
  display: -webkit-box;
  margin: 6px 0 12px;
  color: var(--muted);
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ranking-page-row > strong {
  color: var(--brand);
  text-align: right;
}

.search-panel form {
  display: flex;
  gap: 12px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  margin-top: 32px;
}

.detail-main .breadcrumb {
  color: #64748b;
  margin-bottom: 18px;
}

.detail-main .breadcrumb a:hover {
  color: var(--brand);
}

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  background: #020617;
  box-shadow: var(--shadow);
}

.player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.18), rgba(2, 6, 23, 0.56));
  opacity: 1;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

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

.player-play-button {
  display: inline-flex;
  width: 82px;
  height: 82px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.28);
  font-size: 34px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.player-play-button:hover {
  transform: scale(1.08);
  background: #fff;
}

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

.detail-article h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  font-weight: 900;
}

.detail-one-line {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
}

.detail-article h2 {
  margin: 28px 0 10px;
  font-size: 24px;
  font-weight: 900;
}

.detail-article p {
  color: #334155;
  font-size: 16px;
  line-height: 1.9;
}

.detail-side {
  position: sticky;
  top: 86px;
  align-self: start;
  border-radius: 24px;
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow);
}

.detail-side img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  background: #e2e8f0;
}

.detail-side h2 {
  margin: 18px 0 14px;
  font-size: 24px;
  font-weight: 900;
}

.detail-side dl {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.detail-side dl div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.detail-side dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-side dd {
  margin: 0;
  color: var(--text);
  font-weight: 750;
}

.detail-side dd a {
  color: var(--brand);
}

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

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 46px 0;
}

.footer-brand {
  color: #fff;
  margin-bottom: 14px;
}

.site-footer p {
  margin: 0;
  color: #94a3b8;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 16px;
  color: #94a3b8;
  text-align: center;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.30);
  cursor: pointer;
  z-index: 30;
}

.back-top.is-visible {
  display: block;
}

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

  .menu-button {
    display: block;
  }

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

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

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

@media (max-width: 760px) {
  .nav-shell {
    height: 62px;
  }

  .brand {
    font-size: 19px;
  }

  .hero-stage {
    height: 520px;
  }

  .hero-content {
    left: 20px;
    width: calc(100% - 40px);
  }

  .hero-arrow {
    display: none;
  }

  .hero-search-panel {
    grid-template-columns: 1fr;
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }

  .hero-search-panel form div,
  .search-panel form,
  .mobile-panel form,
  .list-toolbar,
  .filter-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .movie-grid,
  .movie-grid.small-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .wide-card,
  .category-overview-head {
    flex-direction: column;
  }

  .wide-poster {
    width: 100%;
  }

  .page-hero,
  .cta-band,
  .detail-article {
    padding: 24px;
    border-radius: 22px;
  }

  .ranking-page-row {
    grid-template-columns: 96px 42px 1fr;
  }

  .ranking-page-row > strong {
    grid-column: 2 / 4;
    text-align: left;
  }

  .footer-grid {
    gap: 24px;
  }
}
