:root {
  --frost-50: #f0f9ff;
  --frost-100: #e0f2fe;
  --frost-500: #0ea5e9;
  --frost-600: #0284c7;
  --frost-700: #0369a1;
  --frost-800: #075985;
  --frost-900: #0c4a6e;
  --frost-950: #082f49;
  --ice-50: #ecfeff;
  --ice-100: #cffafe;
  --ice-200: #a5f3fc;
  --ice-300: #67e8f9;
  --ice-400: #22d3ee;
  --ice-600: #0891b2;
  --ice-900: #164e63;
  --silver-50: #f8fafc;
  --silver-100: #f1f5f9;
  --silver-200: #e2e8f0;
  --silver-300: #cbd5e1;
  --silver-400: #94a3b8;
  --silver-500: #64748b;
  --silver-600: #475569;
  --silver-700: #334155;
  --silver-800: #1e293b;
  --silver-900: #0f172a;
  --white: #ffffff;
  --black: #020617;
  --shadow-soft: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 14px 35px rgba(15, 23, 42, 0.10);
  --radius-large: 28px;
  --radius-card: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--silver-900);
  background: linear-gradient(180deg, var(--silver-50) 0%, #ffffff 42%, var(--frost-50) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  min-height: 70vh;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(90deg, var(--frost-900), var(--frost-800), var(--ice-900));
  box-shadow: 0 14px 40px rgba(8, 47, 73, 0.28);
}

.nav-inner {
  max-width: 1240px;
  height: 68px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--ice-400), var(--frost-500));
  box-shadow: 0 12px 26px rgba(34, 211, 238, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
}

.brand-name {
  font-size: 22px;
  background: linear-gradient(90deg, var(--ice-200), var(--white));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 650;
  font-size: 15px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--ice-200);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

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

.mobile-menu {
  display: none;
  padding: 10px 24px 18px;
  background: var(--frost-800);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-menu a {
  display: block;
  padding: 12px 10px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.92);
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.09);
}

.mobile-menu.open {
  display: block;
}

.hero-slider {
  position: relative;
  min-height: 72vh;
  height: 780px;
  max-height: 84vh;
  overflow: hidden;
  background: var(--silver-900);
}

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

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

.hero-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 26%, rgba(34, 211, 238, 0.30), transparent 32%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.62) 48%, rgba(2, 6, 23, 0.20) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.70), rgba(2, 6, 23, 0.10));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 360px);
  align-items: center;
  gap: 58px;
  color: var(--white);
}

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

.hero-kicker,
.detail-meta,
.hero-tags,
.tag-list,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-kicker span,
.detail-meta span {
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--ice-50);
  background: rgba(2, 132, 199, 0.72);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--silver-200);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-tags span,
.tag-list span {
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--frost-700);
  background: var(--frost-100);
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

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

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--frost-600), var(--ice-600));
  box-shadow: 0 16px 28px rgba(2, 132, 199, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(2, 132, 199, 0.34);
}

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

.btn-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.46);
  transform: rotate(2deg);
  transition: transform 0.25s ease;
}

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

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: linear-gradient(135deg, var(--frost-800), var(--ice-900));
}

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  font-size: 40px;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 10px;
  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: 30px;
  background: var(--ice-300);
}

.stats-strip {
  max-width: 1120px;
  margin: -42px auto 54px;
  padding: 0 24px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stats-strip div {
  padding: 22px;
  border-radius: 22px;
  color: var(--silver-700);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.stats-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--silver-900);
  font-size: 20px;
}

.content-section {
  max-width: 1240px;
  margin: 0 auto 70px;
  padding: 0 24px;
}

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

.section-title h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--silver-900);
}

.section-title p {
  margin: 0;
  color: var(--silver-600);
  line-height: 1.7;
}

.section-more {
  flex: 0 0 auto;
  color: var(--frost-700);
  font-weight: 800;
}

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

.category-tile,
.category-overview-card,
.info-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover,
.category-overview-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
}

.category-thumbs,
.category-cover-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 132px;
  background: linear-gradient(135deg, var(--frost-900), var(--ice-900));
}

.category-thumbs img,
.category-cover-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.category-tile div:last-child,
.category-overview-body {
  padding: 20px;
}

.category-tile h2,
.category-overview-body h2,
.info-card h2 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 900;
}

.category-tile p,
.category-overview-body p,
.info-card p {
  margin: 0;
  color: var(--silver-600);
  line-height: 1.7;
}

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

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

.poster-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.poster-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.18);
}

.poster-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--silver-800), var(--frost-800));
}

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

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

.movie-badge,
.rank-badge,
.poster-year {
  position: absolute;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  background: rgba(2, 132, 199, 0.88);
  backdrop-filter: blur(10px);
}

.movie-badge {
  top: 12px;
  right: 12px;
}

.rank-badge {
  top: 12px;
  left: 12px;
  background: rgba(245, 158, 11, 0.92);
}

.poster-year {
  left: 12px;
  bottom: 12px;
  background: rgba(2, 6, 23, 0.72);
}

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

.card-body h2 {
  min-height: 48px;
  margin: 0;
  color: var(--silver-900);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.poster-link:hover h2 {
  color: var(--frost-700);
}

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

.card-meta {
  color: var(--silver-500);
  font-size: 13px;
}

.card-meta span + span::before {
  content: "·";
  margin-right: 10px;
  color: var(--silver-300);
}

.tag-list {
  gap: 6px;
}

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

.movie-card-compact .card-line {
  -webkit-line-clamp: 2;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 28px;
}

.rank-list,
.mini-card-list {
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.rank-row {
  min-height: 64px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--silver-100);
  transition: background 0.2s ease;
}

.rank-row:hover {
  background: var(--frost-50);
}

.rank-number {
  color: var(--frost-700);
  font-size: 22px;
  font-weight: 900;
}

.rank-title {
  min-width: 0;
  overflow: hidden;
  color: var(--silver-900);
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.mini-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--silver-100);
}

.mini-card:hover {
  background: var(--frost-50);
}

.mini-card img {
  width: 64px;
  height: 86px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--silver-200);
}

.mini-card span {
  min-width: 0;
  align-self: center;
}

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

.mini-card strong {
  overflow: hidden;
  color: var(--silver-900);
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-card em {
  margin-top: 6px;
  color: var(--silver-500);
  font-style: normal;
  font-size: 13px;
}

.filter-panel {
  margin-bottom: 24px;
  padding: 24px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.filter-heading {
  margin-bottom: 18px;
}

.filter-heading h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 900;
}

.filter-heading p {
  margin: 0;
  color: var(--silver-600);
}

.filter-controls {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 16px;
}

.filter-controls label {
  display: grid;
  gap: 8px;
  color: var(--silver-700);
  font-weight: 800;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--silver-200);
  border-radius: 14px;
  color: var(--silver-900);
  background: var(--silver-50);
  outline: none;
}

.filter-controls input:focus,
.filter-controls select:focus {
  border-color: var(--frost-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.filter-empty {
  display: none;
  margin: 18px 0 0;
  color: var(--silver-500);
  font-weight: 700;
}

.filter-empty.show {
  display: block;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--frost-900), var(--frost-800), var(--ice-900));
}

.page-hero {
  margin-bottom: 56px;
  padding: 86px 24px;
}

.page-hero > div {
  max-width: 1120px;
  margin: 0 auto;
}

.compact-hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(103, 232, 249, 0.34), transparent 34%),
    linear-gradient(135deg, var(--frost-900), var(--frost-800), var(--ice-900));
}

.page-hero h1 {
  max-width: 900px;
  margin: 8px 0 16px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--silver-200);
  font-size: 18px;
  line-height: 1.8;
}

.eyebrow {
  color: var(--ice-200) !important;
  font-size: 14px !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

.category-cover-row {
  height: 100%;
  min-height: 260px;
  grid-template-columns: repeat(2, 1fr);
}

.category-samples {
  margin: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-samples a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--frost-700);
  background: var(--frost-50);
  font-size: 13px;
  font-weight: 700;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 26px;
}

.ranking-feature {
  border-radius: 26px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.ranking-feature img {
  width: 100%;
  aspect-ratio: 16 / 18;
  object-fit: cover;
  background: var(--silver-200);
}

.ranking-feature div {
  padding: 24px;
}

.ranking-feature span {
  color: var(--frost-700);
  font-weight: 900;
}

.ranking-feature h2 {
  margin: 8px 0 12px;
  font-size: 30px;
  font-weight: 900;
}

.ranking-feature p {
  color: var(--silver-600);
  line-height: 1.75;
}

.full-rank-list {
  max-height: 780px;
  overflow: auto;
}

.detail-hero {
  min-height: 620px;
  display: flex;
  align-items: center;
}

.detail-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.58), rgba(2, 6, 23, 0.18)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.10));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 46px;
}

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 28px 68px rgba(2, 6, 23, 0.46);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: linear-gradient(135deg, var(--frost-800), var(--ice-900));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--silver-300);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--ice-200);
}

.detail-copy h1 {
  margin: 18px 0;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-copy p {
  max-width: 780px;
  color: var(--silver-200);
  font-size: 19px;
  line-height: 1.85;
}

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

.detail-main {
  margin-top: -62px;
  position: relative;
  z-index: 3;
}

.player-card {
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
}

.player-shell video {
  width: 100%;
  min-height: 320px;
  max-height: 72vh;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
  font-size: 18px;
  font-weight: 900;
}

.play-circle {
  width: 76px;
  height: 76px;
  padding-left: 5px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--frost-600), var(--ice-600));
  box-shadow: 0 18px 38px rgba(8, 145, 178, 0.38);
  font-size: 28px;
}

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

.detail-article,
.detail-side {
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.detail-article {
  padding: 32px;
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 900;
}

.detail-article p {
  margin: 0 0 24px;
  color: var(--silver-700);
  font-size: 17px;
  line-height: 1.95;
}

.detail-side {
  padding: 26px;
  align-self: start;
}

.detail-side dl {
  margin: 0;
}

.detail-side dt {
  margin-top: 16px;
  color: var(--silver-500);
  font-size: 13px;
  font-weight: 800;
}

.detail-side dd {
  margin: 6px 0 0;
  color: var(--silver-900);
  font-weight: 800;
  line-height: 1.55;
}

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

.info-card {
  padding: 26px;
}

.site-footer {
  color: var(--silver-300);
  background: linear-gradient(180deg, var(--silver-900), var(--frost-950));
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.9fr 0.75fr;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 22px;
}

.site-footer p {
  max-width: 460px;
  margin: 0;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

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

.site-footer li + li {
  margin-top: 10px;
}

.site-footer a:hover {
  color: var(--ice-200);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--silver-400);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 14px;
    font-size: 14px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

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

  .category-overview-grid,
  .split-section,
  .ranking-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

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

  .nav-toggle {
    display: block;
  }

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

  .hero-slide {
    position: absolute;
  }

  .hero-content {
    padding-top: 64px;
    padding-bottom: 80px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-poster {
    max-width: 260px;
    transform: none;
  }

  .hero-control {
    display: none;
  }

  .stats-strip {
    margin-top: -28px;
    grid-template-columns: 1fr;
  }

  .movie-grid,
  .category-grid,
  .footer-main,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .detail-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

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

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

  .rank-meta {
    grid-column: 2;
  }

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

@media (max-width: 560px) {
  .nav-inner {
    padding: 0 16px;
  }

  .brand-name {
    font-size: 19px;
  }

  .hero-copy h1,
  .detail-copy h1,
  .page-hero h1 {
    letter-spacing: -0.03em;
  }

  .movie-grid,
  .category-grid,
  .footer-main,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .content-section,
  .page-hero,
  .detail-hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-title {
    display: block;
  }

  .section-more {
    display: inline-flex;
    margin-top: 10px;
  }

  .player-card {
    padding: 8px;
    border-radius: 18px;
  }

  .player-shell {
    border-radius: 14px;
  }

  .player-shell video {
    min-height: 220px;
  }

  .detail-article,
  .detail-side,
  .filter-panel {
    padding: 20px;
  }
}
