:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #059669;
  --brand-dark: #047857;
  --brand-soft: #d1fae5;
  --gold: #f59e0b;
  --shadow: 0 18px 55px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f8fafc 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #22c55e);
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.28);
}

.brand-mark span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #ffffff;
}

.brand-copy,
.footer-brand span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong,
.footer-brand strong {
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-copy em,
.footer-brand em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link {
  padding: 9px 13px;
  color: #334155;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  border-radius: 13px;
  background: #f8fafc;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #334155;
}

.hero-shell {
  position: relative;
  height: 70vh;
  min-height: 560px;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 25%, rgba(16, 185, 129, 0.42), transparent 28%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(15, 23, 42, 0.72) 38%, rgba(15, 23, 42, 0.25) 72%, rgba(2, 6, 23, 0.55) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.84), transparent 36%);
}

.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;
  align-items: flex-start;
  padding-top: 30px;
}

.hero-kicker,
.card-meta,
.row-meta,
.hero-tags,
.movie-facts,
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-kicker span,
.hero-tags span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
}

.hero-content h1 {
  max-width: 820px;
  margin: 24px 0 0;
  font-size: clamp(36px, 6vw, 74px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.065em;
}

.hero-content h2 {
  max-width: 740px;
  margin: 16px 0 0;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.15;
  font-weight: 850;
}

.hero-content p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  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 {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), #22c55e);
  box-shadow: 0 16px 32px rgba(5, 150, 105, 0.34);
}

.btn.ghost {
  color: var(--brand-dark);
  border-color: rgba(5, 150, 105, 0.18);
  background: #ffffff;
}

.btn.ghost.dark {
  width: 100%;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
}

.btn.text {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

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

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

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

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

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

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

.intro-band,
.content-section,
.detail-layout,
.player-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.intro-band {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: -48px;
  padding: 26px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.intro-band h2 {
  margin: 4px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
}

.intro-band p:last-child {
  margin: 0;
  color: var(--muted);
}

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

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

.section-head h2,
.ranking-head h2,
.page-hero h1,
.detail-article h2,
.side-card h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.section-head a {
  color: var(--brand-dark);
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.category-grid,
.category-overview-grid,
.movie-grid,
.large-grid {
  display: grid;
  gap: 18px;
}

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

.category-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 22px;
  color: #ffffff;
  background: #0f172a;
  box-shadow: var(--soft-shadow);
}

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

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

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

.category-card span,
.category-card strong {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 2;
}

.category-card span {
  bottom: 78px;
  font-size: 23px;
  font-weight: 900;
}

.category-card strong {
  bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.24);
  box-shadow: var(--soft-shadow);
}

.movie-card figure {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: #0f172a;
}

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

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

.movie-card figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.7), transparent);
}

.movie-card figcaption,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.movie-card figcaption {
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
}

.rank-badge {
  left: 10px;
  top: 10px;
  min-width: 34px;
  padding: 5px 9px;
  text-align: center;
  background: linear-gradient(135deg, var(--gold), #ef4444);
}

.card-body {
  padding: 15px;
}

.card-meta span,
.row-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 800;
}

.card-meta span + span,
.row-meta span + span {
  color: #64748b;
  background: #f1f5f9;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 11px 0 7px;
  overflow: hidden;
  color: #111827;
  font-size: 17px;
  line-height: 1.38;
  font-weight: 850;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--brand-dark);
}

.movie-card p,
.movie-row p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card.large figure {
  aspect-ratio: 16 / 9;
}

.movie-card.large h3 {
  font-size: 20px;
}

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

.ranking-box {
  position: sticky;
  top: 92px;
  padding: 20px;
  border-radius: 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.35), transparent 36%),
    linear-gradient(135deg, #0f172a, #111827 62%, #064e3b);
  box-shadow: var(--shadow);
}

.ranking-head h2 {
  color: #ffffff;
  font-size: 28px;
}

.ranking-list,
.ranking-page-list {
  display: grid;
  gap: 12px;
}

.ranking-box .ranking-list {
  margin: 18px 0;
}

.movie-row {
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--soft-shadow);
}

.ranking-box .movie-row {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.movie-row a {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
}

.movie-row figure {
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0f172a;
}

.movie-row figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row-content {
  min-width: 0;
  padding: 12px 12px 12px 0;
}

.row-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.list-rank {
  flex: 0 0 auto;
  min-width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), #22c55e);
  font-size: 13px;
  font-weight: 900;
}

.movie-row h3 {
  margin: 0;
  overflow: hidden;
  color: #111827;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: 850;
}

.ranking-box .movie-row h3,
.ranking-box .movie-row p {
  color: #ffffff;
}

.ranking-box .movie-row p {
  opacity: 0.7;
}

.row-meta {
  margin-top: 8px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  margin-bottom: 22px;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
}

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

.filter-panel label span {
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  height: 44px;
  border: 1px solid #dbe4ed;
  border-radius: 13px;
  color: #0f172a;
  background: #ffffff;
  padding: 0 12px;
  outline: 0;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(5, 150, 105, 0.45);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.filter-selects {
  display: flex;
  align-items: end;
  gap: 12px;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 0;
  padding: 54px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.18), transparent 32%),
    linear-gradient(135deg, #ffffff, #f8fafc);
  box-shadow: var(--soft-shadow);
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.category-page-hero {
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.category-page-hero > img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.breadcrumb {
  margin-bottom: 16px;
  color: #64748b;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--brand-dark);
  font-weight: 750;
}

.breadcrumb strong {
  color: #334155;
  font-weight: 750;
}

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

.category-overview-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.category-overview-card a {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
}

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  min-height: 150px;
}

.category-thumbs img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  border-radius: 16px;
}

.category-overview-card h2 {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.category-overview-card p:last-child {
  color: var(--muted);
}

.ranking-page-list .movie-row {
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.ranking-page-list .movie-row a {
  grid-template-columns: 180px minmax(0, 1fr);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: blur(5px);
  transform: scale(1.06);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 20%, rgba(16, 185, 129, 0.28), transparent 30%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.52));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 48px;
}

.detail-hero .breadcrumb,
.detail-hero .breadcrumb a,
.detail-hero .breadcrumb strong {
  color: rgba(255, 255, 255, 0.78);
}

.detail-title-wrap {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.detail-title-wrap figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.detail-title-wrap figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.detail-title-wrap h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.detail-title-wrap p {
  max-width: 820px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.movie-facts {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.movie-facts li {
  display: grid;
  gap: 3px;
  min-width: 108px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.movie-facts span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.movie-facts strong {
  color: #ffffff;
  font-size: 14px;
}

.player-section {
  padding-top: 42px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #020617;
  box-shadow: var(--shadow);
}

.player-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(16, 185, 129, 0.25), transparent 24%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.42), rgba(2, 6, 23, 0.08));
  cursor: pointer;
}

.player-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.play-icon {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 25px solid var(--brand);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding-top: 42px;
}

.detail-article,
.side-card {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.detail-article {
  padding: 30px;
}

.detail-article h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 28px;
}

.detail-article h2:not(:first-child) {
  margin-top: 30px;
}

.detail-article p {
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.9;
}

.detail-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.side-card {
  padding: 22px;
}

.side-card h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.side-card > a,
.tag-cloud a {
  display: inline-flex;
  align-items: center;
  margin: 0 8px 8px 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 13px;
  font-weight: 800;
}

.side-card > a {
  display: flex;
  justify-content: space-between;
  margin-right: 0;
  color: #334155;
  background: #f8fafc;
}

.related-section {
  padding-bottom: 70px;
}

.site-footer {
  margin-top: 70px;
  color: #cbd5e1;
  background: #0f172a;
}

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

.footer-brand strong {
  color: #ffffff;
}

.footer-brand em,
.footer-about p,
.footer-col a {
  color: #94a3b8;
}

.footer-about p {
  max-width: 520px;
  margin: 18px 0 0;
}

.footer-col h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

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

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a:hover {
  color: #6ee7b7;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding: 20px 16px;
  color: #64748b;
  text-align: center;
  font-size: 14px;
}

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

@media (max-width: 1100px) {
  .category-grid,
  .movie-grid,
  .compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .ranking-box {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 66px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
    gap: 4px;
  }

  .nav-link {
    border-radius: 12px;
  }

  .hero-shell {
    min-height: 640px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 88px;
  }

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

  .hero-content h2 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-arrow {
    display: none;
  }

  .intro-band,
  .section-head,
  .filter-panel,
  .filter-selects {
    display: grid;
    grid-template-columns: 1fr;
  }

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

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

  .detail-title-wrap figure {
    max-width: 320px;
  }

  .page-hero {
    padding: 34px 24px;
  }

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

@media (max-width: 560px) {
  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy em {
    display: none;
  }

  .hero-shell {
    min-height: 620px;
    height: 78vh;
  }

  .hero-actions .btn,
  .intro-band .btn {
    width: 100%;
  }

  .content-section {
    padding-top: 42px;
  }

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

  .movie-row a,
  .ranking-page-list .movie-row a {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .row-meta span:nth-child(3) {
    display: none;
  }

  .detail-hero-inner {
    padding-top: 34px;
  }

  .detail-title-wrap h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .detail-article,
  .side-card {
    padding: 22px;
  }

  .play-icon {
    width: 76px;
    height: 76px;
  }
}
