:root{
  --bg:#0b0b0f;
  --card:#15151e;
  --muted:#a8a8b3;
  --line:rgba(255,255,255,.08);
  --accent:#e50914;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu;
  color:#fff;
  background:linear-gradient(180deg,#07070b, #0b0b0f 40%);
}

a{color:inherit;text-decoration:none}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:18px;
}

/* =========================
   NAV
========================= */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 18px;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  background:rgba(11,11,15,.85);
  backdrop-filter: blur(10px);
  z-index:10;
}

.brand{
  font-weight:900;
  letter-spacing:.5px;
}

.btn{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  font-weight:800;
  cursor:pointer;
}

.btnPrimary{
  background:var(--accent);
  border-color:transparent;
}

/* =========================
   GRID / CARDS
========================= */
.grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

@media(max-width:980px){
  .grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:520px){
  .grid{grid-template-columns:1fr}
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  transition:.15s transform;
}

.card:hover{
  transform:translateY(-2px);
}

/* =========================
   COVER (CARD) - IMG LAZY (0 download)
   - Placeholder premium + img encaixada 16:9
========================= */
.cover{
  width:100%;
  aspect-ratio:16 / 9;
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(circle at 20% 20%, rgba(229,9,20,.22), transparent 45%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
}

.cover::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.55));
  pointer-events:none;
}

.coverImg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;          /* como a capa será padronizada 16:9, fica perfeito */
  object-position:center;
  opacity:0;
  transform:scale(1.02);
  transition:opacity .25s ease, transform .45s ease;
}

.coverImg.isLoaded{
  opacity:1;
  transform:scale(1);
}

/* =========================
   UI ELEMENTS
========================= */
.pad{
  padding:12px;
  position:relative;
}

.badge{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid var(--line);
  color:var(--muted);
  font-weight:800;
  font-size:12px;
}

.muted{color:var(--muted)}

.row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.input{
  padding:12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.35);
  color:#fff;
}

.list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.item{
  padding:12px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.04);
}

/* =========================
   VIDEO PLAYER
========================= */
.videoWrap{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#000;
}

.watermark{
  position:absolute;
  right:10px;
  bottom:10px;
  opacity:.35;
  font-weight:900;
  font-size:12px;
  background:rgba(0,0,0,.35);
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  pointer-events:none;
}

/* =========================
   HERO PREMIUM (HOME)
========================= */
.hero{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin: 14px 0 18px;
  min-height: 420px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}

.heroTrack{
  position: relative;
  width: 100%;
  height: 420px;
}

.heroSlide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity .45s ease, transform .6s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0,0,0,.25);
}

.heroSlide.isActive{
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.heroOverlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
  z-index:1;
}

.heroContent{
  position:absolute;
  z-index:2;
  left: 26px;
  right: 26px;
  bottom: 24px;
  max-width: 720px;
}

.heroBadges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom: 10px;
}

.badgePromo{
  background: rgba(0,255,180,.14);
  border-color: rgba(0,255,180,.25);
}

.heroTitle{
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
}

.heroDesc{
  margin: 0 0 12px;
  color: rgba(255,255,255,.78);
  max-width: 640px;
}

.heroPriceRow{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin: 8px 0 6px;
}

.heroWas{
  text-decoration: line-through;
  opacity: .7;
  font-weight: 800;
}

.heroNow{
  font-size: 22px;
  font-weight: 900;
}

.heroMeta{margin-top:4px}

.heroActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
}

/* HERO NAV */
.heroNav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.35);
  color:#fff;
  font-size:28px;
  line-height:38px;
  cursor:pointer;
  backdrop-filter:blur(8px);
}

.heroPrev{left:12px}
.heroNext{right:12px}

.heroBottomBar{
  position:absolute;
  left:14px;
  right:14px;
  bottom:10px;
  z-index:6;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.heroDots{
  display:flex;
  gap:8px;
}

.heroDot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.15);
  cursor:pointer;
}

.heroDot.isActive{
  background:rgba(255,255,255,.85);
}

.heroToggle{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.35);
  color:#fff;
  border-radius:999px;
  padding:7px 10px;
  cursor:pointer;
  backdrop-filter:blur(8px);
}

/* RESPONSIVO HERO */
@media (max-width:720px){
  .hero{min-height:520px}
  .heroTrack{height:520px}
  .heroTitle{font-size:26px}
}
