:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --blue-500: #3b82f6;
  --yellow-400: #facc15;
  --white: #ffffff;
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.14);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.12);
  --radius-xl: 1.25rem;
  --radius-lg: 0.9rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--slate-800);
  background: linear-gradient(180deg, var(--slate-50), var(--slate-100));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
  color: var(--white);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.24);
  backdrop-filter: blur(10px);
}

.site-nav {
  width: min(1280px, calc(100% - 32px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  color: var(--slate-950);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.35);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--cyan-400), #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  padding: 8px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.93rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan-400);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--white);
}

.hero-slider {
  position: relative;
  height: 70vh;
  min-height: 540px;
  overflow: hidden;
  background: var(--slate-950);
}

.hero-track,
.hero-slide,
.hero-bg,
.hero-mask {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-mask {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.54) 42%, rgba(0, 0, 0, 0.12));
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1280px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 0 0 72px;
  color: var(--white);
}

.hero-kicker,
.eyebrow {
  color: var(--cyan-400);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 780px;
  margin: 14px 0 18px;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  line-height: 0.98;
  font-weight: 900;
  text-shadow: 0 8px 35px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  max-width: 780px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.8;
}

.hero-meta,
.detail-meta,
.rank-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span,
.detail-meta span,
.rank-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
}

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

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

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

.btn.primary {
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  color: var(--slate-950);
  box-shadow: 0 16px 35px rgba(6, 182, 212, 0.32);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn.text {
  color: var(--cyan-400);
}

.btn.full {
  width: 100%;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.44);
  color: var(--white);
  font-size: 34px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-2px);
}

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

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

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 28px;
  background: var(--cyan-400);
}

.search-panel {
  width: min(1120px, calc(100% - 32px));
  margin: -36px auto 56px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-xl);
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.hero-search,
.search-page-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.hero-search input,
.search-page-form input,
.category-toolbar input,
.category-toolbar select,
.search-page-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 0 16px;
  color: var(--slate-800);
  background: var(--white);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.hero-search input:focus,
.search-page-form input:focus,
.category-toolbar input:focus,
.category-toolbar select:focus,
.search-page-form select:focus {
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.13);
}

.hero-search button,
.search-page-form button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0 26px;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  font-weight: 900;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.quick-links a,
.side-tags a,
.detail-tags a,
.movie-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(6, 182, 212, 0.1);
  color: #0e7490;
  font-size: 0.86rem;
  font-weight: 700;
}

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

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.12;
  color: var(--slate-900);
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--slate-600);
  line-height: 1.75;
}

.section-more {
  flex: 0 0 auto;
  color: #0891b2;
  font-weight: 800;
}

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

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

.movie-card {
  min-width: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.2);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-700));
}

.poster-link img,
.category-card img,
.category-overview-card img,
.rank-cover img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.movie-card:hover .poster-link img,
.category-card:hover img,
.category-overview-card:hover img {
  transform: scale(1.08);
}

.poster-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
}

.poster-year,
.poster-rating,
.rank-badge,
.poster-play {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  line-height: 1;
}

.poster-year {
  top: 10px;
  left: 10px;
  padding: 7px 9px;
  background: rgba(0, 0, 0, 0.55);
}

.poster-rating {
  right: 10px;
  bottom: 10px;
  padding: 7px 9px;
  color: var(--yellow-400);
  background: rgba(0, 0, 0, 0.62);
}

.rank-badge {
  top: 10px;
  right: 10px;
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--yellow-400), #fb923c);
}

.poster-play {
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.88);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

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

.movie-card-body h3 {
  margin: 0 0 7px;
  min-height: 2.8em;
  color: var(--slate-900);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 900;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.movie-meta,
.movie-brief {
  margin: 0;
  color: var(--slate-500);
  font-size: 0.88rem;
  line-height: 1.6;
}

.movie-brief {
  min-height: 4.8em;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.movie-card.compact .movie-card-body h3 {
  min-height: auto;
}

.two-column-section {
  display: grid;
  grid-template-columns: 1.6fr 0.75fr;
  gap: 28px;
  align-items: start;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 72px 48px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-lg);
}

.rank-cover {
  width: 72px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: var(--slate-800);
}

.rank-num {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  font-weight: 900;
}

.rank-info h3 {
  margin: 0 0 5px;
  color: var(--slate-900);
  font-size: 1.06rem;
}

.rank-info p {
  margin: 0 0 8px;
  color: var(--slate-600);
  line-height: 1.6;
}

.rank-meta span {
  color: var(--slate-600);
  background: var(--slate-100);
  padding: 5px 9px;
}

.rank-score {
  color: var(--yellow-400);
  font-size: 1.35rem;
  font-weight: 900;
}

.side-panel {
  border-radius: var(--radius-xl);
  padding: 28px;
  color: var(--white);
  background: linear-gradient(145deg, var(--slate-900), var(--slate-800));
  box-shadow: var(--shadow-soft);
}

.side-panel h2 {
  margin: 0 0 12px;
}

.side-panel p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.side-tags a {
  color: var(--cyan-400);
  background: rgba(255, 255, 255, 0.08);
}

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

.category-card {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 22px;
  color: var(--white);
  background: var(--slate-900);
  box-shadow: var(--shadow-card);
}

.category-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.58;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.14));
}

.category-card span,
.category-card p {
  position: relative;
  z-index: 2;
}

.category-card span {
  font-size: 1.34rem;
  font-weight: 900;
}

.category-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.22), transparent 30%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.page-hero {
  min-height: 310px;
  display: flex;
  align-items: center;
  margin-bottom: 56px;
}

.page-hero > div {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.page-hero h1 {
  margin: 12px 0 16px;
  max-width: 820px;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 1.04;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.85;
  font-size: 1.08rem;
}

.compact-actions {
  margin-top: 24px;
}

.category-toolbar,
.search-page-form {
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.search-page-form {
  grid-template-columns: 1fr 220px auto;
}

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

.category-overview-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.category-overview-card a {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 190px;
}

.category-overview-card div {
  padding: 24px;
}

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

.category-overview-card p {
  margin: 0 0 18px;
  color: var(--slate-600);
  line-height: 1.8;
}

.category-overview-card span {
  color: #0891b2;
  font-weight: 900;
}

.detail-hero {
  min-height: 540px;
}

.detail-bg,
.detail-mask {
  position: absolute;
  inset: 0;
}

.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) brightness(0.45);
  transform: scale(1.08);
}

.detail-mask {
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.52));
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  min-height: 540px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  align-items: center;
  padding: 70px 0;
}

.detail-poster {
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
}

.detail-poster img {
  aspect-ratio: 2 / 3;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.74);
}

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

.detail-copy h1 {
  margin: 0 0 16px;
  max-width: 900px;
  font-size: clamp(2.4rem, 6vw, 4.9rem);
  line-height: 1.03;
}

.detail-one-line {
  max-width: 860px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
  line-height: 1.85;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.detail-tags a {
  color: var(--cyan-400);
  background: rgba(255, 255, 255, 0.1);
}

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

.detail-main {
  display: grid;
  gap: 24px;
}

.player-section,
.article-block {
  border-radius: var(--radius-xl);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.player-section h2,
.article-block h2 {
  margin: 0 0 16px;
  color: var(--slate-900);
}

.site-player {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  background: #000000;
}

.site-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--white);
  text-align: center;
  cursor: pointer;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.25));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-start {
  width: 82px;
  height: 82px;
  border: 0;
  border-radius: 999px;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(6, 182, 212, 0.35);
}

.player-layer strong,
.player-layer span {
  display: block;
}

.player-layer strong {
  font-size: 1.28rem;
  margin-bottom: 6px;
}

.player-layer span {
  color: rgba(255, 255, 255, 0.74);
}

.player-error {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  display: none;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(185, 28, 28, 0.88);
}

.player-error.is-visible {
  display: block;
}

.article-block p {
  margin: 0;
  color: var(--slate-700);
  font-size: 1.02rem;
  line-height: 2;
  text-align: justify;
}

.sticky-panel {
  position: sticky;
  top: 88px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}

.info-list div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.info-list dt {
  color: rgba(255, 255, 255, 0.5);
}

.info-list dd {
  margin: 0;
  color: var(--white);
}

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

.full-rank .rank-row {
  grid-template-columns: 82px 54px 1fr auto;
}

.search-results:empty::after {
  content: "没有找到匹配影片";
  grid-column: 1 / -1;
  display: block;
  padding: 48px;
  border-radius: var(--radius-xl);
  color: var(--slate-500);
  text-align: center;
  background: var(--white);
}

.site-footer {
  margin-top: 90px;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  margin-bottom: 14px;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--white);
}

.footer-brand p {
  max-width: 540px;
  margin: 0;
  line-height: 1.85;
}

.footer-links h3 {
  margin: 0 0 14px;
  color: var(--white);
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 1180px) {
  .movie-grid,
  .featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .detail-layout,
  .two-column-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-nav {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    width: 100%;
    padding: 0 0 14px;
    justify-content: flex-start;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .hero-slider {
    height: 72vh;
    min-height: 560px;
  }

  .hero-content {
    padding-bottom: 78px;
  }

  .hero-control {
    display: none;
  }

  .hero-search,
  .search-page-form,
  .category-toolbar {
    grid-template-columns: 1fr;
  }

  .movie-grid,
  .featured-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .rank-row,
  .full-rank .rank-row {
    grid-template-columns: 58px 38px 1fr;
  }

  .rank-score {
    grid-column: 2 / -1;
    font-size: 1rem;
  }

  .rank-cover {
    width: 58px;
  }

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

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

  .detail-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .detail-poster {
    width: min(230px, 70vw);
  }

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

@media (max-width: 560px) {
  .brand-name {
    font-size: 1.06rem;
  }

  .hero-content h1,
  .detail-copy h1,
  .page-hero h1 {
    font-size: 2.25rem;
  }

  .content-section,
  .site-nav,
  .footer-inner,
  .detail-inner,
  .page-hero > div,
  .hero-content {
    width: min(100% - 24px, 1280px);
  }

  .movie-grid,
  .featured-grid,
  .related-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

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

  .movie-brief {
    display: none;
  }

  .player-section,
  .article-block,
  .side-panel {
    padding: 18px;
  }
}
