:root {
  --cyan-50: #ecfeff;
  --cyan-100: #cffafe;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-700: #0e7490;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-800: #1e40af;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 26px 60px rgba(15, 23, 42, 0.18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

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

.brand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(8, 145, 178, 0.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

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

.brand-copy small {
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 500;
}

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

.nav-link,
.mobile-nav-link {
  position: relative;
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 650;
  transition: color 0.22s ease, background 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--cyan-700);
  background: linear-gradient(90deg, var(--cyan-50), #eff6ff);
}

.header-search,
.mobile-search,
.big-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.big-search input {
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 10px 16px;
  min-width: 180px;
  background: white;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus {
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.14);
}

.header-search button,
.mobile-search button,
.big-search button,
.reset-filter {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: white;
  background: var(--cyan-600);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.reset-filter:hover {
  background: var(--cyan-700);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--cyan-50);
  border: 0;
  border-radius: 12px;
}

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

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

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

.mobile-panel-inner {
  padding: 16px 0 22px;
}

.mobile-panel nav {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.hero-section {
  position: relative;
  color: white;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600) 52%, var(--blue-800));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: 52px;
  min-height: 670px;
  padding: 78px 0 120px;
}

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

.hero-badge {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 16px;
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  display: block;
  margin-top: 8px;
  color: #cffafe;
}

.hero-copy p {
  margin: 24px 0 36px;
  max-width: 650px;
  color: #e0f7ff;
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

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

.btn-primary {
  color: var(--blue-700, #1d4ed8);
  background: white;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.88);
  color: white;
  background: transparent;
}

.btn-outline:hover {
  color: var(--blue-600);
  background: white;
}

.hero-showcase {
  position: relative;
  isolation: isolate;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 42px -24px -28px 34px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(2px);
  z-index: -1;
}

.hero-slides {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: rgba(15, 23, 42, 0.5);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.88), rgba(37, 99, 235, 0.9));
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.1) 58%, rgba(2, 6, 23, 0.22));
}

.hero-slide-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

.hero-slide-copy span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 700;
}

.hero-slide-copy h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.18;
}

.hero-slide-copy p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-slide-copy a {
  display: inline-flex;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--blue-700, #1d4ed8);
  background: white;
  font-weight: 800;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 24px;
  right: 24px;
  bottom: -26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-controls button {
  border: 0;
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--cyan-700);
  background: white;
  box-shadow: var(--shadow-sm);
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(8, 145, 178, 0.35);
}

.hero-dot.is-active {
  width: 24px;
  background: var(--cyan-600);
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  fill: white;
}

.stats-section {
  background: white;
  padding: 36px 0 20px;
}

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

.stat-card {
  padding: 26px 16px;
  text-align: center;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gray-50), white);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.stat-card strong {
  display: block;
  color: var(--gray-900);
  font-size: 30px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--gray-500);
  font-size: 14px;
}

.section-block {
  padding: 76px 0;
  background: white;
}

.section-block.soft-bg {
  background: linear-gradient(180deg, white, var(--gray-50));
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.row-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.section-heading span,
.page-hero span,
.ranking-copy span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--cyan-700);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.section-heading h2,
.page-hero h1,
.ranking-copy h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.section-heading p,
.page-hero p,
.ranking-copy p {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--gray-500);
  font-size: 17px;
}

.row-heading p {
  margin-left: 0;
}

.section-heading a,
.text-link {
  color: var(--cyan-700);
  font-weight: 800;
}

.movie-grid,
.featured-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: var(--shadow-lg);
}

.movie-poster,
.poster-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.88), rgba(37, 99, 235, 0.92));
}

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

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

.poster-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.is-missing-image .poster-fallback,
.poster-card.is-missing-image .poster-fallback {
  display: flex;
}

.is-missing-image img,
.poster-card.is-missing-image img {
  display: none;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--cyan-700);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
}

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

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  font-size: 12px;
}

.movie-body {
  padding: 18px;
}

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 13px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  color: white;
  background: var(--cyan-600);
  font-size: 12px;
  font-weight: 800;
}

.movie-body h3 {
  margin: 12px 0 8px;
  color: var(--gray-900);
  font-size: 20px;
  line-height: 1.28;
}

.movie-body p {
  margin: 0;
  color: var(--gray-500);
  font-size: 14px;
}

.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span,
.detail-tags a {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--gray-600);
  background: var(--gray-100);
  font-size: 12px;
  font-weight: 650;
}

.movie-card-featured .movie-poster {
  aspect-ratio: 16 / 10;
}

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

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

.category-tile {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius-lg);
  color: white;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.tile-2 { background: linear-gradient(135deg, #fb923c, #ef4444); }
.tile-3 { background: linear-gradient(135deg, #8b5cf6, #2563eb); }
.tile-4 { background: linear-gradient(135deg, #10b981, #0f766e); }
.tile-5 { background: linear-gradient(135deg, #06b6d4, #1d4ed8); }
.tile-6 { background: linear-gradient(135deg, #f97316, #be123c); }
.tile-7 { background: linear-gradient(135deg, #84cc16, #059669); }
.tile-8 { background: linear-gradient(135deg, #64748b, #0f172a); }

.category-preview {
  position: absolute;
  inset: 0;
  opacity: 0.23;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

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

.category-tile strong,
.category-tile em,
.category-tile small {
  position: relative;
  z-index: 1;
  display: block;
}

.category-tile strong {
  margin-top: 58px;
  font-size: 26px;
  line-height: 1.15;
}

.category-tile em {
  margin: 10px 0 12px;
  font-style: normal;
  font-weight: 800;
}

.category-tile small {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.ranking-home {
  color: white;
  background: linear-gradient(135deg, var(--gray-900), #1e293b);
}

.ranking-layout {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: 42px;
  align-items: center;
}

.ranking-copy h2,
.ranking-copy p {
  color: white;
  margin-left: 0;
}

.ranking-copy p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 28px;
}

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

.ranking-list li,
.side-ranking a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-list li:hover,
.side-ranking a:hover {
  transform: translateX(4px);
  background: rgba(6, 182, 212, 0.14);
}

.ranking-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: white;
  background: var(--cyan-600);
  font-weight: 900;
}

.ranking-list em,
.side-ranking em {
  color: #facc15;
  font-style: normal;
  font-weight: 900;
}

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

.compact-hero .container,
.category-hero .container {
  padding: 58px 0 64px;
}

.page-hero h1,
.page-hero p,
.page-hero span {
  color: white;
  margin-left: 0;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.86);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb.dark {
  color: rgba(255, 255, 255, 0.76);
}

.listing-section {
  padding: 42px 0 76px;
  background: var(--gray-50);
}

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

.filter-panel {
  position: sticky;
  top: 98px;
}

.filter-card,
.detail-card,
.side-info,
.plain-card,
.side-ranking,
.category-overview-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

.filter-card {
  padding: 22px;
}

.filter-card h2 {
  margin: 0 0 18px;
  color: var(--gray-900);
}

.filter-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--gray-700);
  font-weight: 750;
}

.filter-card input,
.filter-card select {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 13px;
  padding: 11px 12px;
  background: white;
  outline: none;
}

.filter-card input:focus,
.filter-card select:focus {
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 18px;
}

.quick-tags button {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--gray-600);
  background: var(--gray-100);
  font-size: 13px;
}

.quick-tags button.is-active,
.quick-tags button:hover {
  color: white;
  background: var(--cyan-600);
}

.reset-filter {
  width: 100%;
}

.listing-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.listing-toolbar h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: 28px;
}

.listing-toolbar span {
  color: var(--gray-500);
}

.listing-toolbar b {
  color: var(--cyan-700);
}

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

.category-overview-list {
  display: grid;
  gap: 20px;
}

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

.category-overview-media {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  min-height: 160px;
  border-radius: 18px;
  background: var(--gray-100);
}

.category-overview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-overview-card span {
  color: var(--cyan-700);
  font-weight: 800;
}

.category-overview-card h2 {
  margin: 6px 0 8px;
  color: var(--gray-900);
}

.category-overview-card p {
  margin: 0 0 14px;
  color: var(--gray-500);
}

.side-ranking {
  position: sticky;
  top: 98px;
  padding: 20px;
}

.side-ranking h2 {
  margin: 0 0 14px;
}

.side-ranking a {
  grid-template-columns: auto 1fr auto;
  margin-top: 10px;
  background: var(--gray-50);
}

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

.player-top {
  background: #020617;
  padding: 18px 0 32px;
}

.player-container {
  margin-top: 16px;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: black;
  aspect-ratio: 16 / 9;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.45);
}

.movie-video {
  width: 100%;
  height: 100%;
  background: black;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: white;
  background: radial-gradient(circle at center, rgba(8, 145, 178, 0.18), rgba(2, 6, 23, 0.72));
}

.player-overlay.is-hidden {
  display: none;
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  padding-left: 5px;
  border-radius: 999px;
  color: var(--cyan-700);
  background: white;
  font-size: 32px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3);
}

.player-overlay strong {
  font-size: 20px;
}

.detail-section {
  padding: 42px 0 38px;
}

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

.detail-card {
  padding: 28px;
}

.detail-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.share-button {
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--gray-600);
  background: var(--gray-100);
  font-weight: 750;
}

.detail-card h1 {
  margin: 18px 0 12px;
  color: var(--gray-900);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-500);
}

.detail-meta span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gray-100);
}

.one-line {
  margin: 22px 0;
  color: var(--cyan-700);
  font-size: 20px;
  font-weight: 800;
}

.detail-card h2 {
  margin: 26px 0 10px;
  color: var(--gray-900);
}

.detail-card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 17px;
}

.poster-card {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

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

.side-info {
  padding: 20px;
}

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

.side-info dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px 12px;
  margin: 0;
}

.side-info dt {
  color: var(--gray-500);
}

.side-info dd {
  margin: 0;
  color: var(--gray-800);
  font-weight: 700;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.ranking-table th,
.ranking-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--gray-100);
  text-align: left;
}

.ranking-table th {
  color: var(--gray-700);
  background: var(--gray-50);
}

.ranking-table td em {
  color: #d97706;
  font-style: normal;
  font-weight: 900;
}

.big-search {
  width: min(720px, 100%);
  margin-top: 28px;
}

.big-search input {
  flex: 1;
  min-height: 54px;
  border: 0;
}

.big-search button {
  min-height: 54px;
  padding: 0 28px;
  background: var(--gray-900);
}

.narrow-content {
  max-width: 880px;
}

.plain-card {
  padding: 30px;
}

.plain-card p {
  margin: 0 0 16px;
  color: var(--gray-600);
  font-size: 17px;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(180deg, #111827, #030712);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 54px 0;
}

.footer-brand {
  color: white;
  margin-bottom: 16px;
}

.footer-about p {
  max-width: 460px;
  color: #9ca3af;
}

.site-footer h3 {
  color: white;
  margin: 0 0 14px;
}

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

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

.site-footer a:hover {
  color: #67e8f9;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  font-size: 14px;
}

[data-movie-card].is-hidden {
  display: none !important;
}

.search-empty {
  grid-column: 1 / -1;
  padding: 44px;
  border-radius: var(--radius-md);
  background: white;
  text-align: center;
  color: var(--gray-500);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1120px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
  }

  .hero-copy {
    text-align: center;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-showcase {
    width: min(560px, 100%);
    margin: 0 auto;
  }

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

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

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

  .filter-panel,
  .side-ranking {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-grid {
    gap: 34px;
    padding-bottom: 100px;
  }

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

  .hero-copy p {
    font-size: 17px;
  }

  .hero-slides,
  .hero-slide img {
    min-height: 430px;
  }

  .stats-grid,
  .category-grid,
  .dense-grid,
  .movie-grid,
  .featured-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 54px 0;
  }

  .section-heading.row-heading,
  .listing-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .category-overview-media {
    min-height: 130px;
  }

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

  .player-top {
    padding-top: 12px;
  }

  .player-wrap {
    border-radius: 16px;
  }

  .big-search {
    flex-direction: column;
    align-items: stretch;
  }
}
