:root{
  --brand:#f97316;
  --brand-2:#fb7185;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#e2e8f0;
  --bg:#f8fafc;
  --card:#ffffff;
  --shadow: 0 20px 60px rgba(15,23,42,.08);
}

html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at top left, rgba(249,115,22,.12), transparent 24%),
    radial-gradient(circle at top right, rgba(251,113,133,.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 35%, #f3f4f6 100%);
  color: var(--ink);
}

.site-shell{
  min-height:100vh;
}

.glass-bar{
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,.85);
}

.brand-mark{
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px rgba(249,115,22,.24);
  flex: none;
}

.hero-stage{
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: var(--shadow);
  background:
    linear-gradient(135deg, rgba(15,23,42,.94), rgba(30,41,59,.88) 48%, rgba(71,85,105,.82));
  color: white;
}

.hero-stage::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(circle at 20% 20%, rgba(249,115,22,.30), transparent 22%),
    radial-gradient(circle at 80% 10%, rgba(251,113,133,.22), transparent 18%),
    radial-gradient(circle at 70% 85%, rgba(56,189,248,.15), transparent 18%);
  pointer-events:none;
}

.hero-stage::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(15,23,42,.12), rgba(15,23,42,.38));
  pointer-events:none;
}

.hero-overlay{
  position: relative;
  z-index: 1;
}

.hero-slide{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.hero-slide:hover{
  transform: translateY(-2px);
  transition: .25s ease;
}

.poster{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: white;
  border-radius: 1.4rem;
  min-height: 100%;
  box-shadow: var(--shadow);
}

.poster::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), transparent 35%),
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.18), transparent 18%),
    radial-gradient(circle at 82% 78%, rgba(255,255,255,.12), transparent 20%);
  mix-blend-mode: screen;
  pointer-events:none;
}

.poster::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, transparent 0%, rgba(15,23,42,.18) 55%, rgba(15,23,42,.78) 100%);
  pointer-events:none;
}

.poster-body{
  position: relative;
  z-index: 1;
}

.movie-card{
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.movie-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15,23,42,.12);
  border-color: rgba(249,115,22,.30);
}

.movie-poster{
  aspect-ratio: 3 / 4;
}

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

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

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

.section-title{
  position: relative;
  padding-left: 1rem;
}

.section-title::before{
  content:"";
  position:absolute;
  left:0;
  top:.3rem;
  bottom:.3rem;
  width: .35rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
}

.soft-badge{
  display:inline-flex;
  align-items:center;
  gap:.3rem;
  padding: .32rem .7rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: #334155;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
}

input[type="search"], input[type="text"]{
  outline: none;
}

input[type="search"]:focus, input[type="text"]:focus{
  box-shadow: 0 0 0 4px rgba(249,115,22,.12);
  border-color: rgba(249,115,22,.50);
}

.video-shell{
  background: linear-gradient(180deg, #0f172a, #111827);
  border: 1px solid rgba(148,163,184,.24);
  box-shadow: 0 24px 60px rgba(2,6,23,.20);
}

.video-shell video{
  width: 100%;
  height: auto;
  display:block;
  background: #000;
  border-radius: 1rem;
}

.kpi-card{
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.sticky-aside{
  position: sticky;
  top: 5.5rem;
}

.scrollbar-thin::-webkit-scrollbar{
  height: 8px;
  width: 8px;
}
.scrollbar-thin::-webkit-scrollbar-thumb{
  background: rgba(100,116,139,.35);
  border-radius: 999px;
}
.scrollbar-thin::-webkit-scrollbar-track{
  background: transparent;
}

.hero-track{
  display:flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hero-track::-webkit-scrollbar{ display:none; }
.hero-track > *{ scroll-snap-align: start; }

.fade-in{
  animation: fadeIn .35s ease both;
}
@keyframes fadeIn{
  from{ opacity:0; transform: translateY(8px);}
  to{ opacity:1; transform: translateY(0);}
}

@media (max-width: 640px){
  .hero-stage{
    border-radius: 1.25rem;
  }
}
