
:root {
  --bg: #020617;
  --bg2: #0f172a;
  --card: rgba(15, 23, 42, 0.78);
  --card-2: rgba(30, 41, 59, 0.82);
  --line: rgba(255, 255, 255, 0.08);
  --accent: #38bdf8;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 24%),
    linear-gradient(180deg, #020617 0%, #0f172a 100%);
  color: #e2e8f0;
}

a {
  text-decoration: none;
}

.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.glass {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.soft-shadow {
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.4);
}

.poster {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.08) 42%, rgba(2, 6, 23, 0.78) 100%),
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 30%);
  z-index: 1;
}

.poster > * {
  position: relative;
  z-index: 2;
}

.poster-0 { background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #22c55e 100%); }
.poster-1 { background: linear-gradient(135deg, #111827 0%, #7c3aed 55%, #ec4899 100%); }
.poster-2 { background: linear-gradient(135deg, #0f172a 0%, #2563eb 48%, #06b6d4 100%); }
.poster-3 { background: linear-gradient(135deg, #1f2937 0%, #f97316 50%, #f43f5e 100%); }
.poster-4 { background: linear-gradient(135deg, #111827 0%, #0ea5e9 48%, #8b5cf6 100%); }
.poster-5 { background: linear-gradient(135deg, #1e1b4b 0%, #14b8a6 50%, #22c55e 100%); }
.poster-6 { background: linear-gradient(135deg, #111827 0%, #ef4444 50%, #f59e0b 100%); }
.poster-7 { background: linear-gradient(135deg, #172554 0%, #6366f1 48%, #38bdf8 100%); }
.poster-8 { background: linear-gradient(135deg, #0f172a 0%, #10b981 48%, #14b8a6 100%); }
.poster-9 { background: linear-gradient(135deg, #312e81 0%, #c026d3 50%, #fb7185 100%); }
.poster-10 { background: linear-gradient(135deg, #111827 0%, #475569 55%, #0ea5e9 100%); }
.poster-11 { background: linear-gradient(135deg, #1f2937 0%, #f43f5e 45%, #8b5cf6 100%); }

.poster-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.movie-card:hover {
  transform: translateY(-4px);
}

.hero-glow {
  background: radial-gradient(circle at 15% 15%, rgba(56,189,248,.25), transparent 26%),
              radial-gradient(circle at 85% 25%, rgba(99,102,241,.25), transparent 28%),
              radial-gradient(circle at 50% 80%, rgba(16,185,129,.18), transparent 35%);
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.player-wrap {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.96));
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #020617;
}

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-sep {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.1);
}
