:root{--bg:#050813;--bg2:#080d1b;--panel:#0c1325;--panel2:#111a31;--line:rgba(143,119,255,.18);--text:#f8f8ff;--muted:#9da6bd;--purple:#7b2cff;--purple2:#b35cff;--cyan:#7bdcff;--gold:#ffd34d;--radius:18px;--shadow:0 18px 50px rgba(0,0,0,.38)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 78% 4%,rgba(117,43,255,.11),transparent 30%),linear-gradient(180deg,#050813 0%,#070b16 50%,#040711 100%);color:var(--text);font-family:'Cairo',Arial,sans-serif;min-height:100vh;overflow-x:hidden}a{color:inherit;text-decoration:none}button,input{font:inherit}.site-glow{position:fixed;width:420px;height:420px;border-radius:50%;filter:blur(100px);opacity:.13;pointer-events:none;z-index:-1}.glow-one{background:#7b2cff;right:-180px;top:240px}.glow-two{background:#19a8ff;left:-250px;bottom:-100px}.page-wrap{width:min(1180px,calc(100% - 56px));margin-inline:auto}.topbar{height:72px;position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:30px;padding:0 max(28px,calc((100% - 1280px)/2));background:rgba(5,8,19,.9);border-bottom:1px solid rgba(152,130,255,.16);backdrop-filter:blur(20px);box-shadow:0 10px 40px rgba(0,0,0,.2)}.brand{display:flex;align-items:center;gap:10px;min-width:195px}.brand-mark{width:42px;height:42px;border:2px solid #a865ff;border-radius:50%;display:grid;place-items:center;position:relative;box-shadow:0 0 25px rgba(151,80,255,.5),inset 0 0 18px rgba(151,80,255,.25)}.brand-mark:after,.brand-mark:before{content:'';position:absolute;border:1px solid rgba(255,255,255,.4);border-radius:50%;inset:7px}.brand-mark:before{inset:12px}.brand-reel{font-size:14px;color:#fff}.brand-text{display:flex;flex-direction:column;line-height:1}.brand-text strong,.footer-brand strong{font-size:19px;letter-spacing:-.5px}.brand-text strong span,.footer-brand strong span{color:#a75aff}.brand-text small,.footer-brand small{font-size:7px;color:#aab1c5;letter-spacing:1.4px;margin-top:5px}.main-nav{display:flex;align-self:stretch;align-items:center;gap:30px;flex:1;justify-content:center}.main-nav a{height:100%;display:flex;align-items:center;position:relative;color:#e5e7f0;font-size:14px;font-weight:700;white-space:nowrap}.main-nav a:after{content:'';position:absolute;bottom:0;left:18%;right:18%;height:3px;border-radius:5px;background:linear-gradient(90deg,#6e20ff,#c35bff);transform:scaleX(0);transition:.25s}.main-nav a:hover,.main-nav a.active{color:#fff}.main-nav a:hover:after,.main-nav a.active:after{transform:scaleX(1)}.search-box{width:300px;height:42px;border-radius:25px;background:#121a32;border:1px solid rgba(143,119,255,.14);display:flex;align-items:center;padding:0 15px;transition:.2s}.search-box:focus-within{border-color:rgba(170,95,255,.55);box-shadow:0 0 0 4px rgba(126,43,255,.08)}.search-box input{background:none;border:0;outline:0;color:#fff;width:100%;font-size:12px}.search-box input::placeholder{color:#858da7}.search-icon{font-size:25px;line-height:1;color:#e7e9f5;margin-left:8px;transform:rotate(-20deg)}.mobile-menu{display:none;background:none;border:0;color:#fff;font-size:25px}.hero{min-height:430px;position:relative;overflow:hidden;border-bottom:1px solid rgba(148,127,255,.09);background:#060913}.hero-backdrop{position:absolute;inset:0;background-image:linear-gradient(90deg,#050711 0%,rgba(5,7,17,.88) 20%,rgba(5,7,17,.46) 55%,rgba(5,7,17,.3) 100%),linear-gradient(0deg,#050813 0%,transparent 32%),var(--hero-image);background-size:cover;background-position:center 22%;filter:saturate(1.05);transform:scale(1.03)}.hero-noise{position:absolute;inset:0;background:radial-gradient(circle at 73% 48%,transparent 0,rgba(5,7,17,.1) 40%,rgba(5,7,17,.55) 100%)}.hero-content{position:relative;z-index:2;padding-top:76px;padding-bottom:74px}.hero-kicker,.eyebrow{color:#b667ff;font-size:12px;font-weight:800;letter-spacing:.5px}.hero h1{font-size:clamp(35px,5vw,62px);margin:10px 0 12px;line-height:1.08;max-width:620px;font-weight:900;text-shadow:0 8px 40px rgba(0,0,0,.55)}.hero p{color:#e0e3ed;max-width:530px;font-size:14px;line-height:2;margin:0 0 15px}.hero-meta{display:flex;gap:17px;align-items:center;color:#c8cede;font-size:12px}.hero-meta span{position:relative}.hero-meta span+span:before{content:'•';position:absolute;right:-11px;color:#69738b}.hero-meta .hero-rating{color:var(--gold);font-weight:800}.hero-actions{display:flex;gap:12px;margin-top:24px}.primary-btn,.secondary-btn,.ghost-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:11px;padding:11px 20px;font-weight:800;font-size:12px;transition:.2s}.primary-btn{background:linear-gradient(135deg,#7d28ff,#a13cff);box-shadow:0 10px 30px rgba(120,36,255,.32)}.primary-btn:hover{transform:translateY(-2px);box-shadow:0 14px 35px rgba(120,36,255,.46)}.secondary-btn,.ghost-btn{background:rgba(13,21,40,.9);border:1px solid rgba(151,132,255,.16)}.secondary-btn:hover,.ghost-btn:hover{background:#151f3a}.hero-poster-wrap{position:absolute;z-index:1;right:12%;top:42px;width:210px;height:310px;transform:rotate(4deg);filter:drop-shadow(0 25px 35px rgba(0,0,0,.6));opacity:.93}.hero-poster-wrap img{width:100%;height:100%;object-fit:cover;border-radius:14px;border:1px solid rgba(255,255,255,.18)}.hero-dots{position:absolute;z-index:3;bottom:17px;left:50%;display:flex;gap:7px}.hero-dots i{width:8px;height:8px;border-radius:50%;background:#778096;opacity:.7}.hero-dots i.active{width:24px;border-radius:8px;background:#9c39ff;opacity:1}.section-head{display:flex;align-items:end;justify-content:space-between;margin:34px 0 18px}.section-head h2{font-size:21px;margin:4px 0 0;font-weight:900}.section-head>a{font-size:12px;color:#aa57ff;font-weight:700}.category-row{display:grid;grid-template-columns:repeat(10,1fr);gap:11px}.category-chip{height:76px;background:linear-gradient(145deg,#10182d,#0a1020);border:1px solid var(--line);border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;transition:.25s;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}.category-chip span{font-size:23px;line-height:1;filter:drop-shadow(0 4px 8px rgba(164,83,255,.3))}.category-chip b{font-size:10px;color:#dfe3ef}.category-chip:hover{transform:translateY(-4px);border-color:rgba(173,91,255,.45);background:#121c35;box-shadow:0 12px 30px rgba(0,0,0,.25)}.media-section{scroll-margin-top:85px}.media-grid,.result-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}.media-card{min-width:0}.poster-wrap{height:292px;display:block;position:relative;border-radius:10px;overflow:hidden;background:#0e1527;border:1px solid rgba(143,119,255,.17);box-shadow:0 13px 32px rgba(0,0,0,.28);transition:.25s}.poster-wrap:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),transparent 55%,rgba(3,5,10,.45));pointer-events:none}.poster-wrap img{width:100%;height:100%;display:block;object-fit:cover;transition:.35s}.media-card:hover .poster-wrap{transform:translateY(-7px);border-color:rgba(171,87,255,.55);box-shadow:0 20px 40px rgba(0,0,0,.5),0 0 24px rgba(117,39,255,.11)}.media-card:hover .poster-wrap img{transform:scale(1.06)}.quality{position:absolute;z-index:2;top:9px;right:9px;background:#eef1fa;color:#0b1020;padding:2px 7px;border-radius:5px;font-size:9px;font-weight:900}.play-float{position:absolute;z-index:2;left:50%;top:50%;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(118,38,255,.9);box-shadow:0 8px 24px rgba(0,0,0,.4);transform:translate(-50%,-50%) scale(.7);opacity:0;transition:.25s;font-size:14px}.media-card:hover .play-float{opacity:1;transform:translate(-50%,-50%) scale(1)}.media-info{padding:9px 3px}.media-info h3{font-size:12px;margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:800}.meta{display:flex;gap:13px;color:#8f98ad;font-size:10px;min-height:16px}.rating{color:var(--gold)}.benefits{margin-top:48px;margin-bottom:50px;padding:18px 10px;border:1px solid rgba(144,118,255,.17);border-radius:16px;background:linear-gradient(90deg,rgba(87,25,180,.22),rgba(11,17,32,.9),rgba(87,25,180,.22));display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.benefit{display:flex;justify-content:center;align-items:center;gap:13px;padding:5px 18px;border-left:1px solid rgba(144,118,255,.17)}.benefit:last-child{border-left:0}.benefit>span{font-size:26px;color:#b85bff;text-shadow:0 0 18px rgba(184,91,255,.4)}.benefit strong{display:block;font-size:12px}.benefit small{color:#8992a8;font-size:9px}.site-footer{padding:45px max(28px,calc((100% - 1180px)/2));border-top:1px solid rgba(144,118,255,.12);background:#040610;color:#929aae;display:flex;align-items:center;gap:30px;flex-wrap:wrap}.footer-brand{display:flex;align-items:center;gap:9px;color:#fff}.brand-mark.small{width:34px;height:34px}.site-footer p{font-size:11px;margin:0;flex:1}.footer-links{display:flex;gap:18px;font-size:11px}.footer-links a:hover{color:#fff}.copyright{width:100%;font-size:9px;border-top:1px solid rgba(144,118,255,.08);padding-top:17px}.search-results-head{display:flex;align-items:end;justify-content:space-between;padding-top:45px}.search-results-head h1{font-size:27px;margin:5px 0 0}.result-grid{margin-top:25px;margin-bottom:60px}.empty-state{text-align:center;padding:100px 20px;color:#9ca5bb}.empty-state>div{font-size:50px;color:#a14cff}.empty-state h2{color:#fff}.empty-inline{grid-column:1/-1;background:#0b1222;border:1px dashed rgba(143,119,255,.25);border-radius:14px;padding:35px;text-align:center;color:#8993aa}.image-error{opacity:.2}.hero-empty{background:radial-gradient(circle at 70% 50%,rgba(120,40,255,.3),transparent 35%)}
@media(max-width:1050px){.topbar{gap:18px}.main-nav{gap:18px}.search-box{width:235px}.category-row{grid-template-columns:repeat(5,1fr)}.media-grid,.result-grid{grid-template-columns:repeat(5,1fr)}.poster-wrap{height:280px}.hero-poster-wrap{right:6%}}
@media(max-width:800px){.topbar{height:64px;padding:0 18px}.brand{min-width:auto}.main-nav{position:absolute;top:64px;right:0;left:0;height:auto;display:none;flex-direction:column;align-items:stretch;gap:0;padding:8px 18px;background:rgba(6,9,19,.98);border-bottom:1px solid var(--line)}body.nav-open .main-nav{display:flex}.main-nav a{height:46px;padding:0 8px}.main-nav a:after{display:none}.search-box{margin-right:auto;width:190px}.mobile-menu{display:block}.hero{min-height:470px}.hero-backdrop{background-position:65% center}.hero-content{padding-top:60px;width:calc(100% - 36px)}.hero h1{font-size:39px;max-width:75%}.hero p{max-width:65%;font-size:12px}.hero-poster-wrap{width:150px;height:225px;right:4%;top:48px;opacity:.45}.category-row{grid-template-columns:repeat(5,1fr)}.media-grid,.result-grid{grid-template-columns:repeat(3,1fr);gap:14px}.poster-wrap{height:300px}.benefits{grid-template-columns:repeat(2,1fr)}.benefit{border-left:0}.site-footer{display:block}.site-footer>*{margin-bottom:18px}}
@media(max-width:560px){.brand-text{display:none}.search-box{width:160px}.page-wrap{width:calc(100% - 28px)}.hero{min-height:500px}.hero-content{padding-top:65px}.hero h1{font-size:32px;max-width:100%;text-align:right}.hero p{max-width:90%;line-height:1.8}.hero-poster-wrap{width:135px;height:205px;top:auto;bottom:42px;right:18px;opacity:.22}.hero-actions{flex-wrap:wrap}.category-row{grid-template-columns:repeat(3,1fr)}.category-chip{height:70px}.media-grid,.result-grid{grid-template-columns:repeat(2,1fr);gap:12px}.poster-wrap{height:255px}.section-head h2{font-size:18px}.benefits{grid-template-columns:1fr 1fr;padding:12px 5px}.benefit{padding:9px 5px;gap:7px}.benefit>span{font-size:20px}.benefit strong{font-size:10px}.benefit small{font-size:7px}.search-results-head{padding-top:30px;align-items:start}.search-results-head h1{font-size:20px}.footer-links{flex-wrap:wrap}}
.detail-page{min-height:70vh}.detail-hero{position:relative;min-height:450px;overflow:hidden}.detail-bg{position:absolute;inset:0;background:linear-gradient(90deg,#050813 0%,rgba(5,8,19,.88) 40%,rgba(5,8,19,.62) 100%),linear-gradient(0deg,#050813 0%,transparent 50%),var(--hero-image);background-size:cover;background-position:center;filter:blur(1px) saturate(1.05)}.detail-layout{position:relative;z-index:2;min-height:450px;display:flex;align-items:center;gap:45px;padding-top:45px;padding-bottom:45px}.detail-poster{width:245px;height:350px;flex:0 0 auto;border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,.16);box-shadow:0 25px 55px rgba(0,0,0,.6);transform:rotate(-2deg)}.detail-poster img{width:100%;height:100%;object-fit:cover}.detail-copy{max-width:650px}.detail-copy h1{font-size:48px;margin:8px 0 12px}.detail-copy p{line-height:2;color:#d0d5e2;font-size:13px;margin:18px 0 25px}.detail-servers{padding-bottom:70px}.server-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.server-card{min-height:78px;background:linear-gradient(145deg,#111a31,#0a1020);border:1px solid rgba(144,118,255,.17);border-radius:14px;padding:14px 16px;display:flex;align-items:center;gap:12px;transition:.2s}.server-card:hover{border-color:#9c4fff;transform:translateY(-3px)}.server-card>span{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:rgba(131,44,255,.18);color:#bd75ff}.server-card div{flex:1}.server-card strong{display:block;font-size:12px}.server-card small{display:block;color:#7f899e;font-size:9px;margin-top:3px}.server-card>b{color:#a95cff;font-size:22px}.watch-page{padding-top:35px;padding-bottom:70px}.watch-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.watch-head h1{font-size:24px;margin:0}.back-link{font-size:11px;color:#a85aff}.player-placeholder{min-height:470px;border-radius:16px;border:1px solid rgba(144,118,255,.17);background:radial-gradient(circle at 50% 50%,rgba(111,33,255,.16),transparent 34%),#02040a;display:grid;place-items:center;box-shadow:0 25px 60px rgba(0,0,0,.35)}.watch-frame{width:100%;height:100%;min-height:470px;border:0;border-radius:16px;background:#000}.watch-video{width:100%;height:100%;min-height:470px;border-radius:16px;background:#000;object-fit:contain}.server-button{width:100%;text-align:right;font:inherit;color:inherit;cursor:pointer}.server-button.active{border-color:#a24dff;box-shadow:0 0 0 1px rgba(162,77,255,.25),0 12px 35px rgba(100,30,220,.12)}.player-inner{text-align:center;display:flex;flex-direction:column;align-items:center;gap:9px}.player-inner span{width:65px;height:65px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#7022ff,#a347ff);box-shadow:0 0 35px rgba(123,44,255,.4)}.player-inner strong{font-size:15px}.player-inner small{font-size:10px;color:#7e879b}.watch-servers{margin-top:18px}
@media(max-width:800px){.detail-layout{flex-direction:column;align-items:flex-start}.detail-poster{width:180px;height:260px}.detail-copy h1{font-size:36px}.server-grid{grid-template-columns:1fr}.player-placeholder{min-height:350px}.watch-head{display:block}.watch-head h1{margin-top:8px}}

.player-start{width:100%;height:100%;min-height:420px;border:0;cursor:pointer;color:inherit;background:radial-gradient(circle at center,rgba(125,45,255,.16),transparent 42%),#02040d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}.player-start .play-circle{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#7b2cff,#b04cff);color:#fff;font-size:28px;padding-right:2px;box-shadow:0 0 35px rgba(140,55,255,.45);transition:transform .2s ease,box-shadow .2s ease}.player-start:hover .play-circle{transform:scale(1.08);box-shadow:0 0 50px rgba(140,55,255,.65)}.player-start strong{font-size:20px;color:#fff}.player-start small{color:#8f95aa}

/* ===== VIP MOVIES HERO LAYOUT FIX ===== */
.hero{position:relative;min-height:470px;isolation:isolate}
.hero-content{position:relative;z-index:5;width:min(56%,660px);margin-right:0;margin-left:auto;padding-top:72px;padding-bottom:82px;text-align:right}
.hero-content h1{max-width:none;overflow-wrap:anywhere}
.hero-content p{max-width:100%}
.hero-actions{justify-content:flex-start}
.hero-poster-wrap{z-index:2;left:8%;right:auto;top:50%;width:220px;height:325px;transform:translateY(-50%) rotate(-3deg)}
.hero-poster-wrap img{display:block}
.hero-noise{z-index:1;pointer-events:none}
.hero-backdrop{z-index:0}
.hero-dots{z-index:6;left:50%;transform:translateX(-50%)}
@media(max-width:1050px){
  .hero-content{width:min(58%,620px)}
  .hero-poster-wrap{left:5%;width:190px;height:285px}
}
@media(max-width:800px){
  .hero{min-height:520px}
  .hero-content{width:calc(100% - 36px);margin:0 auto;padding-top:58px;padding-bottom:190px}
  .hero-content h1{font-size:38px;max-width:100%}
  .hero-content p{max-width:100%}
  .hero-poster-wrap{left:50%;right:auto;top:auto;bottom:34px;width:145px;height:215px;transform:translateX(-50%) rotate(-2deg);opacity:.55}
}
@media(max-width:560px){
  .hero{min-height:540px}
  .hero-content{padding-top:58px;padding-bottom:205px}
  .hero-content h1{font-size:31px}
  .hero-poster-wrap{bottom:34px;width:125px;height:185px;opacity:.45}
}

/* ===== HERO FINAL BALANCED LAYOUT ===== */
.hero {
  min-height: 470px;
  height: 470px;
  position: relative;
  overflow: hidden;
}

.hero-content.page-wrap {
  position: absolute;
  z-index: 5;
  left: 10%;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  width: min(52%, 680px);
  margin: 0;
  padding: 0;
  text-align: right;
}

.hero-content .hero-kicker {
  display: block;
  margin-bottom: 8px;
}

.hero-content h1 {
  max-width: 100%;
  margin: 0 0 14px;
  font-size: clamp(40px, 4vw, 54px);
  line-height: 1.12;
}

.hero-content p {
  max-width: 100%;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 2;
  color: #e1e4ed;
}

.hero-meta {
  justify-content: flex-start;
  margin-top: 4px;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 22px;
}

/* Match the clean reference layout: one clear CTA */
.hero-actions .secondary-btn {
  display: none;
}

.hero-poster-wrap {
  z-index: 4;
  left: auto;
  right: 13%;
  top: 50%;
  width: 245px;
  height: 350px;
  transform: translateY(-50%) rotate(3deg);
  opacity: 1;
}

.hero-poster-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 15px;
}

.hero-dots {
  z-index: 8;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
}

@media (max-width: 1050px) and (min-width: 801px) {
  .hero-content.page-wrap {
    left: 7%;
    width: min(55%, 610px);
  }
  .hero-poster-wrap {
    right: 7%;
    width: 210px;
    height: 305px;
  }
}

@media (max-width: 800px) {
  .hero {
    height: auto;
    min-height: 570px;
  }
  .hero-content.page-wrap {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: calc(100% - 36px);
    margin: 0 auto;
    padding: 55px 0 220px;
    text-align: right;
  }
  .hero-content h1 {
    font-size: 38px;
  }
  .hero-content p {
    max-width: 100%;
  }
  .hero-poster-wrap {
    left: auto;
    right: 7%;
    top: auto;
    bottom: 34px;
    width: 145px;
    height: 215px;
    transform: rotate(2deg);
  }
  .hero-dots {
    bottom: 14px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 560px;
  }
  .hero-content.page-wrap {
    padding-top: 48px;
    padding-bottom: 205px;
  }
  .hero-content h1 {
    font-size: 31px;
  }
  .hero-content p {
    font-size: 11px;
    line-height: 1.9;
  }
  .hero-poster-wrap {
    right: 6%;
    width: 125px;
    height: 185px;
  }
}

/* Admin-managed header dropdowns */
.main-nav .nav-dropdown{height:100%;position:relative;display:flex;align-items:center;margin:0;padding:0;border:0;background:transparent;color:#e5e7f0;font:inherit}
.main-nav .nav-dropdown>summary{height:100%;display:flex;align-items:center;gap:5px;list-style:none;cursor:pointer;color:#e5e7f0;font-size:14px;font-weight:700;white-space:nowrap;position:relative;outline:none}
.main-nav .nav-dropdown>summary::-webkit-details-marker{display:none}
.main-nav .nav-dropdown>summary:after{content:'';position:absolute;bottom:0;left:18%;right:18%;height:3px;border-radius:5px;background:linear-gradient(90deg,#6e20ff,#c35bff);transform:scaleX(0);transition:.25s}
.main-nav .nav-dropdown:hover>summary,.main-nav .nav-dropdown[open]>summary,.main-nav .nav-dropdown.is-active>summary{color:#fff}
.main-nav .nav-dropdown:hover>summary:after,.main-nav .nav-dropdown[open]>summary:after,.main-nav .nav-dropdown.is-active>summary:after{transform:scaleX(1)}
.nav-chevron{font-size:13px;color:#a85cff;transition:.2s;line-height:1}
.nav-dropdown[open] .nav-chevron{transform:rotate(180deg)}
.main-nav .nav-dropdown:not([open])>.nav-dropdown-menu{display:none}
.nav-dropdown-menu{position:absolute;top:calc(100% - 1px);right:50%;transform:translateX(50%);min-width:190px;padding:8px;border:1px solid rgba(157,110,255,.18);border-radius:13px;background:rgba(8,12,26,.98);box-shadow:0 18px 45px rgba(0,0,0,.5),0 0 30px rgba(116,42,255,.08);backdrop-filter:blur(18px);display:flex;flex-direction:column;gap:3px;z-index:100}
.nav-dropdown-menu a{height:auto!important;padding:10px 12px!important;border-radius:8px;color:#cbd1e1!important;font-size:12px!important;font-weight:700!important;text-decoration:none;display:block!important}
.nav-dropdown-menu a:after{display:none!important}
.nav-dropdown-menu a:hover{background:rgba(133,55,255,.15);color:#fff!important}
@media(max-width:800px){
  .main-nav .nav-dropdown{height:auto;display:block;width:100%}
  .main-nav .nav-dropdown>summary{height:46px;padding:0 8px}
  .main-nav .nav-dropdown>summary:after{display:none}
  .nav-dropdown-menu{position:static;transform:none;min-width:0;margin:0 8px 7px;padding:5px;background:rgba(13,19,37,.9);box-shadow:none;border-radius:10px}
  .nav-dropdown-menu a{padding:9px 12px!important}
}

.seo-alt-title{color:#b9c0d0;font-size:16px;margin:4px 0 12px;font-weight:600}

/* ===== LATEST MOVIES HERO SLIDER ===== */
.hero-slider{position:relative;isolation:isolate}
.hero-slider .hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .55s ease;z-index:1}
.hero-slider .hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:2}
.hero-slider .hero-slide .hero-backdrop{position:absolute;inset:0}
.hero-slider .hero-slide .hero-noise{position:absolute;inset:0}
.hero-slider .hero-slide .hero-content{position:absolute}
.hero-slider .hero-slide .hero-poster-wrap{position:absolute}
.hero-dots{display:flex;align-items:center;gap:7px}
.hero-dot{appearance:none;border:0;padding:0;width:8px;height:8px;border-radius:50%;background:#778096;opacity:.7;cursor:pointer;transition:all .25s ease}
.hero-dot.active{width:24px;border-radius:8px;background:#9c39ff;opacity:1}
@media(max-width:800px){.hero-slider .hero-slide .hero-content{position:relative}.hero-slider .hero-slide .hero-poster-wrap{position:absolute}}
/* ===== SEO/search UX ===== */
.site-search{position:relative}.search-submit{border:0;background:none;color:#9b5cff;cursor:pointer;font-size:18px;padding:0 6px}.search-suggestions{position:absolute;top:calc(100% + 8px);right:0;width:min(390px,92vw);background:#090e1d;border:1px solid rgba(156,92,255,.25);border-radius:14px;box-shadow:0 20px 55px rgba(0,0,0,.55);z-index:500;overflow:hidden;padding:6px}.search-suggestions a{display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px;color:#eef1f8;text-decoration:none}.search-suggestions a:hover{background:rgba(140,70,255,.12)}.search-suggestions img{width:38px;height:54px;object-fit:cover;border-radius:6px;background:#111827}.search-suggestions b{display:block;font-size:12px}.search-suggestions small{display:block;color:#8e98ab;font-size:10px;margin-top:3px}.search-suggestions .suggest-all{display:block;text-align:center;color:#b36aff;font-weight:800;border-top:1px solid rgba(255,255,255,.05);margin-top:4px;padding:11px}.popular-badge{font-size:9px;color:#ffcf45}.seo-alt-title{direction:rtl}

/* ===== STABILITY / LAYOUT FIX ===== */
.media-grid,.result-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));}
.hero-slider .hero-slide .hero-content{position:absolute;top:50%;left:8%;right:auto;transform:translateY(-50%);width:min(46%,620px);margin:0;padding:0;text-align:right;z-index:5;}
.hero-slider .hero-slide .hero-content h1{max-width:100%;}
.hero-slider .hero-slide .hero-poster-wrap{position:absolute;right:10%;left:auto;top:50%;transform:translateY(-50%) rotate(3deg);width:245px;height:350px;z-index:4;}
.hero-slider .hero-slide .hero-poster-wrap img{width:100%;height:100%;object-fit:cover;display:block;border-radius:15px;}
.seo-alt-title{display:block;line-height:1.5;}
@media(max-width:1050px){.hero-slider .hero-slide .hero-content{left:6%;width:50%;}.hero-slider .hero-slide .hero-poster-wrap{right:6%;width:210px;height:305px;}}
@media(max-width:800px){.media-grid,.result-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.hero-slider .hero-slide .hero-content{position:relative;top:auto;left:auto;transform:none;width:calc(100% - 36px);margin:0 auto;padding:55px 0 220px;text-align:right;}.hero-slider .hero-slide .hero-poster-wrap{right:7%;left:auto;top:auto;bottom:34px;width:145px;height:215px;transform:rotate(2deg);}.hero-slider .hero-slide{min-height:570px;height:570px;}.hero-slider{min-height:570px;height:570px;}}
@media(max-width:560px){.media-grid,.result-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.hero-slider .hero-slide .hero-content{padding-top:48px;padding-bottom:205px;}.hero-slider .hero-slide .hero-poster-wrap{right:6%;width:125px;height:185px;}}


/* ===== FINAL STABILITY OVERRIDES 2026-09-24 ===== */
/* Never allow an image to escape its card/container. */
img{max-width:100%;}

/* Hero: only one slide is rendered/visible at a time. */
.hero-slider{position:relative;min-height:470px;height:470px;overflow:hidden;isolation:isolate;}
.hero-slider .hero-slide{position:absolute!important;inset:0!important;width:100%;height:100%;display:none!important;opacity:1!important;visibility:visible!important;pointer-events:none!important;z-index:1;}
.hero-slider .hero-slide.is-active{display:block!important;pointer-events:auto!important;z-index:2;}
.hero-slider .hero-slide .hero-backdrop{position:absolute!important;inset:0!important;width:100%;height:100%;z-index:0;}
.hero-slider .hero-slide .hero-noise{position:absolute!important;inset:0!important;width:100%;height:100%;z-index:1;}
.hero-slider .hero-slide .hero-content.page-wrap{position:absolute!important;left:9%!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important;width:min(50%,650px)!important;margin:0!important;padding:0!important;z-index:5;text-align:right;}
.hero-slider .hero-slide .hero-content h1{max-width:100%!important;margin:0 0 12px!important;line-height:1.15!important;}
.hero-slider .hero-slide .hero-content p{max-width:100%!important;margin:0 0 14px!important;line-height:1.9!important;}
.hero-slider .hero-slide .hero-poster-wrap{position:absolute!important;right:10%!important;left:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%) rotate(3deg)!important;width:245px!important;height:350px!important;z-index:4;display:block;}
.hero-slider .hero-slide .hero-poster-wrap img{width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover!important;display:block!important;}
.hero-slider .hero-dots{position:absolute!important;left:50%!important;bottom:14px!important;transform:translateX(-50%)!important;z-index:10!important;}

/* Search results: keep posters inside their cards at every width. */
.result-grid{align-items:start;}
.result-grid .media-card{min-width:0;width:100%;}
.result-grid .poster-wrap{width:100%;height:292px;max-width:100%;overflow:hidden;display:block;position:relative;}
.result-grid .poster-wrap img{width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover!important;display:block!important;}
.search-suggestions{max-height:420px;overflow-y:auto;}
.search-suggestions img{width:38px!important;height:54px!important;max-width:38px!important;object-fit:cover!important;flex:0 0 38px;}

/* Movie/series detail posters must never become full-page images. */
.detail-layout{max-width:1180px;}
.detail-poster{width:245px!important;height:350px!important;flex:0 0 245px!important;overflow:hidden!important;}
.detail-poster img{width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover!important;display:block!important;}

@media(max-width:1050px) and (min-width:801px){
 .hero-slider .hero-slide .hero-content.page-wrap{left:6%!important;width:54%!important;}
 .hero-slider .hero-slide .hero-poster-wrap{right:6%!important;width:210px!important;height:305px!important;}
}
@media(max-width:800px){
 .hero-slider{height:570px!important;min-height:570px!important;}
 .hero-slider .hero-slide .hero-content.page-wrap{position:absolute!important;left:18px!important;right:18px!important;top:38px!important;transform:none!important;width:auto!important;margin:0!important;padding:0!important;}
 .hero-slider .hero-slide .hero-content h1{font-size:36px!important;}
 .hero-slider .hero-slide .hero-poster-wrap{right:50%!important;left:auto!important;top:auto!important;bottom:36px!important;transform:translateX(50%) rotate(2deg)!important;width:145px!important;height:215px!important;}
 .result-grid .poster-wrap{height:300px;}
 .detail-poster{width:180px!important;height:260px!important;flex-basis:180px!important;}
}
@media(max-width:560px){
 .hero-slider{height:540px!important;min-height:540px!important;}
 .hero-slider .hero-slide .hero-content.page-wrap{top:34px!important;}
 .hero-slider .hero-slide .hero-content h1{font-size:31px!important;}
 .hero-slider .hero-slide .hero-poster-wrap{width:125px!important;height:185px!important;bottom:34px!important;}
 .result-grid .poster-wrap{height:255px;}
}

/* ===== PORTRAIT POSTER RATIO FIX 2026-09-24 ===== */
/* Movie/series cards use the original vertical poster proportions instead of a fixed square-ish height. */
.media-grid .poster-wrap,
.result-grid .poster-wrap{
  width:100%!important;
  height:auto!important;
  aspect-ratio:2 / 3!important;
  max-width:100%!important;
  overflow:hidden!important;
  display:block!important;
  position:relative!important;
}
.media-grid .poster-wrap img,
.result-grid .poster-wrap img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  object-fit:cover!important;
  display:block!important;
}
@media(max-width:800px){
  .media-grid .poster-wrap,
  .result-grid .poster-wrap{height:auto!important;aspect-ratio:2 / 3!important;}
}


/* ===== PORTRAIT POSTER FIX v3 - reliable fallback for older browsers ===== */
.media-grid .poster-wrap,
.result-grid .poster-wrap {
  width:100% !important;
  height:0 !important;
  min-height:0 !important;
  padding-bottom:150% !important;
  aspect-ratio:auto !important;
  position:relative !important;
  overflow:hidden !important;
  display:block !important;
  box-sizing:border-box !important;
}
.media-grid .poster-wrap img,
.result-grid .poster-wrap img {
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  display:block !important;
}
@media(max-width:800px){
  .media-grid .poster-wrap,
  .result-grid .poster-wrap { height:0 !important; padding-bottom:150% !important; }
}
@media(max-width:560px){
  .media-grid .poster-wrap,
  .result-grid .poster-wrap { height:0 !important; padding-bottom:150% !important; }
}


/* ===== CATEGORY/YEAR LIST FIX 2026-09-24 ===== */
.category-page .category-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr)) !important;
  gap:18px !important;
  align-items:start !important;
  width:100% !important;
  margin-top:25px !important;
  margin-bottom:60px !important;
}
.category-page .category-grid .media-card{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
}
.category-page .category-grid .poster-wrap{
  width:100% !important;
  height:0 !important;
  min-height:0 !important;
  padding:0 0 150% 0 !important;
  position:relative !important;
  overflow:hidden !important;
  display:block !important;
  box-sizing:border-box !important;
}
.category-page .category-grid .poster-wrap img{
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  left:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  object-fit:cover !important;
  display:block !important;
}
@media(max-width:800px){
  .category-page .category-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:14px !important;}
}
@media(max-width:560px){
  .category-page .category-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important;}
}
