:root {
  color-scheme: dark;
  --bg: #09090b;
  --bg-soft: #111113;
  --panel: rgba(24, 24, 27, 0.88);
  --panel-strong: #18181b;
  --line: rgba(63, 63, 70, 0.72);
  --line-soft: rgba(39, 39, 42, 0.9);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --cyan: #22d3ee;
  --cyan-strong: #06b6d4;
  --blue: #2563eb;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  --radius: 18px;
  --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;
  background:
    radial-gradient(circle at top left, rgba(8, 145, 178, 0.2), transparent 34rem),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 30rem),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

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

img {
  display: block;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(37, 99, 235, 0.08));
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, 0.88);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--container), calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan-strong), var(--blue));
  box-shadow: 0 14px 28px rgba(6, 182, 212, 0.24);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #67e8f9, #60a5fa);
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text em {
  margin-top: 4px;
  font-style: normal;
  color: #71717a;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.brand.small .brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.brand.small .brand-text strong {
  font-size: 17px;
}

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

.nav-link,
.mobile-link {
  color: #d4d4d8;
  border-radius: 12px;
  transition: 0.22s ease;
}

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

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--cyan);
  background: rgba(39, 39, 42, 0.76);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.nav-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
  color: var(--text);
  background: rgba(24, 24, 27, 0.96);
  border: 1px solid rgba(63, 63, 70, 0.92);
  border-radius: 12px;
  outline: none;
  transition: 0.22s ease;
}

.nav-search input {
  width: 230px;
  height: 42px;
  padding: 0 14px;
}

.nav-search button,
.mobile-search button,
.search-page-form button {
  height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan-strong), var(--blue));
  cursor: pointer;
}

.nav-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--cyan-strong);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 10px;
  background: rgba(24, 24, 27, 0.9);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #d4d4d8;
  border-radius: 99px;
}

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

.mobile-panel nav,
.mobile-search {
  display: grid;
  gap: 10px;
}

.mobile-search {
  grid-template-columns: 1fr auto;
  margin-bottom: 12px;
}

.mobile-search input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
}

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

.hero-focus {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shade.one {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-shade.two {
  background: linear-gradient(0deg, var(--bg) 0%, rgba(9, 9, 11, 0) 45%, rgba(9, 9, 11, 0.52) 100%);
}

.hero-content {
  position: relative;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: center;
}

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

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.38);
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.eyebrow {
  padding: 7px 12px;
  font-size: 13px;
  margin-bottom: 18px;
}

.section-kicker {
  padding: 5px 10px;
  font-size: 12px;
  margin-bottom: 10px;
}

.hero-copy h1,
.page-hero h1,
.rank-hero h1,
.detail-copy h1 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.hero-copy h1 {
  font-size: clamp(42px, 6vw, 74px);
  max-width: 740px;
}

.hero-copy p {
  margin: 22px 0 0;
  max-width: 680px;
  color: #d4d4d8;
  font-size: 18px;
  line-height: 1.8;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-meta span,
.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #d4d4d8;
  background: rgba(39, 39, 42, 0.78);
  border: 1px solid rgba(63, 63, 70, 0.82);
  font-size: 13px;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 13px;
  font-weight: 700;
  transition: 0.24s ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan-strong), var(--blue));
  box-shadow: 0 18px 32px rgba(6, 182, 212, 0.24);
}

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

.ghost-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-panel {
  padding: 20px;
  background: rgba(24, 24, 27, 0.72);
  border: 1px solid rgba(63, 63, 70, 0.62);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-panel h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.hero-mini-list {
  display: grid;
  gap: 14px;
}

.hero-mini-list a {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(39, 39, 42, 0.68);
  border: 1px solid rgba(63, 63, 70, 0.58);
  transition: 0.22s ease;
}

.hero-mini-list a:hover {
  border-color: rgba(34, 211, 238, 0.72);
  transform: translateX(4px);
}

.hero-mini-list img {
  width: 78px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-mini-list span {
  color: #e4e4e7;
  font-weight: 700;
  line-height: 1.35;
}

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

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

.section-gradient {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - var(--container)) / 2));
  padding-right: max(16px, calc((100% - var(--container)) / 2));
  background: linear-gradient(180deg, rgba(9, 9, 11, 0), rgba(24, 24, 27, 0.74));
}

.section-dark {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - var(--container)) / 2));
  padding-right: max(16px, calc((100% - var(--container)) / 2));
  background: rgba(24, 24, 27, 0.68);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading > a {
  color: var(--cyan);
  font-weight: 700;
  transition: 0.2s ease;
}

.section-heading > a:hover {
  color: #67e8f9;
}

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

.category-tile {
  min-height: 168px;
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.12), rgba(37, 99, 235, 0.06)),
    rgba(24, 24, 27, 0.82);
  border: 1px solid rgba(63, 63, 70, 0.72);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  transition: 0.24s ease;
}

.category-tile:hover {
  border-color: rgba(34, 211, 238, 0.62);
  transform: translateY(-4px);
}

.category-tile span {
  display: block;
  color: var(--cyan);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.category-tile strong {
  display: block;
  color: #d4d4d8;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid rgba(63, 63, 70, 0.66);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  transition: 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.66);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.movie-poster.compact {
  aspect-ratio: 16 / 9;
}

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

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

.poster-badge,
.poster-type {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.poster-badge {
  left: 12px;
  color: #fff;
  background: rgba(6, 182, 212, 0.86);
}

.poster-type {
  right: 12px;
  color: #d4d4d8;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.movie-card-title {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  color: #f4f4f5;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: 0.2s ease;
}

.movie-card-title:hover {
  color: var(--cyan);
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 48px;
  margin: 10px 0 14px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted-2);
  font-size: 12px;
  margin-bottom: 12px;
}

.movie-meta-row span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.movie-tags span {
  padding: 4px 8px;
  border-radius: 8px;
  color: #a5f3fc;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.18);
  font-size: 12px;
}

.feature-strip {
  width: min(var(--container), calc(100% - 32px));
  margin: 40px auto;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.18), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(34, 211, 238, 0.22);
  box-shadow: var(--shadow);
}

.feature-poster a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  border: 2px solid rgba(34, 211, 238, 0.28);
}

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

.feature-poster a:hover img {
  transform: scale(1.05);
}

.feature-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 32px;
  background: rgba(6, 182, 212, 0.92);
  box-shadow: 0 18px 34px rgba(6, 182, 212, 0.26);
}

.feature-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
}

.feature-copy p {
  color: #d4d4d8;
  line-height: 1.8;
  font-size: 17px;
}

.inline-tags {
  margin: 18px 0 24px;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 46px 66px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(9, 9, 11, 0.55);
  border: 1px solid rgba(63, 63, 70, 0.58);
  transition: 0.22s ease;
}

.ranking-item:hover {
  border-color: rgba(34, 211, 238, 0.62);
  transform: translateY(-3px);
}

.ranking-number {
  color: var(--cyan);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.ranking-item img {
  width: 66px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-title {
  display: block;
  overflow: hidden;
  color: #f4f4f5;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-meta {
  grid-column: 3 / 4;
  color: var(--muted-2);
  font-size: 12px;
  margin-top: -22px;
}

.page-main {
  padding: 38px 0 72px;
}

.page-hero,
.rank-hero {
  border-radius: 28px;
  padding: 42px;
  background:
    radial-gradient(circle at right top, rgba(34, 211, 238, 0.18), transparent 28rem),
    linear-gradient(145deg, rgba(24, 24, 27, 0.88), rgba(9, 9, 11, 0.96));
  border: 1px solid rgba(63, 63, 70, 0.72);
  box-shadow: var(--shadow);
}

.page-hero h1,
.rank-hero h1 {
  font-size: clamp(36px, 4.8vw, 62px);
}

.page-hero p,
.rank-hero p {
  max-width: 760px;
  color: #d4d4d8;
  font-size: 17px;
  line-height: 1.8;
}

.list-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.category-overview-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: center;
  padding: 26px;
  border-radius: 24px;
  background: rgba(24, 24, 27, 0.82);
  border: 1px solid rgba(63, 63, 70, 0.72);
}

.category-overview-card h2 {
  margin: 0;
  font-size: 30px;
}

.category-overview-card p {
  color: var(--muted);
  line-height: 1.8;
}

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

.category-preview a {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
}

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

.category-preview span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 10px 10px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent);
}

.list-section {
  padding-bottom: 0;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  gap: 14px;
  padding: 18px;
  margin-bottom: 28px;
  border-radius: 20px;
  background: rgba(24, 24, 27, 0.78);
  border: 1px solid rgba(63, 63, 70, 0.62);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.filter-panel input,
.filter-panel select {
  height: 46px;
  width: 100%;
  padding: 0 14px;
}

.empty-state {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(24, 24, 27, 0.78);
}

.rank-hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: center;
}

.rank-hero-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  border: 1px solid rgba(34, 211, 238, 0.34);
}

.rank-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-hero-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 18px 18px;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent);
}

.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 640px;
  margin-top: 24px;
}

.search-page-form input {
  height: 52px;
  padding: 0 18px;
}

.search-page-form button {
  height: 52px;
  padding: 0 24px;
}

.breadcrumb {
  width: min(var(--container), calc(100% - 32px));
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted-2);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--muted);
}

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

.detail-hero {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.detail-bg {
  position: absolute;
  inset: 0;
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: blur(2px) saturate(1.08);
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 11, 0.98), rgba(9, 9, 11, 0.76), rgba(9, 9, 11, 0.94)),
    linear-gradient(0deg, var(--bg), rgba(9, 9, 11, 0.2));
}

.detail-inner {
  position: relative;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  box-shadow: var(--shadow);
}

.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-copy h1 {
  font-size: clamp(38px, 5.2vw, 72px);
}

.detail-one-line {
  max-width: 820px;
  color: #d4d4d8;
  font-size: 18px;
  line-height: 1.8;
}

.detail-tags {
  margin: 24px 0;
}

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

.player-section {
  padding: 72px 0 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  background: #000;
  border: 1px solid rgba(34, 211, 238, 0.22);
  box-shadow: var(--shadow);
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.16), rgba(0, 0, 0, 0.44));
  cursor: pointer;
  transition: 0.25s ease;
}

.player-overlay span {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  border-radius: 50%;
  font-size: 36px;
  background: rgba(6, 182, 212, 0.92);
  box-shadow: 0 22px 42px rgba(6, 182, 212, 0.28);
}

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

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.detail-content article {
  padding: 28px;
  border-radius: 22px;
  background: rgba(24, 24, 27, 0.82);
  border: 1px solid rgba(63, 63, 70, 0.72);
}

.detail-content h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.detail-content p {
  margin: 0;
  color: #d4d4d8;
  line-height: 1.9;
}

.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--line-soft);
  background: rgba(9, 9, 11, 0.92);
}

.footer-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 34px;
}

.footer-brand p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-group h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

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

.footer-links a {
  color: var(--muted);
  transition: 0.2s ease;
}

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

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

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

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

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

  .hero-content,
  .rank-hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 620px;
  }
}

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

  .menu-toggle {
    display: flex;
  }

  .header-inner {
    height: 64px;
  }

  .hero-focus {
    min-height: auto;
    padding: 86px 0 56px;
  }

  .hero-content,
  .detail-inner,
  .feature-strip,
  .category-overview-card,
  .detail-content,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy p,
  .detail-one-line {
    font-size: 16px;
  }

  .hero-panel {
    width: 100%;
  }

  .section-block,
  .section-gradient,
  .section-dark {
    padding-top: 50px;
    padding-bottom: 50px;
  }

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

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

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

  .detail-hero {
    padding: 54px 0;
  }

  .detail-poster {
    width: min(320px, 100%);
  }

  .page-hero,
  .rank-hero,
  .feature-strip {
    padding: 24px;
    border-radius: 22px;
  }
}

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

  .brand-text em {
    display: none;
  }

  .hero-actions,
  .detail-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .home-grid,
  .list-grid,
  .related-grid,
  .category-grid,
  .category-preview,
  .ranking-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-title {
    min-height: auto;
  }

  .ranking-meta {
    margin-top: -18px;
  }

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

  .player-overlay span {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}
