*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: #0f172a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #f8fafc 0%, #ecfeff 44%, #ffffff 100%);
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  min-height: 70vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, #0891b2 0%, #2563eb 54%, #0d9488 100%);
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  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.03em;
  white-space: nowrap;
}

.brand span {
  font-size: clamp(18px, 2vw, 25px);
}

.logo-icon {
  width: 38px;
  height: 38px;
  color: #cffafe;
  transition: transform 0.3s ease;
}

.brand:hover .logo-icon {
  transform: rotate(10deg) scale(1.08);
}

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

.nav-link,
.mobile-nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

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

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-search input {
  width: 250px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 10px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  outline: none;
  backdrop-filter: blur(8px);
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: #cffafe;
}

.header-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #0f172a;
  font-weight: 800;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 16px 18px;
  background: linear-gradient(180deg, #2563eb 0%, #0d9488 100%);
}

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

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

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

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #020617;
}

.hero-stage {
  position: relative;
  min-height: 76vh;
}

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

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

.hero-bg {
  width: 100%;
  height: 100%;
  min-height: 76vh;
  object-fit: cover;
  transform: scale(1.05);
  filter: saturate(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 34%, rgba(34, 211, 238, 0.22), transparent 34%), linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.66) 48%, rgba(15, 23, 42, 0.28) 100%), linear-gradient(0deg, #020617 0%, transparent 40%);
}

.hero-content {
  position: absolute;
  inset: 0;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  align-items: center;
  gap: 40px;
  padding: 86px 0 110px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #0e7490;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: #cffafe;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #cffafe;
  background: rgba(8, 145, 178, 0.36);
  border: 1px solid rgba(207, 250, 254, 0.28);
  backdrop-filter: blur(8px);
}

.hero h1,
.page-hero h1,
.detail-content h1 {
  margin: 18px 0 10px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.hero h2 {
  margin: 0 0 16px;
  color: #cffafe;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 900;
}

.hero p,
.page-hero p,
.section-head p,
.spotlight-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

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

.hero-tags {
  margin: 24px 0 0;
}

.hero-tags span,
.detail-tags span,
.card-tags span {
  display: inline-flex;
  border-radius: 999px;
  font-weight: 800;
}

.hero-tags span {
  padding: 7px 12px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-actions,
.detail-side-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.primary-button,
.ghost-button,
.section-more,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.25);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.filter-button:hover {
  transform: translateY(-2px);
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.ghost-button.dark {
  color: #0f172a;
  border-color: rgba(14, 116, 144, 0.18);
  background: #ecfeff;
}

.hero-poster {
  width: min(320px, 100%);
  justify-self: end;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
  transition: transform 0.25s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) scale(1.03);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(6px);
  transform: translateY(-50%);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

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

.hero-dot {
  width: 30px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

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

.hero-strip {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  margin: -72px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 36px;
}

.compact-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 102px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.58);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(10px);
}

.compact-card img {
  width: 76px;
  height: 78px;
  border-radius: 16px;
  object-fit: cover;
}

.compact-card strong,
.compact-card em {
  display: block;
}

.compact-card strong {
  font-size: 15px;
  line-height: 1.35;
}

.compact-card em {
  margin-top: 5px;
  color: #bae6fd;
  font-size: 12px;
  font-style: normal;
}

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

.section-soft {
  width: 100%;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, #ffffff 0%, #ecfeff 100%);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-head.align-left {
  margin-left: 0;
  text-align: left;
}

.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  text-align: left;
}

.section-head h2,
.spotlight-box h2,
.search-result-head h2,
.footer-links h2 {
  margin: 14px 0 8px;
  color: #0f172a;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-head p {
  color: #475569;
  font-size: 16px;
}

.section-more {
  flex-shrink: 0;
  color: #0891b2;
  background: #ecfeff;
}

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

.category-tile,
.category-card-large a {
  position: relative;
  display: block;
  min-height: 174px;
  border-radius: 26px;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 174px;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

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

.category-tile span {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), transparent);
}

.category-tile strong,
.category-card-body strong {
  display: block;
  font-size: 22px;
  font-weight: 950;
}

.category-tile em,
.category-card-body em {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
}

.filter-panel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid rgba(14, 116, 144, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 45px rgba(14, 116, 144, 0.08);
}

.filter-search {
  display: grid;
  flex: 1;
  gap: 8px;
  color: #0f172a;
  font-weight: 900;
}

.filter-search input,
.search-page-form input {
  width: 100%;
  color: #0f172a;
  border-color: rgba(14, 116, 144, 0.16);
  background: #ffffff;
}

.filter-search input::placeholder,
.search-page-form input::placeholder {
  color: #94a3b8;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 40px;
  border: 0;
  color: #0f172a;
  background: #e2e8f0;
}

.filter-button.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, #0891b2, #2563eb);
}

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

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

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

.card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0f172a;
}

.poster-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card-link:hover .poster-frame img {
  transform: scale(1.07);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.62), transparent 48%);
}

.card-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(8, 145, 178, 0.88);
  backdrop-filter: blur(6px);
}

.card-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.card-body strong {
  color: #0f172a;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 950;
}

.card-meta {
  color: #0891b2;
  font-size: 13px;
  font-weight: 900;
}

.card-summary {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-tags span {
  padding: 4px 8px;
  color: #0369a1;
  font-size: 12px;
  background: #e0f2fe;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

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

.rank-item {
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.rank-link {
  display: grid;
  grid-template-columns: 54px 74px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.rank-number {
  color: #0891b2;
  font-size: 24px;
  font-weight: 950;
  text-align: center;
}

.rank-link img {
  width: 74px;
  height: 92px;
  border-radius: 16px;
  object-fit: cover;
}

.rank-info {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.rank-info strong {
  color: #0f172a;
  font-size: 17px;
  font-weight: 950;
}

.rank-info em,
.rank-info span {
  color: #64748b;
  font-style: normal;
  line-height: 1.5;
}

.rank-info span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rank-heat {
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(90deg, #0891b2, #2563eb);
}

.spotlight-box {
  position: sticky;
  top: 96px;
  align-self: start;
  border-radius: 34px;
  padding: 34px;
  color: #ffffff;
  background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.42), transparent 32%), linear-gradient(135deg, #0f172a, #164e63);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.2);
}

.spotlight-box h2 {
  color: #ffffff;
}

.spotlight-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.spotlight-links a {
  border-radius: 999px;
  padding: 8px 12px;
  color: #cffafe;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.12);
}

.wide-button {
  width: 100%;
  margin-top: 18px;
  color: #ffffff;
  background: linear-gradient(90deg, #0891b2, #2563eb);
}

.page-hero,
.detail-hero {
  color: #ffffff;
  background: radial-gradient(circle at 82% 0%, rgba(34, 211, 238, 0.32), transparent 32%), linear-gradient(135deg, #020617 0%, #0f172a 52%, #164e63 100%);
}

.page-hero {
  min-height: 330px;
  padding: 80px max(16px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.page-hero > div:first-child {
  max-width: 780px;
}

.page-hero.small-hero {
  min-height: 270px;
}

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

.category-card-large a {
  min-height: 230px;
  background: linear-gradient(135deg, #0f172a, #155e75);
}

.category-covers {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  opacity: 0.44;
}

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

.category-card-body {
  position: absolute;
  inset: auto 0 0;
  padding: 26px;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), transparent);
}

.category-preview {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
}

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

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

.detail-hero {
  padding: 28px max(16px, calc((100% - 1180px) / 2)) 58px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #bae6fd;
  font-weight: 800;
}

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

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

.player-card,
.detail-side {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.42);
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(12px);
}

.player-card {
  overflow: hidden;
}

.video-shell {
  position: relative;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000000;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.2));
}

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

.play-triangle {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.play-triangle::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 24px 0 0 31px;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 25px solid #0891b2;
}

.player-start strong {
  font-size: 20px;
  font-weight: 950;
}

.detail-side {
  padding: 18px;
}

.detail-cover {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-side-links {
  display: grid;
  margin-top: 16px;
}

.detail-content-section {
  padding-top: 54px;
}

.detail-content {
  max-width: 930px;
  margin: 0 auto;
  border-radius: 30px;
  padding: clamp(24px, 4vw, 42px);
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.1);
}

.detail-content h1 {
  color: #0f172a;
  font-size: clamp(30px, 4vw, 52px);
}

.detail-one-line {
  margin: 0 0 24px;
  color: #334155;
  font-size: 20px;
  line-height: 1.8;
  font-weight: 700;
}

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

.detail-meta-grid div {
  display: grid;
  gap: 8px;
  border-radius: 18px;
  padding: 14px;
  background: #f1f5f9;
}

.detail-meta-grid strong {
  color: #64748b;
  font-size: 12px;
}

.detail-meta-grid span,
.detail-meta-grid a {
  color: #0f172a;
  font-weight: 900;
}

.detail-tags {
  margin: 20px 0 30px;
}

.detail-tags span {
  padding: 7px 12px;
  color: #0369a1;
  background: #e0f2fe;
}

.detail-content h2 {
  margin: 30px 0 12px;
  color: #0f172a;
  font-size: 26px;
  font-weight: 950;
}

.detail-content p {
  color: #334155;
  font-size: 17px;
  line-height: 1.95;
}

.search-section {
  max-width: 980px;
}

.search-page-form {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
}

.search-page-form button {
  color: #ffffff;
  background: linear-gradient(90deg, #0891b2, #2563eb);
}

.search-result-head {
  margin-bottom: 22px;
}

.search-result-head h2 {
  margin: 0 0 6px;
}

.search-result-head p {
  margin: 0;
  color: #64748b;
}

.site-footer {
  margin-top: 44px;
  color: #cbd5e1;
  background: linear-gradient(180deg, #1e293b 0%, #020617 100%);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
  gap: 30px;
  padding: 46px 0;
}

.footer-logo {
  color: #ffffff;
}

.footer-brand p {
  max-width: 560px;
  color: #94a3b8;
  line-height: 1.8;
}

.footer-links h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 20px;
}

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

.footer-link-list a:hover {
  color: #22d3ee;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  padding: 18px 0 28px;
  color: #94a3b8;
  font-size: 14px;
}

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

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

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

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

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

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

  .hero-content {
    padding-top: 70px;
  }

  .hero-poster {
    display: none;
  }

  .filter-panel,
  .section-head-row,
  .page-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-actions {
    justify-content: flex-start;
  }

  .detail-side {
    max-width: 360px;
  }

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

@media (max-width: 640px) {
  .header-inner {
    height: 64px;
    width: min(100% - 24px, 1180px);
  }

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

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .hero-stage,
  .hero-bg {
    min-height: 640px;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding-bottom: 94px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-strip,
  .category-grid,
  .category-large-grid,
  .movie-grid,
  .all-grid,
  .preview-grid,
  .related-grid,
  .lead-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .category-preview {
    width: min(100% - 24px, 1180px);
    padding: 40px 0;
  }

  .rank-link {
    grid-template-columns: 42px 62px minmax(0, 1fr);
  }

  .rank-heat {
    grid-column: 2 / -1;
    justify-self: start;
  }

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

  .search-page-form {
    flex-direction: column;
  }

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