/*
 * Toronites Netflix Redesign
 * Visual override layer: dark cinematic UI with Netflix/VieON/WeTV-inspired red palette.
 */
:root{
  --primary:#e50914!important;
  --primary-hover:#ff1f2d!important;
  --body:#070707!important;
  --text:#f5f5f5!important;
  --link:#d7d7d7!important;
  --link-hover:#fff!important;
  --dark:#000!important;
  --gray-dark:#0b0b0f!important;
  --gray:#141419!important;
  --gray-light:#25252d!important;
  --light-1:rgba(255,255,255,.07)!important;
  --light-2:rgba(255,255,255,.14)!important;
  --light-3:rgba(255,255,255,.68)!important;
  --danger:#e50914!important;
  --warning:#f5c518!important;
  --radius-xl:22px;
  --shadow-red:0 18px 60px rgba(229,9,20,.24);
  --shadow-card:0 18px 48px rgba(0,0,0,.55);
}

html{background:#070707;scroll-behavior:smooth}
body{
  background:
    radial-gradient(circle at 12% -10%,rgba(229,9,20,.28),transparent 34rem),
    radial-gradient(circle at 92% 6%,rgba(104,0,12,.36),transparent 30rem),
    linear-gradient(180deg,#09090b 0%,#050505 34%,#070707 100%)!important;
  color:#f5f5f5!important;
  letter-spacing:.01em;
}
body:before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:48px 48px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.55),transparent 68%);
}

/* Header */
.hd{
  position:sticky!important;top:0;z-index:999;
  background:linear-gradient(180deg,rgba(5,5,7,.96),rgba(5,5,7,.78))!important;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 16px 40px rgba(0,0,0,.35);
}
.hd .cont{min-height:72px;gap:1.25rem}.logo{margin:0}.logo img{max-height:42px;width:auto;filter:saturate(1.25) hue-rotate(330deg) drop-shadow(0 0 18px rgba(229,9,20,.35))}.menu-btn{color:#fff!important;border-radius:999px;background:rgba(255,255,255,.08)!important}.menu-btn:hover{background:#e50914!important;box-shadow:0 8px 24px rgba(229,9,20,.38)}
.menu .sub-menu,.hd .sub-menu{background:rgba(12,12,16,.96)!important;border:1px solid rgba(255,255,255,.1);border-radius:18px;box-shadow:var(--shadow-card);overflow:hidden}.menu .sub-menu a,.hd .sub-menu a{color:#e9e9e9!important}.menu .sub-menu a:hover,.hd .sub-menu a:hover,.current-menu-item>a{color:#fff!important;background:linear-gradient(90deg,rgba(229,9,20,.95),rgba(229,9,20,.28))!important}

/* Search */
.search{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.13);border-radius:999px;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.search input{color:#fff!important;background:transparent!important}.search input::placeholder{color:rgba(255,255,255,.6)}.search .btn{background:#e50914!important;border-radius:999px!important;color:#fff!important;box-shadow:0 10px 28px rgba(229,9,20,.35)}

/* Hero */
.home-slider{position:relative;overflow:hidden;background:#050505!important}.home-slider:before{content:"";position:absolute;inset:0;z-index:4;pointer-events:none;background:linear-gradient(90deg,#050505 0%,rgba(5,5,5,.82) 26%,rgba(5,5,5,.18) 62%,rgba(5,5,5,.65) 100%),linear-gradient(0deg,#070707 0%,rgba(7,7,7,0) 34%)}
.post.home.item{min-height:74vh!important;padding-top:8rem!important;padding-bottom:6rem!important}.post.home.item .bg{filter:saturate(1.08) contrast(1.06);transform:scale(1.02)}.post.home.item .entry-header,.post.home.item .entry-content,.post.home.item .rw{position:relative;z-index:6;max-width:720px}.post.home.item .entry-title{font-size:clamp(2.6rem,6vw,5.8rem)!important;line-height:.95!important;letter-spacing:-.06em;text-shadow:0 8px 34px rgba(0,0,0,.75);margin-bottom:1.1rem}.post.home.item .entry-content{font-size:1.05rem;color:rgba(255,255,255,.82);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.home-thumbs{z-index:8}.home-thumbs .swiper-slide{border-radius:16px;overflow:hidden;border:2px solid transparent;box-shadow:0 12px 32px rgba(0,0,0,.45);transition:.24s ease}.home-thumbs .swiper-slide:hover,.home-thumbs .swiper-slide-thumb-active{border-color:#e50914;transform:translateY(-4px);box-shadow:0 18px 42px rgba(229,9,20,.28)}

/* Sections */
.bd.cont{padding-top:2.4rem}.section{margin-bottom:3.2rem}.section-header{margin-bottom:1.2rem}.section-title,.widget-title{font-size:clamp(1.35rem,2vw,2rem)!important;font-weight:800!important;letter-spacing:-.03em;color:#fff!important;position:relative;padding-left:1rem}.section-title:before,.widget-title:before{content:"";position:absolute;left:0;top:.55rem;bottom:.55rem;width:4px;border-radius:99px;background:#e50914;box-shadow:0 0 20px rgba(229,9,20,.8)}.movies-tbs-nav a,.series-tbs-nav a,.aa-tbs a{border-radius:999px!important;background:rgba(255,255,255,.07);color:rgba(255,255,255,.72)!important;border:1px solid rgba(255,255,255,.1);padding:.45rem 1rem!important}.movies-tbs-nav a.on,.series-tbs-nav a.on,.aa-tbs a.on,.movies-tbs-nav a:hover,.series-tbs-nav a:hover,.aa-tbs a:hover{background:#e50914!important;color:#fff!important;border-color:#e50914;box-shadow:0 12px 28px rgba(229,9,20,.25)}

/* Cards */
.post.movies,.post.series,.post.episodes,.post.seasons{border-radius:18px;overflow:hidden;background:#111116;box-shadow:0 14px 34px rgba(0,0,0,.38);transition:transform .25s ease,box-shadow .25s ease,filter .25s ease}.post.movies:hover,.post.series:hover,.post.episodes:hover,.post.seasons:hover{transform:translateY(-8px) scale(1.025);box-shadow:0 26px 64px rgba(0,0,0,.66),0 0 0 1px rgba(229,9,20,.35);z-index:20}.post-thumbnail figure{background:#111;border-radius:inherit;overflow:hidden}.post-thumbnail img{width:100%;transition:transform .35s ease,filter .35s ease}.post:hover .post-thumbnail img{transform:scale(1.07);filter:saturate(1.12) contrast(1.08)}.post .play{background:#e50914!important;color:#fff!important;box-shadow:0 12px 32px rgba(229,9,20,.5)}.quality{background:linear-gradient(135deg,#e50914,#8a0008)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18);border-radius:8px!important;font-weight:800;box-shadow:0 8px 22px rgba(229,9,20,.32)}.rating:before{color:#f5c518!important}.entry-meta>*{color:rgba(255,255,255,.72)!important}.post .entry-title{color:#fff!important}.post.info{background:rgba(11,11,15,.98)!important;border:1px solid rgba(255,255,255,.1);border-radius:20px!important;box-shadow:var(--shadow-card),var(--shadow-red);backdrop-filter:blur(18px)}

/* Buttons */
.btn,.pagination a,.pagination span,.tagcloud a,button,[type='button'],[type='reset'],[type='submit']{border-radius:999px!important;background:#25252d;color:#fff!important;transition:.22s ease}.btn:hover,.pagination .current,.tagcloud a:hover,button:hover,[type='button']:hover,[type='reset']:hover,[type='submit']:hover{background:#e50914!important;color:#fff!important;box-shadow:0 12px 28px rgba(229,9,20,.33);transform:translateY(-1px)}.btn.lin,.watch-btn,.btn.blk{background:linear-gradient(135deg,#e50914,#b00610)!important;color:#fff!important;border:0!important;box-shadow:0 16px 34px rgba(229,9,20,.35);font-weight:800}.btn.lin:hover,.watch-btn:hover,.btn.blk:hover{background:linear-gradient(135deg,#ff1f2d,#e50914)!important;box-shadow:0 20px 44px rgba(229,9,20,.48)}

/* Single/detail pages */
.single .bd,.single-movies .bd,.single-series .bd{background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,0));border-radius:24px}.breadcrumb{color:rgba(255,255,255,.58)}.breadcrumb a{color:rgba(255,255,255,.76)}.breadcrumb a:hover{color:#fff}.entry-content,.description,.overview{color:rgba(255,255,255,.82)}.details-lst li,.episodes-lst li,.seasons-lst li{background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.08);border-radius:14px}

/* Forms / modals */
input,textarea,select{background:#111116!important;color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:14px!important}input:focus,textarea:focus,select:focus{border-color:#e50914!important;box-shadow:0 0 0 4px rgba(229,9,20,.16)!important}.modal,.mdl,.aa-mdl,.login,.signup{background:rgba(10,10,13,.96)!important;border:1px solid rgba(255,255,255,.1);box-shadow:var(--shadow-card)}

/* Footer */
.ft{background:linear-gradient(180deg,rgba(7,7,7,0),#030303 20%,#000 100%)!important;border-top:1px solid rgba(255,255,255,.08);margin-top:3rem}.ft .top{padding:2.25rem 0}.ft .bot{border-top:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.55)}.ft a{color:rgba(255,255,255,.72)!important}.ft a:hover{color:#fff!important}.social .btn{background:rgba(255,255,255,.08)!important}.social .btn:hover{background:#e50914!important}

@media (max-width:768px){.hd .cont{min-height:64px}.post.home.item{min-height:68vh!important;padding-top:7rem!important}.post.home.item .entry-title{font-size:2.55rem!important}.post.home.item .entry-content{font-size:.95rem}.section-title{font-size:1.35rem!important}.bd.cont{padding-top:1.5rem}.search.on{display:flex!important;position:absolute;left:1rem;right:1rem;top:72px}}

/* Home slider overlap fix: keep hero layers inside the slider and prevent it from covering Movies */
.home-slider{
  position:relative!important;
  z-index:1!important;
  isolation:isolate!important;
  overflow:hidden!important;
  display:block!important;
  clear:both!important;
  margin-bottom:2.25rem!important;
  background:#070707!important;
}
.home-slider .swiper,
.home-slider .swiper-wrapper,
.home-slider .swiper-slide{
  position:relative!important;
  z-index:1!important;
}
.home-slider .mySwiper2{
  overflow:hidden!important;
}
.post.home.item{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate!important;
  z-index:1!important;
}
.post.home.item .bg{
  position:absolute!important;
  top:0!important;
  bottom:0!important;
  left:50%!important;
  width:100vw!important;
  height:100%!important;
  margin-left:-50vw!important;
  z-index:0!important;
  pointer-events:none!important;
}
.post.home.item .entry-header,
.post.home.item .entry-content,
.post.home.item .rw{
  position:relative!important;
  z-index:5!important;
}
.home-slider:before{
  z-index:2!important;
  pointer-events:none!important;
}
.home-thumbs{
  position:relative!important;
  z-index:6!important;
  margin-top:-6.5rem!important;
  margin-bottom:2rem!important;
  padding-bottom:.35rem!important;
}
.home-slider + .bd.cont,
.bd.cont{
  position:relative!important;
  z-index:10!important;
  clear:both!important;
  background:#070707!important;
}
.home-slider + .bd.cont .section:first-child{
  position:relative!important;
  z-index:11!important;
  margin-top:0!important;
}
@media (max-width:768px){
  .home-slider{margin-bottom:1.5rem!important;}
  .home-thumbs{margin-top:-4.25rem!important;margin-bottom:1.35rem!important;}
  .post.home.item{min-height:60vh!important;padding-bottom:5.5rem!important;}
}
