:root {
  --page-bg: #020617;
  --panel-bg: rgba(15, 23, 42, 0.74);
  --panel-bg-strong: rgba(15, 23, 42, 0.92);
  --border-soft: rgba(96, 165, 250, 0.22);
  --border-strong: rgba(59, 130, 246, 0.48);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-soft: #cbd5e1;
  --blue: #2563eb;
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.22);
  --shadow-blue: 0 24px 80px rgba(37, 99, 235, 0.28);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.34), transparent 32rem),
    radial-gradient(circle at 75% 8%, rgba(34, 211, 238, 0.18), transparent 28rem),
    linear-gradient(135deg, #020617 0%, #0f172a 48%, #020617 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(59, 130, 246, 0.22);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.88), rgba(15, 23, 42, 0.96));
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #020617;
  font-size: 22px;
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, #60a5fa, #22d3ee);
  box-shadow: 0 12px 36px rgba(34, 211, 238, 0.34);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.06) rotate(4deg);
  box-shadow: 0 16px 46px rgba(34, 211, 238, 0.46);
}

.brand-copy {
  display: grid;
  line-height: 1.08;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #dbeafe, #a5f3fc, #bfdbfe);
  -webkit-background-clip: text;
  color: transparent;
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(147, 197, 253, 0.72);
  font-size: 12px;
}

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

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

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

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: #ffffff;
  background: rgba(30, 64, 175, 0.44);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(280px, 24vw);
}

.header-search input,
.mobile-search input,
.filter-input,
.filter-select {
  width: 100%;
  color: var(--text-main);
  border: 1px solid rgba(96, 165, 250, 0.24);
  outline: none;
  background: rgba(15, 23, 42, 0.72);
  transition: border 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.header-search input,
.mobile-search input {
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-input:focus,
.filter-select:focus {
  border-color: rgba(34, 211, 238, 0.72);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
  background: rgba(15, 23, 42, 0.94);
}

.header-search button,
.mobile-search button,
.primary-button,
.secondary-button,
.text-button,
.player-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.header-search button,
.mobile-search button {
  min-width: 58px;
  height: 42px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), #0891b2);
}

.header-search button:hover,
.mobile-search button:hover,
.primary-button:hover,
.secondary-button:hover,
.text-button:hover,
.player-toolbar button:hover {
  transform: translateY(-1px);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  color: #dbeafe;
  border: 0;
  border-radius: 12px;
  background: rgba(30, 64, 175, 0.28);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: #dbeafe;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile-nav {
  display: none;
  padding: 10px 16px 18px;
  border-top: 1px solid rgba(96, 165, 250, 0.16);
  background: rgba(2, 6, 23, 0.96);
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-link {
  padding: 12px 14px;
  font-size: 15px;
}

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 8px;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  z-index: 1;
  width: 320px;
  height: 320px;
  filter: blur(34px);
  border-radius: 999px;
  opacity: 0.45;
  pointer-events: none;
}

.hero-orb-one {
  top: 70px;
  left: -120px;
  background: rgba(37, 99, 235, 0.48);
}

.hero-orb-two {
  right: -130px;
  bottom: 40px;
  background: rgba(34, 211, 238, 0.32);
}

.hero-slider {
  position: relative;
  z-index: 2;
  min-height: 660px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.58fr);
  align-items: center;
  gap: 54px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 88px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px) scale(0.99);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.hero-backdrop {
  position: fixed;
  inset: 72px 0 auto;
  z-index: -1;
  height: 660px;
  background-position: center;
  background-size: cover;
  opacity: 0.52;
  transform: scale(1.04);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: #67e8f9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-content h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #eff6ff, #a5f3fc, #bfdbfe);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-content h1 {
  max-width: 820px;
  font-size: clamp(42px, 8vw, 84px);
}

.hero-summary {
  max-width: 680px;
  margin: 24px 0 0;
  color: #cbd5e1;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

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

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.16);
}

.hero-tags span,
.detail-tags span {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

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

.primary-button,
.secondary-button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.38);
}

.secondary-button {
  color: #dbeafe;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(15, 23, 42, 0.68);
}

.secondary-button:hover {
  border-color: rgba(34, 211, 238, 0.58);
  background: rgba(30, 64, 175, 0.34);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.24), rgba(15, 23, 42, 0.92));
  box-shadow: var(--shadow-blue);
}

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

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

.hero-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.74), transparent 54%);
}

.hero-poster span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.78);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.42);
}

.hero-dots {
  position: absolute;
  right: max(16px, calc((100vw - 1180px) / 2));
  bottom: 38px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.36);
  cursor: pointer;
  transition: width 0.24s ease, background 0.24s ease;
}

.hero-dot.is-active {
  width: 58px;
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
}

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

.section-muted {
  position: relative;
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  background: rgba(15, 23, 42, 0.34);
}

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

.section-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 16px;
}

.section-link,
.text-button {
  color: #93c5fd;
  font-weight: 800;
}

.section-link:hover,
.text-button:hover {
  color: #67e8f9;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.88);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.56);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.25);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.22);
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.2), rgba(15, 23, 42, 0.92));
}

.movie-card.large .poster-link {
  aspect-ratio: 16 / 9;
}

.movie-card.compact .poster-link {
  aspect-ratio: 16 / 8.8;
}

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

.movie-card:hover .poster-link img,
.strip-item:hover img,
.category-cover-stack:hover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), transparent 62%);
}

.play-hover {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.78);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

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

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.28);
}

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

.movie-card-body h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.movie-card-body h2 a:hover {
  color: #93c5fd;
}

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

.tag-row span {
  padding: 5px 8px;
  font-size: 12px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  color: #64748b;
  font-size: 12px;
}

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

.category-tile,
.category-overview-card,
.filter-panel,
.detail-copy,
.player-shell {
  border: 1px solid var(--border-soft);
  background: var(--panel-bg);
  box-shadow: 0 18px 48px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(16px);
}

.category-tile {
  display: grid;
  min-height: 170px;
  padding: 22px;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.48);
  background: rgba(15, 23, 42, 0.86);
}

.category-accent,
.category-overview-card span {
  color: #67e8f9;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.category-tile strong,
.category-overview-card h2 {
  margin: 10px 0 8px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.category-tile small,
.category-overview-card p,
.category-tile em {
  color: var(--text-muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
}

.category-tile em {
  margin-top: auto;
  color: #bfdbfe;
}

.horizontal-strip {
  display: grid;
  grid-auto-columns: minmax(260px, 1fr);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.strip-item {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 270px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.86);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.62);
  scroll-snap-align: start;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.strip-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.strip-item img {
  width: 92px;
  height: 66px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(30, 64, 175, 0.24);
  transition: transform 0.42s ease;
}

.strip-item strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
}

.strip-item small {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12px;
}

.strip-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  border-radius: 9px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

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

.page-hero h1 {
  font-size: clamp(38px, 7vw, 72px);
}

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

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

.category-overview-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.category-cover-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  min-height: 128px;
}

.category-cover-stack img {
  width: 100%;
  height: 62px;
  object-fit: cover;
  border-radius: 10px;
  background: rgba(30, 64, 175, 0.24);
  transition: transform 0.42s ease;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: var(--radius-md);
}

.filter-input,
.filter-select {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
}

.filter-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #93c5fd 50%), linear-gradient(135deg, #93c5fd 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 12px) 19px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  color: #93c5fd;
  font-size: 14px;
}

.breadcrumb strong {
  color: var(--text-muted);
  font-weight: 600;
}

.detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
  padding: 44px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 34px;
  background: rgba(15, 23, 42, 0.54);
  box-shadow: var(--shadow-blue);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-size: cover;
  opacity: 0.58;
  transform: scale(1.03);
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.22), rgba(15, 23, 42, 0.96));
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.36);
}

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

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

.detail-line {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.85;
}

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

.player-section {
  padding-top: 58px;
}

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

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

.video-start {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.82);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.38);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.22s ease;
}

.video-start span {
  margin-left: 6px;
  font-size: 34px;
}

.video-start:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.player-shell.is-playing .video-start {
  opacity: 0;
  pointer-events: none;
}

.player-status {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  color: #dbeafe;
  font-size: 13px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(12px);
}

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

.player-toolbar {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.24s ease;
}

.player-shell:hover .player-toolbar,
.player-shell:focus-within .player-toolbar {
  opacity: 1;
}

.player-toolbar button {
  min-height: 38px;
  padding: 0 12px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.76);
}

.detail-copy {
  padding: 34px;
  border-radius: var(--radius-lg);
}

.detail-copy h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 26px;
}

.detail-copy h2:not(:first-child) {
  margin-top: 34px;
}

.detail-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 2;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0 0;
}

.info-list div {
  padding: 16px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.34);
}

.info-list dt {
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.info-list dd {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: 15px;
}

.site-footer {
  border-top: 1px solid rgba(51, 65, 85, 0.9);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.98));
}

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

.footer-brand p,
.footer-column a,
.footer-bottom p {
  color: var(--text-muted);
}

.footer-brand p {
  max-width: 420px;
  margin: 18px 0 0;
  line-height: 1.8;
}

.footer-column h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 16px;
}

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

.footer-column a:hover {
  color: #93c5fd;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(51, 65, 85, 0.8);
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

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

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

  .hero-slide,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    max-width: 360px;
  }

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

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

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

@media (max-width: 760px) {
  .site-header-inner {
    height: 66px;
  }

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

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

  .hero-slide {
    gap: 28px;
    padding-top: 42px;
    padding-bottom: 108px;
  }

  .hero-backdrop {
    inset-top: 66px;
    height: 780px;
  }

  .hero-dots {
    left: 16px;
    right: auto;
    bottom: 42px;
  }

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

  .section-muted {
    padding-right: 16px;
    padding-left: 16px;
  }

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

  .movie-grid,
  .featured-grid,
  .ranking-grid,
  .related-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

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

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

  .detail-hero {
    padding: 24px;
    border-radius: 24px;
  }

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

  .player-toolbar {
    position: static;
    padding: 12px;
    opacity: 1;
    background: rgba(2, 6, 23, 0.94);
  }

  .video-start {
    width: 74px;
    height: 74px;
  }

  .info-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
