:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #111c33;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --teal-500: #14b8a6;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-800);
  background: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

img {
  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;
  color: var(--white);
  background: linear-gradient(90deg, var(--slate-800), var(--slate-950), var(--slate-800));
  box-shadow: 0 12px 35px rgba(2, 6, 23, 0.22);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 66px;
}

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

.brand span:last-child,
.footer-brand span:last-child {
  background: linear-gradient(90deg, var(--emerald-400), var(--teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 21px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--emerald-400), var(--teal-500));
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.3);
}

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

.desktop-nav > a,
.nav-dropdown > button {
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.desktop-nav > a:hover,
.nav-dropdown:hover > button {
  color: var(--emerald-400);
  background: rgba(51, 65, 85, 0.8);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  min-width: 184px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

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

.dropdown-menu a,
.mobile-menu a {
  padding: 9px 12px;
  border-radius: 10px;
  color: #cbd5e1;
}

.dropdown-menu a:hover,
.mobile-menu a:hover {
  color: var(--emerald-400);
  background: rgba(51, 65, 85, 0.8);
}

.nav-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 13px;
  background: rgba(51, 65, 85, 0.86);
}

.nav-search input,
.mobile-search input {
  width: 230px;
  padding: 10px 12px;
  border: 0;
  color: var(--white);
  outline: 0;
  background: transparent;
}

.nav-search input::placeholder,
.mobile-search input::placeholder {
  color: #94a3b8;
}

.nav-search button,
.mobile-search button,
.wide-search button {
  border: 0;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--emerald-400), var(--teal-500));
  cursor: pointer;
  font-weight: 700;
}

.nav-search button {
  align-self: stretch;
  padding: 0 14px;
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 10px;
  color: var(--white);
  background: rgba(51, 65, 85, 0.85);
  padding: 8px 12px;
}

.mobile-menu {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  background: var(--slate-900);
}

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

.mobile-search {
  display: flex;
  margin: 14px auto;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(51, 65, 85, 0.8);
}

.mobile-search input {
  flex: 1;
  width: auto;
}

.mobile-search button {
  padding: 0 14px;
}

.mobile-menu nav {
  display: grid;
  gap: 6px;
}

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-950);
}

.hero-track,
.hero-slide {
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.03);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 28%, rgba(16, 185, 129, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.78) 45%, rgba(15, 23, 42, 0.32)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.72), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 54px;
  min-height: 620px;
  padding: 72px 0;
}

.hero-kicker,
.detail-kicker,
.compact-hero span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 12px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 999px;
  color: var(--emerald-400);
  background: rgba(15, 23, 42, 0.65);
  font-size: 13px;
  font-weight: 700;
}

.hero-copy h1,
.detail-info h1,
.compact-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-copy p,
.compact-hero p,
.detail-line {
  max-width: 720px;
  color: #dbeafe;
  font-size: 18px;
}

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

.hero-tags span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.12);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(226, 232, 240, 0.18);
}

.tag-list span {
  padding: 4px 8px;
  color: var(--slate-600);
  background: var(--slate-100);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.ghost-button,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--emerald-400), var(--teal-500));
  box-shadow: 0 15px 32px rgba(16, 185, 129, 0.28);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.movie-card:hover {
  transform: translateY(-2px);
}

.ghost-button {
  border: 1px solid rgba(226, 232, 240, 0.24);
  color: var(--white);
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(12px);
}

.primary-button.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4.1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.44);
}

.hero-poster img,
.detail-poster img,
.movie-card img,
.category-tile img,
.tiny-movie img,
.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--slate-950);
  background: var(--emerald-400);
  font-weight: 900;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--white);
  background: rgba(15, 23, 42, 0.58);
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

.hero-dots button {
  width: 28px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 46px;
  background: var(--emerald-400);
}

.home-search-panel {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  align-items: center;
  gap: 24px;
  margin-top: -45px;
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 4;
}

.home-search-panel h2 {
  margin: 0 0 6px;
  color: var(--slate-900);
}

.home-search-panel p {
  margin: 0;
  color: var(--slate-500);
}

.wide-search {
  display: flex;
  overflow: hidden;
  min-height: 50px;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: var(--white);
}

.wide-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 16px;
}

.wide-search button {
  padding: 0 18px;
}

.page-section {
  padding: 54px 0;
}

.section-head,
.rank-panel-head,
.category-overview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-head h2,
.rank-panel-head h2,
.category-overview-card h2,
.story-card h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(24px, 3vw, 34px);
}

.section-head p,
.category-overview-head p {
  margin: 6px 0 0;
  color: var(--slate-500);
}

.section-more {
  color: var(--emerald-600);
  background: #ecfdf5;
}

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

.category-tile {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: 18px;
  color: var(--white);
  background: var(--slate-900);
  box-shadow: var(--shadow);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.84), rgba(2, 6, 23, 0.16));
}

.category-tile img {
  position: absolute;
  inset: 0;
  transition: transform 0.45s ease;
}

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

.category-tile div {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
}

.category-tile strong,
.category-tile span {
  display: block;
}

.category-tile strong {
  font-size: 18px;
}

.category-tile span {
  color: #cbd5e1;
  font-size: 13px;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--slate-200);
}

.poster-link img {
  transition: transform 0.5s ease;
}

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

.poster-link::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), transparent 55%);
  transition: opacity 0.2s ease;
}

.movie-card:hover .poster-link::after {
  opacity: 1;
}

.duration,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.duration {
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.78);
}

.rank-badge {
  left: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--slate-950);
  background: var(--emerald-400);
}

.movie-info {
  padding: 16px;
}

.meta-row,
.meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--slate-500);
  font-size: 13px;
}

.category-chip {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--emerald-600);
  background: #ecfdf5;
  font-weight: 800;
}

.movie-info h3 {
  margin: 10px 0 8px;
  color: var(--slate-900);
  font-size: 17px;
  line-height: 1.35;
}

.movie-info h3 a:hover,
.rank-main h2 a:hover,
.story-card a:hover {
  color: var(--emerald-600);
}

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

.rank-panel {
  position: sticky;
  top: 88px;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.rank-panel-head {
  margin-bottom: 14px;
}

.rank-panel-head h2 {
  font-size: 22px;
}

.rank-panel-head a {
  color: var(--emerald-600);
  font-weight: 800;
}

.tiny-movie {
  display: grid;
  grid-template-columns: 34px 58px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.tiny-movie:hover {
  background: #f1f5f9;
}

.tiny-movie > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--emerald-400), var(--teal-500));
  font-weight: 900;
}

.tiny-movie img {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}

.tiny-movie strong,
.tiny-movie em {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tiny-movie strong {
  color: var(--slate-900);
}

.tiny-movie em {
  color: var(--slate-500);
  font-size: 12px;
  font-style: normal;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-950);
}

.compact-hero {
  padding: 64px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.28), transparent 32%),
    linear-gradient(120deg, var(--slate-900), var(--slate-950));
}

.compact-hero h1 {
  max-width: 850px;
  margin-bottom: 14px;
}

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

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

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 180px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.large-filter {
  grid-template-columns: minmax(260px, 1fr) 200px 200px;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--slate-200);
  border-radius: 13px;
  outline: 0;
  padding: 0 14px;
  background: #f8fafc;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--emerald-400);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

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

.category-overview-card {
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.category-overview-head {
  align-items: center;
}

.category-overview-head span {
  display: inline-flex;
  margin-top: 10px;
  color: var(--emerald-600);
  font-weight: 800;
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 64px 120px 1fr 120px;
  align-items: center;
  gap: 18px;
  padding: 14px;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--emerald-400), var(--teal-500));
  font-size: 20px;
  font-weight: 900;
}

.rank-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

.rank-main h2 {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 21px;
}

.rank-main p {
  margin: 0 0 8px;
  color: var(--slate-600);
}

.rank-score {
  text-align: center;
  color: var(--emerald-600);
}

.rank-score strong,
.rank-score span {
  display: block;
}

.rank-score strong {
  font-size: 30px;
  line-height: 1;
}

.rank-score span {
  margin-top: 4px;
  color: var(--slate-500);
  font-size: 12px;
}

.detail-hero {
  min-height: 560px;
}

.detail-bg,
.detail-cover-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-bg {
  object-fit: cover;
  filter: blur(2px) saturate(1.06);
  transform: scale(1.04);
}

.detail-cover-shade {
  background:
    radial-gradient(circle at 72% 28%, rgba(16, 185, 129, 0.25), transparent 32%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.4)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent 60%);
}

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

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

.detail-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4.1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

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

.detail-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(226, 232, 240, 0.12);
  font-weight: 700;
  font-size: 13px;
}

.detail-content {
  margin-top: -48px;
  position: relative;
  z-index: 3;
}

.player-card,
.story-card {
  margin-bottom: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.player-card {
  overflow: hidden;
  background: var(--slate-950);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background:
    radial-gradient(circle at center, rgba(16, 185, 129, 0.2), transparent 32%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.38));
  cursor: pointer;
  text-align: center;
}

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

.play-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--emerald-400), var(--teal-500));
  box-shadow: 0 18px 42px rgba(16, 185, 129, 0.35);
  font-size: 30px;
  padding-left: 4px;
}

.player-cover strong {
  max-width: 80%;
  font-size: 24px;
}

.story-card {
  padding: 28px;
}

.story-card p {
  margin: 12px 0 0;
  color: var(--slate-700);
  font-size: 16px;
}

.meta-story dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 18px 0 0;
}

.meta-story dl div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
}

.meta-story dt {
  color: var(--slate-500);
  font-weight: 800;
}

.meta-story dd {
  margin: 0;
  color: var(--slate-900);
}

.related-section {
  padding-top: 28px;
}

.site-footer {
  margin-top: 40px;
  color: #cbd5e1;
  background: var(--slate-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding: 42px 0;
}

.site-footer p {
  max-width: 460px;
  color: #94a3b8;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  color: #64748b;
  text-align: center;
  font-size: 14px;
}

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

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

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

  .hero-content,
  .feature-layout,
  .home-search-panel,
  .detail-layout {
    grid-template-columns: 1fr;
  }

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

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

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

  .rank-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

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

  .hero-content {
    min-height: 720px;
    padding: 44px 0 72px;
  }

  .hero-copy h1,
  .detail-info h1,
  .compact-hero h1 {
    font-size: 38px;
  }

  .hero-control {
    display: none;
  }

  .category-grid,
  .movie-grid,
  .compact-grid,
  .tiny-grid,
  .footer-grid,
  .meta-story dl {
    grid-template-columns: 1fr;
  }

  .filter-bar,
  .large-filter {
    grid-template-columns: 1fr;
  }

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

  .rank-score {
    grid-column: 1 / -1;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .section-head,
  .rank-panel-head,
  .category-overview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-search-panel {
    margin-top: 18px;
  }
}
