:root {
  color-scheme: light;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --white: #ffffff;
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 32px 80px rgba(15, 23, 42, 0.18);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-2xl: 34px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--slate-800);
  background: linear-gradient(135deg, var(--slate-50), var(--teal-50) 45%, #ecfeff);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(20, 184, 166, 0.18);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

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

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

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-600), var(--cyan-600));
  box-shadow: 0 12px 25px rgba(13, 148, 136, 0.32);
  font-size: 14px;
}

.brand-text {
  font-size: 22px;
  background: linear-gradient(90deg, var(--teal-600), var(--cyan-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.mobile-link {
  color: var(--slate-700);
  font-weight: 700;
  border-radius: 14px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link {
  padding: 10px 14px;
  font-size: 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--teal-700);
  background: var(--teal-50);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--teal-50);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

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

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 14px;
  border-top: 1px solid var(--teal-100);
}

.mobile-link {
  display: block;
  padding: 12px 14px;
  margin-top: 4px;
}

.hero-slider {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--slate-900);
}

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

.hero-slide {
  display: none;
  color: var(--white);
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.2)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active {
  display: block;
  animation: heroFade 0.6s ease both;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-backdrop {
  background: radial-gradient(circle at 18% 24%, rgba(45, 212, 191, 0.35), transparent 38%), linear-gradient(0deg, rgba(15, 23, 42, 0.92), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: center;
  padding: 84px 0 150px;
}

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

.eyebrow,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: rgba(204, 251, 241, 0.92);
}

.hero-kicker {
  color: var(--teal-50);
  background: rgba(20, 184, 166, 0.24);
  border: 1px solid rgba(94, 234, 212, 0.38);
}

.hero-copy h1 {
  margin: 20px 0 16px;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.hero-one-line {
  max-width: 740px;
  margin: 0 0 18px;
  color: #dffaf7;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.55;
  font-weight: 700;
}

.hero-summary {
  max-width: 680px;
  margin: 0 0 24px;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.8;
}

.hero-chips,
.detail-chips,
.hero-quick-links,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chips span,
.detail-chips span,
.tag,
.hero-quick-links a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-chips span,
.detail-chips span {
  padding: 8px 12px;
  color: var(--teal-50);
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

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

.primary-btn,
.ghost-btn,
.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.primary-btn {
  padding: 13px 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-600));
  box-shadow: 0 18px 40px rgba(8, 145, 178, 0.32);
}

.ghost-btn {
  padding: 12px 20px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.ghost-btn.dark {
  color: var(--teal-700);
  border-color: var(--teal-100);
  background: var(--teal-50);
}

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

.hero-poster {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

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

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 45%;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  font-size: 38px;
  line-height: 1;
}

.hero-arrow.prev {
  left: 26px;
}

.hero-arrow.next {
  right: 26px;
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: var(--teal-400);
}

.hero-search-card {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-lg);
}

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

.hero-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  outline: none;
  background: var(--white);
  color: var(--slate-800);
}

.hero-search input {
  min-height: 50px;
  padding: 0 18px;
}

.hero-search button {
  border: 0;
  border-radius: 16px;
  padding: 0 22px;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-600));
}

.hero-quick-links {
  margin-top: 14px;
}

.hero-quick-links a {
  padding: 8px 12px;
  color: var(--slate-700);
  background: rgba(255, 255, 255, 0.78);
}

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

.featured-strip {
  position: relative;
  z-index: 10;
  margin-top: -24px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.strip-copy h2,
.section-heading h2,
.page-hero h1,
.detail-info h1,
.detail-main-copy h2,
.category-overview-head h2 {
  margin: 12px 0 10px;
  color: var(--slate-900);
  letter-spacing: -0.04em;
}

.strip-copy h2,
.section-heading h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.strip-copy p,
.section-heading p,
.page-hero p,
.category-overview-head p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.8;
}

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

.mini-stack {
  display: grid;
  gap: 12px;
}

.mini-movie {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: var(--slate-50);
  transition: transform 0.25s ease, background 0.25s ease;
}

.mini-movie:hover {
  transform: translateY(-2px);
  background: var(--teal-50);
}

.mini-movie img {
  width: 58px;
  height: 78px;
  object-fit: cover;
  border-radius: 14px;
}

.mini-movie strong,
.mini-movie em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-movie strong {
  color: var(--slate-900);
  font-size: 14px;
}

.mini-movie em {
  margin-top: 5px;
  color: var(--slate-500);
  font-size: 12px;
  font-style: normal;
}

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

.slim-heading {
  align-items: start;
  margin-bottom: 18px;
}

.section-more,
.text-link {
  flex: 0 0 auto;
  padding: 10px 16px;
  color: var(--teal-700);
  background: var(--teal-50);
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(20, 184, 166, 0.16);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 184, 166, 0.38);
  box-shadow: var(--shadow-md);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--slate-200);
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

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

.badge {
  position: absolute;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
}

.type-badge {
  left: 12px;
  top: 12px;
}

.year-badge {
  right: 12px;
  bottom: 12px;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-600));
}

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

.movie-meta-line {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
}

.movie-meta-line span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-card h2 {
  margin: 8px 0;
  color: var(--slate-900);
  font-size: 20px;
  line-height: 1.25;
}

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

.movie-card h2 a:hover {
  color: var(--teal-700);
}

.movie-card p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card.compact p {
  display: none;
}

.tag {
  padding: 6px 9px;
  color: var(--teal-700);
  background: var(--teal-50);
}

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

.category-card,
.category-overview-card,
.detail-side-card,
.detail-main-copy,
.filter-panel,
.ranking-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.category-card {
  padding: 24px;
  min-height: 230px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.category-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  right: -30px;
  top: -30px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.25), transparent 70%);
}

.category-card h3 {
  position: relative;
  margin: 0 0 12px;
  color: var(--slate-900);
  font-size: 24px;
}

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

.category-samples {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-samples a {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--teal-700);
  background: var(--teal-50);
  font-size: 12px;
  font-weight: 800;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border-radius: 18px;
  color: var(--slate-700);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 184, 166, 0.16);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, background 0.25s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  background: var(--teal-50);
}

.rank-no {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-600));
}

.rank-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--slate-900);
  font-weight: 800;
}

.rank-meta {
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 700;
}

.page-hero {
  padding: 74px 0 56px;
  background: radial-gradient(circle at 24% 10%, rgba(20, 184, 166, 0.28), transparent 36%), linear-gradient(135deg, #f8fafc, #ecfeff);
}

.compact-hero h1 {
  max-width: 860px;
  margin: 14px 0 14px;
  font-size: clamp(38px, 7vw, 70px);
  line-height: 1;
}

.compact-hero p {
  max-width: 820px;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--slate-500);
  font-size: 14px;
  font-weight: 700;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 18px;
  margin-bottom: 26px;
}

.search-box,
.filter-selects label {
  display: grid;
  gap: 7px;
  color: var(--slate-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  min-height: 46px;
  padding: 0 13px;
}

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

.filter-selects select {
  min-width: 150px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 22px;
}

.ranking-wrap {
  display: grid;
  gap: 34px;
}

.ranking-section {
  padding: 22px;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 42px 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: var(--slate-50);
  transition: background 0.25s ease, transform 0.25s ease;
}

.rank-card:hover {
  transform: translateY(-3px);
  background: var(--teal-50);
}

.rank-card img {
  width: 56px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-card strong,
.rank-card em,
.rank-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-card strong {
  color: var(--slate-900);
}

.rank-card em {
  margin-top: 4px;
  color: var(--slate-500);
  font-size: 12px;
  font-style: normal;
}

.rank-card small {
  margin-top: 4px;
  color: var(--slate-600);
  font-size: 12px;
}

.detail-hero {
  padding: 42px 0 56px;
  color: var(--white);
  background: radial-gradient(circle at 24% 10%, rgba(20, 184, 166, 0.38), transparent 36%), linear-gradient(135deg, var(--slate-900), #134e4a 60%, #164e63);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: #000000;
  box-shadow: var(--shadow-lg);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.22));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-start span {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-600));
  box-shadow: 0 18px 45px rgba(6, 182, 212, 0.42);
}

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

.player-status {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 6;
  color: #fecaca;
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
}

.detail-info h1 {
  color: var(--white);
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1;
}

.detail-one-line {
  margin: 0 0 22px;
  color: #dffaf7;
  font-size: 20px;
  line-height: 1.7;
  font-weight: 700;
}

.large-tags .tag {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.detail-main-copy {
  padding: 28px;
}

.detail-main-copy h2 {
  font-size: 28px;
}

.detail-main-copy p {
  margin: 0 0 26px;
  color: var(--slate-700);
  font-size: 17px;
  line-height: 2;
}

.detail-side-card {
  padding: 16px;
}

.detail-side-card img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-side-card h2 {
  margin: 14px 0 8px;
  color: var(--slate-900);
  font-size: 22px;
}

.detail-side-card p {
  margin: 6px 0;
  color: var(--slate-600);
  line-height: 1.6;
}

.site-footer {
  margin-top: 44px;
  color: var(--slate-200);
  background: linear-gradient(135deg, var(--slate-900), #134e4a 58%, #164e63);
}

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

.footer-logo {
  color: var(--white);
  font-size: 20px;
}

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

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

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

.footer-links a {
  color: var(--slate-300);
  transition: color 0.25s ease;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(94, 234, 212, 0.16);
  color: var(--slate-400);
  text-align: center;
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

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

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

  .hero-content,
  .detail-layout,
  .detail-content,
  .two-column-section,
  .featured-strip,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

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

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

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

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

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

  .hero-content {
    min-height: 590px;
    padding-top: 58px;
    padding-bottom: 190px;
  }

  .hero-copy h1,
  .compact-hero h1,
  .detail-info h1 {
    letter-spacing: -0.05em;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .hero-search button {
    min-height: 46px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    bottom: 168px;
  }

  .section-heading,
  .filter-panel {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .filter-selects {
    display: grid;
    grid-template-columns: 1fr;
  }

  .filter-selects select {
    min-width: 0;
  }

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

  .rank-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .rank-card img {
    display: none;
  }

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

@media (max-width: 520px) {
  .container,
  .header-inner,
  .mobile-nav,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 22px, 1180px);
  }

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

  .hero-slider {
    min-height: 790px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-one-line {
    font-size: 17px;
  }

  .movie-grid,
  .movie-grid.small-grid,
  .library-grid,
  .category-grid,
  .category-overview-grid,
  .ranking-grid,
  .mini-row {
    grid-template-columns: 1fr;
  }

  .movie-card.compact {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .movie-card.compact .poster-link img {
    height: 100%;
  }

  .detail-main-copy,
  .ranking-section {
    padding: 18px;
  }
}
