:root {
  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ecfeff 0%, #f8fafc 26%, #ffffff 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

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: linear-gradient(90deg, rgba(236, 254, 255, 0.96), rgba(239, 246, 255, 0.96), rgba(236, 254, 255, 0.96));
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
  transform: translateZ(0);
  transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(-3deg);
}

.brand-text strong {
  display: block;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--cyan-dark), var(--blue));
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  color: #334155;
  font-weight: 650;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: var(--cyan);
  box-shadow: 0 10px 22px rgba(8, 145, 178, 0.24);
  transform: translateY(-1px);
}

.nav-link-sub {
  min-height: 34px;
  padding: 0 12px;
  font-size: 14px;
}

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

.header-search input,
.search-page-form input,
.filter-input-wrap input,
.filter-panel select {
  height: 42px;
  border: 2px solid #bae6fd;
  border-radius: 999px;
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.header-search input {
  width: 210px;
  padding: 0 16px;
}

.header-search input:focus,
.search-page-form input:focus,
.filter-input-wrap input:focus,
.filter-panel select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

.header-search button,
.search-page-form button {
  height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  font-weight: 750;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.20);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

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

.quick-nav {
  border-top: 1px solid rgba(14, 165, 233, 0.16);
}

.quick-nav-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

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

.hero-slide {
  display: none;
  min-height: 620px;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero-slide.is-active {
  display: block;
  animation: heroFade 0.65s ease both;
}

@keyframes heroFade {
  from {
    opacity: 0.25;
    transform: scale(1.012);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 58px;
  align-items: center;
  padding: 70px 0 88px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 700;
}

.hero-copy h1,
.page-hero h1,
.detail-hero-copy h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.hero-copy p,
.detail-hero-copy p,
.page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.75;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ecfeff;
  font-size: 13px;
  font-weight: 700;
}

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

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

.primary-button {
  color: var(--cyan-dark);
  background: #fff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.22);
}

.secondary-button {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.primary-button:hover,
.secondary-button:hover,
.text-button:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-poster {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.45);
  transform: rotate(2deg);
  transition: transform 0.25s ease;
}

.hero-poster:hover {
  transform: rotate(0) scale(1.02);
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 145, 178, 0.86);
  font-weight: 800;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
}

.hero-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.stats-strip {
  transform: translateY(-38px);
  margin-bottom: -22px;
}

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

.stat-card {
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--cyan-dark), var(--blue));
  -webkit-background-clip: text;
  color: transparent;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

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

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

.section-heading h2,
.ranking-head h2,
.detail-article h2,
.detail-side-card h2,
.category-preview h2 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.section-heading p,
.category-preview p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-more,
.ranking-head a,
.category-preview-head a,
.text-button {
  color: var(--cyan-dark);
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.78);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e0f2fe;
}

.movie-poster img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.featured-card .movie-poster img,
.archive-grid .movie-poster img,
.related-grid .movie-poster img,
.compact-grid .movie-poster img {
  aspect-ratio: 2 / 3;
}

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

.poster-badge,
.poster-play {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  background: rgba(8, 145, 178, 0.90);
}

.poster-badge {
  top: 12px;
  left: 12px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
}

.poster-play {
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
}

.movie-card-body {
  padding: 18px;
}

.movie-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 800;
}

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

.movie-card h3,
.ranking-info h2 {
  margin: 14px 0 0;
  font-size: 19px;
  line-height: 1.35;
}

.movie-card h3 a,
.ranking-info h2 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card p,
.ranking-info p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 48px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: #475569;
  font-size: 13px;
}

.movie-card-footer a {
  color: var(--cyan-dark);
  font-weight: 800;
}

.category-section {
  background: linear-gradient(90deg, #eff6ff, #ecfeff);
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border-radius: 24px;
  color: #fff;
  background: #0f172a;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
  transition: transform 0.35s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(8, 145, 178, 0.88));
}

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

.category-tile strong {
  font-size: 22px;
  font-weight: 900;
}

.category-tile em {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  font-style: normal;
  color: rgba(255, 255, 255, 0.86);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

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

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

.ranking-panel {
  position: sticky;
  top: 114px;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 40px 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #f8fafc;
  transition: background 0.25s ease, transform 0.25s ease;
}

.rank-row:hover {
  background: #ecfeff;
  transform: translateX(2px);
}

.rank-number {
  color: var(--cyan-dark);
  font-weight: 900;
}

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

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

.rank-main strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.rank-main em {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.rank-score {
  color: var(--blue);
  font-weight: 900;
}

.page-main {
  background: #f8fafc;
}

.page-hero {
  position: relative;
  padding: 76px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan-dark), var(--blue));
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.22), transparent 30%), radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.18), transparent 26%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.compact-hero h1,
.category-hero h1 {
  max-width: 780px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.breadcrumb a {
  font-weight: 800;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 170px;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.filter-input-wrap input,
.filter-panel select {
  width: 100%;
  padding: 0 16px;
}

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

.category-preview-wrap {
  padding: 56px 0;
}

.category-preview {
  margin-bottom: 42px;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.category-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

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

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

.ranking-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.ranking-cover {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

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

.ranking-cover .ranking-number {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  min-width: 42px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.ranking-info {
  align-self: center;
}

.ranking-info .hero-tags .tag,
.detail-article .tag {
  color: var(--cyan-dark);
  background: #ecfeff;
}

.search-page-form {
  display: flex;
  gap: 12px;
  max-width: 680px;
  margin-top: 28px;
}

.search-page-form input {
  flex: 1;
  height: 52px;
  padding: 0 20px;
}

.search-page-form button {
  height: 52px;
  padding: 0 28px;
}

#search-results:empty {
  display: none;
}

.search-hot-block.is-hidden {
  display: none;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0f172a;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(1.05);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  padding: 54px 0 66px;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.detail-poster {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.50);
}

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

.detail-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cyan-dark);
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.30);
}

.player-section {
  padding-top: 44px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 30px;
  border: 0;
  color: #fff;
  background-position: center;
  background-size: cover;
  text-align: center;
  cursor: pointer;
}

.player-shell.is-playing .player-cover {
  display: none;
}

.play-circle {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cyan-dark);
  background: #fff;
  font-size: 34px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.36);
}

.player-cover strong {
  max-width: 780px;
  font-size: clamp(24px, 4vw, 48px);
  line-height: 1.15;
}

.player-cover em {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.6;
  font-style: normal;
}

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

.detail-article,
.detail-side-card {
  padding: 30px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-article h2:not(:first-child) {
  margin-top: 32px;
}

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

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

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

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

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

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

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

.footer-logo {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(90deg, #22d3ee, #60a5fa);
  -webkit-background-clip: text;
  color: transparent;
}

.footer-brand p {
  max-width: 480px;
  margin: 0;
  line-height: 1.8;
}

.footer-column h3 {
  margin: 0 0 14px;
  color: #22d3ee;
}

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

.footer-column a {
  color: #cbd5e1;
  transition: color 0.25s ease;
}

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

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

.is-filter-hidden {
  display: none !important;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 38px;
  border-radius: 24px;
  color: var(--muted);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

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

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

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

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

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

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

  .ranking-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 68px;
  }

  .brand-text strong {
    font-size: 22px;
  }

  .quick-nav {
    display: none;
  }

  .hero-content {
    min-height: 640px;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 46px;
  }

  .hero-poster {
    max-width: 240px;
    justify-self: center;
  }

  .stats-grid,
  .movie-grid,
  .featured-grid,
  .latest-grid,
  .archive-grid,
  .compact-grid,
  .related-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .category-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .ranking-card,
  .detail-hero-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .container,
  .header-inner,
  .quick-nav-inner,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 22px, 1180px);
  }

  .mobile-nav {
    width: min(100% - 22px, 1180px);
    grid-template-columns: 1fr;
  }

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

  .hero-copy p,
  .detail-hero-copy p,
  .page-hero p {
    font-size: 16px;
  }

  .stats-grid,
  .movie-grid,
  .featured-grid,
  .latest-grid,
  .archive-grid,
  .compact-grid,
  .related-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .detail-actions,
  .search-page-form {
    flex-direction: column;
  }

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

  .rank-score {
    display: none;
  }

  .detail-article,
  .detail-side-card,
  .category-preview {
    padding: 22px;
  }

  .play-circle {
    width: 66px;
    height: 66px;
    font-size: 26px;
  }
}
