/*
Theme Name: ViralPlay HD Theme
Theme URI: https://example.com/
Author: Saif Ullah
Description: Ultra Fast Video Portal Theme with Popunder & Smart Link Integration
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: viralplay-theme
*/

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;min-height:100%;margin:0;padding:0;background-color:#050814;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;cursor:pointer;overflow-x:hidden}.app-wrapper{max-width:480px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;padding:0 10px 80px;background:#070b19;border-left:1px solid #101833;border-right:1px solid #101833;box-shadow:0 0 40px rgba(0,0,0,.8)}.site-header{position:sticky;top:0;z-index:90;display:flex;align-items:center;justify-content:space-between;padding:12px 6px;background:rgba(7,11,25,.95);backdrop-filter:blur(8px);border-bottom:1px solid #131c3b}.brand-box{display:flex;align-items:center;gap:8px;text-decoration:none}.brand-icon{width:32px;height:32px;border-radius:9px;background:linear-gradient(135deg,#ff0055,#ff3300);display:flex;align-items:center;justify-content:center;box-shadow:0 3px 10px rgba(255,0,85,.4)}.brand-icon svg{width:17px;height:17px;fill:#fff;margin-left:2px}.brand-title{font-size:1.12rem;font-weight:800;color:#fff;letter-spacing:.3px}.header-badge{background:rgba(255,0,85,.15);color:#ff0055;border:1px solid rgba(255,0,85,.3);font-size:.72rem;font-weight:700;padding:4px 9px;border-radius:6px;display:flex;align-items:center;gap:6px}.pulse-circle{width:6px;height:6px;background:#ff0055;border-radius:50%;animation:badgePulse 1.2s infinite ease-in-out}@keyframes badgePulse{0%,100%{transform:scale(.8);opacity:.5}50%{transform:scale(1.3);opacity:1}}.category-scroller{display:flex;gap:7px;padding:10px 0 14px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.category-scroller::-webkit-scrollbar{display:none}.cat-pill{background:#0e1738;border:1px solid #19275c;color:#a0aace;font-size:.76rem;font-weight:600;padding:5px 13px;border-radius:18px;white-space:nowrap;text-decoration:none!important;cursor:pointer;flex-shrink:0}.cat-pill.active,.cat-pill:hover{background:#ff0055;color:#fff;border-color:#ff0055}@keyframes gridPlayFlash{0%,100%{transform:scale(1)}50%{transform:scale(1.18);filter:drop-shadow(0 0 10px #ff0055)}}.featured-player-card{position:relative;width:100%;border-radius:16px;overflow:hidden;background:#060b1e;border:1px solid #1a275a;box-shadow:0 8px 25px rgba(0,0,0,.5);margin-bottom:16px}.featured-media-box{position:relative;width:100%;height:440px;background:#000;overflow:hidden;display:flex;align-items:center;justify-content:center;text-decoration:none!important}@media(max-width:380px){.featured-media-box{height:390px}}.featured-backdrop{position:absolute;inset:0;background:radial-gradient(circle at 50% 35%,#152458 0%,#060b1e 100%)}.featured-img{position:relative;width:100%;height:100%;object-fit:contain;object-position:center;display:block;z-index:2;filter:none!important}.featured-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.55) 100%);z-index:3}.featured-play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:74px;height:74px;border-radius:50%;background:linear-gradient(135deg,#ff0055,#ff3300);display:flex;align-items:center;justify-content:center;z-index:5;border:3px solid rgba(255,255,255,.85);box-shadow:0 0 25px rgba(255,0,85,.85),inset 0 2px 6px rgba(255,255,255,.4);animation:heroPlayPulse 1.25s infinite ease-in-out;cursor:pointer;will-change:transform,filter}.featured-play-btn::before{content:'';position:absolute;inset:-14px;border-radius:50%;border:2px solid #ff0055;animation:heroSonarRing 1.25s infinite cubic-bezier(.2,.6,.35,1);pointer-events:none}.featured-play-btn svg{width:34px;height:34px;fill:#fff;margin-left:4px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.3))}@keyframes heroPlayPulse{0%,100%{transform:translate(-50%,-50%) scale(1);filter:drop-shadow(0 0 15px #ff0055) brightness(1)}50%{transform:translate(-50%,-50%) scale(1.12);filter:drop-shadow(0 0 30px #ff3300) brightness(1.25)}}@keyframes heroSonarRing{0%{transform:scale(.85);opacity:.95}100%{transform:scale(1.55);opacity:0}}.video-duration-badge{position:absolute;bottom:10px;right:10px;background:rgba(0,0,0,.85);color:#fff;font-size:.78rem;font-weight:700;padding:3px 8px;border-radius:5px;border:1px solid rgba(255,255,255,.25);letter-spacing:.3px;z-index:4}.video-live-badge{position:absolute;top:10px;left:10px;background:#ff0055;color:#fff;font-size:.72rem;font-weight:800;padding:3px 9px;border-radius:4px;letter-spacing:.5px;z-index:4;box-shadow:0 2px 8px rgba(255,0,85,.5)}.featured-info-box{padding:12px 14px;display:flex;flex-direction:column;gap:6px;background:#0d1433;border-top:1px solid #14214f}.featured-title{font-size:1.05rem;font-weight:800;color:#fff;line-height:1.35}.featured-meta{display:flex;align-items:center;justify-content:space-between;font-size:.76rem;color:#8f9ac2}.featured-stats{display:flex;align-items:center;gap:10px}.watch-cta-banner{width:100%;padding:14px 16px;background:linear-gradient(135deg,#ff0055,#0066ff);border-radius:12px;display:flex;align-items:center;justify-content:space-between;color:#fff;text-decoration:none!important;box-shadow:0 5px 18px rgba(255,0,85,.35);margin-bottom:20px}.cta-text-wrap{display:flex;flex-direction:column;gap:2px}.cta-title{font-size:1rem;font-weight:800}.cta-sub{font-size:.76rem;opacity:.92}.cta-action-btn{background:#fff;color:#0a122e;font-size:.82rem;font-weight:800;padding:7px 18px;border-radius:20px;display:flex;align-items:center;gap:5px;white-space:nowrap}.section-headline{font-size:1.02rem;font-weight:800;color:#fff;margin-bottom:12px;display:flex;align-items:center;gap:7px}.video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:24px}.video-card{background:#0a122e;border:1px solid #14214f;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;text-decoration:none!important}.video-card:active{transform:scale(.98)}.card-thumb-wrap{position:relative;width:100%;aspect-ratio:9/14;background:#080e24;overflow:hidden;display:block}.card-thumb-img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block;filter:none!important}.card-play-overlay{position:absolute;inset:0;background:rgba(0,0,0,.22);display:flex;align-items:center;justify-content:center}.card-mini-play{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#ff0055,#ff3300);display:flex;align-items:center;justify-content:center;box-shadow:0 0 12px rgba(255,0,85,.8);animation:gridPlayFlash 1.3s infinite ease-in-out;z-index:3;will-change:transform}.card-mini-play svg{width:20px;height:20px;fill:#fff;margin-left:2px}.card-content-box{padding:9px;display:flex;flex-direction:column;gap:4px;flex-grow:1;justify-content:space-between}.card-video-title{font-size:.8rem;font-weight:700;color:#e8ecf8;line-height:1.28;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-meta-row{display:flex;align-items:center;justify-content:space-between;font-size:.68rem;color:#7e8aa8;margin-top:2px}.floating-mobile-bar{position:fixed;bottom:0;left:0;right:0;z-index:100;background:rgba(6,10,24,.92);backdrop-filter:blur(10px);border-top:1px solid #19275a;padding:10px 14px;display:flex;align-items:center;justify-content:center}.floating-bar-inner{max-width:480px;width:100%;display:flex;align-items:center;gap:12px}.floating-play-btn{width:100%;background:linear-gradient(135deg,#ff0055,#ff3300);color:#fff;font-size:.95rem;font-weight:800;padding:12px 20px;border-radius:25px;border:none;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 18px rgba(255,0,85,.5);cursor:pointer}.floating-play-btn svg{width:20px;height:20px;fill:#fff}.site-footer{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:.72rem;color:#616c8f;padding:14px 0;border-top:1px solid #131c3b}.footer-legal-links{display:flex;gap:10px}.footer-legal-links a{color:#8590b8;text-decoration:none;cursor:pointer}.footer-legal-links a:hover{color:#fff}.legal-modal-backdrop{display:none;position:fixed;inset:0;background:rgba(5,9,24,.88);backdrop-filter:blur(6px);z-index:9999;align-items:center;justify-content:center;padding:14px;cursor:default}.legal-modal-backdrop.show{display:flex}.legal-modal-card{background:#0c1433;border:1px solid #1a285c;border-radius:16px;max-width:460px;width:100%;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 20px 50px rgba(0,0,0,.8);overflow:hidden}.legal-modal-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #182658;background:#080e26}.legal-modal-title{font-size:1rem;font-weight:700;color:#fff}.legal-modal-close{background:none;border:none;color:#8590b8;font-size:1.4rem;cursor:pointer;line-height:1;padding:0 4px}.legal-modal-close:hover{color:#ff0055}.legal-modal-content{padding:16px;overflow-y:auto;font-size:.82rem;color:#b4bfe2;line-height:1.55;display:flex;flex-direction:column;gap:10px}.legal-modal-content h3{font-size:.9rem;color:#fff;margin-top:4px}.legal-modal-content p{margin:0}
