:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --orange-500: #f97316;
  --blue-600: #2563eb;
  --cyan-500: #06b6d4;
  --rose-500: #f43f5e;
  --red-500: #ef4444;
  --emerald-500: #10b981;
  --purple-500: #a855f7;
  --pink-500: #ec4899;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 20px 50px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--slate-50), #eef2f7 42%, #ffffff);
  color: var(--slate-900);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.18);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.36);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.brand-text em {
  color: var(--slate-400);
  font-style: normal;
  font-size: 12px;
}

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

.nav-link {
  padding: 10px 15px;
  border-radius: 12px;
  color: var(--slate-300);
  font-weight: 700;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.28);
}

.header-search {
  width: 290px;
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.header-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  padding: 9px 12px;
}

.header-search input::placeholder {
  color: var(--slate-400);
}

.header-search button,
.hero-search button {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.28);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  cursor: pointer;
  padding: 11px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
  border-radius: 999px;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at 20% 10%, rgba(245, 158, 11, 0.28), transparent 32%), linear-gradient(135deg, var(--slate-950), #3b2208 52%, var(--slate-900));
}

.hero-titlebar {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 28px;
  align-items: end;
}

.hero-titlebar h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  max-width: 820px;
  background: linear-gradient(90deg, var(--amber-400), #fff7d6, var(--amber-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-search {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  padding: 13px 16px;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.hero-stage {
  position: relative;
  min-height: 590px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(1.15) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(15, 23, 42, 0.82) 44%, rgba(15, 23, 42, 0.35) 100%), linear-gradient(0deg, var(--slate-950), transparent 42%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  min-height: 590px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 430px);
  align-items: center;
  gap: 48px;
  padding: 30px 0 90px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 13px;
  color: #fff5cf;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.34);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h2 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

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

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.32);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
  aspect-ratio: 3 / 4;
  background: var(--slate-800);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
}

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

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

.hero-control {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.hero-prev,
.hero-next,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-prev,
.hero-next {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--amber-400);
}

.section-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 68px 0;
}

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

.section-head h2 {
  margin: 10px 0 0;
  color: var(--slate-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-head.light h2,
.section-head.light .section-link {
  color: #ffffff;
}

.section-link {
  color: var(--amber-600);
  font-weight: 900;
}

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

.movie-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.poster-frame {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-700));
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.58));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.play-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--amber-600);
  background: rgba(255, 255, 255, 0.92);
  transform: scale(0.82);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  font-size: 22px;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: scale(1);
}

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

.card-kicker {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  font-weight: 900;
  font-size: 12px;
}

.card-body strong {
  color: var(--slate-900);
  font-size: 19px;
  line-height: 1.28;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card:hover .card-body strong {
  color: var(--amber-600);
}

.card-body small,
.card-desc {
  color: var(--slate-600);
}

.card-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.tag-row span,
.tag-links a,
.meta-pills span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  color: var(--slate-700);
  background: var(--slate-100);
}

.latest-section {
  padding-top: 20px;
}

.dark-band {
  background: linear-gradient(135deg, var(--slate-950), var(--slate-900) 55%, #402508);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.horizontal-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-snap-type: x mandatory;
}

.horizontal-rail::-webkit-scrollbar {
  height: 8px;
}

.horizontal-rail::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.compact-card {
  width: 300px;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
  scroll-snap-align: start;
}

.compact-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.55s ease;
}

.compact-card:hover img {
  transform: scale(1.08);
}

.compact-card span {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.compact-card strong {
  color: #ffffff;
  font-size: 18px;
}

.compact-card em {
  color: var(--slate-300);
  font-size: 13px;
  font-style: normal;
}

.category-tile,
.overview-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 240px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.category-tile::before,
.overview-card::before,
.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.28), transparent 34%);
  pointer-events: none;
}

.tile-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 28px;
  font-weight: 900;
}

.category-tile strong {
  display: block;
  font-size: 23px;
  margin-bottom: 8px;
}

.category-tile em {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.category-tile ul {
  position: relative;
  margin: 18px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.accent-amber,
.accent-gold {
  background: linear-gradient(135deg, #f59e0b, #b45309);
}

.accent-blue {
  background: linear-gradient(135deg, #2563eb, #0891b2);
}

.accent-rose,
.accent-pink {
  background: linear-gradient(135deg, #f43f5e, #be185d);
}

.accent-cyan {
  background: linear-gradient(135deg, #0891b2, #2563eb);
}

.accent-violet,
.accent-purple {
  background: linear-gradient(135deg, #7c3aed, #c026d3);
}

.accent-emerald {
  background: linear-gradient(135deg, #059669, #0f766e);
}

.accent-orange,
.accent-red {
  background: linear-gradient(135deg, #ea580c, #dc2626);
}

.accent-slate {
  background: linear-gradient(135deg, #334155, #0f172a);
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 46px 84px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ranking-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.rank-num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.ranking-item img {
  width: 84px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--slate-200);
}

.rank-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.rank-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--slate-900);
}

.rank-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--slate-500);
  font-style: normal;
  font-size: 13px;
}

.rank-play {
  color: var(--amber-600);
  font-weight: 900;
}

.sub-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-700));
}

.sub-hero > div {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.sub-hero h1 {
  margin: 15px 0 12px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.sub-hero p {
  max-width: 820px;
  color: var(--slate-200);
  font-size: 19px;
}

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

.overview-card {
  color: #ffffff;
  display: grid;
  gap: 20px;
}

.overview-head {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.overview-head span {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 28px;
  font-weight: 900;
}

.overview-head h2 {
  margin: 0;
  font-size: 28px;
}

.overview-head p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.overview-samples {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.overview-card .compact-card {
  width: auto;
  background: rgba(255, 255, 255, 0.12);
}

.overview-card .compact-card img {
  height: 112px;
}

.listing-shell {
  padding-top: 42px;
}

.listing-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 16px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.listing-toolbar.large {
  position: sticky;
  top: 92px;
  z-index: 10;
}

.listing-toolbar input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  outline: 0;
  padding: 14px 16px;
  color: var(--slate-900);
  background: var(--slate-50);
}

.listing-toolbar input:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.view-actions {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: var(--slate-100);
}

.view-actions button,
.genre-chip,
.filter-chip {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--slate-700);
  background: transparent;
  font-weight: 800;
}

.view-actions button.active,
.genre-chip.active,
.filter-chip.active,
.genre-chip:hover,
.filter-chip:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.filter-row,
.genre-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-chip,
.genre-chip {
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.movie-grid.list-view {
  grid-template-columns: 1fr;
}

.movie-grid.list-view .movie-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.movie-grid.list-view .poster-frame {
  height: 100%;
  min-height: 190px;
}

.no-results {
  margin: 24px 0 0;
  padding: 30px;
  text-align: center;
  border-radius: 22px;
  color: var(--slate-600);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.detail-page {
  background: linear-gradient(180deg, var(--slate-950), var(--slate-900) 540px, var(--slate-50) 541px);
}

.detail-hero {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
  color: #ffffff;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--slate-300);
  font-size: 14px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.7fr);
  gap: 30px;
  align-items: stretch;
}

.player-card,
.detail-info,
.story-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.video-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-player video,
.player-poster,
.player-poster img,
.player-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-player video {
  object-fit: contain;
  z-index: 1;
  background: #000000;
}

.player-poster {
  z-index: 2;
  border: 0;
  cursor: pointer;
  padding: 0;
  color: #ffffff;
  background: #000000;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.player-poster img {
  object-fit: cover;
  opacity: 0.82;
}

.player-gradient {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.78));
}

.big-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: var(--amber-600);
  background: rgba(255, 255, 255, 0.94);
  font-size: 38px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
}

.watch-text {
  position: absolute;
  left: 50%;
  bottom: 22%;
  transform: translateX(-50%);
  padding: 8px 15px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

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

.detail-info {
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.detail-info h1 {
  margin: 16px 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.detail-lead {
  color: var(--slate-200);
  font-size: 18px;
}

.meta-pills,
.tag-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.meta-pills span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.tag-links a {
  color: var(--slate-200);
  background: rgba(255, 255, 255, 0.1);
}

.detail-watch {
  margin-top: 8px;
}

.detail-content {
  padding-top: 20px;
  display: grid;
  gap: 22px;
}

.story-card {
  padding: 28px;
  color: var(--slate-800);
  background: #ffffff;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-soft);
}

.story-card h2 {
  margin: 0 0 12px;
  color: var(--slate-900);
  font-size: 28px;
}

.story-card p {
  margin: 0;
  font-size: 17px;
}

.review-card {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.prev-next a {
  min-width: 0;
  flex: 1;
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--slate-800);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  font-weight: 800;
}

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

.site-footer {
  margin-top: 30px;
  color: var(--slate-300);
  background: linear-gradient(135deg, var(--slate-950), var(--slate-900));
}

.footer-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.3fr 0.6fr 0.7fr;
  gap: 36px;
}

.footer-brand p {
  max-width: 520px;
  color: var(--slate-400);
}

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

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

.footer-column a:hover {
  color: var(--amber-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 16px;
  text-align: center;
  color: var(--slate-500);
}

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

  .hero-titlebar,
  .hero-inner,
  .detail-layout,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

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

@media (max-width: 760px) {
  .header-shell {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow-card);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    text-align: center;
  }

  .hero-titlebar {
    padding-top: 28px;
  }

  .hero-titlebar h1 {
    font-size: 31px;
  }

  .hero-search,
  .listing-toolbar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
  }

  .hero-stage,
  .hero-inner {
    min-height: 560px;
  }

  .hero-copy h2 {
    font-size: 42px;
  }

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

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

  .movie-grid.list-view .movie-card {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    grid-template-columns: 38px 72px minmax(0, 1fr);
  }

  .rank-play {
    display: none;
  }

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

  .detail-hero {
    padding-top: 22px;
  }

  .detail-info {
    padding: 22px;
  }

  .big-play {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }

  .prev-next {
    flex-direction: column;
  }
}
