:root {
  --night-950: #0a1929;
  --night-900: #102a43;
  --night-850: #172f49;
  --night-800: #243b53;
  --night-700: #334e68;
  --night-400: #829ab1;
  --night-300: #9fb3c8;
  --night-200: #bcccdc;
  --ocean-700: #0f79cc;
  --ocean-600: #1a92e6;
  --ocean-500: #2eabff;
  --ocean-400: #53bbff;
  --ocean-300: #78caff;
  --moon-700: #c27e18;
  --moon-600: #d89320;
  --moon-500: #e9a828;
  --white: #ffffff;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--night-200);
  background:
    radial-gradient(circle at 20% 0%, rgba(46, 171, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(233, 168, 40, 0.12), transparent 30rem),
    linear-gradient(180deg, var(--night-950), var(--night-900) 45%, var(--night-950));
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(10, 25, 41, 0.88), rgba(10, 25, 41, 0));
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(10, 25, 41, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ocean-400), var(--ocean-700));
  box-shadow: 0 12px 32px rgba(26, 146, 230, 0.36);
}

.brand-mark span {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--white);
  margin-left: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  color: var(--white);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--night-300);
  font-size: 0.75rem;
  margin-top: 5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--night-200);
  font-weight: 600;
}

.main-nav a,
.mobile-panel a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
  color: var(--ocean-300);
}

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

.site-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-search input,
.mobile-search input,
.filter-input input {
  border: 1px solid rgba(159, 179, 200, 0.22);
  outline: none;
  color: var(--white);
  background: rgba(36, 59, 83, 0.48);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-search input {
  width: 250px;
  padding: 10px 14px;
}

.site-search input:focus,
.mobile-search input:focus,
.filter-input input:focus {
  border-color: var(--ocean-500);
  background: rgba(36, 59, 83, 0.72);
  box-shadow: 0 0 0 3px rgba(46, 171, 255, 0.14);
}

.site-search button,
.mobile-search button {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ocean-600), var(--ocean-700));
  cursor: pointer;
}

.search-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 360px;
  display: none;
  padding: 10px;
  border: 1px solid rgba(120, 202, 255, 0.24);
  border-radius: 16px;
  background: rgba(16, 42, 67, 0.98);
  box-shadow: var(--shadow-card);
}

.search-panel.is-visible {
  display: grid;
  gap: 6px;
}

.search-panel a {
  display: block;
  padding: 10px;
  border-radius: 10px;
  color: var(--night-200);
}

.search-panel a:hover {
  color: var(--white);
  background: rgba(46, 171, 255, 0.13);
}

.search-panel strong {
  display: block;
  color: var(--white);
  margin-bottom: 4px;
}

.search-panel small {
  color: var(--night-300);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(36, 59, 83, 0.55);
  cursor: pointer;
}

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

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border: 1px solid rgba(159, 179, 200, 0.18);
  border-radius: 18px;
  background: rgba(16, 42, 67, 0.98);
}

.mobile-panel nav {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.mobile-search input {
  min-width: 0;
  padding: 11px 12px;
}

.site-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0 70px;
}

.home-page {
  width: min(1260px, calc(100% - 32px));
}

.page-shell {
  min-height: 70vh;
}

.hero-carousel {
  position: relative;
  margin-bottom: 64px;
}

.hero-track {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: clamp(480px, 56vw, 680px);
  box-shadow: var(--shadow-soft);
  background: var(--night-800);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: none;
  animation: fadeIn 0.55s ease both;
}

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

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 25, 41, 0.96), rgba(10, 25, 41, 0.58) 45%, rgba(10, 25, 41, 0.1)),
    linear-gradient(0deg, rgba(10, 25, 41, 0.92), rgba(10, 25, 41, 0.08) 52%, rgba(10, 25, 41, 0.45));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 82%);
  padding: clamp(44px, 8vw, 90px);
  display: flex;
  min-height: clamp(480px, 56vw, 680px);
  flex-direction: column;
  justify-content: center;
}

.hero-tags,
.detail-tags,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.detail-tags span,
.card-tags span {
  border-radius: 999px;
  color: var(--ocean-300);
  background: rgba(6, 71, 153, 0.32);
  border: 1px solid rgba(120, 202, 255, 0.2);
}

.hero-tags span {
  padding: 7px 12px;
  font-size: 0.88rem;
}

.hero-content h1,
.hero-content h2 {
  margin: 22px 0 12px;
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-movie-name {
  margin: 0 0 12px;
  color: var(--moon-500);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 800;
}

.hero-content p:not(.hero-movie-name) {
  margin: 0;
  color: var(--night-200);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 13px;
  color: var(--white);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--ocean-600), var(--ocean-700));
  box-shadow: 0 16px 32px rgba(26, 146, 230, 0.28);
}

.btn.ghost {
  border: 1px solid rgba(159, 179, 200, 0.26);
  background: rgba(36, 59, 83, 0.55);
  backdrop-filter: blur(12px);
}

.hero-control {
  position: absolute;
  z-index: 8;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(16, 42, 67, 0.74);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.hero-control::before {
  content: "";
  position: absolute;
  top: 17px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
}

.hero-control.prev {
  left: 18px;
}

.hero-control.next {
  right: 18px;
}

.hero-control.prev::before {
  left: 19px;
  transform: rotate(-45deg);
}

.hero-control.next::before {
  right: 19px;
  transform: rotate(135deg);
}

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

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

.hero-dots button.is-active {
  background: var(--ocean-400);
}

.section {
  margin: 0 0 64px;
}

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

.section-head span,
.page-hero span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--moon-500);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2,
.page-hero h1,
.detail-intro h1,
.detail-copy h2,
.cta-section h2 {
  margin: 0;
  color: var(--white);
  line-height: 1.12;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.section-more,
.text-link {
  color: var(--ocean-300);
  font-weight: 800;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(159, 179, 200, 0.12);
  border-radius: var(--radius-md);
  background: rgba(36, 59, 83, 0.46);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(120, 202, 255, 0.32);
  background: rgba(36, 59, 83, 0.7);
  box-shadow: var(--shadow-card);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--night-800);
}

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

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

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 25, 41, 0.82), rgba(10, 25, 41, 0.05) 56%, rgba(10, 25, 41, 0.2));
}

.type-badge,
.rank-badge {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  padding: 5px 9px;
  border-radius: 9px;
  color: var(--white);
  background: rgba(16, 42, 67, 0.82);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 800;
}

.rank-badge {
  left: 10px;
  right: auto;
  background: linear-gradient(135deg, var(--moon-500), var(--moon-700));
}

.card-play,
.play-orb {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(26, 146, 230, 0.9);
  box-shadow: 0 18px 38px rgba(26, 146, 230, 0.34);
}

.card-play {
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-play span,
.play-orb span {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--white);
  margin-left: 4px;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.card-body strong {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.35;
  transition: color 0.2s ease;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card:hover .card-body strong {
  color: var(--ocean-300);
}

.card-body small,
.card-line {
  color: var(--night-300);
  line-height: 1.55;
}

.card-line {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.92rem;
}

.card-tags span,
.detail-tags span {
  padding: 4px 8px;
  font-size: 0.76rem;
}

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

.category-tile,
.category-overview-card,
.cta-section,
.page-hero,
.detail-hero,
.player-shell,
.detail-copy,
.movie-meta,
.list-card {
  border: 1px solid rgba(159, 179, 200, 0.13);
  background: linear-gradient(145deg, rgba(36, 59, 83, 0.58), rgba(16, 42, 67, 0.38));
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.16);
}

.category-tile {
  min-height: 190px;
  padding: 22px;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  border-color: rgba(120, 202, 255, 0.28);
}

.category-tile strong,
.category-overview-card h2,
.list-card strong {
  color: var(--white);
}

.category-tile p,
.category-overview-card p,
.cta-section p,
.page-hero p,
.detail-one-line,
.detail-copy p {
  color: var(--night-300);
  line-height: 1.8;
}

.tile-mini,
.overview-links,
.footer-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tile-mini span,
.overview-links a {
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--night-200);
  background: rgba(16, 42, 67, 0.48);
  font-size: 0.8rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
}

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

.list-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.list-card:hover {
  transform: translateX(4px);
  border-color: rgba(120, 202, 255, 0.28);
  background: rgba(36, 59, 83, 0.68);
}

.list-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  background: var(--night-800);
}

.list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.list-content strong {
  line-height: 1.35;
}

.list-content small,
.list-content span:not(.list-rank) {
  color: var(--night-300);
  line-height: 1.55;
}

.list-rank {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--moon-500), var(--moon-700));
  font-size: 0.78rem;
  font-weight: 900;
}

.cta-section,
.page-hero {
  border-radius: 28px;
  padding: clamp(30px, 6vw, 58px);
  margin-bottom: 54px;
}

.cta-section {
  text-align: center;
}

.cta-section div {
  justify-content: center;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  letter-spacing: -0.05em;
}

.simple-hero,
.category-hero,
.ranking-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(46, 171, 255, 0.18), transparent 28rem),
    linear-gradient(135deg, rgba(36, 59, 83, 0.72), rgba(16, 42, 67, 0.36));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--night-300);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--ocean-300);
}

.breadcrumb a::after {
  content: "/";
  margin-left: 10px;
  color: var(--night-400);
}

.filters {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(159, 179, 200, 0.14);
  border-radius: 18px;
  background: rgba(16, 42, 67, 0.38);
}

.filter-input {
  display: grid;
  gap: 8px;
  color: var(--night-300);
  font-weight: 700;
}

.filter-input input {
  width: 100%;
  padding: 13px 14px;
}

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

.filter-chip {
  border: 1px solid rgba(159, 179, 200, 0.18);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--night-200);
  background: rgba(36, 59, 83, 0.42);
  cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
  color: var(--white);
  border-color: rgba(120, 202, 255, 0.34);
  background: rgba(26, 146, 230, 0.42);
}

.empty-state {
  display: none;
  margin: 24px 0 0;
  padding: 26px;
  border-radius: 18px;
  text-align: center;
  color: var(--night-300);
  background: rgba(36, 59, 83, 0.42);
}

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

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

.category-overview-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  border-radius: var(--radius-md);
  padding: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-posters {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 160px;
}

.category-posters img {
  position: absolute;
  width: 94px;
  aspect-ratio: 3 / 4;
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.category-posters img:nth-child(1) {
  left: 0;
  z-index: 3;
}

.category-posters img:nth-child(2) {
  left: 30px;
  z-index: 2;
  transform: rotate(5deg);
}

.category-posters img:nth-child(3) {
  left: 60px;
  z-index: 1;
  transform: rotate(10deg);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(230px, 320px) 1fr;
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
  border-radius: 28px;
  padding: clamp(22px, 5vw, 44px);
  margin-bottom: 54px;
}

.detail-poster {
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 3 / 4;
  background: var(--night-800);
  box-shadow: var(--shadow-soft);
}

.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-intro h1 {
  margin: 16px 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  letter-spacing: -0.05em;
}

.detail-one-line {
  font-size: 1.08rem;
}

.detail-tags {
  margin: 22px 0 28px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  background: #000;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000;
}

.player-cover.is-hidden {
  display: none;
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(46, 171, 255, 0.22), transparent 19rem),
    linear-gradient(0deg, rgba(10, 25, 41, 0.86), rgba(10, 25, 41, 0.34));
}

.play-orb {
  top: 50%;
  left: 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
}

.detail-copy {
  border-radius: 24px;
  padding: clamp(22px, 4vw, 38px);
}

.copy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.detail-copy h2 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.movie-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  margin: 32px 0 0;
}

.movie-meta div {
  padding: 16px;
  border-right: 1px solid rgba(159, 179, 200, 0.12);
  background: rgba(10, 25, 41, 0.2);
}

.movie-meta div:last-child {
  border-right: 0;
}

.movie-meta dt {
  color: var(--night-400);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.movie-meta dd {
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

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

.site-footer {
  border-top: 1px solid rgba(159, 179, 200, 0.12);
  background: rgba(10, 25, 41, 0.74);
}

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

.footer-brand p {
  color: var(--night-300);
  line-height: 1.8;
  max-width: 520px;
}

.footer-links h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1rem;
}

.footer-links a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--night-200);
  background: rgba(36, 59, 83, 0.52);
}

.footer-links a:hover {
  color: var(--white);
  background: rgba(26, 146, 230, 0.35);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: var(--night-400);
  font-size: 0.9rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

  .site-search {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

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

  .split-section,
  .copy-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

  .brand-text small {
    display: none;
  }

  .site-main {
    padding-top: 86px;
  }

  .hero-track,
  .hero-content {
    min-height: 560px;
  }

  .hero-content {
    width: 100%;
    padding: 74px 24px 64px;
    justify-content: flex-end;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(10, 25, 41, 0.96), rgba(10, 25, 41, 0.58), rgba(10, 25, 41, 0.24));
  }

  .hero-control {
    display: none;
  }

  .movie-grid,
  .compact-grid,
  .category-movie-grid,
  .category-grid,
  .related-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-body {
    padding: 13px;
  }

  .card-line,
  .card-tags {
    display: none;
  }

  .category-overview-card,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .category-posters {
    min-height: 130px;
  }

  .detail-poster {
    max-width: 300px;
  }

  .list-card {
    grid-template-columns: 96px 1fr;
  }

  .movie-meta {
    grid-template-columns: 1fr;
  }

  .movie-meta div {
    border-right: 0;
    border-bottom: 1px solid rgba(159, 179, 200, 0.12);
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .compact-grid,
  .category-movie-grid,
  .category-grid,
  .related-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text strong {
    font-size: 1.12rem;
  }
}
