/* Custom static site styles generated for the movie website. */
:root {
  --brand-sky: #0284c7;
  --brand-sky-dark: #0369a1;
  --brand-pink: #db2777;
  --brand-amber: #f59e0b;
  --text-main: #1f2937;
  --text-soft: #6b7280;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --line: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
}

html {
  scroll-behavior: smooth;
}

.site-body {
  min-height: 100vh;
  background: #f8fafc;
  color: var(--text-main);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.site-header-row {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-weight: 800;
}

.site-logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-sky), var(--brand-pink));
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.25);
  font-size: 14px;
}

.site-logo-text {
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(90deg, var(--brand-sky), var(--brand-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-link {
  color: #374151;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand-sky);
}

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

.header-search,
.mobile-search {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search input,
.mobile-search input,
.filter-toolbar input {
  width: 260px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 10px 44px 10px 16px;
  background: #ffffff;
  color: var(--text-main);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-toolbar input:focus {
  border-color: var(--brand-sky);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.16);
}

.header-search button,
.mobile-search button {
  position: absolute;
  right: 6px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--brand-sky);
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #374151;
  background: #f3f4f6;
  font-size: 22px;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 18px 0 22px;
}

.mobile-search {
  margin-bottom: 16px;
}

.mobile-search input {
  width: 100%;
}

.mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-link {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f9fafb;
  color: #374151;
  font-weight: 600;
}

.mobile-link:hover,
.mobile-link.is-active {
  color: var(--brand-sky);
  background: #ecfeff;
}

.hero-slider {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(135deg, #38bdf8 0%, #f9a8d4 48%, #fde68a 100%);
}

.hero-slider-inner {
  position: relative;
  height: 560px;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.33;
  background: #ffffff;
  animation: softPulse 4s ease-in-out infinite;
}

.hero-glow-one {
  width: 160px;
  height: 160px;
  top: 50px;
  left: 7%;
}

.hero-glow-two {
  width: 210px;
  height: 210px;
  top: 210px;
  right: 10%;
  background: #fbcfe8;
  animation-delay: 0.4s;
}

.hero-glow-three {
  width: 260px;
  height: 260px;
  left: 42%;
  bottom: 40px;
  background: #bae6fd;
  animation-delay: 0.8s;
}

@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.24;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.42;
  }
}

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

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

.hero-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 56px 0 76px;
}

.hero-copy {
  flex: 1 1 auto;
  max-width: 720px;
  color: #ffffff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-sky-dark);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.hero-copy h1 {
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.04;
  font-weight: 900;
  margin-bottom: 22px;
  text-shadow: 0 10px 30px rgba(15, 23, 42, 0.26);
}

.hero-copy p {
  max-width: 680px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.93);
  text-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

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

.hero-primary,
.hero-secondary,
.cta-section a,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-primary {
  padding: 15px 32px;
  background: #ffffff;
  color: var(--brand-sky);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.2);
}

.hero-secondary {
  padding: 14px 28px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
}

.hero-primary:hover,
.hero-secondary:hover,
.cta-section a:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-poster {
  flex: 0 0 340px;
  width: 340px;
  height: 455px;
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.32);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #111827;
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.hero-arrow-left {
  left: 8px;
}

.hero-arrow-right {
  right: 8px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  transition: width 180ms ease, background 180ms ease;
}

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

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

.bg-white {
  background: #ffffff;
}

.soft-gradient {
  background: linear-gradient(135deg, #f0f9ff 0%, #fdf2f8 100%);
}

.category-gradient {
  background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 45%, #f0f9ff 100%);
}

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

.section-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-sky);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  font-weight: 900;
  color: #111827;
}

.section-more {
  padding: 10px 18px;
  color: var(--brand-sky-dark);
  background: #e0f2fe;
}

.section-more:hover {
  background: #bae6fd;
}

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

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

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

.movie-card {
  min-width: 0;
}

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.poster-shell {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #bae6fd 0%, #fbcfe8 52%, #fde68a 100%);
  aspect-ratio: 4 / 3;
}

.poster-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0.52) 100%);
  pointer-events: none;
}

.poster-shell.poster-missing::after {
  content: '高清影视';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
}

.poster-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

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

.movie-category-pill,
.movie-rating,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
}

.movie-category-pill {
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  background: rgba(2, 132, 199, 0.88);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.movie-rating {
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  background: rgba(245, 158, 11, 0.92);
  font-size: 13px;
}

.rank-badge {
  left: 10px;
  top: 10px;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

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

.movie-card-body h3 {
  min-height: 48px;
  margin-bottom: 10px;
  color: #111827;
  font-size: 17px;
  line-height: 1.42;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-link:hover h3 {
  color: var(--brand-sky);
}

.movie-card-desc {
  min-height: 46px;
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
}

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

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

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

.rank-row {
  display: grid;
  grid-template-columns: 52px 128px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(90deg, #ffffff, #f9fafb);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.rank-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.rank-number {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.rank-thumb {
  width: 128px;
  height: 92px;
  border-radius: 14px;
  aspect-ratio: auto;
}

.rank-info h3 {
  margin-bottom: 8px;
  color: #111827;
  font-weight: 800;
  line-height: 1.35;
}

.rank-info p {
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #6b7280;
  font-size: 13px;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff, #f3f4f6);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

.category-card::before,
.category-overview-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(244, 114, 182, 0.16));
  opacity: 0;
  transition: opacity 180ms ease;
}

.category-card:hover::before,
.category-overview-card:hover::before {
  opacity: 1;
}

.category-card > *,
.category-overview-card > * {
  position: relative;
  z-index: 1;
}

.category-card-count,
.category-overview-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: var(--brand-sky-dark);
  font-size: 13px;
  font-weight: 900;
}

.category-card h3,
.category-overview-card h2 {
  margin-bottom: 10px;
  color: #111827;
  font-size: 21px;
  font-weight: 900;
}

.category-card p,
.category-overview-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.category-overview-card ul {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  color: #4b5563;
  font-size: 14px;
}

.category-overview-card li a:hover {
  color: var(--brand-sky);
}

.cta-section,
.page-hero {
  background: linear-gradient(135deg, var(--brand-sky), var(--brand-pink));
  color: #ffffff;
}

.cta-section {
  padding: 72px 0;
  text-align: center;
}

.cta-section h2,
.page-hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.12;
  font-weight: 900;
  margin-bottom: 18px;
}

.cta-section p,
.page-hero p {
  max-width: 820px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
}

.cta-section a {
  padding: 15px 32px;
  background: #ffffff;
  color: var(--brand-sky);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
}

.page-hero {
  padding: 56px 0 62px;
  text-align: center;
}

.page-hero-small {
  padding: 42px 0 48px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.filter-toolbar input {
  width: min(520px, 100%);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-buttons button {
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-buttons button:hover,
.filter-buttons button.is-active {
  color: var(--brand-sky-dark);
  border-color: #7dd3fc;
  background: #e0f2fe;
}

.search-empty {
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 16px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 700;
}

.detail-page {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.detail-breadcrumb {
  justify-content: flex-start;
  color: #6b7280;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.9fr);
  gap: 30px;
}

.detail-main,
.detail-sidebar {
  min-width: 0;
}

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

.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.2), rgba(0, 0, 0, 0.58));
  color: #ffffff;
  text-shadow: 0 8px 25px rgba(0, 0, 0, 0.36);
}

.play-overlay span {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-sky);
  font-size: 30px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.play-overlay strong {
  font-size: 20px;
}

.player-shell.is-playing .play-overlay,
.player-shell.is-ready .player-status {
  display: none;
}

.player-status {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 4;
  padding: 7px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  font-size: 13px;
}

.detail-card,
.sidebar-card {
  margin-top: 24px;
  padding: 26px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

.detail-sidebar .sidebar-card {
  position: sticky;
  top: 104px;
  margin-top: 0;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.detail-category {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: var(--brand-sky-dark);
  font-size: 13px;
  font-weight: 900;
}

.detail-title-row h1 {
  margin-bottom: 12px;
  color: #111827;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.16;
  font-weight: 900;
}

.detail-one-line {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.75;
}

.share-button {
  flex: 0 0 auto;
  padding: 11px 16px;
  border-radius: 999px;
  color: #374151;
  background: #f3f4f6;
  font-weight: 800;
}

.share-button:hover {
  color: var(--brand-sky-dark);
  background: #e0f2fe;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.detail-info-grid div {
  padding: 12px;
  border-radius: 14px;
  background: #f9fafb;
  font-size: 14px;
}

.detail-info-grid span {
  color: var(--text-soft);
}

.detail-info-grid strong {
  color: #111827;
}

.detail-section {
  padding-top: 24px;
}

.detail-section h2,
.sidebar-card h2 {
  margin-bottom: 14px;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

.detail-section p {
  color: #374151;
  font-size: 16px;
  line-height: 1.95;
}

.review-box p {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f0f9ff, #fdf2f8);
  color: #1f2937;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list span {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #4b5563;
  font-weight: 700;
  font-size: 14px;
}

.related-list {
  display: grid;
  gap: 16px;
}

.related-mini {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.related-thumb {
  width: 116px;
  height: 84px;
  border-radius: 14px;
  aspect-ratio: auto;
}

.related-mini h3 {
  margin-bottom: 8px;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-mini:hover h3 {
  color: var(--brand-sky);
}

.related-mini p {
  color: var(--text-soft);
  font-size: 13px;
}

.related-section {
  padding-bottom: 16px;
}

.sitemap-group {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.sitemap-group h2 {
  margin-bottom: 18px;
  color: #111827;
  font-size: 26px;
  font-weight: 900;
}

.sitemap-group h2 a:hover {
  color: var(--brand-sky);
}

.sitemap-group ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
}

.sitemap-group li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f9fafb;
  font-size: 14px;
}

.sitemap-group li a {
  min-width: 0;
  color: #111827;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sitemap-group li a:hover {
  color: var(--brand-sky);
}

.sitemap-group li span {
  flex: 0 0 auto;
  color: var(--text-soft);
}

.site-footer {
  padding: 52px 0 28px;
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
}

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

.site-footer p {
  color: #9ca3af;
  line-height: 1.8;
}

.footer-count {
  margin-top: 12px;
  color: #bae6fd !important;
  font-weight: 700;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.site-footer ul {
  display: grid;
  gap: 9px;
}

.site-footer a {
  color: #9ca3af;
  transition: color 180ms ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(156, 163, 175, 0.22);
  color: #9ca3af;
  font-size: 14px;
}

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

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

  .movie-grid-four,
  .category-grid,
  .category-overview-grid,
  .sitemap-group ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

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

  .hero-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 28px;
    padding: 44px 0 92px;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-poster {
    flex-basis: auto;
    width: min(290px, 78vw);
    height: 360px;
  }

  .movie-grid-three,
  .movie-grid-four,
  .rank-grid,
  .category-grid,
  .category-overview-grid,
  .sitemap-group ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-sidebar .sidebar-card {
    position: static;
  }

  .filter-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-toolbar input {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header-row {
    min-height: 68px;
  }

  .site-logo-text {
    font-size: 19px;
  }

  .hero-slider,
  .hero-slider-inner {
    min-height: 680px;
    height: 680px;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

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

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-grid-three,
  .movie-grid-four,
  .rank-grid,
  .category-grid,
  .category-overview-grid,
  .sitemap-group ul {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 42px 92px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .rank-thumb {
    width: 92px;
    height: 70px;
  }

  .rank-info p,
  .rank-meta span:first-child {
    display: none;
  }

  .detail-title-row {
    flex-direction: column;
  }

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

  .related-mini {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .related-thumb {
    width: 94px;
    height: 70px;
  }
}
