:root {
  --bg-0: #020617;
  --bg-1: #0f172a;
  --bg-2: #111827;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --emerald: #34d399;
  --emerald-strong: #10b981;
  --cyan: #22d3ee;
  --amber: #f59e0b;
  --radius: 22px;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at 12% 0%, rgba(16, 185, 129, 0.18), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(34, 211, 238, 0.12), transparent 28%),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.92));
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

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

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #04111d;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  box-shadow: 0 0 22px rgba(52, 211, 153, 0.42);
  font-size: 14px;
}

.brand-text {
  font-size: 24px;
  line-height: 1;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: var(--soft);
  font-size: 15px;
}

.desktop-nav a,
.nav-group > a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.nav-group:hover > a {
  color: var(--emerald);
}

.nav-group {
  position: relative;
  padding: 23px 0;
}

.nav-dropdown {
  position: absolute;
  top: 62px;
  left: 50%;
  width: 220px;
  transform: translateX(-50%) translateY(8px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: 0.24s ease;
}

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

.nav-dropdown a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--soft);
}

.nav-dropdown a:hover {
  background: rgba(52, 211, 153, 0.1);
}

.header-search {
  position: relative;
  width: 260px;
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-input-wrap input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.2);
  outline: none;
  color: var(--text);
  background: rgba(15, 23, 42, 0.8);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-input-wrap input:focus {
  border-color: rgba(52, 211, 153, 0.72);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
  background: rgba(15, 23, 42, 0.96);
}

.header-search input {
  height: 40px;
  padding: 0 48px 0 16px;
  border-radius: 999px;
}

.header-search button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  color: #04111d;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.75);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 2px;
}

.mobile-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
}

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

.mobile-panel nav a {
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--soft);
  background: rgba(148, 163, 184, 0.08);
}

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

.mobile-search input {
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
}

.mobile-search button,
.big-search button {
  border: 0;
  border-radius: 14px;
  color: #03131d;
  font-weight: 800;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  cursor: pointer;
}

.hero-slider {
  position: relative;
  height: clamp(620px, 78vh, 820px);
  overflow: hidden;
  background: #020617;
}

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

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

.hero-bg,
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.58);
  transform: scale(1.06);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.78) 42%, rgba(2, 6, 23, 0.35) 100%),
    radial-gradient(circle at 74% 38%, rgba(52, 211, 153, 0.2), transparent 32%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) 380px;
  align-items: center;
  gap: 48px;
  padding-top: 10px;
}

.hero-copy {
  max-width: 760px;
}

.hero-eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--emerald);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.hero-copy h2 {
  margin-top: 14px;
  color: #d9fff1;
  font-size: clamp(30px, 4vw, 54px);
}

.hero-summary,
.page-hero p,
.lead-text {
  max-width: 720px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.9;
}

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

.hero-tags span,
.tag-row span {
  padding: 7px 11px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(16, 185, 129, 0.1);
  font-size: 12px;
}

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

.btn,
.inline-link,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.inline-link:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #03131d;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.28);
}

.btn-ghost {
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: var(--text);
  background: rgba(15, 23, 42, 0.68);
}

.hero-rank-link {
  color: var(--emerald);
  font-weight: 800;
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 30px;
  overflow: hidden;
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-8deg);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #052016;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  font-weight: 900;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(15, 23, 42, 0.62);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.hero-prev {
  left: max(18px, calc((100vw - 1180px) / 2 - 70px));
}

.hero-next {
  right: max(18px, calc((100vw - 1180px) / 2 - 70px));
}

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

.hero-dot {
  width: 38px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

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

.search-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), rgba(34, 211, 238, 0.08));
}

.search-band-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 28px;
  align-items: center;
  padding: 32px 0;
}

.search-band h2,
.search-band p {
  margin: 0;
}

.search-band p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.8;
}

.big-search {
  position: relative;
  display: flex;
  gap: 10px;
}

.big-search input {
  height: 54px;
  padding: 0 20px;
  border-radius: 18px;
}

.big-search button {
  min-width: 96px;
  height: 54px;
}

.content-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 62px 0;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
}

.section-more,
.inline-link {
  color: var(--emerald);
  border: 1px solid rgba(52, 211, 153, 0.24);
  background: rgba(16, 185, 129, 0.08);
}

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

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

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

.movie-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.86), rgba(15, 23, 42, 0.86));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(52, 211, 153, 0.42);
  box-shadow: 0 30px 62px rgba(0, 0, 0, 0.34);
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.15;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(34, 211, 238, 0.12));
}

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

.movie-card:hover .movie-cover img {
  transform: scale(1.06);
}

.cover-glow {
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), transparent);
}

.play-dot {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #04111d;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.35);
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #160f02;
  background: linear-gradient(135deg, #fbbf24, #fb7185);
  box-shadow: 0 12px 24px rgba(251, 191, 36, 0.25);
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.movie-meta-line span {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
}

.movie-card h3 {
  margin: 13px 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--emerald);
}

.movie-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.movie-card-compact .movie-card-body {
  padding: 13px;
}

.movie-card-compact h3 {
  font-size: 16px;
}

.movie-card-compact p {
  font-size: 13px;
}

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

.category-tile {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

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

.category-tile span,
.category-tile p {
  position: relative;
  z-index: 1;
}

.category-tile span {
  font-size: 22px;
  font-weight: 900;
}

.category-tile p {
  margin: 8px 0 0;
  color: var(--soft);
  line-height: 1.65;
  font-size: 13px;
}

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

.page-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 90px 16px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 72% 20%, rgba(52, 211, 153, 0.22), transparent 30%),
    linear-gradient(135deg, #020617, #0f172a 58%, #064e3b);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.62));
}

.page-hero > div {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
}

.compact-hero {
  min-height: 330px;
}

.category-list-large {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.category-card-large {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
}

.category-card-image {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 3 / 4;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-large p {
  margin: 0 0 8px;
  color: var(--emerald);
  font-weight: 800;
}

.category-card-large h2 {
  margin: 0 0 10px;
}

.category-card-large span {
  display: block;
  color: var(--soft);
  line-height: 1.8;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.category-samples a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--soft);
  background: rgba(148, 163, 184, 0.1);
  font-size: 13px;
}

.filter-panel {
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.78);
}

.filter-input-wrap {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: center;
}

.filter-input-wrap span {
  color: var(--emerald);
  font-weight: 900;
}

.filter-input-wrap input {
  height: 50px;
  padding: 0 18px;
  border-radius: 16px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.filter-chips button {
  min-height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(148, 163, 184, 0.08);
  cursor: pointer;
  padding: 0 12px;
}

.filter-chips button.is-active,
.filter-chips button:hover {
  color: #04111d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
}

.movie-card.is-hidden {
  display: none;
}

.detail-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 10px;
}

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

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

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

.player-column {
  min-width: 0;
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow);
}

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

.video-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 13px;
  transform: translate(-50%, -50%);
  min-height: 64px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #04111d;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  box-shadow: 0 18px 45px rgba(16, 185, 129, 0.35);
  cursor: pointer;
  font-weight: 900;
}

.video-play-button span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.video-shell.is-playing .video-play-button {
  opacity: 0;
  pointer-events: none;
}

.detail-article,
.info-panel {
  margin-top: 24px;
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.detail-article h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
}

.detail-article h2,
.info-panel h2 {
  margin: 28px 0 12px;
  font-size: 24px;
}

.detail-article p {
  color: var(--soft);
  line-height: 2;
  font-size: 16px;
}

.detail-tags {
  margin-top: 18px;
}

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

.detail-poster {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 26px;
  box-shadow: var(--shadow);
  background: rgba(15, 23, 42, 0.8);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
}

.info-panel dl,
.info-panel dt,
.info-panel dd {
  margin: 0;
}

.info-panel dl {
  display: grid;
  gap: 12px;
}

.info-panel dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.info-panel dt {
  color: var(--muted);
}

.info-panel dd {
  color: var(--text);
}

.info-panel a {
  color: var(--emerald);
}

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

.site-footer {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.98));
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 38px;
  padding: 44px 0;
}

.footer-brand {
  margin-bottom: 14px;
}

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

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

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

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--muted);
  font-size: 14px;
}

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr 280px;
  }

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

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

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

  .detail-aside {
    position: static;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px;
  }
}

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

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

  .hero-slider {
    height: auto;
    min-height: 760px;
  }

  .hero-slide {
    position: relative;
    display: none;
    min-height: 760px;
  }

  .hero-slide.is-active {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 86px 0 80px;
  }

  .hero-poster {
    min-height: 320px;
    transform: none;
  }

  .hero-poster img {
    min-height: 320px;
  }

  .hero-control {
    top: auto;
    bottom: 24px;
    transform: none;
  }

  .hero-prev {
    left: 18px;
  }

  .hero-next {
    right: 18px;
  }

  .hero-dots {
    bottom: 38px;
  }

  .search-band-inner,
  .footer-inner,
  .category-list-large,
  .detail-aside {
    grid-template-columns: 1fr;
  }

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

  .movie-grid,
  .featured-grid,
  .library-grid,
  .ranking-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card-large {
    grid-template-columns: 120px 1fr;
  }

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

  .video-play-button strong {
    display: none;
  }
}

@media (max-width: 480px) {
  .movie-grid,
  .featured-grid,
  .library-grid,
  .ranking-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card-large {
    grid-template-columns: 1fr;
  }

  .mobile-panel nav {
    grid-template-columns: 1fr;
  }
}
