/* Home */
.home-view{display:flex;flex-direction:column;gap:28px}

/* ===== Banner (classic) ===== */
.home-hero2{
  position:relative;
  border-radius:24px;
  border:1px solid rgba(31,41,55,.75);
  overflow:hidden;
  background:linear-gradient(180deg,#0f1528,#0b1020);
  box-shadow:0 22px 60px rgba(0,0,0,.42);
  min-height:360px;
}

.home-hero2-track{position:relative;min-height:360px}

.home-hero2-slide{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns: 1fr;
  opacity:0;
  pointer-events:none;
  transform:scale(1.01);
  transition:opacity .35s ease, transform .35s ease;
}

.home-hero2-slide::before{
  content:"";
  position:absolute;
  inset:-40px;
  background-image:var(--hero-bg);
  background-size:cover;
  background-position:center;
  filter:blur(26px) saturate(1.15);
  opacity:.55;
  transform:scale(1.08);
}

.home-hero2-slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(2,6,23,.92) 0%, rgba(2,6,23,.68) 40%, rgba(2,6,23,.35) 70%, rgba(2,6,23,.20) 100%);
}

.home-hero2-slide.is-active{
  opacity:1;
  pointer-events:auto;
  transform:scale(1);
}

.home-hero2-media{
  position:absolute;
  inset:0;
  display:flex;
  align-items:stretch;
  justify-content:flex-end;
  z-index:1;
}

.home-hero2-img{
  height:100%;
  width:100%;
  object-fit:cover;
  opacity:.85;
}

.home-hero2-ph{width:100%;height:100%;background:#020617}

.home-hero2-overlay{
  position:relative;
  z-index:2;
  padding:22px 22px 22px;
  display:flex;
  flex-direction:column;
  gap:12px;
  max-width:760px;
}

.home-hero2-meta{display:flex;flex-wrap:wrap;gap:8px}

.home-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(2,6,23,.55);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(226,232,240,.92);
  font-size:12px;
  white-space:nowrap;
}

.home-tag strong{color:#fff}

.home-hero2-title{
  font-size:30px;
  font-weight:900;
  line-height:1.05;
  letter-spacing:.2px;
}

.home-hero2-desc{
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
  max-width:660px;
}

.home-hero2-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.home-hero2-actions .btn{height:42px;border-radius:14px}
.home-hero2-actions .btn-ghost{background:rgba(2,6,23,.35)}

.home-hero2-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(2,6,23,.55);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  z-index:5;
}

.home-hero2-arrow:hover{background:rgba(2,6,23,.75);border-color:rgba(255,255,255,.18)}
.home-hero2-arrow.left{left:14px}
.home-hero2-arrow.right{right:14px}

.home-hero2-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:12px;
  display:flex;
  gap:8px;
  justify-content:center;
  z-index:6;
}

.home-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  border:none;
  background:rgba(255,255,255,.22);
  cursor:pointer;
}

.home-dot.is-active{background:rgba(239,68,68,.8)}

/* ===== Sections ===== */
.home-section{display:flex;flex-direction:column;gap:12px}
.home-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px}
.home-section-left{display:flex;flex-direction:column}
.home-section-title{margin:0;font-size:16px;font-weight:900;letter-spacing:.15px}
.home-section-sub{color:var(--muted);font-size:12px;margin-top:4px}

/* ===== Horizontal rows ===== */
.home-row{
  display:flex;
  gap:16px;
  overflow:auto;
  padding-bottom:8px;
  scroll-snap-type:x mandatory;
}

.home-row-cards .movie-card{min-width:210px;scroll-snap-align:start}
.home-view .home-row-cards .movie-actions{display:none}
.home-view .home-row-cards .movie-body{padding:12px}
.home-view .home-row-cards .movie-title{font-size:13px;line-height:16px}

.home-row::-webkit-scrollbar{height:8px}
.home-row::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:999px}
.home-row::-webkit-scrollbar-track{background:rgba(255,255,255,.04);border-radius:999px}

/* ===== Popular collections (Netflix-like info cards) ===== */
.home-reasons{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
}

.home-reason{
  border-radius:18px;
  border:1px solid rgba(31,41,55,.75);
  background:linear-gradient(180deg,#0f1528,#0b1020);
  padding:16px;
  cursor:pointer;
  text-align:left;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:168px;
  position:relative;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  color:var(--text);
}

.home-reason::before{
  content:"";
  position:absolute;
  inset:-40px -70px auto auto;
  width:240px;
  height:240px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 30%, rgba(239,68,68,.16), transparent 60%);
  opacity:.95;
}

.home-reason:hover{
  transform:translateY(-2px);
  border-color:rgba(239,68,68,.28);
  box-shadow:0 14px 34px rgba(0,0,0,.28);
}

.home-reason-title{position:relative;font-size:16px;font-weight:900;letter-spacing:.15px}
.home-reason-desc{position:relative;color:var(--muted);font-size:12px;line-height:1.5;max-width:340px}
.home-reason-ico{
  position:absolute;
  right:14px;
  bottom:14px;
  width:48px;
  height:48px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(2,6,23,.45);
  border:1px solid rgba(255,255,255,.10);
  font-size:22px;
}

@media(max-width:1200px){
  .home-reasons{grid-template-columns:repeat(2, minmax(0, 1fr))}
}

@media(max-width:900px){
  .home-hero2{min-height:320px}
  .home-hero2-track{min-height:320px}
  .home-hero2-title{font-size:24px}
  .home-hero2-overlay{padding:16px;max-width:100%}
  .home-hero2-arrow{display:none}
}

@media(max-width:560px){
  .home-reasons{grid-template-columns:1fr}
}
