/*
Theme Name: Binge Serial
Theme URI: https://bingeserial.com/
Author: Binge Serial
Author URI: https://bingeserial.com/
Description: A professional dark entertainment theme for Movies, Shows, and Anime.
Version: 2.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: BingeSerial
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
    --bg:#070809;
    --panel:#0d0f11;
    --panel2:#111417;
    --line:#24282d;
    --muted:#a0a6ad;
    --text:#ffffff;
    --red:#ed1830;
    --red2:#ff3047;
    --gold:#ffc928;
    --max:1380px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
    background:
      radial-gradient(circle at 50% -10%,rgba(237,24,48,.08),transparent 35%),
      var(--bg);
    color:var(--text);
    font-family:Inter,Arial,sans-serif;
    overflow-x:hidden;
    font-size: 16px;
}

a{text-decoration:none;color:inherit}
button,input{font:inherit}
img{display:block;width:100%}

/* =========================================================
   CONTAINER & SECTIONS
========================================================= */

.container{width:min(var(--max),calc(100% - 70px));margin:auto}
.section{padding:50px 0;border-bottom:1px solid #1b1e23}
.section-head{
    display:flex;align-items:center;justify-content:space-between;
    margin-bottom:25px;gap:20px;padding-bottom:15px;
    border-bottom:1px solid rgba(255,255,255,0.08);
}
.title{
    display:flex;align-items:center;gap:10px;
    font-size:22px;font-weight:900;text-transform:uppercase;
    letter-spacing:.5px;color:#fff;
}
.title:before{
    content:"";width:5px;height:24px;background:var(--red);
    box-shadow:0 0 15px rgba(237,24,48,.6); border-radius: 2px;
}
.view{
    color:var(--muted);font-size:13px;font-weight:800;
    text-transform:uppercase;letter-spacing:.4px;
    transition: color 0.3s;
}
.view:hover{color:#fff}

/* =========================================================
   TICKER
========================================================= */

.ticker{
    height:40px;border-bottom:1px solid #1d2024;background:#040506;
    font-size:12px;color:var(--muted);
}
.ticker-inner{height:100%;display:flex;align-items:center;gap:14px}
.hot{color:var(--red);font-weight:900;text-transform:uppercase}
.ticker-track{display:flex;gap:30px;overflow:hidden;white-space:nowrap}
.ticker-track span:after{content:"•";color:var(--red);margin-left:30px}
.social{margin-left:auto;display:flex;gap:15px;white-space:nowrap;color:#8d9299}
.social span{transition:.2s;cursor:pointer;font-size:13px;}
.social span:hover{color:#fff}

/* =========================================================
   NAV
========================================================= */

.nav{
    height:80px;background:rgba(7,8,9,.98);
    border-bottom:1px solid #202429;position:sticky;top:0;z-index:1000;
    backdrop-filter:blur(18px);
}
.nav-inner{height:100%;display:flex;align-items:center}
.logo{
    font-size:36px;font-weight:900;letter-spacing:-3px;
    margin-right:50px;
}
.logo i{font-style:normal;color:var(--red)}
.menu{display:flex;align-items:center;gap:32px}
.menu a{
    font-size:13px;font-weight:700;text-transform:uppercase;color:#e0e0e0;
    position:relative;padding:28px 0;letter-spacing:0.5px;
}
.menu a:after{
    content:"";position:absolute;left:0;right:100%;bottom:20px;height:2px;
    background:var(--red);transition:.3s;
}
.menu a:hover:after{right:0}
.nav-actions{margin-left:auto;display:flex;align-items:center;gap:20px}

/* Search Icon */
button.search{
    width:40px;height:40px;border:1px solid #3a3e44;border-radius:8px;
    display:flex;align-items:center;justify-content:center;
    color:#fff;cursor:pointer;font-size:20px;line-height:1;padding:0;
    transition:0.3s;
}
button.search:hover{border-color:var(--red);color:#fff;background:rgba(221,24,24,0.1)}

/* Subscribe (Desktop) */
.subscribe{
    border:0;background:var(--red);color:#fff;border-radius:6px;
    padding:12px 18px;font-size:12px;font-weight:900;text-transform:uppercase;
    cursor:pointer;box-shadow:0 8px 25px rgba(237,24,48,.25);
    transition:.25s;
}
.subscribe:hover{background:var(--red2);transform:translateY(-2px)}

/* Mobile Menu Button */
.mobile-menu{
    display:none;width:40px;height:40px;background:var(--red);border:0;
    border-radius:8px;color:#fff;font-size:20px;line-height:1;padding:0;
    cursor:pointer;transition:0.3s;
}
.mobile-menu:hover{background:var(--red2)}

/* =========================================================
   SEARCH DROPDOWN (Full Width)
========================================================= */

.search-dropdown{
    position:absolute;top:80px;left:0;right:0;width:100%;
    background:#0d0f11;border-top:1px solid #2a2e33;border-bottom:1px solid #2a2e33;
    padding:20px 12px;z-index:9999;box-shadow:0 10px 30px rgba(0,0,0,.5);
}
.search-dropdown form{
    display:flex;max-width:800px;margin:0 auto;gap:10px;
}
.search-dropdown input{
    flex:1;background:#111417;border:1px solid #3a3e44;border-radius:6px;
    padding:12px 15px;color:#fff;font-size:14px;outline:none;transition:0.3s;
}
.search-dropdown input:focus{border-color:var(--red)}
.search-dropdown button{
    background:var(--red);border:0;border-radius:6px;padding:12px 20px;
    color:#fff;font-size:13px;font-weight:900;text-transform:uppercase;
    cursor:pointer;transition:0.3s;
}
.search-dropdown button:hover{background:var(--red2)}

.search-results{max-width:800px;margin:20px auto 0;max-height:300px;overflow-y:auto;padding:0 10px}
.search-result-item{padding:10px 0;border-bottom:1px solid #1f2327}
.search-result-item:last-child{border-bottom:0}
.search-result-item a{display:flex;gap:10px;align-items:center;color:#fff;text-decoration:none}
.search-result-img img{width:45px;height:50px;object-fit:cover;border-radius:4px}
.search-result-info h4{font-size:13px;margin:0}
.search-result-info span{font-size:11px;color:var(--muted)}
.no-results{color:var(--muted);font-size:13px;text-align:center;padding:10px}

/* for search page css */
/* .search.search-results{max-width:var(--max);} */

/* =========================================================
   MOBILE DROPDOWN MENU (PRO)
========================================================= */

.mobile-dropdown{
    display:none;position:absolute;top:80px;left:0;right:0;
    background:linear-gradient(180deg, rgba(7,8,9,0.99), rgba(13,15,17,0.99));
    border-bottom:1px solid #202429;padding:30px 20px;z-index:9999;
    box-shadow:0 20px 50px rgba(0,0,0,0.7);
}
.mobile-dropdown.active{display:block}

.mobile-menu-links{list-style:none !important;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;margin-bottom:25px}
.mobile-menu-links li{list-style:none}
.mobile-menu-links a{
    display:block;color:#fff;font-size:16px;font-weight:800;
    text-transform:uppercase;letter-spacing:1px;padding:14px 12px;
    border-bottom:1px solid rgba(255,255,255,0.06);
    text-decoration:none;transition:0.25s ease;
}
.mobile-menu-links a:hover{
    color:#dd1818;padding-left:18px;background:rgba(255,255,255,0.04);
}
.mobile-menu-links li:first-child a{padding-top:0}
.mobile-menu-links a:last-child{border-bottom:0}

.mobile-subscribe{
    width:100%;padding:16px;font-size:15px;font-weight:900;text-align:center;
    background:var(--red);border:0;border-radius:6px;color:#fff;
    cursor:pointer;transition:0.25s ease;
}
.mobile-subscribe:hover{background:var(--red2);transform:translateY(-2px)}

/* =========================================================
   HERO
========================================================= */

.hero{
    min-height:480px;position:relative;overflow:hidden;
    border-bottom:1px solid #22262b;
}
.hero-slide{
    position:absolute;inset:0;opacity:0;visibility:hidden;
    transition:opacity .65s ease,transform 1s ease;
    transform:scale(1.03);
}
.hero-slide.active{opacity:1;visibility:visible;transform:scale(1)}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:saturate(.95)}
.hero-bg:after{
    content:"";position:absolute;inset:0;
    background:
      linear-gradient(90deg,#050607 0%,rgba(5,6,7,.95) 25%,rgba(5,6,7,.3) 60%,rgba(5,6,7,.8) 100%),
      linear-gradient(0deg,#070809 0%,transparent 45%);
}
.hero-content{position:relative;z-index:2;padding:90px 0 65px;width:60%}
.kicker{
    display:inline-block;background:var(--red);padding:6px 10px;
    font-size:11px;font-weight:900;text-transform:uppercase;margin-bottom:15px;
    border-radius:2px;
}
.hero h1{
    max-width:800px;font-size:54px;line-height:1.05;letter-spacing:-2px;
    font-weight:900;margin-bottom:20px;
}
.hero p{max-width:520px;color:#d1d4d9;font-size:16px;line-height:1.6;margin-bottom:25px}
.hero-meta{display:flex;align-items:center;gap:12px;margin-bottom:25px;font-size:14px;color:var(--muted)}
.score{
    display:inline-flex;align-items:center;gap:6px;background:#17191b;
    border:1px solid #373b40;padding:8px 12px;font-size:13px;font-weight:900;color:#fff;
}
.score b{color:var(--gold)}
.hero-buttons{display:flex;gap:12px}
.btn{
    padding:14px 24px;border:1px solid #5a5f65;background:rgba(0,0,0,.35);
    color:#fff;font-size:13px;font-weight:900;text-transform:uppercase;border-radius:4px;
    transition:0.3s;
}
.btn:hover{background:#fff;color:#000;border-color:#fff}
.btn.red{background:var(--red);border-color:var(--red)}
.btn.red:hover{background:var(--red2);border-color:var(--red2);color:#fff}
.hero-side{
    position:absolute;right:0;top:60px;width:300px;z-index:3;
    background:rgba(13,15,17,0.85);border:1px solid #2a2e33;border-radius:6px;padding:15px;
    backdrop-filter:blur(10px);
}
.side-item{
    display:grid;grid-template-columns:30px 60px 1fr;gap:10px;align-items:center;
    padding:12px 0;border-bottom:1px solid rgba(255,255,255,.12);
}
.side-item:last-child{border-bottom:0}
.side-num{color:var(--red);font-size:11px;font-weight:900}
.side-img{height:55px;border-radius:4px;overflow:hidden}
.side-img img{height:100%;object-fit:cover}
.side-copy h4{font-size:13px;line-height:1.3;color:#fff;font-weight:600}
.side-copy span{font-size:11px;color:var(--muted)}
.hero-arrow{
    position:absolute;top:50%;transform:translateY(-50%);
    z-index:5;border:1px solid rgba(255,255,255,0.2);background:rgba(0,0,0,0.5);width:45px;height:45px;border-radius:50%;
    color:#d7d9dc;font-size:24px;cursor:pointer;opacity:.8;display:flex;justify-content:center;align-items:center;
    transition:0.3s;
}
.hero-arrow:hover{color:#fff;border-color:var(--red);background:var(--red);opacity:1}
.hero-prev{left:20px}.hero-next{right:20px}
.hero-dots{
    position:absolute;z-index:5;bottom:20px;left:50%;transform:translateX(-50%);
    display:flex;gap:8px;
}
.dot{
    width:9px;height:9px;border-radius:50%;background:#74787e;border:0;
    cursor:pointer;transition:.25s;
}
.dot.active{background:var(--red);box-shadow:0 0 10px rgba(237,24,48,.8);transform:scale(1.2)}

.slider-viewport.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
    padding-top: 20px;
}

/* =========================================================
   PREMIUM SLIDER (Arrows Dono Taraf)
========================================================= */

.slider-wrapper{position:relative;margin:0 auto;width:100%}
.slider-viewport{overflow:hidden}
.slider-track{display:flex;gap:16px;transition:transform .4s ease}
.slider-item{flex-shrink:0;min-width:0}
.slider-nav{
    position:absolute;top:50%;transform:translateY(-50%);
    width:40px;height:40px;background:rgba(0,0,0,.7);border:1px solid rgba(255,255,255,.2);
    color:#fff;border-radius:50%;font-size:20px;display:flex;align-items:center;justify-content:center;
    cursor:pointer;z-index:10;transition:.3s;
}
.slider-nav:hover{background:var(--red)}
.slider-prev{left:0px;border-radius: 50% !important;}.slider-next{right: 0px;border-radius: 50% !important;}

@media(min-width:1101px){.slider-item{flex-basis:calc(25% - 12px)}}
@media(max-width:1100px){.slider-item{flex-basis:calc(33.33% - 11px)}}
@media(max-width:800px){.slider-item{flex-basis:calc(50% - 8px)}}
@media(max-width:520px){.slider-item{flex-basis:85%}}

/* =========================================================
   TRENDING CARDS
========================================================= */

.trend-card{text-align:center;min-width:0;padding-top: 20px;}
.trend-img{
    width:230px;height:230px;margin:0 auto 12px;border-radius:50%;padding:3px;
    border:2px solid #3a3e44;position:relative;transition:.35s;background:#111417;
}
.trend-img:before{
    content:"";position:absolute;inset:-4px;border-radius:50%;
    border:1px solid rgba(237,24,48,.2);transition:.35s;
}
.trend-card:hover .trend-img{transform:translateY(-5px);border-color:var(--red)}
.trend-card:hover .trend-img:before{transform:scale(1.1);opacity:0}
.trend-img img{height:100%;object-fit:cover;border-radius:50%}
.trend-rank{
    position:absolute;bottom:10px;right:15px;width:30px;height:30px;
    border-radius:50%;background:var(--red);display:grid;place-items:center;
    font-size:10px;font-weight:900;border:3px solid var(--bg);
}
.trend-card h4{font-size:14px;font-weight:700;line-height:1.3;color:#fff}
.trend-card span{font-size:12px;color:var(--muted)}

/* =========================================================
   REVIEW CARDS
========================================================= */

.review-card{
    background:linear-gradient(180deg,#14171b,#0d0f11);
    border:1px solid #25292e;border-radius:6px;overflow:hidden;
    transition:.35s;cursor:pointer;height:100%;display:flex;flex-direction:column;
}
.review-card:hover{transform:translateY(-6px);border-color:#454a50;box-shadow:0 15px 35px rgba(0,0,0,.5)}
.poster{height:400px;position:relative;overflow:hidden;flex-shrink:0}
.poster img{height:100%;object-fit:cover;transition:.55s}
.review-card:hover .poster img{transform:scale(1.06)}
.poster:after{
    content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.8),transparent 55%);
}
.tag{
    position:absolute;top:12px;left:12px;z-index:2;background:var(--red);
    padding:6px 10px;font-size:10px;font-weight:900;text-transform:uppercase;border-radius:3px;color:#fff;
}
span.top-small-score{
    position:absolute;top:12px;right:12px;z-index:2;background:var(--red);
    padding:6px 10px;font-size:10px;font-weight:900;text-transform:uppercase;border-radius:3px;color:#fff;
}
.review-info{padding:15px;flex:1;display:flex;flex-direction:column}
.review-info h3{font-size:18px;font-weight:700;line-height:1.3;margin-bottom:8px;color:#fff}
.review-info p{font-size:13px;color:var(--muted);line-height:1.5;min-height:30px}
.review-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:10px}
.small-score{background:var(--red);padding:6px 8px;border-radius:3px;font-size:12px;font-weight:900;color:#fff}
.mini-type{font-size:12px;color:var(--muted);text-transform:uppercase;font-weight:600}

/* =========================================================
   WATCH
========================================================= */

.tabs{display:flex;gap:8px}
.tabs button{
    background:transparent;border:1px solid #3a3e44;color:var(--muted);
    border-radius:4px;padding:8px 16px;font-size:12px;font-weight:700;cursor:pointer;
    transition:0.3s;
}
.tabs button.active,.tabs button:hover{background:var(--red);border-color:var(--red);color:#fff}
.watch-card{
    height:360px;position:relative;border:1px solid #24282d;border-radius:6px;overflow:hidden;cursor:pointer;
}
.watch-card img{height:100%;object-fit:cover;transition:.5s}
.watch-card:after{
    content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.9),transparent 60%);
}
.watch-card:hover img{transform:scale(1.07)}
.play{
    position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);
    width:48px;height:48px;border:1px solid #fff;border-radius:50%;
    display:grid;place-items:center;background:rgba(0,0,0,.35);font-size:14px;
    transition:.25s;cursor:pointer;
}
.watch-card:hover .play{background:var(--red);border-color:var(--red);transform:translate(-50%,-50%) scale(1.1);color:#fff}
.watch-card h3{
    position:absolute;z-index:3;bottom:15px;left:15px;right:15px;
    font-size:15px;font-weight:700;line-height:1.3;
}

/* =========================================================
   NEWS
========================================================= */

.news-layout{display:grid;grid-template-columns:1fr 350px;gap:24px}
.news-list{border:1px solid #23272c;background:#0b0d0f;border-radius:6px;overflow:hidden}
.news-item{
    display:grid;grid-template-columns:110px 1fr;gap:15px;padding:15px;
    border-bottom:1px solid #1e2226;transition:.25s;align-items:center;cursor:pointer;
}
.news-item:last-child{border-bottom:0}
.news-item:hover{background:#111417}
.news-img{height:80px;border-radius:4px;overflow:hidden}
.news-img img{height:auto;object-fit:cover;transition:.4s}
.news-item:hover .news-img img{transform:scale(1.06)}
.news-time{font-size:11px;color:var(--muted);text-transform:uppercase;margin-bottom:5px}
.news-item h3{font-size:16px;font-weight:700;line-height:1.3;margin-bottom:5px;color:#fff}
.news-item p{font-size:13px;color:var(--muted);line-height:1.5}
.news-tag{display:inline-block;margin-top:8px;color:var(--red);font-size:11px;font-weight:900;text-transform:uppercase}
.load{
    display:block;margin:15px auto;background:transparent;border:1px solid #c41f31;
    color:#fff;border-radius:4px;padding:10px 20px;font-size:11px;font-weight:700;
    cursor:pointer;text-transform:uppercase;transition:0.3s;
}
.load:hover{background:var(--red);border-color:var(--red)}
.rated{
    border:1px solid #24282d;background:#0b0d0f;padding:20px;border-radius:6px;
}
.rated-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid #1f2327}
.rated-head strong{font-size:14px;text-transform:uppercase;color:#fff}
.rated-item{
    display:grid;grid-template-columns:55px 1fr auto;gap:12px;align-items:center;
    padding:12px 0;border-bottom:1px solid #1f2327;
}
.rated-item:last-child{border-bottom:0}
.rated-img{width:55px;height:60px;border-radius:4px;overflow:hidden}
.rated-img img{height:100%;object-fit:cover}
.rated-item h4{font-size:13px;font-weight:600;line-height:1.3;color:#fff}
.rated-score{font-size:14px;color:var(--red);font-weight:900}

/* =========================================================
   TRAILERS
========================================================= */

.trailer{
    border:1px solid #24282d;background:#0d0f11;border-radius:6px;overflow:hidden;cursor:pointer;
}
.trailer-img{height:490px;position:relative;overflow:hidden}
.trailer-img img{height:100%;object-fit:cover;transition:.5s}
.trailer:hover .trailer-img img{transform:scale(1.07)}
.trailer .play{width:42px;height:42px}
.duration{
    position:absolute;right:10px;bottom:10px;z-index:4;background:rgba(0,0,0,.8);
    padding:6px 8px;font-size:12px;font-weight:700;border-radius:3px;color:#fff;
}
.trailer h4{padding:15px;font-size:14px;font-weight:700;line-height:1.3;color:#fff}

/* =========================================================
   ANIME
========================================================= */

.anime-layout{display:grid;grid-template-columns:1.05fr 1.95fr;gap:16px;align-items:stretch}
.anime-feature{
    height:645px;position:relative;border:1px solid #292d32;border-radius:6px;overflow:hidden;cursor:pointer;
}
.anime-feature img{height:100%;object-fit:cover}
.anime-feature:after{
    content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.95),transparent 60%);
}
.anime-feature-content{position:absolute;z-index:3;left:20px;bottom:20px;right:20px}
.anime-feature-content h2{font-size:28px;line-height:1.1;margin:10px 0;color:#fff;font-weight:900}
.anime-feature-content p{font-size:14px;color:var(--muted);max-width:400px;line-height:1.5}
.anime-cards{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:14px;height:445px}
.anime-card{
    border:1px solid #24282d;background:#0d0f11;border-radius:6px;overflow:hidden;cursor:pointer;
}
.anime-img{height:170px;position:relative}
.anime-img img{height:100%;object-fit:cover}
.anime-score{
    position:absolute;top:10px;left:10px;background:var(--red);
    padding:6px 8px;font-size:12px;font-weight:900;border-radius:3px;
}
.anime-card h4{padding:12px;font-size:14px;font-weight:700;line-height:1.3;color:#fff}

/* =========================================================
   LISTS
========================================================= */

.list-card{
    height:360px;position:relative;border:1px solid #282c31;border-radius:6px;overflow:hidden;cursor:pointer;
}
.list-card img{height:100%;object-fit:cover;transition:.5s}
.list-card:hover img{transform:scale(1.07)}
.list-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.9),transparent 70%)}
.list-content{position:absolute;z-index:3;bottom:15px;left:15px;right:15px}
.list-content span{font-size:12px;color:var(--red);font-weight:900;text-transform:uppercase}
.list-content h3{font-size:16px;font-weight:700;line-height:1.25;color:#fff}

/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter{
    margin:50px auto;background:linear-gradient(90deg,#30070e,#15090c);
    border:1px solid #42131c;border-radius:8px;padding:30px 40px;
    display:flex;align-items:center;justify-content:space-between;gap:30px;
    box-shadow:0 10px 40px rgba(237,24,48,.1);
}
.newsletter h2{font-size:28px;text-transform:uppercase;margin-bottom:8px;color:#fff;font-weight:900}
.newsletter p{font-size:14px;color:var(--muted);max-width:450px;line-height:1.6}
.form{display:flex;width:500px;height:45px}
.form input{flex:1;border:0;outline:0;padding:0 15px;font-size:14px;border-radius:4px 0 0 4px}
.form button{width:160px;border:0;background:var(--red);color:#fff;font-size:13px;font-weight:900;text-transform:uppercase;cursor:pointer;border-radius:0 4px 4px 0;transition:0.3s}
.form button:hover{background:var(--red2)}

/* =========================================================
   FOOTER
========================================================= */

footer{padding:50px 0 25px;background:#050607}
.footer-grid{
    display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:40px;
    padding-bottom:35px;border-bottom:1px solid #1b1e22;
}
.footer-logo{font-size:32px;font-weight:900;letter-spacing:-2px;margin-bottom:15px}
.footer-logo i{font-style:normal;color:var(--red)}
.about{font-size:14px;color:var(--muted);line-height:1.7;max-width:280px}
.footer-col h4{font-size:13px;text-transform:uppercase;margin-bottom:15px;color:#fff}
.footer-col a{display:block;font-size:13px;color:var(--muted);margin-bottom:10px;transition:0.3s}
.footer-col a:hover{color:#fff;padding-left:5px}
.footer-bottom{display:flex;justify-content:space-between;padding-top:20px;color:var(--muted);font-size:12px}

/* =========================================================
   POPUP
========================================================= */

.popup-overlay{
    position:fixed;top:0;left:0;width:100%;height:100%;
    background:rgba(0,0,0,0.85);z-index:99999;
    display:flex;justify-content:center;align-items:center;
    backdrop-filter:blur(5px);animation:fadeIn 0.3s ease;
}
.popup-box{
    position:relative;width:100%;max-width:460px;
    background:linear-gradient(180deg,#14171b,#0d0f11);
    border:1px solid rgba(237,24,48,0.4);border-radius:12px;
    padding:45px 35px;box-shadow:0 20px 60px rgba(0,0,0,0.8);
    text-align:center;animation:slideUp 0.4s ease;
}
.popup-close{
    position:absolute;top:15px;right:15px;width:35px;height:35px;
    background:transparent;color:#fff;font-size:24px;font-weight:300;
    border-radius:50%;cursor:pointer;transition:all 0.3s ease;
    border:1px solid transparent;line-height:1;
    display:flex;align-items:center;justify-content:center;opacity:0.7;
}
.popup-close:hover{
    opacity:1;color:var(--red);border-color:rgba(237,24,48,0.3);transform:rotate(90deg);
}
.popup-content h2{font-size:24px;font-weight:900;text-transform:uppercase;margin-bottom:8px;color:#fff;letter-spacing:-0.5px}
.popup-content p{font-size:13px;color:var(--muted);line-height:1.6;margin-bottom:25px}
.popup-icon{font-size:40px;margin-bottom:15px}
.popup-form{display:flex;flex-direction:column;gap:12px;margin-bottom:15px}
.popup-form input{
    width:100%;background:#111417;border:1px solid #3a3e44;border-radius:8px;
    padding:14px 16px;color:#fff;font-size:15px;outline:none;transition:0.3s;
}
.popup-form input:focus{border-color:var(--red)}
.popup-form button{
    width:100%;background:var(--red);border:0;border-radius:8px;padding:14px;
    color:#fff;font-size:15px;font-weight:900;text-transform:uppercase;
    cursor:pointer;transition:0.3s;
}
.popup-form button:hover{background:var(--red2)}
.popup-footer{font-size:12px;color:var(--muted);margin-top:10px}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes slideUp{from{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1100px){
    .menu{gap:20px}
    .logo{margin-right:25px}
    .hero-content{width:70%}
    .hero-side{display:none}
    .news-layout{grid-template-columns:1fr}
    .anime-layout{grid-template-columns:1fr}
    .anime-feature{height:350px}
    .anime-cards{height:auto;grid-template-rows:none}
    .anime-img{height:200px}
}

@media(max-width:800px){
    .container{width:calc(100% - 28px)}
    .social{display:none}
    .menu{display:none}
    
    /* Mobile Menu Button */
    .mobile-menu{display:flex;margin-left:0;width:38px;height:38px;font-size:20px;align-items:center;justify-content:center}
    
    /* Desktop Subscribe ko hide karein */
    .desktop-subscribe{display:none}
    
    .nav-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
    button.search{
        width:38px;height:38px;border:1px solid rgba(255,255,255,0.2);
        background:rgba(255,255,255,0.06);border-radius:10px;
        display:flex;align-items:center;justify-content:center;
        font-size:18px;color:#fff;cursor:pointer;transition:0.3s;
    }
    
    .logo{font-size:30px;margin-right:10px}
    .logo img{max-height:48px !important}
    
    .hero{min-height:400px;padding-bottom:20px}
    .hero-content{width:100%;padding-top:60px;padding-bottom:45px}
    .hero h1{font-size:32px;line-height:1.1;margin-bottom:12px}
    .hero p{font-size:13px;line-height:1.6;margin-bottom:18px}
    .hero-meta{margin-bottom:15px;font-size:12px;gap:8px}
    .score{padding:6px 9px;font-size:12px}
    .hero-buttons{gap:8px;width:100%;display:flex;flex-direction:column}
    .btn{width:100%;padding:12px 18px;font-size:12px;border-radius:6px;display:flex;align-items:center;justify-content:center}
    .hero-side{display:none}
    .hero-dots{bottom:10px;gap:6px;margin-top:10px}
    .dot{width:6px;height:6px}

    /* Section Headings */
    .section-head{
        display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding-bottom:10px;margin-bottom:15px;
    }
    .title{font-size:20px;line-height:1.2}
    .title:before{height:20px}
    .view{font-size:12px;margin-top:4px}

    /* Tabs ko Horizontal Scroll banayein */
    .tabs{
        width:100%;display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch;
        gap:8px;padding-bottom:5px;scrollbar-width:none;
    }
    .tabs::-webkit-scrollbar{display:none}
    .tabs button{flex-shrink:0;padding:8px 16px;font-size:12px;border-radius:20px}

    /* Cards ko Premium Horizontal Slider banayein */
    .card-row,.watch-row,.trailer-row,.list-row{
        display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch;
        gap:12px;padding-bottom:10px;scroll-snap-type:x mandatory;scrollbar-width:none;
    }
    .card-row::-webkit-scrollbar,
    .watch-row::-webkit-scrollbar,
    .trailer-row::-webkit-scrollbar,
    .list-row::-webkit-scrollbar{display:none}
    
    .review-card,.watch-card,.trailer,.list-card{
        flex-shrink:0;scroll-snap-align:start;width:78%;
    }
    .poster{height:240px}
    .review-info h3{font-size:16px}
    .review-info p{font-size:12px}

    /* Trending Row */
    .row{
        display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch;
        gap:15px;padding-bottom:10px;scroll-snap-type:x mandatory;scrollbar-width:none;
    }
    .row::-webkit-scrollbar{display:none}
    .trend-card{flex-shrink:0;scroll-snap-align:start;width:110px}

    /* Anime Cards */
    .anime-cards{grid-template-columns:repeat(2,1fr);height:auto}
    .anime-img{height:170px}

    /* Newsletter */
    .newsletter{display:block;padding:25px 20px;border-radius:10px}
    .newsletter h2{font-size:24px;margin-bottom:6px}
    .newsletter p{font-size:14px;line-height:1.6;margin-bottom:20px}
    .form{width:100%;height:auto;margin-top:0;display:flex;flex-direction:row;flex-wrap:nowrap}
    .form input{flex:1;width:100%;font-size:14px;padding:14px 16px;border-radius:8px 0 0 8px;min-height:50px}
    .form button{width:auto;min-width:110px;font-size:13px;font-weight:900;padding:14px 18px;border-radius:0 8px 8px 0;white-space:nowrap;line-height:1.2}

    /* Footer */
    .footer-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:520px){
    .logo{font-size:26px;margin-right:5px}
    .logo img{max-height:42px !important}
    button.search{width:36px;height:36px;font-size:21px !important;}
    .mobile-menu{width:36px;height:36px;font-size:18px}
    .nav-actions{gap:8px}
    .hero h1{font-size:28px}
    .hero p{font-size:12px}
    .review-card,.watch-card,.trailer,.list-card{width:85%}
    .poster{height:200px}
    .trend-card{width:90px}
    .footer-grid{grid-template-columns:1fr 1fr;gap:25px 15px}
    .footer-bottom{display:block}
    .footer-bottom span{display:block;margin-bottom:5px}
}

/* =========================================================
   NEWSLETTER EXTRA SMALL MOBILE
========================================================= */

@media(max-width:450px){
    .newsletter{padding:20px 15px}
    .newsletter h2{font-size:20px}
    .form{flex-direction:column;gap:10px}
    .form input{border-radius:8px;min-height:48px}
    .form button{width:100%;border-radius:8px;min-height:48px;font-size:14px}
}


/* =========================================================
   MOBILE SLIDER FIX - Ek Card Center mein
========================================================= */

@media (max-width: 520px) {
    /* Slider item ko 100% width karo (ek card poora dikhega) */
    .slider-item {
        flex-basis: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important; /* Extra space khatam */
    }

    /* Track ka gap kam karo */
    .slider-track {
        gap: 0px !important;
    }

    /* Trending Card ko Center karo */
    .trend-card {
        width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .trend-img {
        width: 190px !important;
        height: 190px !important;
        margin: 0 auto 10px !important;
    }
}

/* =========================================================
   MOBILE CARDS - Height aur Width Perfect
========================================================= */

@media (max-width: 800px) {
    /* Cards ki width 100% (ek waqt mein ek) */
    .review-card,
    .watch-card,
    .trailer,
    .list-card {
        width: 100% !important;
        flex-shrink: 0 !important;
        scroll-snap-align: center !important;
    }

    /* Poster height ko bhi thoda adjust karo */
    .poster {
        height: 220px !important;
    }

    /* Hero buttons ko ek line mein properly fit karo */
    .hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
    }

    .btn {
        width: 100% !important;
        padding: 12px 18px !important;
        font-size: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
    }
}


/* Desktop par gap kam karo, aur item width perfect karo */
@media(min-width:1101px){
    .slider-item {
        flex-basis: calc(25% - 12px);
        margin-right: 0;
    }
}

@media(max-width:1100px){
    .slider-item {
        flex-basis: calc(33.33% - 11px);
        margin-right: 0;
    }
}

@media(max-width:800px){
    .slider-item {
        flex-basis: calc(50% - 6px);
        margin-right: 0;
    }
}

@media(max-width:520px){
    .slider-item {
        flex-basis: 100%;
        margin-right: 0;
    }
}

/* =========================================================
   SWIPER SLIDER - FINAL PREMIUM STYLES
========================================================= */

.swiper {
    width: 100%;
    padding-bottom: 50px;
    position: relative;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
}

/* Desktop: 4 slides */
@media (min-width: 1101px) {
    .swiper-slide {
        width: calc(25% - 12px) !important;
    }
}

/* Tablet: 3 slides */
@media (max-width: 1100px) {
    .swiper-slide {
        width: calc(33.33% - 11px) !important;
    }
}

/* Mobile: 2 slides */
@media (max-width: 800px) {
    .swiper-slide {
        width: calc(50% - 6px) !important;
    }
}

/* Mobile Small: 1 slide */
@media (max-width: 520px) {
    .swiper-slide {
        width: 100% !important;
    }
}

/* =========================================================
   SWIPER ARROWS (100% PREMIUM)
========================================================= */

.swiper-button-next,
.swiper-button-prev {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.8) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 20px;
    top: 45%;
    z-index: 10;
    position: absolute;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    color: #fff !important;
    font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--red) !important;
    border-color: var(--red) !important;
    color: #fff !important;
    opacity: 1;
    transform: scale(1.1);
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

/* =========================================================
   SWIPER PAGINATION (FIXED)
========================================================= */

.swiper-pagination {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: auto;
}

.swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: #74787e;
    opacity: 0.6;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--red);
    opacity: 1;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 8px rgba(237, 24, 48, 0.8);
}

/* =========================================================
   MOBILE PAR ARROWS HIDE (Swipe Feel)
========================================================= */

@media (max-width: 800px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .swiper {
        padding-bottom: 30px;
    }
    
    .swiper-pagination {
        bottom: 10px;
    }
}

/* =========================================================
   SWIPER SLIDER - FINAL STYLES
========================================================= */

.swiper {
    width: 100%;
    padding-bottom: 40px;
    position: relative;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
}

/* Desktop: 4 slides */
@media (min-width: 1101px) {
    .swiper-slide {
        width: calc(25% - 12px) !important;
    }
}

/* Tablet: 3 slides */
@media (max-width: 1100px) {
    .swiper-slide {
        width: calc(33.33% - 11px) !important;
    }
}

/* Mobile: 2 slides */
@media (max-width: 800px) {
    .swiper-slide {
        width: calc(50% - 6px) !important;
    }
}

/* Mobile Small: 1 slide */
@media (max-width: 520px) {
    .swiper-slide {
        width: 100% !important;
    }
}

/* =========================================================
   SWIPER ARROWS (100% PREMIUM)
========================================================= */

.swiper-button-next,
.swiper-button-prev {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.8) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 20px;
    top: 45%;
    z-index: 10;
    position: absolute;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    color: #fff !important;
    font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--red) !important;
    border-color: var(--red) !important;
    color: #fff !important;
    opacity: 1;
    transform: scale(1.1);
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

/* =========================================================
   SWIPER PAGINATION (FIXED)
========================================================= */

.swiper-pagination {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: auto;
}

.swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: #74787e;
    opacity: 0.6;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--red);
    opacity: 1;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 8px rgba(237, 24, 48, 0.8);
}

/* =========================================================
   MOBILE PAR ARROWS HIDE (Swipe Feel)
========================================================= */

@media (max-width: 800px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .swiper {
        padding-bottom: 30px;
    }
    
    .swiper-pagination {
        bottom: 10px;
    }
}

/* =========================================================
   SWIPER SLIDER - FINAL STYLES
========================================================= */

.swiper {
    width: 100%;
    padding-bottom: 40px;
    position: relative;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
}

/* Desktop: 4 slides */
@media (min-width: 1101px) {
    .swiper-slide {
        width: calc(25% - 12px) !important;
    }
}

/* Tablet: 3 slides */
@media (max-width: 1100px) {
    .swiper-slide {
        width: calc(33.33% - 11px) !important;
    }
}

/* Mobile: 2 slides */
@media (max-width: 800px) {
    .swiper-slide {
        width: calc(50% - 6px) !important;
    }
}

/* Mobile Small: 1 slide */
@media (max-width: 520px) {
    .swiper-slide {
        width: 100% !important;
    }
}

/* =========================================================
   SWIPER ARROWS
========================================================= */

.swiper-button-next,
.swiper-button-prev {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.8) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 20px;
    top: 45%;
    z-index: 10;
    position: absolute;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    color: #fff !important;
    font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--red) !important;
    border-color: var(--red) !important;
    color: #fff !important;
    opacity: 1;
    transform: scale(1.1);
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

/* =========================================================
   SWIPER PAGINATION
========================================================= */

.swiper-pagination {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: auto;
}

.swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: #74787e;
    opacity: 0.6;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--red);
    opacity: 1;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 8px rgba(237, 24, 48, 0.8);
}

/* =========================================================
   MOBILE ARROWS HIDE
========================================================= */

@media (max-width: 800px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .swiper {
        padding-bottom: 30px;
    }
    
    .swiper-pagination {
        bottom: 10px;
    }
}

.swiper-pagination {
        display: none !important;
    }



    /* =========================================================
   NAV MENU BULLETS REMOVE (CSS Only)
========================================================= */

/* Desktop Nav Menu */
.menu ul,
.menu li,
.menu ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Mobile Dropdown Menu */
.mobile-dropdown ul,
.mobile-dropdown li,
.mobile-dropdown ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Saare WordPress Menus */
.nav .menu ul,
.nav .menu li,
.nav .menu ul li,
.mobile-dropdown .menu ul,
.mobile-dropdown .menu li,
.mobile-dropdown .menu ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

button.hero-arrow {
    border-radius: 0% !important;
}
.list-content h3 {
    margin-left: 0px !important;
}

@media(max-width:767px){
    .hero-buttons {
    flex-direction: column !important;
}
button.hero-arrow {
    padding: 0px !important;
    width: 25px;
    height: 25px;
}
}



/* =========================================================
   REVIEW COLLAPSE/EXPAND
========================================================= */

.show-review-content {
    max-height: 120px; /* 3-4 lines */
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.show-review-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, #111419);
}

.show-review-content.expanded {
    max-height: 2000px;
}

.show-review-content.expanded::after {
    display: none;
}

.show-review-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    background: transparent;
    border: 1px solid #292d33;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.show-review-toggle:hover {
    background: #dd1818;
    border-color: #dd1818;
}

.show-review-toggle .toggle-icon {
    transition: transform 0.3s;
}

.show-review-toggle.expanded .toggle-icon {
    transform: rotate(180deg);
}

.show-review-toggle .toggle-text {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}


/* =========================================================
   HERO SLIDER - Full Width No Crop
========================================================= */

.hero {
    position: relative;
    width: 100%;
    height: 80vh; /* Full viewport height */
    min-height: 500px;
    overflow: hidden;
    background: #0a0a0a;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Dark overlay for text readability */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.3) 100%
    );
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 650px;
    padding: 20px;
    color: #fff;
}

.hero-content .kicker {
    display: inline-block;
    background: #e50914;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 30px;
    }
}

.hero-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
    max-width: 90%;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-meta .score {
    color: #ffd700;
    font-weight: 600;
}

.hero-meta .meta-text {
    color: #fff;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-buttons .btn.red {
    background: #e50914;
    border-color: #e50914;
    color: #fff;
}

.hero-buttons .btn.red:hover {
    background: #b20710;
    border-color: #b20710;
    transform: scale(1.05);
}

.hero-buttons .btn:not(.red):hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
}

/* Hero Sidebar (Right side) */
.hero-side {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 280px;
    background: rgb(0 0 0 / 10%);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    max-height: 80vh;
    overflow-y: auto;
}

@media (max-width: 992px) {
    .hero-side {
        display: none;
    }
}

.hero-side .side-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-side .side-item:hover {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 10px 5px;
}

.hero-side .side-item:last-child {
    border-bottom: none;
}

.hero-side .side-num {
    font-size: 18px;
    font-weight: 700;
    color: #e50914;
    min-width: 30px;
}

.hero-side .side-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-side .side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-side .side-copy h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.3;
}

.hero-side .side-copy span {
    font-size: 12px;
    color: #888;
}

/* Hero Navigation Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.hero-arrow:hover {
    background: #e50914;
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

@media (max-width: 768px) {
    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .hero-prev {
        left: 10px;
    }
    .hero-next {
        right: 10px;
    }
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dots .dot.active {
    background: #e50914;
    transform: scale(1.3);
}

.hero-dots .dot:hover {
    background: rgba(255,255,255,0.6);
}

/* .slider-track.swiper-wrapper {
    transform: none !important;
} */


/* =========================================================
   BINGESERIAL FOOTER
========================================================= */

.bs-footer {
    position: relative;
    overflow: hidden;
    background: #050607;
    color: #fff;
    padding: 72px 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.bs-footer-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(229, 9, 20, 0.13),
            transparent 28%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(229, 9, 20, 0.10),
            transparent 30%
        );
}

.bs-footer-bg::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    left: -300px;
    top: -280px;
    border: 2px solid rgba(229,9,20,0.28);
    border-radius: 50%;
}

.bs-footer-bg::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -320px;
    bottom: -320px;
    border: 2px solid rgba(229,9,20,0.22);
    border-radius: 50%;
}

.bs-footer-container {
    position: relative;
    z-index: 2;
}


/* MAIN GRID */

.bs-footer-grid {
    display: grid;
    grid-template-columns:
        1.45fr
        0.9fr
        0.9fr
        0.9fr
        2.45fr;
    gap: 55px;
    align-items: start;
}


/* LOGO */

.bs-footer-logo {
    margin-bottom: 22px;
}

.bs-footer-logo img {
    max-width: 215px;
    height: auto;
    display: block;
}

.bs-footer-logo span {
    color: #fff;
}

.bs-footer-logo strong {
    color: #e50914;
    font-weight: 700;
}


/* ABOUT */

.bs-footer-about {
    max-width: 330px;
    margin: 0;
    color: #aeb4bd;
    font-size: 15px;
    line-height: 1.8;
}


/* SOCIAL */

.bs-socials {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.bs-socials a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    background: rgba(255,255,255,0.025);
    transition: all .3s ease;
}

.bs-socials svg {
    width: 17px;
    height: 17px;
    fill: #dce0e5;
}

.bs-socials a:hover {
    background: #e50914;
    border-color: #e50914;
    transform: translateY(-3px);
}

.bs-socials a:hover svg {
    fill: #fff;
}


/* FOOTER COLUMNS */

.bs-footer-col h4 {
    position: relative;
    margin: 0 0 24px;
    padding-left: 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.bs-footer-col h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 4px;
    height: 18px;
    background: #e50914;
    border-radius: 3px;
}

.bs-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bs-footer-col li {
    margin: 0 0 15px;
    padding: 0;
}

.bs-footer-col a {
    position: relative;
    color: #c7ccd3;
    text-decoration: none;
    font-size: 14px;
    transition: all .25s ease;
}

.bs-footer-col a::before {
    content: "›";
    margin-right: 8px;
    color: #e50914;
    opacity: 0;
    transform: translateX(-5px);
    display: inline-block;
    transition: all .25s ease;
}

.bs-footer-col a:hover {
    color: #fff;
}

.bs-footer-col a:hover::before {
    opacity: 1;
    transform: translateX(0);
}


/* NEWSLETTER */

.bs-footer-newsletter {
    position: relative;
    padding: 27px;
    border: 1px solid rgba(229,9,20,0.35);
    border-radius: 10px;
    background:
        linear-gradient(
            145deg,
            rgba(229,9,20,0.07),
            rgba(255,255,255,0.015)
        );
    box-shadow:
        0 20px 60px rgba(0,0,0,.25);
}

.bs-newsletter-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.bs-newsletter-title h3 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.bs-mail-icon {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs-mail-icon svg {
    width: 27px;
    height: 27px;
    fill: #e50914;
}

.bs-footer-newsletter > p {
    margin: 0 0 22px;
    color: #aeb4bd;
    font-size: 13px;
    line-height: 1.7;
}


/* NEWSLETTER FORM */

.bs-footer-form {
    display: flex;
    width: 100%;
    gap: 0;
}

.bs-footer-input-wrap {
    position: relative;
    flex: 1;
}

.bs-footer-input-wrap input {
    width: 100%;
    height: 52px;
    padding: 0 15px 0 44px;
    border: 1px solid rgba(255,255,255,0.12);
    border-right: 0;
    border-radius: 7px 0 0 7px;
    outline: none;
    background: rgba(0,0,0,.3);
    color: #fff;
    font-size: 13px;
    box-sizing: border-box;
}

.bs-footer-input-wrap input::placeholder {
    color: #8d949e;
}

.bs-footer-input-wrap input:focus {
    border-color: rgba(229,9,20,.6);
}

.bs-input-icon {
    position: absolute;
    left: 15px;
    top: 56%;
    transform: translateY(-50%);
    pointer-events: none;
}

.bs-input-icon svg {
    width: 18px;
    height: 18px;
    fill: #aeb4bd;
}

.bs-footer-form button {
    height: 52px;
    padding: 0 21px;
    border: 0;
    border-radius: 0 7px 7px 0;
    background: #e50914;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: all .3s ease;
}

.bs-footer-form button:hover {
    background: #ff1b26;
}

.bs-footer-form button span {
    margin-left: 7px;
    font-size: 16px;
}


/* BOTTOM */

.bs-footer-bottom {
    margin-top: 65px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8e969f;
    font-size: 12px;
}

.bs-footer-made span {
    color: #e50914;
    font-size: 16px;
    margin-right: 5px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .bs-footer-grid {
        grid-template-columns:
            1.3fr
            1fr
            1fr
            1fr;
        gap: 40px;
    }

    .bs-footer-newsletter {
        grid-column: 1 / -1;
    }

}


@media (max-width: 768px) {

    .bs-footer {
        padding-top: 55px;
    }

    .bs-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .bs-footer-brand {
        grid-column: 1 / -1;
    }

    .bs-footer-newsletter {
        grid-column: 1 / -1;
    }

    .bs-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

}


@media (max-width: 520px) {

    .bs-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bs-footer-brand,
    .bs-footer-newsletter {
        grid-column: auto;
    }

    .bs-footer-logo img {
        max-width: 180px;
    }

    .bs-footer-newsletter {
        padding: 22px;
    }

    .bs-footer-form {
        flex-direction: column;
        gap: 10px;
    }

    .bs-footer-input-wrap input {
        border-right: 1px solid rgba(255,255,255,0.12);
        border-radius: 7px;
    }

    .bs-footer-form button {
        width: 100%;
        border-radius: 7px;
    }

    .bs-footer-bottom {
        margin-top: 45px;
    }

}

.nav-actions button#search-toggle {
        background: var(--red) !important;
}
span.play, span.duration {
	display: none;
}
.episodes-table tbody tr:hover td, .show-episode-table tbody tr:hover td
 {
    background: rgba(221, 24, 24, 0.04);
}
/* .email-text {
    display: flex;
    align-items: center;
    grid-gap: 2px;
}
.email-text img {
    width: 165px;
    margin: 0 !important;
    margin-bottom: -2px !important;
} */
.email-text {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    line-height: 1.8;
}

.email-text img {
    width: 165px;
    height: auto;
    margin: 0 !important;
    flex-shrink: 0;
    vertical-align: middle;
}



/* for home page layoutfixing */

/* =========================================================
   FIX: Bade Titles ko Chota Karo + Card Height Same Rakho
   (Sirf CSS - Koi PHP change nahi - Live Site Safe)
   ========================================================= */

/* 1. Slider items ko stretch karo taaki height same rahe */
.slider-track {
    display: flex !important;
    align-items: stretch !important;
}

.slider-item {
    display: flex !important;
    height: auto !important;
}

/* 2. Sabhi cards ka base structure */
.review-card,
.watch-card,
.trailer,
.list-card,
.trend-card,
.anime-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100%;
}

/* 3. Sabhi Titles ka Font Chota + 2 Line Fix */
.review-card h3,
.watch-card h3,
.trailer h4,
.list-card h3,
.trend-card h4,
.anime-card h4,
.news-item h3,
.rated-item h4 {
    font-size: 14px !important;
    line-height: 1.3 !important;
    height: 36px !important;         /* 2 lines ki fixed height */
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; /* Sirf 2 line dikhega */
    -webkit-box-orient: vertical !important;
    text-overflow: ellipsis !important;
/*     margin: 8px 12px 5px 12px !important; */
	margin: 8px 12px 5px 12px;
}

/* 4. Excerpt / Description bhi 2 line fix */
.review-card p,
.trailer p {
    font-size: 13px !important;
    line-height: 1.3 !important;
    height: 34px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    text-overflow: ellipsis !important;
    margin: 0 12px 10px 12px !important;
    flex-grow: 1;
}

/* 5. Footer (Score/Type) hamesha bottom pe */
.review-card .review-foot,
.trend-card span,
.anime-card .anime-score {
    margin-top: auto !important;
    padding: 8px 12px !important;
/*     border-top: 1px solid #333; */
    display: flex;
    justify-content: center;
    align-items: center;
	text-transform: capitalize;
}
section.section.reveal.delay1.show .review-foot{
	grid-gap:8px;
}

/* 6. News Item Fix */
.news-item h3 {
    margin: 0 0 5px 0 !important;
}

/* 7. Rated Sidebar Fix */
.rated-item h4 {
    margin: 0 !important;
    flex-grow: 1;
}

/* =========================================================
   RESPONSIVE - Mobile / Tablet
   ========================================================= */
@media (max-width: 768px) {
    .review-card h3,
    .watch-card h3,
    .trailer h4,
    .list-card h3,
    .trend-card h4,
    .anime-card h4,
    .news-item h3,
    .rated-item h4 {
        font-size: 13px !important;
        height: 34px !important;
    }
}

@media (max-width: 480px) {
    .review-card h3,
    .watch-card h3,
    .trailer h4,
    .list-card h3,
    .trend-card h4,
    .anime-card h4,
    .news-item h3,
    .rated-item h4 {
        font-size: 12px !important;
        height: 32px !important;
    }
}

/*for home page*/

/* ============================================
   ANIME ZONE - EQUAL HEIGHT LAYOUT
   ============================================ */

/* Parent layout: Left aur Right equal height */
.anime-layout.equal-height {
    display: grid;
    grid-template-columns: 1fr 1.15fr; /* Left chhota, Right bada */
    gap: 24px;
    align-items: stretch;
}

/* ============================================
   LEFT: FEATURED CARD
   ============================================ */
.anime-feature {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #111;
}

.anime-feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Fallback agar image na ho */
.anime-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    z-index: -1;
}

.anime-feature-content {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 10%, transparent 100%);
}

.anime-feature-content h2 {
    margin: 8px 0;
    font-size: 1.6rem;
    line-height: 1.2;
}

.anime-feature-content p {
    margin: 8px 0;
    opacity: 0.85;
    font-size: 0.95rem;
}

.kicker {
    display: inline-block;
    background: #e50914;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* ============================================
   RIGHT: CARDS GRID (Auto-Adjust)
   ============================================ */
.anime-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3 columns */
    gap: 16px;
    height: 100%;
    grid-auto-rows: 1fr;                     /* Har row equal */
    align-content: stretch;                  /* Rows stretch */
    /* Safety: agar future mein bahut zyada cards ho jayein */
    /* overflow-y: auto; */
    /* max-height: 100%; */
}

/* ============================================
   SINGLE CARD
   ============================================ */
.anime-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.anime-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(229, 9, 20, 0.25);
}

.anime-img {
    position: relative;
    flex-grow: 1;
    min-height: 0;
    overflow: hidden;
}

.anime-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.anime-card:hover .anime-img img {
    transform: scale(1.05);
}

.anime-score {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e50914;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.anime-card h4 {
    margin: 0;
    padding: 10px 12px;
    font-size: 13.5px;
    line-height: 1.3;
    background: #1a1a1a;
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .anime-layout.equal-height {
        grid-template-columns: 1fr 1.2fr;
    }
}

@media (max-width: 900px) {
    .anime-layout.equal-height {
        grid-template-columns: 1fr;   /* Stack */
    }
    .anime-cards {
        grid-template-columns: repeat(3, 1fr); /* Tablet: 3 columns */
    }
}

@media (max-width: 600px) {
    .anime-cards {
        grid-template-columns: repeat(2, 1fr); /* Mobile: 2 columns */
    }
}

/*@media (max-width: 400px) {*/
/*    .anime-cards {*/
/*        grid-template-columns: 1fr;   */
/*    }*/
/*}*/

/*for home page*/


/* for Mobile */
@media (max-width:767px){
	.hero {
    height: 400px !important;
    min-height: 400px;
}
.hero-content p {
    font-size: 12px;
}	
.hero-dots {
    display: none;
}
/* .email-text {
    flex-direction: column;
}	
.email-text img {
    width: 130px;
    margin: 0 !important;
    margin-bottom: -12px !important;
    margin-top: -21px !important;
    margin-left: 41px !important;
}
.page-id-3 .email-text img {
        margin-top: -20px !important;
        margin-left: 161px !important;
    } */
.email-text {
        display: block;
        white-space: normal;
        line-height: 1.8;
    }

    .email-text img {
        display: block;
        width: 130px;
        height: auto;
/*         margin: 2px auto 0 !important; */
    }
.anime-feature {
    height: 500px;
}
.anime-feature img {
    height: 514px;
}
.anime-feature-content {
    padding-left: 0px;
}
}