*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Arial,sans-serif;background:#050b16;color:#fff}
header{position:sticky;top:0;z-index:50;background:#070d1b;padding:16px;display:flex;align-items:center;gap:12px;box-shadow:0 8px 30px #000}
.brand{font-size:25px;font-weight:900}.brand span{color:#38bdf8}
.menu{border:0;background:#12213a;color:#fff;border-radius:14px;padding:11px 14px;font-size:22px}
.earnTop{margin-left:auto;border:0;border-radius:999px;background:linear-gradient(135deg,#ff0066,#ff2d00);color:#fff;padding:14px 22px;font-weight:900;font-size:16px;box-shadow:0 0 25px #ff006688;animation:pulse 2s infinite}
main{max-width:950px;margin:auto;padding:12px}
.playerBox{background:#0c1830;border:1px solid #203554;border-radius:26px;padding:14px;margin-bottom:16px;box-shadow:0 15px 45px #000}
video{width:100%;height:260px;background:#000;border-radius:22px}
.info{background:#17243a;border:1px solid #334155;border-radius:18px;padding:14px;margin-top:12px;font-size:20px;font-weight:900}
#status{color:#ffd166;margin-top:10px;font-weight:700}
.actions{display:grid;gap:12px;margin-top:14px}
.action{border:0;border-radius:20px;padding:17px;color:#fff;font-size:18px;font-weight:900}
.more{background:linear-gradient(135deg,#38bdf8,#06b6d4)}
.toolbar{margin:15px 0}.toolbar input{width:100%;padding:16px;border:0;border-radius:18px;background:#14243f;color:#fff;font-size:16px}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.card{background:#111c31;border:1px solid #253852;border-radius:22px;padding:12px;text-align:center;cursor:pointer}
.card.active{border-color:#06b6d4;box-shadow:0 0 22px #06b6d466}
.card img{width:100%;height:95px;object-fit:contain;background:#050914;border-radius:18px}
.card h3{font-size:15px;margin-top:10px}
.drawer{position:fixed;left:-330px;top:0;width:310px;height:100%;background:#07182f;z-index:100;padding:15px;transition:.3s;overflow:auto}
.drawer.open{left:0}.drawerHead{display:flex;justify-content:space-between;margin-bottom:12px}
.drawerHead button{border:0;background:#ff3158;color:#fff;border-radius:10px;padding:8px 11px}
.tabs{display:flex;gap:8px;margin-bottom:12px}.tabs button{flex:1;border:0;border-radius:12px;background:#14243f;color:#fff;padding:12px;font-weight:800}.tabs button.active{background:#0b8fff}
.cat{display:block;width:100%;text-align:left;border:0;margin-bottom:8px;padding:13px;border-radius:14px;background:#14243f;color:#fff}.cat.active{background:#0b8fff;font-weight:900}
#overlay{display:none;position:fixed;inset:0;background:#0009;z-index:90}#overlay.show{display:block}
.floatEarn{position:fixed;right:18px;bottom:25px;z-index:60;background:linear-gradient(135deg,#ff0066,#ff2d00);padding:15px 20px;border-radius:999px;font-weight:900;box-shadow:0 0 30px #ff006688;animation:pulse 2s infinite}
.popup{display:none;position:fixed;inset:0;background:#000b;z-index:200;align-items:center;justify-content:center;padding:15px}.popup.show{display:flex}
.popBox{position:relative;background:#10213c;border-radius:24px;padding:28px;max-width:360px;text-align:center}.popBox button#popGo{margin-top:18px;border:0;border-radius:14px;background:#0b8fff;color:#fff;padding:14px 18px;font-weight:900}
.popClose{position:absolute;right:12px;top:10px;border:0;background:#ff3158;color:#fff;border-radius:10px;padding:7px 10px}
footer{text-align:center;color:#94a3b8;padding:25px;font-weight:700}
@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.08)}100%{transform:scale(1)}}
@media(max-width:520px){video{height:220px}.brand{font-size:22px}.earnTop{display:none}.grid{gap:10px}.card img{height:80px}.card h3{font-size:13px}}

/* Premium Full Screen Offer Popup */
.adOfferOverlay{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,.92);
  backdrop-filter:blur(10px);
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.adOfferOverlay.show{display:flex}
.adOfferBox{
  width:100%;
  max-width:430px;
  background:linear-gradient(145deg,#0b1220,#13284a);
  border:1px solid rgba(56,189,248,.35);
  border-radius:30px;
  padding:26px 20px;
  text-align:center;
  box-shadow:0 0 45px rgba(0,174,255,.35),0 25px 70px rgba(0,0,0,.85);
  animation:offerPop .45s ease;
}
.adOfferBadge{
  display:inline-block;
  padding:9px 15px;
  border-radius:999px;
  background:linear-gradient(135deg,#ff0066,#ff3d00);
  font-weight:900;
  margin-bottom:14px;
  box-shadow:0 0 25px rgba(255,0,102,.65);
}
.adOfferBox h2{
  font-size:30px;
  line-height:1.2;
  margin-bottom:10px;
}
.adOfferBox h2 span{color:#38bdf8}
.adOfferBox p{
  color:#dbeafe;
  font-size:16px;
  line-height:1.55;
  margin-bottom:18px;
}
.adOfferGo{
  width:100%;
  border:0;
  border-radius:20px;
  padding:17px;
  color:#fff;
  font-size:19px;
  font-weight:900;
  background:linear-gradient(135deg,#ff0066,#ff2d00);
  box-shadow:0 0 28px rgba(255,0,102,.65);
  animation:pulse 2s infinite;
}
.adOfferLater{
  margin-top:12px;
  width:100%;
  border:1px solid rgba(148,163,184,.35);
  border-radius:16px;
  padding:13px;
  color:#cbd5e1;
  background:rgba(15,23,42,.75);
  font-weight:800;
}
.adOfferClose{
  position:absolute;
  top:18px;
  right:18px;
  border:0;
  width:42px;
  height:42px;
  border-radius:50%;
  color:#fff;
  background:rgba(255,255,255,.12);
  font-size:22px;
}
@keyframes offerPop{
  from{transform:scale(.9);opacity:0}
  to{transform:scale(1);opacity:1}
}


/* Clean Premium Player */
.playerBox{
  background:linear-gradient(180deg,#0b1b34,#081324)!important;
  border:1px solid rgba(56,189,248,.22)!important;
  box-shadow:0 18px 45px rgba(0,0,0,.65)!important;
}
.videoWrap{
  position:relative;
  width:100%;
  background:#000;
  border-radius:22px;
  overflow:hidden;
}
.videoWrap video{
  display:block;
  width:100%;
  background:#000;
  border-radius:22px;
}
.playerLoader{
  position:absolute;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  background:radial-gradient(circle at center,rgba(14,165,233,.20),rgba(0,0,0,.74) 60%);
  z-index:5;
}
.playerLoader.show{display:flex}
.tvGlow{
  width:86px;
  height:54px;
  border:4px solid #38bdf8;
  border-radius:16px;
  box-shadow:0 0 30px #38bdf8, inset 0 0 20px rgba(56,189,248,.35);
  margin-bottom:18px;
}
.spin{
  width:46px;
  height:46px;
  border-radius:50%;
  border:5px solid rgba(255,255,255,.18);
  border-top-color:#38bdf8;
  animation:spin 1s linear infinite;
}
.loadText{
  margin-top:14px;
  color:#e0f2fe;
  font-weight:900;
  font-size:16px;
}
@keyframes spin{to{transform:rotate(360deg)}}
#status{
  color:#38bdf8!important;
  font-size:18px!important;
}
.info{
  font-size:20px!important;
  line-height:1.35!important;
}

/* Simple Clean Loader Override */
.tvGlow{display:none!important}
.playerLoader{
  background:rgba(0,0,0,.55)!important;
}
.spin{
  width:42px!important;
  height:42px!important;
  border:4px solid rgba(255,255,255,.25)!important;
  border-top-color:#00c8ff!important;
  box-shadow:0 0 18px #00c8ff!important;
}
.loadText{
  font-size:15px!important;
  margin-top:12px!important;
  color:#e0f7ff!important;
}
#status{
  font-size:16px!important;
  color:#00c8ff!important;
  margin-top:8px!important;
}

/* Final Simple Premium Loader */
.tvGlow,.spin{display:none!important}

.playerLoader{
  background:rgba(0,0,0,.62)!important;
}

.cleanSpinner{
  width:52px;
  height:52px;
  border-radius:50%;
  border:5px solid transparent;
  border-top-color:#00d4ff;
  border-right-color:#ff0066;
  border-bottom-color:#00ff88;
  animation:cleanSpin .85s linear infinite;
  box-shadow:0 0 25px rgba(0,212,255,.65);
}

.playerLoader .loadText{
  margin-top:14px!important;
  font-size:18px!important;
  font-weight:900!important;
  color:#ffffff!important;
  text-shadow:0 0 12px rgba(0,212,255,.8);
}

@keyframes cleanSpin{
  to{transform:rotate(360deg)}
}


/* Player Quality Button */
.qualityBtn{
  position:absolute;
  top:12px;
  right:12px;
  z-index:8;
  border:0;
  border-radius:999px;
  padding:9px 13px;
  background:rgba(2,6,23,.72);
  color:#fff;
  font-weight:900;
  font-size:13px;
  backdrop-filter:blur(8px);
  box-shadow:0 0 18px rgba(0,200,255,.35);
}
.qualitySheet{
  position:fixed;
  inset:0;
  z-index:999999;
  background:rgba(0,0,0,.65);
  display:none;
  align-items:flex-end;
  justify-content:center;
}
.qualitySheet.show{display:flex}
.qualityBox{
  width:100%;
  max-width:520px;
  background:linear-gradient(180deg,#0e1f3a,#081324);
  border-radius:28px 28px 0 0;
  border:1px solid rgba(56,189,248,.25);
  padding:18px;
  box-shadow:0 -20px 45px rgba(0,0,0,.75);
}
.qualityHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}
.qualityHead h3{margin:0;font-size:22px}
#qualityClose{
  border:0;
  background:#ff0055;
  color:#fff;
  width:40px;
  height:40px;
  border-radius:50%;
  font-size:24px;
}
.qOpt{
  width:100%;
  border:1px solid rgba(148,163,184,.25);
  background:#14243f;
  color:#fff;
  padding:16px;
  border-radius:18px;
  margin:8px 0;
  text-align:left;
  font-size:17px;
  font-weight:900;
}
.qOpt.active{
  background:linear-gradient(135deg,#0284ff,#06b6d4);
  border-color:#38bdf8;
  box-shadow:0 0 22px rgba(14,165,233,.45);
}


/* Final Quality UI */
.videoWrap{position:relative!important}
.qualityBtn{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  z-index:999!important;
  border:0!important;
  border-radius:999px!important;
  padding:8px 13px!important;
  background:linear-gradient(135deg,#0284ff,#06b6d4)!important;
  color:#fff!important;
  font-weight:900!important;
  font-size:13px!important;
  box-shadow:0 0 20px rgba(0,200,255,.6)!important;
}
.qualitySheet{
  position:fixed!important;
  inset:0!important;
  z-index:999999!important;
  background:rgba(0,0,0,.72)!important;
  display:none;
  align-items:flex-end!important;
  justify-content:center!important;
}
.qualitySheet.show{display:flex!important}
.qualityBox{
  width:100%!important;
  max-width:520px!important;
  background:linear-gradient(180deg,#0e1f3a,#081324)!important;
  border-radius:28px 28px 0 0!important;
  border:1px solid rgba(56,189,248,.25)!important;
  padding:18px!important;
}
.qualityHead{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:12px!important}
.qualityHead h3{margin:0!important;color:#fff!important}
#qualityClose{border:0!important;background:#ff0055!important;color:#fff!important;width:40px!important;height:40px!important;border-radius:50%!important;font-size:24px!important}
.qOpt{
  width:100%!important;
  border:1px solid rgba(148,163,184,.25)!important;
  background:#14243f!important;
  color:#fff!important;
  padding:16px!important;
  border-radius:18px!important;
  margin:8px 0!important;
  text-align:left!important;
  font-size:17px!important;
  font-weight:900!important;
}
.qOpt.active{background:linear-gradient(135deg,#0284ff,#06b6d4)!important;box-shadow:0 0 22px rgba(14,165,233,.45)!important}

.qualityBtn,
.qualitySheet{
  display:none!important;
}
