:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --green-600: #16a34a;
  --red-500: #ef4444;
  --yellow-500: #eab308;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--slate-800);
  background: var(--slate-50);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 58, 138, 0.98), rgba(15, 23, 42, 0.98));
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(100% - 32px, var(--container));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.45);
}

.brand-name {
  font-size: 20px;
  white-space: nowrap;
}

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

.desktop-nav a,
.mobile-panel nav a {
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-panel nav a:hover,
.mobile-panel nav a.is-active {
  color: #93c5fd;
}

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

.header-search input,
.mobile-search input,
.local-search input {
  width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
  outline: none;
  padding: 10px 16px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.local-search input::placeholder {
  color: rgba(255, 255, 255, 0.70);
}

.header-search input:focus,
.mobile-search input:focus,
.local-search input:focus {
  border-color: rgba(147, 197, 253, 0.90);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--white);
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

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

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 3px;
}

.mobile-panel {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.mobile-search {
  display: flex;
  gap: 8px;
  padding-top: 14px;
}

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

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.hero-shell {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.40), transparent 30%), linear-gradient(135deg, var(--slate-950), var(--blue-900), var(--slate-950));
}

.hero-orb {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.25;
  pointer-events: none;
}

.hero-orb-one {
  top: -120px;
  right: 8%;
  background: #60a5fa;
}

.hero-orb-two {
  left: -100px;
  bottom: 30px;
  background: #1d4ed8;
}

.hero-slider {
  position: relative;
  width: min(100% - 32px, var(--container));
  min-height: 600px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 410px;
  gap: 58px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-backdrop {
  position: absolute;
  inset: 30px -120px 0 34%;
  z-index: 0;
  border-radius: 38px;
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  filter: blur(2px);
  transform: rotate(-2deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-kicker,
.page-hero p,
.section-heading p {
  margin: 0 0 12px;
  color: #93c5fd;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-summary {
  max-width: 720px;
  margin: 24px 0 0;
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.8;
}

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

.hero-tags span,
.tag-row span,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span:first-child {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.primary-button,
.secondary-button,
.category-more,
.side-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.40);
}

.primary-button:hover,
.category-more:hover,
.side-link:hover {
  transform: translateY(-2px);
  background: var(--blue-700);
}

.secondary-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.secondary-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.20);
}

.hero-poster {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  min-height: 410px;
  border-radius: 32px;
  box-shadow: 0 32px 90px rgba(2, 6, 23, 0.42);
  transform: perspective(1000px) rotateY(-5deg);
}

.hero-poster span {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 410px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.hero-poster:hover span {
  transform: scale(1.06);
}

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

.hero-dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: var(--white);
}

.hero-category-strip {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 4;
  width: min(100% - 32px, var(--container));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
  overflow-x: auto;
}

.hero-category-strip span {
  color: #bfdbfe;
  font-weight: 800;
  white-space: nowrap;
}

.hero-category-strip a {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.10);
}

.content-section {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 76px 0;
}

.white-section {
  background: transparent;
}

.muted-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - var(--container)) / 2));
  padding-right: max(16px, calc((100% - var(--container)) / 2));
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
}

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

.section-heading h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.section-heading a {
  color: var(--blue-600);
  font-weight: 800;
}

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

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

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

.movie-card a {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card a:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.18);
}

.movie-cover {
  position: relative;
  min-height: 192px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.68), transparent 58%);
  opacity: 0.85;
}

.cover-badge,
.cover-year,
.cover-play {
  position: absolute;
  z-index: 2;
}

.cover-badge {
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
}

.cover-year {
  right: 12px;
  bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.72);
  font-size: 12px;
}

.cover-play {
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: rgba(37, 99, 235, 0.88);
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card a:hover .cover-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-body {
  padding: 18px;
}

.movie-body h2 {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.35;
}

.movie-meta {
  margin: 0 0 10px;
  color: var(--slate-500);
  font-size: 13px;
}

.movie-desc {
  min-height: 48px;
  margin: 0;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.7;
}

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

.category-card,
.category-overview-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-icon,
.category-overview-head span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  font-size: 22px;
  font-weight: 900;
}

.category-card strong {
  color: var(--slate-900);
  font-size: 18px;
}

.category-card em {
  margin-top: 8px;
  color: var(--slate-600);
  font-style: normal;
  font-size: 14px;
}

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

.inline-heading {
  margin-bottom: 22px;
}

.rank-panel,
.side-card,
.detail-card,
.player-card {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.rank-panel {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.rank-panel h2 {
  margin: 0 0 8px;
  color: var(--slate-900);
}

.rank-panel p {
  margin: 0 0 18px;
  color: var(--slate-600);
  font-size: 14px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 46px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: var(--slate-50);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: var(--blue-100);
  transform: translateX(3px);
}

.rank-row span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--blue-600);
  font-weight: 900;
  font-size: 13px;
}

.rank-row strong {
  overflow: hidden;
  color: var(--slate-900);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-row em {
  color: var(--red-500);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.page-hero {
  color: var(--white);
  background: radial-gradient(circle at 18% 22%, rgba(96, 165, 250, 0.30), transparent 26%), linear-gradient(135deg, var(--blue-800), var(--slate-900));
}

.page-hero > div,
.page-hero .local-search {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.page-hero > div {
  padding: 72px 0 24px;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero span {
  display: block;
  max-width: 820px;
  margin-top: 18px;
  color: #dbeafe;
  font-size: 18px;
}

.page-hero .local-search {
  padding: 0 0 44px;
}

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

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

.category-overview-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.category-overview-head span {
  flex: none;
  margin: 0;
}

.category-overview-head h2 {
  margin: 0 0 6px;
  color: var(--slate-900);
}

.category-overview-head p {
  margin: 0;
  color: var(--slate-600);
}

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

.compact-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.compact-cover,
.ranking-cover {
  display: block;
  min-height: 70px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
}

.compact-info {
  min-width: 0;
}

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

.compact-info strong {
  color: var(--slate-900);
}

.compact-info em {
  color: var(--slate-500);
  font-style: normal;
  font-size: 13px;
}

.category-more,
.side-link {
  margin-top: 18px;
  color: var(--white);
  background: var(--blue-600);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-chips button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  color: var(--slate-700);
  background: #e2e8f0;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 800;
}

.filter-chips button.is-active {
  color: var(--white);
  background: var(--blue-600);
}

.empty-state {
  display: none;
  margin-top: 24px;
  padding: 30px;
  border-radius: var(--radius-lg);
  color: var(--slate-600);
  background: #e2e8f0;
  text-align: center;
  font-weight: 800;
}

.empty-state.is-visible {
  display: block;
}

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

.ranking-card a {
  display: grid;
  grid-template-columns: 58px 150px minmax(0, 1fr) 88px;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-card a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.ranking-index {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, #ef4444, #2563eb);
  font-weight: 900;
}

.ranking-cover {
  min-height: 88px;
}

.ranking-info {
  min-width: 0;
}

.ranking-info strong,
.ranking-info em,
.ranking-info small {
  display: block;
}

.ranking-info strong {
  color: var(--slate-900);
  font-size: 18px;
}

.ranking-info em {
  color: var(--slate-500);
  font-style: normal;
  font-size: 13px;
}

.ranking-info small {
  margin-top: 4px;
  color: var(--slate-600);
  line-height: 1.6;
}

.ranking-heat {
  justify-self: end;
  color: var(--red-500);
  font-weight: 900;
}

.detail-shell {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 28px 0 76px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--slate-500);
  font-size: 14px;
}

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

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

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

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.32), rgba(2, 6, 23, 0.98));
  cursor: pointer;
}

.video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
  object-fit: contain;
  z-index: 1;
}

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(37, 99, 235, 0.92);
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.42);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.player-start:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.player-start span {
  margin-left: 5px;
  font-size: 34px;
}

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

.detail-card {
  padding: 28px;
}

.detail-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e2e8f0;
}

.detail-title-row h1 {
  margin: 0 0 10px;
  color: var(--slate-900);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.detail-title-row p {
  margin: 0;
  color: var(--slate-500);
}

.detail-category {
  flex: none;
  align-self: start;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-weight: 800;
}

.detail-card section {
  margin-top: 26px;
}

.detail-card h2,
.side-card h2 {
  margin: 0 0 12px;
  color: var(--slate-900);
  font-size: 22px;
}

.detail-card p {
  margin: 0;
  color: var(--slate-700);
  font-size: 16px;
  line-height: 1.95;
}

.quote-text {
  padding: 18px 20px;
  border-left: 4px solid var(--blue-600);
  border-radius: 14px;
  background: var(--slate-50);
  font-weight: 800;
}

.detail-tags {
  margin-top: 0;
}

.detail-tags a {
  color: var(--white);
  background: var(--blue-600);
}

.detail-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.side-card {
  padding: 20px;
}

.poster-large {
  display: block;
  min-height: 220px;
  margin-bottom: 18px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
}

.side-link {
  width: 100%;
}

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

.footer-grid {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 52px 0 34px;
}

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

.footer-grid p,
.footer-grid ul {
  margin: 0;
}

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

.footer-grid a:hover {
  color: #93c5fd;
}

.footer-bottom {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  text-align: center;
  color: #94a3b8;
}

.footer-bottom p {
  margin: 0;
}

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

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

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    align-content: center;
  }

  .hero-poster {
    display: none;
  }

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

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

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

  .rank-panel,
  .detail-side {
    position: static;
  }

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

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

  .brand-name {
    font-size: 18px;
  }

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

  .hero-slider {
    min-height: 520px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-summary {
    font-size: 16px;
  }

  .hero-category-strip {
    border-radius: 24px;
  }

  .section-heading,
  .detail-title-row {
    display: block;
  }

  .section-heading a,
  .detail-category {
    display: inline-flex;
    margin-top: 12px;
  }

  .movie-grid,
  .featured-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .ranking-card a {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .ranking-cover,
  .ranking-heat {
    display: none;
  }

  .compact-card {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .detail-card {
    padding: 22px;
  }

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