:root {
  --color-slate-950: #020617;
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-100: #f1f5f9;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-900: #111827;
  --color-blue-50: #eff6ff;
  --color-blue-100: #dbeafe;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;
  --color-green-100: #dcfce7;
  --color-green-600: #16a34a;
  --color-amber-100: #fef3c7;
  --color-amber-600: #d97706;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 24px 60px rgba(37, 99, 235, 0.22);
  --radius-xl: 1rem;
  --radius-2xl: 1.35rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-gray-900);
  background: #ffffff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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;
  color: #ffffff;
  background: linear-gradient(90deg, var(--color-slate-900), var(--color-slate-800), var(--color-slate-900));
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: var(--color-blue-600);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
  transition: transform 0.25s ease, background 0.25s ease;
}

.logo:hover .logo-mark {
  transform: translateY(-2px) scale(1.04);
  background: var(--color-blue-700);
}

.logo-text {
  display: grid;
  line-height: 1.2;
}

.logo-text strong {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.02em;
}

.logo-text small {
  color: #94a3b8;
  font-size: 0.78rem;
}

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

.nav-link,
.mobile-nav-link {
  color: #d1d5db;
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #ffffff;
}

.nav-link:hover {
  transform: translateY(-1px);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
}

.mobile-nav {
  display: none;
  padding: 12px 24px 22px;
  background: var(--color-slate-800);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

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

.hero-section,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-slate-900), #1e3a8a 48%, var(--color-slate-900));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 48px;
  align-items: center;
  min-height: 640px;
  padding: 68px 0;
}

.hero-content h1,
.page-hero h1 {
  max-width: 820px;
  margin: 16px 0 18px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-content p,
.page-hero p {
  max-width: 680px;
  margin: 0 0 30px;
  color: #d1d5db;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(191, 219, 254, 0.28);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 750;
}

.hero-search {
  display: flex;
  width: min(620px, 100%);
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.24);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  color: #ffffff;
  border: 0;
  outline: 0;
  background: transparent;
}

.hero-search input::placeholder {
  color: #cbd5e1;
}

.hero-search button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: #ffffff;
  border: 0;
  border-radius: 13px;
  background: var(--color-blue-600);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-search button:hover,
.primary-button:hover {
  transform: translateY(-2px);
  background: var(--color-blue-700);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  color: #cbd5e1;
}

.hero-stats span {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats strong {
  margin-right: 6px;
  color: #ffffff;
  font-size: 1.35rem;
}

.hero-carousel {
  position: relative;
  min-height: 470px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 240px;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.62);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.35);
  opacity: 0;
  transform: translateX(20px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  backdrop-filter: blur(18px);
}

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

.hero-slide-copy h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.12;
}

.hero-slide-copy p {
  color: #d1d5db;
  font-size: 1rem;
}

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

.hero-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
}

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

.hero-poster:hover img {
  transform: scale(1.07);
}

.hero-dots {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

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

.small-hero .container {
  padding: 72px 0;
}

.small-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.feature-strip,
.muted-section {
  background: var(--color-gray-50);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 58px 0;
}

.feature-grid article,
.category-tile,
.movie-card,
.article-card,
.side-card,
.ranking-panel,
.category-overview-card,
.detail-info-card,
.player-card {
  background: #ffffff;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
}

.feature-grid article {
  padding: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-grid article:hover,
.category-tile:hover,
.movie-card:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 14px;
  color: var(--color-blue-700);
  background: var(--color-blue-100);
  border-radius: 16px;
  font-weight: 900;
}

.feature-grid h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.feature-grid p {
  margin: 0;
  color: var(--color-gray-600);
}

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

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

.section-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--color-gray-600);
}

.section-more {
  color: var(--color-blue-700);
  font-weight: 800;
}

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

.category-tile {
  display: grid;
  min-height: 180px;
  padding: 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile span {
  color: var(--color-gray-900);
  font-size: 1.22rem;
  font-weight: 850;
}

.category-tile strong {
  align-self: center;
  color: var(--color-blue-700);
  font-size: 2.4rem;
  line-height: 1;
}

.category-tile small {
  color: var(--color-gray-600);
}

.movie-grid {
  display: grid;
  gap: 20px;
}

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

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

.movie-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card-link {
  display: grid;
  height: 100%;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-slate-800), var(--color-slate-950));
}

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

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

.poster-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.play-dot {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.9);
}

.region-badge,
.rank-badge,
.category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.region-badge,
.rank-badge {
  position: absolute;
  top: 10px;
  padding: 5px 9px;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.region-badge {
  left: 10px;
  background: var(--color-blue-600);
}

.rank-badge {
  right: 10px;
  background: var(--color-amber-600);
}

.movie-card-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.movie-card-body h3 {
  display: -webkit-box;
  min-height: 2.9em;
  margin: 0;
  overflow: hidden;
  color: var(--color-gray-900);
  font-size: 1rem;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0;
  overflow: hidden;
  color: var(--color-gray-600);
  font-size: 0.88rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--color-gray-500);
  font-size: 0.8rem;
}

.movie-meta-line span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-row {
  min-height: 1.25rem;
  overflow: hidden;
  color: var(--color-gray-500);
  font-size: 0.75rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.category-chip {
  justify-self: start;
  padding: 4px 9px;
  color: var(--color-blue-700);
  background: var(--color-blue-50);
}

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

.ranking-panel {
  position: sticky;
  top: 98px;
  padding: 18px;
}

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

.ranking-panel-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.ranking-panel-head a {
  color: var(--color-blue-700);
  font-weight: 800;
}

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

.movie-card-compact {
  border-radius: 16px;
  box-shadow: none;
}

.compact-link {
  display: grid;
  grid-template-columns: 36px 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
}

.compact-rank {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #ffffff;
  background: var(--color-blue-600);
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.85rem;
}

.compact-link img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--color-slate-800);
}

.compact-info {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.compact-info strong,
.compact-info small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-info small {
  color: var(--color-gray-500);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--color-gray-200);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-bar label {
  display: grid;
  gap: 6px;
  color: var(--color-gray-600);
  font-size: 0.86rem;
  font-weight: 750;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  outline: none;
  background: #ffffff;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--color-blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.filter-bar button {
  min-height: 44px;
  padding: 0 16px;
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  background: var(--color-slate-800);
  cursor: pointer;
}

.filter-result {
  min-height: 1.6em;
  margin: 0 0 22px;
  color: var(--color-gray-600);
}

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

.category-overview-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 10px;
  background: var(--color-slate-900);
}

.category-preview img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  background: var(--color-slate-800);
}

.category-overview-body {
  padding: 22px;
}

.category-overview-body h2 {
  margin: 0 0 6px;
}

.category-overview-body p {
  margin: 0 0 12px;
  color: var(--color-gray-600);
}

.category-overview-body strong {
  color: var(--color-blue-700);
}

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

.ranking-row {
  border-radius: 18px;
}

.ranking-row a {
  display: grid;
  grid-template-columns: 54px 78px minmax(0, 1fr) 74px;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
}

.ranking-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: var(--color-blue-600);
  border-radius: 999px;
  font-weight: 900;
}

.ranking-row img {
  width: 78px;
  height: 104px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--color-slate-800);
}

.ranking-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ranking-copy strong {
  font-size: 1.08rem;
}

.ranking-copy small,
.ranking-copy em {
  color: var(--color-gray-600);
  font-style: normal;
}

.ranking-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-action {
  justify-self: end;
  padding: 8px 12px;
  color: var(--color-blue-700);
  background: var(--color-blue-50);
  border-radius: 999px;
  font-weight: 850;
}

.detail-hero {
  color: #ffffff;
  background: linear-gradient(90deg, var(--color-slate-900), var(--color-slate-800));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 18px 0;
  color: #cbd5e1;
  font-size: 0.92rem;
}

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

.detail-section {
  padding: 34px 0;
  background: var(--color-gray-50);
}

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

.player-card,
.detail-info-card {
  overflow: hidden;
}

.movie-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.22));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.player-start span {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  padding-left: 5px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.92);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.42);
  font-size: 1.9rem;
}

.movie-player.is-playing .player-start {
  opacity: 0;
  pointer-events: none;
}

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  margin: 0;
  color: #d1d5db;
  font-size: 0.86rem;
  text-align: center;
}

.player-note {
  padding: 14px 18px;
  color: var(--color-gray-600);
  background: #ffffff;
}

.detail-info-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.detail-poster {
  width: 150px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  background: var(--color-slate-800);
}

.detail-copy h1 {
  margin: 12px 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.12;
}

.badge-row,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-row span,
.tag-cloud span {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.badge-row span {
  color: #ffffff;
  background: var(--color-blue-600);
}

.tag-cloud span {
  color: var(--color-blue-700);
  background: var(--color-blue-50);
}

.detail-one-line {
  color: var(--color-gray-600);
  font-size: 1.02rem;
}

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

.detail-meta div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
}

.detail-meta dt {
  color: var(--color-gray-500);
}

.detail-meta dd {
  margin: 0;
  font-weight: 750;
}

.detail-meta a {
  color: var(--color-blue-700);
}

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

.article-card,
.side-card,
.standalone-card {
  padding: 28px;
}

.article-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.article-card p {
  margin: 0 0 22px;
  color: var(--color-gray-600);
  font-size: 1.04rem;
}

.side-card {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 98px;
}

.side-card a {
  padding: 12px 14px;
  color: var(--color-blue-700);
  background: var(--color-blue-50);
  border-radius: 12px;
  font-weight: 800;
}

.standalone-card {
  max-width: 860px;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(180deg, var(--color-slate-900), var(--color-slate-950));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 34px;
  padding: 54px 0;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

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

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

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

.footer-tags {
  margin-bottom: 14px !important;
}

.back-top {
  margin-top: 16px;
  padding: 10px 14px;
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  background: var(--color-slate-800);
  cursor: pointer;
}

.footer-bottom {
  padding: 18px 0;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

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

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

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

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

  .hero-shell,
  .two-column-layout,
  .detail-grid,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .ranking-panel,
  .side-card {
    position: static;
  }
}

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

  .mobile-menu-button {
    display: block;
  }

  .hero-shell {
    min-height: auto;
    padding: 48px 0 56px;
  }

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

  .hero-slide {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    width: min(260px, 80%);
    justify-self: center;
  }

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

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

  .filter-bar button {
    grid-column: 1 / -1;
  }
}

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

  .header-inner {
    min-height: 68px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .hero-search,
  .section-head,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search button,
  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .feature-grid,
  .category-grid,
  .category-overview-grid,
  .movie-grid-six,
  .movie-grid-four,
  .footer-grid,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: 620px;
  }

  .hero-slide {
    padding: 18px;
  }

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

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

  .ranking-row a {
    grid-template-columns: 42px 64px minmax(0, 1fr);
  }

  .ranking-action {
    display: none;
  }
}
