:root {
  --blue: #2563eb;
  --blue-2: #06b6d4;
  --teal: #14b8a6;
  --slate: #0f172a;
  --text: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --card: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(135deg, #f8fafc 0%, #eef6ff 55%, #effcff 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

.site-nav {
  max-width: 1240px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.28);
}

.brand-text {
  color: var(--blue);
  font-size: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 14px;
  color: #334155;
  border-radius: 12px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue);
  background: #eff6ff;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #eff6ff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 99px;
}

.mobile-menu {
  display: none;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 18px;
}

.mobile-menu a {
  display: block;
  padding: 12px 14px;
  color: #334155;
  border-radius: 12px;
  font-weight: 700;
}

.mobile-menu a:hover {
  color: var(--blue);
  background: #eff6ff;
}

.mobile-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.mobile-sub-link {
  background: #f8fafc;
}

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0 56px;
}

.home-shell {
  width: 100%;
  padding-top: 72px;
}

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

.hero-section {
  position: relative;
  min-height: 560px;
  margin-bottom: 64px;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 55%, #14b8a6 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.34), transparent 25%), linear-gradient(90deg, rgba(15, 23, 42, 0.46), rgba(15, 23, 42, 0.08));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-track {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

.eyebrow,
.page-hero span,
.search-hero span,
.section-title span,
.ranking-head span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: #075985;
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  margin: 18px 0 0;
  color: #dff9ff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
}

.hero-copy p {
  margin: 18px 0 0;
  max-width: 680px;
  color: #e0f2fe;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.tag-row,
.chip-row,
.hot-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

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

.primary-button,
.ghost-button,
.text-link,
.search-box 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 {
  padding: 14px 26px;
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

.primary-button:hover,
.ghost-button:hover,
.search-box button:hover {
  transform: translateY(-2px) scale(1.02);
}

.ghost-button {
  padding: 13px 25px;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(37, 99, 235, 0.22);
  backdrop-filter: blur(10px);
}

.hero-art {
  position: relative;
  display: block;
  width: min(420px, 100%);
  justify-self: end;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.34);
  transform: rotate(2deg);
}

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

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(15, 23, 42, 0.76));
  z-index: 1;
}

.hero-art-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.85);
  border-radius: 999px;
  font-weight: 800;
}

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

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-dot.is-active {
  background: #ffffff;
}

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

.section-title h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.section-title span {
  margin-bottom: 8px;
  color: var(--blue);
  background: #eff6ff;
}

.section-title a,
.text-link {
  color: var(--blue);
  font-weight: 800;
}

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

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

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

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

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dbeafe;
}

.movie-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .movie-cover img,
.compact-card:hover img,
.category-card:hover img,
.overview-card:hover img {
  transform: scale(1.08);
}

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(15, 23, 42, 0.64));
}

.cover-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 9px;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.88);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.play-dot {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.88);
  border-radius: 999px;
  font-size: 12px;
  box-shadow: 0 10px 20px rgba(8, 145, 178, 0.28);
}

.movie-info {
  padding: 14px;
}

.movie-title {
  display: -webkit-box;
  min-height: 48px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.movie-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f5f9;
}

.tag-row {
  margin-top: 10px;
}

.tag-row span {
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.movie-card-wide {
  display: grid;
  grid-template-columns: 44% 1fr;
  min-height: 260px;
}

.wide-cover img {
  height: 100%;
  aspect-ratio: auto;
}

.movie-card-wide .movie-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.movie-card-wide .movie-title {
  font-size: 21px;
  min-height: auto;
}

.movie-card-wide .movie-info p {
  min-height: auto;
  font-size: 15px;
  -webkit-line-clamp: 3;
}

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

.category-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 22px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.category-card img,
.category-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-gradient {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.85));
}

.category-card strong,
.category-card em {
  position: relative;
  z-index: 2;
}

.category-card strong {
  font-size: 24px;
  line-height: 1.2;
}

.category-card em {
  margin-top: 8px;
  font-style: normal;
  color: #e2e8f0;
  font-size: 14px;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.ranking-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.ranking-head h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.ranking-list {
  display: grid;
  gap: 12px;
}

.compact-card {
  position: relative;
  min-height: 116px;
  overflow: hidden;
  display: block;
  border-radius: 16px;
  color: #ffffff;
  background: #0f172a;
}

.compact-card img,
.compact-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.compact-shade {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.22));
}

.rank-num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.92);
  font-weight: 900;
}

.compact-title,
.compact-meta {
  position: absolute;
  left: 58px;
  right: 14px;
  z-index: 2;
}

.compact-title {
  bottom: 40px;
  font-weight: 900;
}

.compact-meta {
  bottom: 18px;
  color: #cbd5e1;
  font-size: 13px;
}

.page-hero,
.search-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 36px;
  padding: 44px;
  border-radius: 28px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2), var(--teal));
  box-shadow: var(--shadow);
}

.page-hero::after,
.search-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.36), transparent 24%);
}

.page-hero > *,
.search-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.search-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
}

.page-hero p,
.search-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #e0f2fe;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #64748b;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.filter-box,
.search-box {
  margin-top: 26px;
}

.filter-box input,
.search-box input {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.64);
  outline: none;
  border-radius: 18px;
  padding: 16px 18px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.14);
}

.chip-row {
  margin-top: 14px;
}

.chip-row button,
.hot-keywords button {
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  color: #075985;
  background: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.chip-row button:hover,
.hot-keywords button:hover {
  color: var(--blue);
  background: #ffffff;
}

.empty-state {
  padding: 32px;
  text-align: center;
  border-radius: 20px;
  color: #64748b;
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

.overview-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.overview-cover {
  overflow: hidden;
  min-height: 260px;
}

.overview-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.overview-body {
  padding: 26px;
}

.overview-body h2 {
  margin: 0;
  font-size: 26px;
}

.overview-body p {
  color: var(--muted);
}

.overview-links {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.overview-links a {
  color: #334155;
  font-weight: 700;
}

.overview-links a:hover {
  color: var(--blue);
}

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

.rank-feature-grid .compact-card {
  min-height: 220px;
}

.rank-table {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.rank-row {
  display: grid;
  grid-template-columns: 54px 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #eef2f7;
}

.rank-row:hover {
  background: #f8fafc;
}

.rank-row-num {
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}

.rank-row img {
  width: 72px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-row-main strong,
.rank-row-main em {
  display: block;
}

.rank-row-main strong {
  font-size: 18px;
}

.rank-row-main em {
  display: -webkit-box;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-row-meta {
  color: #475569;
  font-weight: 800;
  white-space: nowrap;
}

.search-hero {
  text-align: center;
}

.search-hero p {
  margin-right: auto;
  margin-left: auto;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
  width: min(760px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.search-box button {
  border: 0;
  color: var(--blue);
  background: #ffffff;
}

.hot-keywords {
  justify-content: center;
  margin-top: 18px;
}

.search-results {
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.result-head h2 {
  margin: 0;
  font-size: 28px;
}

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

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

.detail-shell {
  width: min(1240px, calc(100% - 32px));
}

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

.detail-main,
.detail-side {
  display: grid;
  gap: 22px;
}

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.16), rgba(2, 6, 23, 0.76));
}

.player-overlay.is-hidden {
  display: none;
}

.big-play {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.35);
  font-size: 28px;
}

.player-overlay strong {
  max-width: 80%;
  text-align: center;
  font-size: 22px;
}

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  padding: 12px 14px;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.82);
}

.detail-card,
.side-card {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.detail-card h1,
.detail-card h2,
.side-card h2 {
  margin: 0 0 14px;
  color: #0f172a;
  line-height: 1.22;
}

.detail-card h1 {
  font-size: clamp(30px, 4vw, 44px);
}

.detail-card h2,
.side-card h2 {
  font-size: 24px;
}

.lead-text {
  margin: 0 0 18px;
  padding-left: 16px;
  border-left: 4px solid var(--blue);
  color: #334155;
  font-size: 18px;
}

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

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #075985;
  background: #e0f2fe;
  font-weight: 800;
}

.large-tags span {
  padding: 8px 12px;
}

.review-card {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.poster-side {
  padding: 0;
  overflow: hidden;
}

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

.side-card dl {
  margin: 0;
}

.side-card div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid #eef2f7;
}

.side-card dt {
  color: var(--muted);
}

.side-card dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.side-card a {
  color: var(--blue);
}

.related-section {
  width: 100%;
  margin-top: 44px;
  margin-bottom: 0;
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
}

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

.footer-logo {
  color: #ffffff;
  font-size: 22px;
}

.footer-brand p {
  max-width: 540px;
  color: #94a3b8;
}

.footer-column h3 {
  margin: 0 0 12px;
  color: #ffffff;
}

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

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  color: #94a3b8;
  text-align: center;
  font-size: 14px;
}

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

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

  .two-column-section,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: relative;
    top: auto;
  }

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

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

  .mobile-toggle {
    display: inline-flex;
  }

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

  .hero-track,
  .hero-section {
    min-height: 720px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 36px;
  }

  .hero-art {
    width: min(280px, 78vw);
    justify-self: start;
    transform: rotate(0deg);
  }

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

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

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

  .movie-card-wide {
    grid-template-columns: 1fr;
  }

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

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

  .rank-row-meta {
    display: none;
  }

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

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

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

  .page-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 88px;
  }

  .home-shell {
    width: 100%;
    padding-top: 64px;
  }

  .hero-section,
  .hero-track {
    min-height: 760px;
  }

  .section-block {
    width: min(100% - 20px, 1240px);
    margin-bottom: 44px;
  }

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

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

  .feature-grid,
  .rank-feature-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .search-hero,
  .detail-card,
  .side-card,
  .search-results {
    padding: 22px;
    border-radius: 20px;
  }

  .search-box {
    grid-template-columns: 1fr;
  }

  .movie-info {
    padding: 12px;
  }

  .movie-title {
    font-size: 15px;
  }
}
