:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  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-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.24);
  transition: transform 0.25s ease;
}

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

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  color: var(--slate-500);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1;
}

.nav-link,
.mobile-nav-link {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  color: var(--slate-700);
  font-weight: 700;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

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

.nav-link:hover,
.mobile-nav-link:hover {
  color: var(--blue);
  background: #eff6ff;
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f8fafc;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--slate-800);
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--slate-200);
  background: var(--white);
}

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

.mobile-panel nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  display: grid;
  gap: 8px;
}

.mobile-nav-link {
  padding: 13px 16px;
}

main {
  min-height: 60vh;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 710px;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  color: var(--white);
}

.hero-slides {
  position: relative;
  min-height: 710px;
}

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

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

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

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.92),
    rgba(37, 99, 235, 0.78),
    rgba(6, 182, 212, 0.52)
  );
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 610px;
  margin: 0 auto;
  padding: 74px 0 130px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  align-items: center;
  gap: 42px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5.2vw, 66px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.hero-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.14;
  font-weight: 900;
  color: #f8fafc;
}

.hero-copy p {
  margin: 0;
  max-width: 720px;
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.9;
}

.hero-tags,
.detail-tags,
.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hero-tags span,
.detail-tags span,
.detail-badges span {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}

.hero-tags span {
  color: #eff6ff;
  background: rgba(15, 23, 42, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.primary-button,
.ghost-button,
.filter-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  border: 0;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.primary-button {
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.25);
}

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 65px rgba(15, 23, 42, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

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

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

.hero-poster span {
  position: absolute;
  inset: auto 22px 22px auto;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--white);
  border-radius: 999px;
  font-size: 22px;
  box-shadow: var(--soft-shadow);
}

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 138px;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: flex;
  gap: 8px;
}

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

.hero-dot.is-active {
  width: 56px;
  background: var(--white);
}

.hero-search-panel {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  color: var(--slate-900);
}

.hero-search label,
.filter-bar span {
  display: block;
  margin-bottom: 7px;
  color: var(--slate-700);
  font-size: 13px;
  font-weight: 900;
}

.hero-search div {
  display: flex;
  gap: 10px;
}

.hero-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: var(--white);
  color: var(--slate-900);
  padding: 0 14px;
  outline: none;
  transition:
    border 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.hero-search button {
  min-height: 46px;
  min-width: 94px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 440px;
}

.hero-quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--blue);
  background: #eff6ff;
  font-weight: 900;
  font-size: 13px;
}

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

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

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

.section-heading h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 950;
}

.section-heading h2 span {
  width: 5px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--accent-a, var(--blue)),
    var(--accent-b, var(--cyan))
  );
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--slate-500);
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 900;
}

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

.category-tile,
.category-page-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--accent-a, var(--blue)),
    var(--accent-b, var(--cyan))
  );
  box-shadow: var(--soft-shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.category-tile:hover,
.category-page-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow);
}

.category-tile div {
  position: relative;
  z-index: 2;
  padding: 24px;
  display: grid;
  gap: 8px;
}

.category-tile strong {
  font-size: 22px;
  font-weight: 950;
}

.category-tile span,
.category-page-card p {
  color: rgba(255, 255, 255, 0.88);
}

.category-tile img {
  position: absolute;
  right: -12px;
  bottom: -20px;
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0.45;
  transform: rotate(8deg);
}

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

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

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

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

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

.poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--slate-200), #dbeafe);
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0);
  transition: background 0.25s ease;
}

.movie-card-link:hover .poster-wrap::after {
  background: rgba(15, 23, 42, 0.38);
}

.poster-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--blue);
  background: var(--white);
  opacity: 0;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  box-shadow: var(--soft-shadow);
}

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

.region-badge,
.rank-badge {
  position: absolute;
  z-index: 4;
  top: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.region-badge {
  right: 10px;
}

.rank-badge {
  left: 10px;
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.poster-meta {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 36px 12px 12px;
  color: var(--white);
  background: linear-gradient(
    0deg,
    rgba(15, 23, 42, 0.82),
    rgba(15, 23, 42, 0)
  );
  font-size: 12px;
  font-weight: 800;
}

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

.movie-card-body h3 {
  margin: 0 0 6px;
  color: var(--slate-900);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.movie-card-link:hover h3 {
  color: var(--blue);
}

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

.card-tags {
  margin-top: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.ranking-panel {
  position: sticky;
  top: 90px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.ranking-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.ranking-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
}

.ranking-head a {
  color: var(--blue);
  font-weight: 900;
}

.ranking-panel ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ranking-panel li a {
  display: grid;
  grid-template-columns: 30px 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.ranking-panel li a:hover {
  background: #f8fafc;
}

.rank-number {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 950;
}

.ranking-panel img {
  width: 52px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}

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

.rank-info strong,
.rank-info small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info small {
  color: var(--slate-500);
}

.page-hero {
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--accent-a, var(--blue)),
    var(--accent-b, var(--cyan))
  );
}

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

.slim-hero > div {
  padding: 58px 0;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 950;
}

.page-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.8;
}

.hero-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-link-row a {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-weight: 800;
}

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

.category-page-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  min-height: 190px;
}

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

.category-page-card div {
  position: relative;
  z-index: 2;
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.category-page-card h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 950;
}

.category-page-card span {
  font-weight: 900;
}

.filter-bar {
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 210px 190px;
  gap: 14px;
  align-items: end;
}

.wide-filter {
  grid-template-columns: minmax(240px, 1fr) 180px 180px 190px;
}

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

.rank-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: var(--radius);
  color: var(--white);
  box-shadow: var(--soft-shadow);
}

.rank-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(15, 23, 42, 0.88),
    rgba(15, 23, 42, 0.12)
  );
}

.rank-hero-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rank-hero-card:hover img {
  transform: scale(1.06);
}

.rank-hero-card > span {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: var(--blue);
  background: var(--white);
  font-size: 22px;
  font-weight: 950;
}

.rank-hero-card div {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 20px;
}

.rank-hero-card h2 {
  margin: 0 0 8px;
  font-size: 23px;
  font-weight: 950;
}

.rank-hero-card p {
  margin: 0;
  color: #dbeafe;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.player-page {
  background: var(--slate-900);
  color: var(--white);
}

.player-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 42px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: #cbd5e1;
  font-size: 14px;
}

.breadcrumb a {
  color: #e0f2fe;
  font-weight: 800;
}

.player-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

.video-box {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #000000;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--blue);
  background: radial-gradient(
    circle,
    rgba(15, 23, 42, 0.18),
    rgba(15, 23, 42, 0.58)
  );
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.player-overlay span {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--white);
  font-size: 28px;
  box-shadow: var(--shadow);
}

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

.player-title-block {
  margin-top: 24px;
}

.detail-badges span {
  background: #1e293b;
  color: #dbeafe;
}

.player-title-block h1 {
  margin: 16px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
  font-weight: 950;
}

.player-title-block p {
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.75;
}

.detail-tags {
  margin-top: 18px;
}

.detail-tags span {
  color: #e0f2fe;
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(125, 211, 252, 0.2);
}

.detail-info-card {
  position: sticky;
  top: 92px;
  overflow: hidden;
  border-radius: 18px;
  background: #1e293b;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.detail-info-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-info-card div {
  padding: 20px;
}

.detail-info-card h2 {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 950;
}

.detail-info-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px 12px;
  font-size: 14px;
}

.detail-info-card dt {
  color: #94a3b8;
}

.detail-info-card dd {
  margin: 0;
  color: #f8fafc;
}

.detail-content {
  padding: 42px 0 0;
  display: grid;
  gap: 34px;
}

.detail-content h2 {
  margin: 0 0 16px;
  font-size: 27px;
  font-weight: 950;
}

.text-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.text-card p {
  margin: 0;
  color: var(--slate-700);
  font-size: 17px;
  line-height: 1.9;
  white-space: pre-line;
}

.site-footer {
  margin-top: 64px;
  color: var(--white);
  background: linear-gradient(135deg, #111827, #1e293b);
}

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

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

.footer-brand p,
.site-footer p,
.site-footer a,
.footer-bottom {
  color: #cbd5e1;
}

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

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

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

.footer-logo {
  margin-bottom: 14px;
}

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

.accent-blue {
  --accent-a: #2563eb;
  --accent-b: #06b6d4;
}

.accent-red {
  --accent-a: #ef4444;
  --accent-b: #f97316;
}

.accent-cyan {
  --accent-a: #0891b2;
  --accent-b: #22d3ee;
}

.accent-indigo {
  --accent-a: #4f46e5;
  --accent-b: #3b82f6;
}

.accent-orange {
  --accent-a: #f97316;
  --accent-b: #f59e0b;
}

.accent-yellow {
  --accent-a: #ca8a04;
  --accent-b: #facc15;
}

.accent-pink {
  --accent-a: #db2777;
  --accent-b: #fb7185;
}

.accent-purple {
  --accent-a: #9333ea;
  --accent-b: #ec4899;
}

.accent-teal {
  --accent-a: #0f766e;
  --accent-b: #14b8a6;
}

.accent-slate {
  --accent-a: #334155;
  --accent-b: #0f172a;
}

.accent-emerald {
  --accent-a: #059669;
  --accent-b: #10b981;
}

.accent-sky {
  --accent-a: #0284c7;
  --accent-b: #38bdf8;
}

.accent-green {
  --accent-a: #16a34a;
  --accent-b: #22c55e;
}

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

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

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

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

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

  .two-column-showcase,
  .player-grid {
    grid-template-columns: 1fr;
  }

  .ranking-panel,
  .detail-info-card {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .header-inner,
  .content-section,
  .detail-content,
  .player-inner,
  .footer-inner,
  .page-hero > div {
    width: min(100% - 24px, 1180px);
  }

  .hero-slider,
  .hero-slides {
    min-height: 780px;
  }

  .hero-content {
    min-height: 620px;
    padding: 42px 0 190px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }

  .hero-poster {
    width: min(220px, 64vw);
    transform: rotate(0deg);
  }

  .hero-copy p,
  .page-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-controls {
    bottom: 178px;
  }

  .hero-search-panel {
    bottom: 16px;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .hero-search div {
    flex-direction: column;
  }

  .hero-quick-links {
    justify-content: flex-start;
    max-width: none;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .category-grid,
  .category-page-grid,
  .rank-hero-grid,
  .filter-bar,
  .wide-filter,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-page-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .rank-hero-card,
  .rank-hero-card img {
    min-height: 220px;
  }

  .player-inner {
    padding-top: 18px;
  }

  .detail-info-card {
    display: none;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 430px) {
  .brand-title {
    font-size: 18px;
  }

  .brand-subtitle {
    display: none;
  }

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

  .movie-card-body h3 {
    font-size: 14px;
  }

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

  .category-page-card img {
    height: 190px;
  }
}
