:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: #0f172a;
  --panel-soft: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --emerald: #10b981;
  --emerald-deep: #059669;
  --cyan: #22d3ee;
  --rose: #fb7185;
  --amber: #f59e0b;
  --line: rgba(148, 163, 184, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.nav-shell,
.footer-shell,
.content-section,
.detail-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  font-size: 14px;
}

.brand-text {
  font-size: 24px;
  background: linear-gradient(90deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: var(--muted-strong);
  font-weight: 700;
}

.desktop-nav a,
.nav-dropdown > button {
  border: 0;
  color: var(--muted-strong);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.nav-dropdown:hover > button {
  color: #34d399;
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 210px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: 0.22s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
}

.dropdown-panel a:hover {
  background: rgba(51, 65, 85, 0.72);
}

.nav-search,
.mobile-search,
.big-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search input,
.mobile-search input,
.big-search input,
.local-filter {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(51, 65, 85, 0.82);
  color: white;
  outline: 0;
  border-radius: 999px;
  padding: 11px 16px;
  min-width: 210px;
}

.nav-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.local-filter:focus {
  border-color: rgba(16, 185, 129, 0.72);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.nav-search button,
.mobile-search button,
.big-search button,
.primary-button,
.white-button {
  border: 0;
  cursor: pointer;
  color: white;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.primary-button:hover,
.white-button:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 18px 42px rgba(16, 185, 129, 0.45);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: rgba(51, 65, 85, 0.8);
  color: white;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.mobile-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
  border-top: 1px solid var(--line);
}

.mobile-panel nav {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.mobile-panel nav a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted-strong);
  background: rgba(30, 41, 59, 0.55);
}

.hero-slider {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transition: opacity 0.7s ease, transform 1.1s ease;
  transform: scale(1.03);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(34, 211, 238, 0.22), transparent 28%),
    linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.9) 40%, rgba(2, 6, 23, 0.35) 78%, rgba(2, 6, 23, 0.82) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.12) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1180px;
}

.hero-content > * {
  max-width: 680px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #34d399;
  font-weight: 900;
}

.hero-kicker span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.hero-kicker em {
  color: var(--muted-strong);
  font-style: normal;
}

.hero-content h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.hero-content p {
  margin: 0 0 34px;
  color: #cbd5e1;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

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

.primary-button,
.ghost-button,
.white-button,
.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-button {
  padding: 15px 28px;
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 14px 24px;
  color: white;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(12px);
  transition: 0.2s ease;
}

.ghost-button:hover {
  border-color: rgba(52, 211, 153, 0.75);
  background: rgba(15, 23, 42, 0.78);
}

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 42px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(226, 232, 240, 0.28);
  transition: 0.2s ease;
}

.hero-dot.is-active {
  width: 76px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
}

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

.compact-section {
  padding: 0;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}

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

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

.movie-card,
.movie-list-card,
.mini-card {
  display: block;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.movie-card:hover,
.movie-list-card:hover,
.mini-card:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 211, 153, 0.42);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  background: rgba(30, 41, 59, 0.98);
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.poster img,
.rank-cover img,
.mini-poster img,
.overview-posters img,
.video-frame video,
.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent 50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.play-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: white;
  width: 64px;
  height: 64px;
  margin: auto;
  border-radius: 999px;
  background: var(--emerald);
  opacity: 0;
  transform: scale(0.86);
  transition: 0.25s ease;
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
}

.movie-card:hover .play-hover {
  opacity: 1;
  transform: scale(1);
}

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: white;
  background: var(--emerald);
  font-size: 12px;
  font-weight: 900;
}

.movie-info {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.movie-info strong,
.mini-card strong,
.rank-main strong,
.list-card-body strong {
  color: white;
  font-size: 18px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-card:hover strong,
.mini-card:hover strong,
.movie-list-card:hover strong,
.ranking-item:hover strong {
  color: #34d399;
}

.movie-info small,
.mini-card span,
.rank-main small,
.list-card-body small {
  color: var(--muted);
  line-height: 1.55;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #64748b;
  font-size: 12px;
}

.band-section {
  padding: 64px 0;
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.94));
}

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

.category-tile,
.overview-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.overview-card:hover {
  transform: translateY(-5px) scale(1.01);
}

.category-tile strong,
.overview-card strong {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.category-tile small,
.overview-card small {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.tile-samples {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.rose-pink { background: linear-gradient(135deg, #f43f5e, #ec4899); }
.purple-indigo { background: linear-gradient(135deg, #8b5cf6, #4f46e5); }
.blue-cyan { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.amber-orange { background: linear-gradient(135deg, #f59e0b, #f97316); }
.emerald-cyan { background: linear-gradient(135deg, #10b981, #06b6d4); }
.fuchsia-rose { background: linear-gradient(135deg, #d946ef, #f43f5e); }
.sky-indigo { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.orange-red { background: linear-gradient(135deg, #f97316, #ef4444); }
.teal-green { background: linear-gradient(135deg, #14b8a6, #22c55e); }
.violet-purple { background: linear-gradient(135deg, #7c3aed, #9333ea); }

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 58px 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid var(--line);
  transition: 0.22s ease;
}

.ranking-item:hover {
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateX(4px);
}

.rank-no {
  font-size: 24px;
  font-weight: 950;
  color: #34d399;
  text-align: center;
}

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

.rank-main {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.more-link {
  margin-top: 18px;
  color: #34d399;
  font-weight: 900;
}

.movie-list-card {
  display: flex;
  min-height: 132px;
}

.movie-list-card .poster {
  width: 210px;
  flex: 0 0 210px;
  aspect-ratio: auto;
}

.list-card-body {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 18px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}

.card-meta b {
  color: #34d399;
}

.card-meta em {
  font-style: normal;
}

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

.mini-card {
  padding: 10px;
  display: grid;
  gap: 10px;
}

.mini-poster {
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
}

.mini-card strong {
  font-size: 15px;
}

.cta-section {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--emerald), #06b6d4);
  box-shadow: 0 28px 80px rgba(16, 185, 129, 0.28);
}

.cta-section h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.cta-section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.white-button {
  color: #047857;
  background: white;
  white-space: nowrap;
}

.page-hero {
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 16px;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.22), transparent 30%),
    linear-gradient(135deg, #0f172a, #064e3b);
}

.page-hero.orange {
  background: linear-gradient(135deg, #9a3412, #991b1b);
}

.page-hero.teal {
  background: linear-gradient(135deg, #0f766e, #0369a1);
}

.page-hero.category-hero {
  background:
    radial-gradient(circle at 70% 20%, rgba(16, 185, 129, 0.25), transparent 26%),
    linear-gradient(135deg, #111827, #1e293b 55%, #064e3b);
}

.page-hero p {
  margin: 0 0 10px;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 900;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.05em;
}

.page-hero span {
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
  display: inline-block;
  line-height: 1.7;
}

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

.overview-card {
  min-height: 260px;
}

.overview-posters {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.overview-posters span {
  width: 62px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.filter-panel,
.search-page-box {
  padding: 22px;
  margin-bottom: 28px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid var(--line);
}

.filter-panel {
  display: grid;
  gap: 16px;
}

.local-filter {
  width: 100%;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-row button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted-strong);
  background: rgba(30, 41, 59, 0.82);
  cursor: pointer;
}

.chip-row button:hover,
.chip-row button.is-active {
  color: white;
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(16, 185, 129, 0.28);
}

.narrow-section {
  max-width: 900px;
}

.large-ranking .ranking-item {
  grid-template-columns: 76px 130px minmax(0, 1fr);
}

.big-search {
  width: 100%;
}

.big-search input {
  width: 100%;
  min-width: 0;
  font-size: 18px;
  padding: 15px 20px;
}

.big-search button {
  padding: 15px 28px;
}

.search-summary {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--muted);
}

.detail-shell {
  padding: 34px 0 72px;
}

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

.breadcrumb a:hover {
  color: #34d399;
}

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

.detail-main,
.detail-side {
  display: grid;
  gap: 22px;
}

.player-card,
.info-card,
.side-card {
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: black;
}

.player-video {
  display: block;
  background: black;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: white;
  cursor: pointer;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), rgba(2, 6, 23, 0.38));
  transition: opacity 0.25s ease;
}

.player-overlay span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 18px 50px rgba(16, 185, 129, 0.48);
  font-size: 36px;
  padding-left: 6px;
}

.player-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.info-card {
  padding: 26px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-badges span,
.detail-badges a {
  padding: 7px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(16, 185, 129, 0.26);
  border: 1px solid rgba(16, 185, 129, 0.34);
  font-size: 13px;
  font-weight: 800;
}

.info-card h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.04em;
}

.lead-text {
  margin: 0 0 18px;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.75;
}

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

.tag-cloud a {
  color: #94a3b8;
  background: rgba(30, 41, 59, 0.88);
  border-radius: 999px;
  padding: 8px 12px;
}

.tag-cloud a:hover {
  color: #34d399;
}

.prose-card h2,
.side-card h2 {
  margin: 0 0 16px;
  color: white;
  font-size: 24px;
}

.prose-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.95;
  font-size: 17px;
}

.detail-side {
  position: sticky;
  top: 92px;
}

.side-card {
  padding: 20px;
}

.poster-card {
  display: grid;
  gap: 12px;
}

.poster-card img {
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  background: #0f172a;
}

.poster-card strong {
  font-size: 22px;
}

.poster-card span {
  color: var(--muted);
}

.side-recommend {
  display: grid;
  gap: 14px;
}

.side-recommend .mini-card {
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
}

.side-recommend .mini-poster {
  width: 78px;
}

.side-recommend .mini-card span:not(.mini-poster) {
  font-size: 12px;
}

.site-footer {
  margin-top: 48px;
  background: linear-gradient(180deg, #0f172a, #020617);
  border-top: 1px solid var(--line);
}

.footer-shell {
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  color: white;
  font-size: 22px;
  margin-bottom: 16px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--muted);
  line-height: 1.75;
}

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

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.back-top {
  border: 0;
  border-radius: 999px;
  color: white;
  background: rgba(30, 41, 59, 0.9);
  padding: 10px 16px;
  cursor: pointer;
}

.back-top:hover {
  background: rgba(51, 65, 85, 0.95);
}

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

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

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

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

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

  .detail-side {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    height: 62px;
  }

  .brand-text {
    font-size: 20px;
  }

  .hero-slider {
    height: 560px;
  }

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

  .hero-controls {
    bottom: 22px;
  }

  .section-heading,
  .cta-section,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .movie-list-card {
    flex-direction: column;
  }

  .movie-list-card .poster {
    width: 100%;
    flex-basis: auto;
    aspect-ratio: 16 / 10;
  }

  .large-ranking .ranking-item,
  .ranking-item {
    grid-template-columns: 46px 84px minmax(0, 1fr);
  }

  .detail-shell,
  .content-section {
    width: min(100% - 24px, 1180px);
  }

  .info-card {
    padding: 20px;
  }
}

@media (max-width: 520px) {
  .movie-grid,
  .all-grid,
  .category-grid,
  .mini-grid,
  .overview-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-dot {
    width: 28px;
  }

  .hero-dot.is-active {
    width: 54px;
  }

  .cta-section {
    padding: 30px;
  }
}
