/* ============================================================
   SoftwareVault – Magazine Style CSS
   ============================================================ */

:root {
  --primary:    #2563eb;
  --primary-d:  #1d4ed8;
  --accent:     #f59e0b;
  --danger:     #ef4444;
  --success:    #22c55e;
  --bg:         #f8fafc;
  --bg2:        #f1f5f9;
  --card:       #ffffff;
  --border:     #e2e8f0;
  --text:       #1e293b;
  --text-2:     #475569;
  --text-3:     #94a3b8;
  --header-bg:  #0f172a;
  --nav-bg:     #1e3a5f;
  --radius:     10px;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);
  --font:       'Sora', 'Segoe UI', sans-serif;
  --mono:       'JetBrains Mono', monospace;
}

*{margin:0;padding:0;box-sizing:border-box}
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.65;font-size:15px}
a{color:var(--primary);text-decoration:none}
a:hover{color:var(--primary-d)}
img{max-width:100%;height:auto;display:block}

.container{max-width:1280px;margin:0 auto;padding:0 20px}

/* ── Topbar ── */
.topbar{background:#1e293b;padding:6px 0;font-size:.8rem}
.topbar-inner{display:flex;align-items:center;justify-content:space-between}
.topbar-text{color:#94a3b8}
.topbar-links a{color:#94a3b8;margin-left:16px;transition:color .2s}
.topbar-links a:hover{color:#fff}

/* ── Header ── */
.site-header{background:var(--header-bg);padding:14px 0;box-shadow:0 2px 10px rgba(0,0,0,.3)}
.header-inner{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.site-logo{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}
.logo-icon{font-size:2.2rem}
.logo-name{font-size:1.4rem;font-weight:700;color:#fff;display:block;line-height:1.2}
.logo-tag{font-size:.75rem;color:#94a3b8;display:block}
.header-search{flex:1;max-width:500px;margin-left:auto}
.search-form{display:flex;border-radius:8px;overflow:hidden;border:2px solid #334155;background:#1e293b}
.search-form input{flex:1;padding:10px 14px;background:transparent;border:none;color:#fff;font-family:var(--font);font-size:.9rem;outline:none}
.search-form input::placeholder{color:#64748b}
.search-form button{padding:10px 18px;background:var(--primary);color:#fff;border:none;cursor:pointer;font-size:1rem;transition:background .2s}
.search-form button:hover{background:var(--primary-d)}
.menu-toggle{display:none;background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;padding:6px}

/* ── Nav ── */
.main-nav{background:var(--nav-bg);border-bottom:3px solid var(--accent);overflow-x:auto}
.nav-inner{overflow:hidden}
.nav-links{display:flex;list-style:none;flex-wrap:nowrap;gap:0}
.nav-links li a{display:block;padding:11px 16px;color:#cbd5e1;font-size:.85rem;font-weight:600;white-space:nowrap;transition:background .2s,color .2s}
.nav-links li a:hover{background:rgba(255,255,255,.08);color:#fff}

/* ── Layout ── */
.main-wrap{display:flex;gap:28px;padding:28px 0}
.content-area{flex:1;min-width:0}
.sidebar{width:300px;flex-shrink:0}

/* ── Flash ── */
.flash{padding:12px 18px;border-radius:8px;margin-bottom:20px;font-weight:600}
.flash-success{background:#dcfce7;color:#166534;border:1px solid #86efac}
.flash-error{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}

/* ── Section Headers ── */
.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;border-bottom:3px solid var(--primary);padding-bottom:10px}
.section-title{font-size:1.2rem;font-weight:700;color:var(--text)}
.see-all{font-size:.85rem;color:var(--primary);font-weight:600}

/* ── Featured Slider ── */
.featured-section{margin-bottom:32px}
.slider-wrap{position:relative;overflow:hidden;border-radius:var(--radius)}
.slider{display:flex;gap:16px;transition:transform .4s ease;will-change:transform}
.slide-card{min-width:300px;background:var(--card);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);flex-shrink:0}
.slide-card a{display:block;text-decoration:none;color:inherit}
.slide-img{height:180px;background-size:cover;background-position:center;background-color:var(--bg2)}
.slide-img-placeholder{height:180px;display:flex;align-items:center;justify-content:center;font-size:3rem;background:var(--bg2)}
.slide-info{padding:14px}
.slide-cat{font-size:.75rem;font-weight:700;color:var(--primary);text-transform:uppercase;letter-spacing:.05em}
.slide-info h3{font-size:.95rem;margin:4px 0;color:var(--text);font-weight:700}
.slide-views{font-size:.78rem;color:var(--text-3)}
.slider-btn{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.6);color:#fff;border:none;width:36px;height:36px;border-radius:50%;font-size:1.4rem;cursor:pointer;z-index:5;display:flex;align-items:center;justify-content:center;transition:background .2s}
.slider-btn:hover{background:var(--primary)}
.slider-btn.prev{left:8px}
.slider-btn.next{right:8px}

/* ── Post Grid ── */
.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px;margin-bottom:32px}
.post-card{background:var(--card);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}
.post-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.card-img-link{display:block;overflow:hidden;height:130px;background:var(--bg2)}
.card-img{width:100%;height:130px;object-fit:cover;transition:transform .3s}
.post-card:hover .card-img{transform:scale(1.05)}
.card-img-placeholder{width:100%;height:130px;display:flex;align-items:center;justify-content:center;font-size:2.5rem;background:var(--bg2)}
.card-body{padding:12px}
.card-cat{font-size:.72rem;font-weight:700;color:var(--primary);text-transform:uppercase;letter-spacing:.05em;background:rgba(37,99,235,.08);padding:2px 8px;border-radius:4px;display:inline-block;margin-bottom:6px}
.card-title{font-size:.9rem;font-weight:700;margin-bottom:6px;line-height:1.3}
.card-title a{color:var(--text)}
.card-title a:hover{color:var(--primary)}
.card-excerpt{font-size:.8rem;color:var(--text-2);margin-bottom:8px;line-height:1.5}
.card-footer{display:flex;gap:12px;font-size:.75rem;color:var(--text-3)}

/* ── Post List ── */
.post-list{display:flex;flex-direction:column;gap:16px}
.list-card{background:var(--card);border-radius:var(--radius);overflow:hidden;display:flex;gap:0;box-shadow:var(--shadow);transition:box-shadow .2s}
.list-card:hover{box-shadow:var(--shadow-lg)}
.list-img-link{flex-shrink:0;display:block;width:160px;height:120px;overflow:hidden;background:var(--bg2)}
.list-img-link img{width:100%;height:120px;object-fit:cover;transition:transform .3s}
.list-card:hover .list-img-link img{transform:scale(1.05)}
.list-img-ph{width:160px;height:120px;display:flex;align-items:center;justify-content:center;font-size:2.5rem;background:var(--bg2)}
.list-body{padding:14px;flex:1}
.list-body h3{font-size:1rem;font-weight:700;margin-bottom:6px}
.list-body h3 a{color:var(--text)}
.list-body h3 a:hover{color:var(--primary)}
.list-body p{font-size:.83rem;color:var(--text-2);margin-bottom:8px;line-height:1.5}
.list-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:.78rem;color:var(--text-3)}

.divider{border:none;border-top:2px solid var(--border);margin:28px 0}
.empty-state{text-align:center;padding:60px 20px;color:var(--text-2);font-size:1.1rem;background:var(--card);border-radius:var(--radius)}

/* ── Pagination ── */
.pagination{display:flex;gap:6px;flex-wrap:wrap;margin-top:24px;justify-content:center}
.page-btn{padding:8px 14px;border-radius:6px;background:var(--card);border:1px solid var(--border);color:var(--text);font-weight:600;font-size:.85rem;transition:all .2s}
.page-btn:hover,.page-btn.active{background:var(--primary);color:#fff;border-color:var(--primary)}

/* ── Sidebar Widgets ── */
.widget{background:var(--card);border-radius:var(--radius);padding:18px;margin-bottom:20px;box-shadow:var(--shadow)}
.widget-title{font-size:.95rem;font-weight:700;margin-bottom:14px;padding-bottom:8px;border-bottom:2px solid var(--border);color:var(--text)}
.sidebar-search input{width:100%;padding:9px 12px;border:1px solid var(--border);border-radius:6px 6px 0 0;font-family:var(--font);font-size:.85rem;outline:none}
.sidebar-search button{width:100%;padding:9px;background:var(--primary);color:#fff;border:none;border-radius:0 0 6px 6px;cursor:pointer;font-weight:600;font-size:.85rem}
.cat-list{list-style:none}
.cat-list li a{display:flex;align-items:center;gap:8px;padding:8px 6px;border-radius:6px;color:var(--text);font-size:.85rem;transition:background .2s}
.cat-list li a:hover{background:var(--bg2);color:var(--primary)}
.cat-icon{font-size:1rem}
.cat-count{margin-left:auto;background:var(--bg2);color:var(--text-3);font-size:.72rem;padding:2px 8px;border-radius:20px}
.sidebar-posts{list-style:none}
.sidebar-posts li{display:flex;gap:10px;padding:8px 0;border-bottom:1px solid var(--border)}
.sidebar-posts li:last-child{border:none}
.sidebar-posts li img{width:52px;height:42px;object-fit:cover;border-radius:6px;flex-shrink:0}
.sidebar-posts li div{flex:1;min-width:0}
.sidebar-posts li a{font-size:.82rem;font-weight:600;color:var(--text);display:block;line-height:1.3;margin-bottom:3px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.sidebar-posts li .post-meta{font-size:.72rem;color:var(--text-3)}

/* ── Single Post ── */
.single-post{background:var(--card);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}
.breadcrumb{font-size:.8rem;color:var(--text-3);margin-bottom:14px}
.breadcrumb a{color:var(--text-3)}
.post-title{font-size:1.8rem;font-weight:700;line-height:1.3;margin-bottom:12px;color:var(--text)}
.post-meta-bar{display:flex;flex-wrap:wrap;gap:14px;font-size:.82rem;color:var(--text-2);margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid var(--border)}
.post-feature-img{margin-bottom:24px;border-radius:var(--radius);overflow:hidden}
.post-feature-img img{width:100%;max-height:400px;object-fit:cover;cursor:zoom-in;border-radius:var(--radius)}
.info-box{background:var(--bg2);border-radius:var(--radius);padding:18px;margin-bottom:24px}
.info-box h3{font-size:.95rem;font-weight:700;margin-bottom:12px;color:var(--text)}
.info-box table{width:100%;border-collapse:collapse}
.info-box td{padding:6px 12px;font-size:.85rem;border-bottom:1px solid var(--border)}
.info-box td:first-child{font-weight:700;color:var(--text-2);width:140px}
.post-content{line-height:1.8;color:var(--text);margin-bottom:28px}
.post-content h1,.post-content h2,.post-content h3{margin:20px 0 10px;color:var(--text)}
.post-content ul,.post-content ol{padding-left:24px;margin:10px 0}
.post-content img{border-radius:8px;margin:16px auto;cursor:zoom-in}
.post-content a{color:var(--primary)}
.post-content pre{background:#1e293b;color:#e2e8f0;padding:16px;border-radius:8px;overflow-x:auto;font-family:var(--mono)}
.post-content code{font-family:var(--mono);background:var(--bg2);padding:2px 6px;border-radius:4px;font-size:.85em}

/* ── Screenshots ── */
.screenshots-section{margin-bottom:28px}
.screenshots-section h3{font-size:1rem;font-weight:700;margin-bottom:14px;color:var(--text)}
.screenshots-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.screenshot-item img{width:100%;height:130px;object-fit:cover;border-radius:8px;cursor:zoom-in;transition:transform .2s;border:2px solid var(--border)}
.screenshot-item img:hover{transform:scale(1.03);border-color:var(--primary)}
.screenshot-item p{font-size:.75rem;color:var(--text-3);text-align:center;margin-top:4px}

/* ── Download Button ── */
.download-section{margin-top:28px}
.download-section h3{font-size:1rem;font-weight:700;margin-bottom:14px}
.download-btn{display:flex;align-items:center;gap:14px;width:100%;padding:16px 24px;background:linear-gradient(135deg,var(--primary),var(--primary-d));color:#fff;border:none;border-radius:var(--radius);cursor:pointer;font-family:var(--font);font-size:1rem;font-weight:700;margin-bottom:12px;transition:transform .2s,box-shadow .2s;user-select:none;-webkit-user-select:none}
.download-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(37,99,235,.4)}
.download-btn:active{transform:translateY(0)}
.btn-icon{font-size:1.4rem}
.btn-label{flex:1;text-align:left}
.btn-hits{font-size:.75rem;opacity:.8;background:rgba(255,255,255,.15);padding:3px 10px;border-radius:20px}

/* ── Lightbox ── */
.lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:9999;align-items:center;justify-content:center;padding:20px}
.lightbox.active{display:flex}
.lightbox img{max-width:90vw;max-height:90vh;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.lb-close{position:absolute;top:20px;right:24px;background:none;border:none;color:#fff;font-size:2rem;cursor:pointer;z-index:10000;line-height:1}

/* ── Countdown inside button (no popup) ── */
.download-btn[data-counting="1"] {
  pointer-events: none;
  cursor: not-allowed !important;
}
.download-btn .btn-label { display: block; width: 100%; text-align: center; }

/* ── Page Hero ── */
.page-hero{background:linear-gradient(135deg,#1e3a5f,#2563eb);color:#fff;border-radius:var(--radius);padding:32px 28px;margin-bottom:24px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.page-hero .hero-icon{font-size:3rem}
.page-hero h1{font-size:1.8rem;font-weight:700}
.page-hero p{opacity:.8;font-size:.9rem}

/* ── Static Page ── */
.static-page{background:var(--card);border-radius:var(--radius);padding:32px;box-shadow:var(--shadow)}
.page-title{font-size:1.8rem;font-weight:700;margin-bottom:24px;padding-bottom:14px;border-bottom:3px solid var(--primary)}
.page-content{line-height:1.85;color:var(--text)}
.page-content h2,.page-content h3{margin:20px 0 10px}
.page-content ul,.page-content ol{padding-left:24px;margin:10px 0}
.page-content a{color:var(--primary)}

/* ── Footer ── */
.site-footer{background:var(--header-bg);color:#94a3b8;margin-top:48px}
.footer-inner{display:flex;gap:48px;padding:48px 0 32px;flex-wrap:wrap}
.footer-brand{flex:1;min-width:200px}
.footer-logo{color:#fff;font-size:1.2rem;font-weight:700;display:block;margin-bottom:8px}
.footer-brand p{font-size:.85rem;margin-bottom:14px}
.footer-social{display:flex;gap:12px}
.footer-social a{color:#64748b;font-size:.82rem;transition:color .2s}
.footer-social a:hover{color:#fff}
.footer-links h4{color:#e2e8f0;font-size:.9rem;font-weight:700;margin-bottom:12px}
.footer-links ul{list-style:none}
.footer-links ul li{margin-bottom:8px}
.footer-links ul li a{color:#64748b;font-size:.83rem;transition:color .2s}
.footer-links ul li a:hover{color:#fff}
.footer-bottom{border-top:1px solid #1e293b;padding:16px 0;text-align:center;font-size:.8rem;color:#475569}

/* ── Responsive ── */
@media(max-width:900px){
  .main-wrap{flex-direction:column}
  .sidebar{width:100%}
}
@media(max-width:700px){
  .menu-toggle{display:block}
  .main-nav{display:none}
  .main-nav.open{display:block}
  .nav-links{flex-direction:column}
  .list-img-link,.list-img-ph{width:100px;min-height:90px}
  .header-search{width:100%;margin:0}
  .post-title{font-size:1.4rem}
  .slide-card{min-width:240px}
  .footer-inner{gap:24px}
}
@media(max-width:480px){
  .post-grid{grid-template-columns:1fr 1fr}
  .list-card{flex-direction:column}
  .list-img-link{width:100%;height:160px}
  .list-img-link img{height:160px}
  .list-img-ph{width:100%;height:120px}
}

/* ===== SoftwaresGate V4 Upgrade ===== */
body{background:linear-gradient(180deg,#f8fafc 0%,#eef4ff 40%,#f8fafc 100%)}
.site-header{background:linear-gradient(135deg,#071122 0%,#102647 60%,#0f172a 100%)}
.main-nav{background:linear-gradient(90deg,#17365d,#224d84)}
.section-title{letter-spacing:-.02em}
.featured-section,.recent-section,.posts-section,.sidebar .widget,.single-post,.static-page,.page-hero{box-shadow:0 18px 50px rgba(15,23,42,.08)}
.featured-section,.recent-section,.posts-section{background:rgba(255,255,255,.7);backdrop-filter:blur(14px);border:1px solid rgba(226,232,240,.95);border-radius:22px;padding:24px}
.featured-section{background:linear-gradient(180deg,#fff,#f8fbff)}
.post-card,.list-card,.sidebar .widget{border:1px solid rgba(226,232,240,.95);border-radius:18px;overflow:hidden}
.post-card{background:#fff;box-shadow:0 14px 38px rgba(15,23,42,.08)}
.post-card:hover,.list-card:hover{transform:translateY(-3px)}
.list-card{background:#fff;box-shadow:0 12px 32px rgba(15,23,42,.07);margin-bottom:16px}
.card-body,.list-body{padding:18px}
.card-title a,.list-body h3 a{color:#0f172a}
.card-excerpt,.list-body p{color:#475569;line-height:1.75}
.card-cat{display:inline-flex;align-items:center;gap:6px;background:#eff6ff;color:#1d4ed8;padding:6px 10px;border-radius:999px;font-size:.74rem;font-weight:700}
.post-title{font-size:2.2rem;line-height:1.2;letter-spacing:-.03em;margin-bottom:12px}
.post-meta-bar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;color:#64748b;margin-bottom:20px;font-size:.9rem}
.single-post{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:34px}
.post-feature-img img{width:100%;max-height:520px;object-fit:cover;border-radius:20px}
.info-box{background:linear-gradient(180deg,#f8fbff,#eff6ff);border:1px solid #dbeafe;border-radius:18px}
.post-content{font:400 18px/1.95 Georgia,'Times New Roman',serif;color:#0f172a;max-width:860px}
.post-content h2,.post-content h3{font-family:'Sora','Segoe UI',sans-serif;letter-spacing:-.02em}
.post-content h2{font-size:1.7rem;margin-top:1.8em}
.post-content h3{font-size:1.25rem;margin-top:1.4em}
.post-content p{margin:0 0 1.1em}
.post-content blockquote{background:#eff6ff;border-left:4px solid #2563eb;padding:16px 18px;border-radius:14px;color:#1e3a5f}
.post-content table{width:100%;border-collapse:collapse;margin:18px 0;background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden}
.post-content table td,.post-content table th{padding:12px;border-bottom:1px solid #e2e8f0}
.screenshots-section h3,.download-section h3{font-size:1.2rem;letter-spacing:-.02em}
.screenshots-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}
.screenshot-item{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:10px;box-shadow:0 10px 25px rgba(15,23,42,.06)}
.screenshot-item img{width:100%;height:180px;object-fit:cover;border-radius:14px}
.screenshot-item p{padding:10px 6px 4px;color:#475569;font-size:.88rem}
.download-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border:none;border-radius:18px;padding:18px 20px;font-weight:700;cursor:pointer;margin-bottom:12px;box-shadow:0 16px 35px rgba(37,99,235,.25)}
.download-btn .btn-label{flex:1;text-align:left}
.pagination .page-btn{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;border-radius:12px;background:#fff;border:1px solid #dbeafe;color:#1d4ed8;font-weight:700}
.pagination .page-btn.active{background:#2563eb;color:#fff;border-color:#2563eb}
.page-hero{border-radius:24px;padding:38px 34px;background:linear-gradient(135deg,#0f172a,#1d4ed8 65%,#3b82f6)}
.static-page{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:34px}
.page-title{font-size:2rem;margin-bottom:16px;letter-spacing:-.03em}
@media(max-width:768px){
  .featured-section,.recent-section,.posts-section,.single-post,.static-page{padding:18px}
  .post-title,.page-title{font-size:1.7rem}
  .post-content{font-size:17px}
}

/* ===== SoftwaresGate V5 Premium Upgrade ===== */
.search-form input,.sidebar-search-form input{min-width:0;pointer-events:auto;position:relative;z-index:2}
.main-search-form{display:flex;gap:0;border-radius:16px;overflow:hidden;border:1px solid rgba(148,163,184,.28);background:rgba(15,23,42,.72);backdrop-filter:blur(14px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.main-search-form input{padding:14px 16px;color:#fff}
.main-search-form button{padding:14px 18px;font-weight:700}
.custom-header-html,.custom-footer-html{padding-top:14px;padding-bottom:14px}
.nav-links li a,.cat-list li a{position:relative;overflow:hidden;isolation:isolate}
.nav-links li a::before,.cat-list li a::before{content:"";position:absolute;inset:-30% auto auto -30%;width:48%;height:160%;background:radial-gradient(circle,rgba(96,165,250,.45),transparent 65%);transform:translateX(-180%) rotate(18deg);transition:transform .55s ease;z-index:-1}
.nav-links li a:hover::before,.cat-list li a:hover::before{transform:translateX(300%) rotate(18deg)}
.nav-links li a{border-radius:14px;margin:6px 4px;padding:12px 14px}
.nav-links li a:hover{background:rgba(255,255,255,.12);box-shadow:0 0 0 1px rgba(255,255,255,.08),0 0 22px rgba(96,165,250,.22)}
.widget-search,.widget-categories{background:linear-gradient(180deg,#ffffff,#f8fbff)}
.sidebar-search-form{display:flex;flex-direction:column;gap:10px}
.sidebar-search-form input{width:100%;padding:14px 16px;border:1px solid #cbd5e1;border-radius:14px;background:#fff;color:#0f172a;font-size:.95rem;box-shadow:inset 0 1px 2px rgba(15,23,42,.04)}
.sidebar-search-form input:focus{border-color:#60a5fa;box-shadow:0 0 0 4px rgba(96,165,250,.18)}
.sidebar-search-form button{width:100%;padding:13px 16px;border:none;border-radius:14px;background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;font-weight:700;cursor:pointer;box-shadow:0 14px 24px rgba(37,99,235,.22)}
.cat-list{display:grid;gap:10px}
.cat-list li a{display:flex;align-items:center;gap:12px;padding:14px 14px;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid #dbeafe;box-shadow:0 8px 18px rgba(15,23,42,.05);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.cat-list li a:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:0 18px 34px rgba(59,130,246,.14)}
.cat-name{font-weight:700;color:#0f172a}
.cat-count{background:#eff6ff;color:#1d4ed8;font-weight:700;padding:5px 10px}
.widget-title{border-bottom:none;padding-bottom:0;margin-bottom:16px}
.game-post-layout{padding:20px 20px 28px}
.post-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:stretch;margin-bottom:28px;padding:24px;border-radius:26px;background:radial-gradient(circle at top left,rgba(59,130,246,.18),transparent 35%),linear-gradient(135deg,#0f172a,#16243a 62%,#203e72);color:#fff;box-shadow:0 24px 70px rgba(15,23,42,.2)}
.post-hero-copy{display:flex;flex-direction:column;justify-content:center}
.post-badge{display:inline-flex;align-items:center;align-self:flex-start;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);padding:7px 12px;border-radius:999px;font-size:.78rem;font-weight:700;margin-bottom:12px}
.post-hero-grid .post-title{color:#fff;font-size:2.55rem;margin-bottom:12px}
.post-summary{font-size:1rem;line-height:1.8;color:#dbeafe;max-width:720px;margin-bottom:16px}
.post-hero-grid .post-meta-bar{border-bottom:none;padding-bottom:0;margin-bottom:16px;color:#bfdbfe}
.post-hero-grid .post-meta-bar span{background:rgba(255,255,255,.08);padding:8px 12px;border-radius:999px}
.hero-mini-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.hero-mini-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);padding:14px 14px;border-radius:18px}
.hero-mini-card strong{display:block;color:#fff;margin-bottom:6px;font-size:.85rem}
.hero-mini-card span{color:#dbeafe;font-size:.9rem;line-height:1.6}
.post-hero-media img,.post-hero-placeholder{width:100%;height:100%;min-height:360px;object-fit:cover;border-radius:22px;background:linear-gradient(135deg,#1e293b,#0f172a)}
.post-hero-placeholder{display:flex;align-items:center;justify-content:center;font-size:5rem;color:#93c5fd}
.soft-details-box,.sysreq-box,.share-box,.final-download-section{margin-top:24px}
.sysreq-box{background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid #dbeafe;border-radius:22px;padding:22px;box-shadow:0 15px 35px rgba(15,23,42,.06)}
.sysreq-box h3,.share-box h3,.final-download-section h3{font-size:1.2rem;letter-spacing:-.02em;margin-bottom:16px;color:#0f172a}
.sysreq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.sysreq-item{padding:16px;border-radius:18px;background:#eff6ff;border:1px solid #dbeafe}
.sysreq-item strong{display:block;color:#1d4ed8;margin-bottom:6px}
.sysreq-item span,.sysreq-empty{color:#334155;line-height:1.7}
.final-download-section .download-btn{justify-content:space-between}
.btn-tip{font-size:.8rem;font-weight:600;opacity:.88;background:rgba(255,255,255,.16);padding:6px 10px;border-radius:999px}
.share-box{background:linear-gradient(180deg,#ffffff,#fbfdff);border:1px solid #e2e8f0;border-radius:22px;padding:22px;box-shadow:0 15px 35px rgba(15,23,42,.05)}
.share-links{display:flex;flex-wrap:wrap;gap:12px}
.share-btn{width:48px;height:48px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:1rem;box-shadow:0 12px 24px rgba(15,23,42,.14);transition:transform .2s ease,box-shadow .2s ease}
.share-btn:hover{transform:translateY(-3px);color:#fff}
.share-btn.facebook{background:linear-gradient(135deg,#1877f2,#3b82f6)}
.share-btn.twitter{background:linear-gradient(135deg,#111827,#374151)}
.share-btn.telegram{background:linear-gradient(135deg,#229ED9,#67c7f2)}
.share-btn.whatsapp{background:linear-gradient(135deg,#25D366,#16a34a)}
.share-btn.copy{background:linear-gradient(135deg,#f59e0b,#f97316)}
.post-content a{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.download-btn .btn-hits{display:none !important}
.footer-links ul li a,.sidebar-posts li a{transition:all .2s ease}
.footer-links ul li a:hover,.sidebar-posts li a:hover{transform:translateX(3px)}
@media(max-width:960px){.post-hero-grid{grid-template-columns:1fr}.post-hero-grid .post-title{font-size:2rem}}
@media(max-width:700px){.game-post-layout{padding:10px}.post-hero-grid{padding:18px;border-radius:20px}.post-hero-grid .post-title{font-size:1.7rem}.share-btn{width:44px;height:44px}}


/* SoftwaresGate V6 Premium Upgrade */
:root{
  --primary:#7c3aed;
  --primary-d:#5b21b6;
  --accent:#ec4899;
  --bg:#fff7fb;
  --bg2:#fdf2f8;
  --card:#ffffff;
  --border:#f5d0fe;
  --text:#2d133b;
  --text-2:#6b3b78;
  --shadow:0 18px 45px rgba(124,58,237,.10);
  --shadow-lg:0 28px 60px rgba(236,72,153,.18);
}
body{
  background:
    radial-gradient(circle at top left, rgba(244,114,182,.16), transparent 30%),
    radial-gradient(circle at top right, rgba(167,139,250,.18), transparent 32%),
    linear-gradient(180deg,#fff7fb 0%, #fdf4ff 45%, #fff 100%);
  color:var(--text);
}
.site-header{background:linear-gradient(135deg,rgba(88,28,135,.97),rgba(124,58,237,.94),rgba(236,72,153,.92));box-shadow:0 24px 60px rgba(91,33,182,.22)}
.main-nav{background:linear-gradient(135deg,rgba(88,28,135,.94),rgba(107,33,168,.92));backdrop-filter:blur(14px)}
.featured-section,.recent-section,.posts-section,.sidebar .widget,.single-post,.static-page,.page-hero,.sysreq-box,.soft-details-box,.screenshots-section,.share-box,.download-section{
  border:1px solid rgba(244,114,182,.18);
  background:linear-gradient(180deg,#ffffff,#fff8fd);
  box-shadow:0 20px 50px rgba(168,85,247,.08);
}
.post-hero-grid{background:linear-gradient(135deg,#fff,#fff7fb 55%,#fdf2f8);border:1px solid rgba(236,72,153,.16);border-radius:26px;padding:26px;box-shadow:0 24px 60px rgba(236,72,153,.10)}
.post-title{font-size:clamp(2rem,4vw,3.2rem);line-height:1.05;background:linear-gradient(135deg,#581c87,#7c3aed,#ec4899);-webkit-background-clip:text;background-clip:text;color:transparent}
.post-summary{font-size:1.02rem;color:#6b3b78}
.post-badge,.card-cat{background:linear-gradient(135deg,#faf5ff,#fdf2f8);color:#7c3aed;border:1px solid #e9d5ff}
.hero-mini-card,.sysreq-item{background:linear-gradient(180deg,#fff,#fdf2f8);border:1px solid #fbcfe8;border-radius:18px;box-shadow:0 10px 24px rgba(236,72,153,.08)}
.download-section h3,.share-box h3,.screenshots-section h3,.soft-details-box h3,.sysreq-box h3{color:#6d28d9}
.download-btn{background:linear-gradient(135deg,#7c3aed,#ec4899) !important;border:none !important;border-radius:20px !important;box-shadow:0 18px 35px rgba(236,72,153,.24) !important;text-decoration:none}
.download-btn:hover{box-shadow:0 24px 44px rgba(236,72,153,.30) !important;transform:translateY(-3px)}
.share-btn{box-shadow:0 12px 28px rgba(236,72,153,.18)}
.share-btn.facebook{background:#1877f2}.share-btn.twitter{background:#111827}.share-btn.telegram{background:#229ED9}.share-btn.whatsapp{background:#25D366}.share-btn.copy{background:#7c3aed}
.footer-links ul li a,.sidebar-posts li a,.cat-list li a{transition:all .25s ease}
.cat-list li a{background:linear-gradient(180deg,#fff,#fff7fb);border:1px solid #f5d0fe}
.cat-list li a:hover{box-shadow:0 18px 38px rgba(236,72,153,.12);border-color:#f9a8d4}
.search-form,.main-search-form{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.10)}
.main-search-form input{color:#fff}
.main-search-form input::placeholder{color:rgba(255,255,255,.72)}
.main-search-form button{background:linear-gradient(135deg,#f472b6,#ec4899)}
.screenshot-item img{border-radius:18px;border:1px solid #fbcfe8;box-shadow:0 16px 35px rgba(236,72,153,.12)}
.footer-bottom{background:linear-gradient(135deg,#4c1d95,#831843);color:#fff}


/* ============================================================
   SoftwaresGate V8 — 10 Beautiful Dark Themes
   ============================================================ */

/* ── Post Logo / Feature Image Enhancement ── */
.post-hero-media{position:relative}
.post-hero-media img{
  width:100%;max-height:340px;object-fit:cover;
  border-radius:20px;
  box-shadow:0 20px 60px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.07);
  transition:transform .35s,box-shadow .35s;
  display:block;
}
.post-hero-media img:hover{transform:scale(1.025);box-shadow:0 28px 70px rgba(0,0,0,.65)}
.post-hero-placeholder{
  width:100%;height:260px;
  background:linear-gradient(135deg,rgba(255,255,255,.04),rgba(255,255,255,.01));
  border:2px dashed rgba(255,255,255,.12);
  border-radius:20px;
  display:flex;align-items:center;justify-content:center;
  font-size:4rem;
}

/* Pretty card image glow on hover */
.post-card .card-img-link{border-radius:var(--radius) var(--radius) 0 0;overflow:hidden}
.post-card:hover .card-img{filter:brightness(1.08)}
.list-img-link{border-radius:var(--radius) 0 0 var(--radius)}

/* ── V8 Global Dark Base ── */
:root{
  --bg:#0b1020;
  --bg2:#141b34;
  --card:#10172b;
  --border:#243252;
  --text:#edf2ff;
  --text-2:#b7c1df;
  --text-3:#8ea0c8;
  --shadow:0 18px 50px rgba(0,0,0,.35);
  --shadow-lg:0 28px 70px rgba(0,0,0,.48);
}
body{background:linear-gradient(180deg,#090e1a 0%,#0b1020 45%,#0f172a 100%) !important;color:var(--text) !important}

/* ── Shared dark section styles ── */
body[class*="theme-"] .featured-section,
body[class*="theme-"] .recent-section,
body[class*="theme-"] .posts-section,
body[class*="theme-"] .sidebar .widget,
body[class*="theme-"] .single-post,
body[class*="theme-"] .static-page,
body[class*="theme-"] .page-hero,
body[class*="theme-"] .sysreq-box,
body[class*="theme-"] .soft-details-box,
body[class*="theme-"] .screenshots-section,
body[class*="theme-"] .share-box,
body[class*="theme-"] .download-section,
body[class*="theme-"] .post-card,
body[class*="theme-"] .list-card{
  background:linear-gradient(180deg,rgba(16,23,43,.98),rgba(10,15,30,.98)) !important;
  border:1px solid var(--border) !important;
  box-shadow:var(--shadow) !important;color:var(--text) !important
}
body[class*="theme-"] .post-content,body[class*="theme-"] .post-content p,
body[class*="theme-"] .post-content li,body[class*="theme-"] .post-summary,
body[class*="theme-"] .widget-title,body[class*="theme-"] .list-body p,
body[class*="theme-"] .card-excerpt,body[class*="theme-"] .footer-brand p{color:var(--text-2) !important}
body[class*="theme-"] .post-title,body[class*="theme-"] h1,body[class*="theme-"] h2,
body[class*="theme-"] h3,body[class*="theme-"] .logo-name,
body[class*="theme-"] .section-title{color:var(--text) !important;background:none !important;-webkit-text-fill-color:currentColor}
body[class*="theme-"] .main-nav{background:linear-gradient(135deg,rgba(7,10,20,.95),rgba(18,24,44,.92)) !important}
body[class*="theme-"] .topbar{background:rgba(4,8,18,.9) !important;border-bottom:1px solid rgba(255,255,255,.06)}
body[class*="theme-"] .post-hero-grid{background:linear-gradient(135deg,rgba(18,24,44,.98),rgba(8,12,24,.98)) !important;border:1px solid var(--border) !important}
body[class*="theme-"] .hero-mini-card,body[class*="theme-"] .sysreq-item,
body[class*="theme-"] .info-box table td{background:rgba(255,255,255,.02) !important;color:var(--text) !important;border-color:var(--border) !important}
body[class*="theme-"] .cat-list li a,body[class*="theme-"] .sidebar-search-form input{background:rgba(255,255,255,.03) !important;color:var(--text) !important;border-color:var(--border) !important}
body[class*="theme-"] .sidebar-search-form input::placeholder{color:var(--text-3) !important}
body[class*="theme-"] .footer-bottom{background:rgba(4,8,18,.95) !important}
body[class*="theme-"] .post-content a,body[class*="theme-"] .list-body h3 a,
body[class*="theme-"] .card-title a{color:var(--primary) !important}
body[class*="theme-"] .download-btn{color:#fff !important}

/* ══════════════════════════════════════════════
   THEME 1 — Dark Rose (Magenta Pink)
══════════════════════════════════════════════ */
body.theme-dark-rose{--primary:#ec4899;--primary-d:#be185d;--accent:#f472b6;--border:#4a1d3e;--bg:#120814;--bg2:#1a0d1f;--card:#170b1b;--text:#fff1f7;--text-2:#f3c2d8;--text-3:#d68cad}
body.theme-dark-rose .site-header{background:linear-gradient(135deg,#26081b,#5b1235,#831843) !important}
body.theme-dark-rose .download-btn{background:linear-gradient(135deg,#ec4899,#be185d) !important}
body.theme-dark-rose .nav-links li a:hover{background:rgba(236,72,153,.18) !important;color:#f9a8d4 !important}
body.theme-dark-rose .section-header{border-color:#ec4899 !important}

/* ══════════════════════════════════════════════
   THEME 2 — Midnight Blue (Electric Azure)
══════════════════════════════════════════════ */
body.theme-midnight-blue{--primary:#60a5fa;--primary-d:#2563eb;--accent:#22d3ee;--border:#1f3759;--bg:#08111f;--bg2:#0d1729;--card:#0d1627;--text:#eef6ff;--text-2:#bfd5f0;--text-3:#8fb3d9}
body.theme-midnight-blue .site-header{background:linear-gradient(135deg,#071224,#0f2a4a,#1d4ed8) !important}
body.theme-midnight-blue .download-btn{background:linear-gradient(135deg,#3b82f6,#1d4ed8) !important}
body.theme-midnight-blue .nav-links li a:hover{background:rgba(96,165,250,.18) !important;color:#93c5fd !important}
body.theme-midnight-blue .section-header{border-color:#60a5fa !important}

/* ══════════════════════════════════════════════
   THEME 3 — Emerald Night (Matrix Green)
══════════════════════════════════════════════ */
body.theme-emerald-night{--primary:#34d399;--primary-d:#059669;--accent:#10b981;--border:#1d4d42;--bg:#071713;--bg2:#0d201c;--card:#0b1b18;--text:#ecfff8;--text-2:#b8ead8;--text-3:#84cdb0}
body.theme-emerald-night .site-header{background:linear-gradient(135deg,#06221a,#0f3b30,#065f46) !important}
body.theme-emerald-night .download-btn{background:linear-gradient(135deg,#10b981,#047857) !important}
body.theme-emerald-night .nav-links li a:hover{background:rgba(52,211,153,.18) !important;color:#6ee7b7 !important}
body.theme-emerald-night .section-header{border-color:#34d399 !important}

/* ══════════════════════════════════════════════
   THEME 4 — Ruby Dark (Blood Red)
══════════════════════════════════════════════ */
body.theme-ruby-dark{--primary:#f43f5e;--primary-d:#be123c;--accent:#fb7185;--border:#4b1d2d;--bg:#18080d;--bg2:#210c12;--card:#1b0c12;--text:#fff0f2;--text-2:#f3c0ca;--text-3:#d6929e}
body.theme-ruby-dark .site-header{background:linear-gradient(135deg,#26070d,#4c0d18,#881337) !important}
body.theme-ruby-dark .download-btn{background:linear-gradient(135deg,#f43f5e,#be123c) !important}
body.theme-ruby-dark .nav-links li a:hover{background:rgba(244,63,94,.18) !important;color:#fda4af !important}
body.theme-ruby-dark .section-header{border-color:#f43f5e !important}

/* ══════════════════════════════════════════════
   THEME 5 — Violet Neon (Deep Purple)
══════════════════════════════════════════════ */
body.theme-violet-neon{--primary:#a78bfa;--primary-d:#7c3aed;--accent:#c084fc;--border:#3c2a67;--bg:#0f0820;--bg2:#170f2c;--card:#140d25;--text:#f5f1ff;--text-2:#d4c6f5;--text-3:#b3a0e6}
body.theme-violet-neon .site-header{background:linear-gradient(135deg,#130826,#2e1065,#6d28d9) !important}
body.theme-violet-neon .download-btn{background:linear-gradient(135deg,#8b5cf6,#6d28d9) !important}
body.theme-violet-neon .nav-links li a:hover{background:rgba(167,139,250,.18) !important;color:#c4b5fd !important}
body.theme-violet-neon .section-header{border-color:#a78bfa !important}

/* ══════════════════════════════════════════════
   THEME 6 — Cyber Gold (Amber Glow)
══════════════════════════════════════════════ */
body.theme-cyber-gold{--primary:#f59e0b;--primary-d:#d97706;--accent:#fbbf24;--border:#4d3208;--bg:#18100a;--bg2:#231509;--card:#1c120b;--text:#fffbeb;--text-2:#fde68a;--text-3:#d4a054}
body.theme-cyber-gold .site-header{background:linear-gradient(135deg,#1c100a,#3a1e05,#713f12) !important}
body.theme-cyber-gold .download-btn{background:linear-gradient(135deg,#f59e0b,#b45309) !important}
body.theme-cyber-gold .nav-links li a:hover{background:rgba(245,158,11,.18) !important;color:#fcd34d !important}
body.theme-cyber-gold .section-header{border-color:#f59e0b !important}
body.theme-cyber-gold .post-hero-media img{box-shadow:0 20px 60px rgba(245,158,11,.25),0 0 0 1px rgba(245,158,11,.12)}

/* ══════════════════════════════════════════════
   THEME 7 — Ocean Depths (Teal & Cyan)
══════════════════════════════════════════════ */
body.theme-ocean-depths{--primary:#22d3ee;--primary-d:#0891b2;--accent:#67e8f9;--border:#0e3d4d;--bg:#030d12;--bg2:#061520;--card:#071624;--text:#e0f7ff;--text-2:#a5d8e8;--text-3:#6bb8cd}
body.theme-ocean-depths .site-header{background:linear-gradient(135deg,#041520,#083344,#0e5068) !important}
body.theme-ocean-depths .download-btn{background:linear-gradient(135deg,#06b6d4,#0369a1) !important}
body.theme-ocean-depths .nav-links li a:hover{background:rgba(34,211,238,.18) !important;color:#67e8f9 !important}
body.theme-ocean-depths .section-header{border-color:#22d3ee !important}
body.theme-ocean-depths .post-hero-media img{box-shadow:0 20px 60px rgba(34,211,238,.2),0 0 0 1px rgba(34,211,238,.1)}

/* ══════════════════════════════════════════════
   THEME 8 — Inferno Orange (Lava Dark)
══════════════════════════════════════════════ */
body.theme-inferno{--primary:#fb923c;--primary-d:#ea580c;--accent:#fdba74;--border:#4a1f0d;--bg:#160a04;--bg2:#1e0e07;--card:#1b0d06;--text:#fff7ed;--text-2:#fdd8b5;--text-3:#d4956a}
body.theme-inferno .site-header{background:linear-gradient(135deg,#250c05,#5a1c08,#9a3412) !important}
body.theme-inferno .download-btn{background:linear-gradient(135deg,#f97316,#c2410c) !important}
body.theme-inferno .nav-links li a:hover{background:rgba(251,146,60,.18) !important;color:#fdba74 !important}
body.theme-inferno .section-header{border-color:#fb923c !important}
body.theme-inferno .post-hero-media img{box-shadow:0 20px 60px rgba(251,146,60,.25),0 0 0 1px rgba(251,146,60,.12)}

/* ══════════════════════════════════════════════
   THEME 9 — Arctic Ice (Frost White-Blue)
══════════════════════════════════════════════ */
body.theme-arctic{--primary:#7dd3fc;--primary-d:#0284c7;--accent:#bae6fd;--border:#1a3a52;--bg:#060e18;--bg2:#0b1625;--card:#0d1a2c;--text:#f0f8ff;--text-2:#c5dff2;--text-3:#8db8d8}
body.theme-arctic .site-header{background:linear-gradient(135deg,#09182c,#0f2d4a,#1e4976,#1a6796) !important}
body.theme-arctic .download-btn{background:linear-gradient(135deg,#38bdf8,#0369a1) !important}
body.theme-arctic .nav-links li a:hover{background:rgba(125,211,252,.18) !important;color:#bae6fd !important}
body.theme-arctic .section-header{border-color:#7dd3fc !important}
body.theme-arctic .post-hero-media img{box-shadow:0 20px 60px rgba(125,211,252,.2),0 0 0 1px rgba(125,211,252,.12)}

/* ══════════════════════════════════════════════
   THEME 10 — Galaxy Nebula (Purple+Pink Cosmic)
══════════════════════════════════════════════ */
body.theme-galaxy{--primary:#e879f9;--primary-d:#a21caf;--accent:#f0abfc;--border:#4a1258;--bg:#0e0416;--bg2:#160822;--card:#130720;--text:#fdf4ff;--text-2:#e6b3f5;--text-3:#c878e6}
body.theme-galaxy .site-header{background:linear-gradient(135deg,#18052a,#38085a,#6b21a8,#a21caf) !important}
body.theme-galaxy .download-btn{background:linear-gradient(135deg,#d946ef,#7e22ce) !important}
body.theme-galaxy .nav-links li a:hover{background:rgba(232,121,249,.18) !important;color:#f0abfc !important}
body.theme-galaxy .section-header{border-color:#e879f9 !important}
body.theme-galaxy .post-hero-media img{box-shadow:0 20px 60px rgba(232,121,249,.3),0 0 0 1px rgba(232,121,249,.15)}

/* ── Theme Neon Glow Lines on Nav border ── */
body[class*="theme-"] .main-nav{border-bottom:3px solid var(--primary) !important}
body[class*="theme-"] .card-cat{background:rgba(var(--primary-rgb,37,99,235),.10) !important;color:var(--primary) !important}
body[class*="theme-"] .page-btn.active,body[class*="theme-"] .page-btn:hover{background:var(--primary) !important;border-color:var(--primary) !important}

/* ── Post image frame with glow ── */
body[class*="theme-"] .post-hero-media img{
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.5),0 0 0 1px var(--border);
}

/* ── Responsive tweak for post image ── */
@media(max-width:768px){
  .post-hero-media img{max-height:220px}
  .post-hero-placeholder{height:160px}
}

/* V9 Fix: Download button shows ONLY label text */
.download-btn .btn-tip,
.download-btn .btn-icon,
.download-btn .btn-hits { display:none !important; }
.download-btn .btn-label { flex:1; text-align:center; }
.download-btn { justify-content:center !important; }

/* V9: Widget animation effects */
.widget-effect-fade-in  { animation:wFadeIn .7s ease both }
.widget-effect-slide-up { animation:wSlideUp .6s ease both }
.widget-effect-bounce   { animation:wBounce .8s ease both }
.widget-effect-glow     { animation:wGlow 2s ease infinite alternate }
.widget-effect-pulse    { animation:wPulse 1.5s ease infinite }
@keyframes wFadeIn  { from{opacity:0} to{opacity:1} }
@keyframes wSlideUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes wBounce  { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes wGlow    { from{box-shadow:0 0 0 rgba(0,0,0,0)} to{box-shadow:0 0 20px var(--primary)} }
@keyframes wPulse   { 0%,100%{opacity:1} 50%{opacity:.6} }

/* ============================================================
   V10 — 10 NEW ADDITIONAL THEMES (Total 20 themes)
   ============================================================ */

/* THEME 11 — Neon Green Cyber */
body.theme-neon-green{--primary:#39ff14;--primary-d:#16a34a;--accent:#86efac;--border:#14532d;--bg:#030f08;--bg2:#071a0e;--card:#061509;--text:#f0fff4;--text-2:#bbf7d0;--text-3:#6ee7b7}
body.theme-neon-green .site-header{background:linear-gradient(135deg,#030f08,#052e16,#166534) !important}
body.theme-neon-green .download-btn{background:linear-gradient(135deg,#16a34a,#15803d) !important}
body.theme-neon-green .section-header{border-color:#39ff14 !important}
body.theme-neon-green .main-nav{border-bottom:3px solid #39ff14 !important;box-shadow:0 0 20px rgba(57,255,20,.2) !important}

/* THEME 12 — Deep Red Dark */
body.theme-deep-red{--primary:#dc2626;--primary-d:#991b1b;--accent:#f87171;--border:#3f0d0d;--bg:#110404;--bg2:#1c0707;--card:#180606;--text:#fff5f5;--text-2:#fecaca;--text-3:#fca5a5}
body.theme-deep-red .site-header{background:linear-gradient(135deg,#1a0505,#450a0a,#7f1d1d) !important}
body.theme-deep-red .download-btn{background:linear-gradient(135deg,#dc2626,#991b1b) !important}
body.theme-deep-red .section-header{border-color:#dc2626 !important}

/* THEME 13 — Slate Gray Professional */
body.theme-slate-pro{--primary:#64748b;--primary-d:#475569;--accent:#94a3b8;--border:#2d3748;--bg:#0d1117;--bg2:#161b22;--card:#1c2128;--text:#f0f6fc;--text-2:#c9d1d9;--text-3:#8b949e}
body.theme-slate-pro .site-header{background:linear-gradient(135deg,#0d1117,#21262d,#30363d) !important}
body.theme-slate-pro .download-btn{background:linear-gradient(135deg,#475569,#334155) !important}
body.theme-slate-pro .section-header{border-color:#64748b !important}

/* THEME 14 — Sakura Pink Soft */
body.theme-sakura{--primary:#f9a8d4;--primary-d:#ec4899;--accent:#fbcfe8;--border:#4c1d37;--bg:#140b11;--bg2:#1f1019;--card:#1a0e15;--text:#fff1f7;--text-2:#fce7f3;--text-3:#fbcfe8}
body.theme-sakura .site-header{background:linear-gradient(135deg,#1f0d18,#4a1040,#831843) !important}
body.theme-sakura .download-btn{background:linear-gradient(135deg,#ec4899,#be185d) !important;box-shadow:0 16px 35px rgba(236,72,153,.3) !important}
body.theme-sakura .section-header{border-color:#f9a8d4 !important}

/* THEME 15 — Dark Coffee Brown */
body.theme-coffee{--primary:#d97706;--primary-d:#92400e;--accent:#f59e0b;--border:#3d2008;--bg:#120a04;--bg2:#1c1108;--card:#180e06;--text:#fffbeb;--text-2:#fde68a;--text-3:#fcd34d}
body.theme-coffee .site-header{background:linear-gradient(135deg,#1a0e04,#3d1a07,#78350f) !important}
body.theme-coffee .download-btn{background:linear-gradient(135deg,#d97706,#92400e) !important}
body.theme-coffee .section-header{border-color:#d97706 !important}

/* THEME 16 — Hacker Matrix Black */
body.theme-hacker{--primary:#00ff41;--primary-d:#00cc34;--accent:#00ff41;--border:#002b00;--bg:#000000;--bg2:#030f03;--card:#020a02;--text:#ccffcc;--text-2:#99ff99;--text-3:#66cc66}
body.theme-hacker .site-header{background:linear-gradient(135deg,#000,#001400,#002800) !important}
body.theme-hacker .download-btn{background:linear-gradient(135deg,#00cc34,#008f24) !important;box-shadow:0 0 30px rgba(0,255,65,.25) !important}
body.theme-hacker .main-nav{border-bottom:2px solid #00ff41 !important;box-shadow:0 0 25px rgba(0,255,65,.3) !important}
body.theme-hacker .section-header{border-color:#00ff41 !important}
body.theme-hacker .post-card{box-shadow:0 0 15px rgba(0,255,65,.08) !important}

/* THEME 17 — Neon Sunset (Orange + Pink) */
body.theme-neon-sunset{--primary:#f97316;--primary-d:#ec4899;--accent:#fbbf24;--border:#4a1c0d;--bg:#100508;--bg2:#1a080d;--card:#150607;--text:#fff7ed;--text-2:#fed7aa;--text-3:#fdba74}
body.theme-neon-sunset .site-header{background:linear-gradient(135deg,#1a0608,#4c0519,#9a1e00) !important}
body.theme-neon-sunset .download-btn{background:linear-gradient(135deg,#f97316,#ec4899) !important}
body.theme-neon-sunset .section-header{border-color:#f97316 !important}

/* THEME 18 — Royal Blue Dark */
body.theme-royal-blue{--primary:#1d4ed8;--primary-d:#1e3a8a;--accent:#3b82f6;--border:#1e3a6e;--bg:#020616;--bg2:#040c26;--card:#060e24;--text:#eff6ff;--text-2:#bfdbfe;--text-3:#93c5fd}
body.theme-royal-blue .site-header{background:linear-gradient(135deg,#030924,#0d1b4b,#1e3a8a) !important}
body.theme-royal-blue .download-btn{background:linear-gradient(135deg,#1d4ed8,#1e3a8a) !important}
body.theme-royal-blue .section-header{border-color:#1d4ed8 !important}

/* THEME 19 — Silver Chrome */
body.theme-chrome{--primary:#94a3b8;--primary-d:#64748b;--accent:#e2e8f0;--border:#2a3344;--bg:#0a0c10;--bg2:#111318;--card:#13161c;--text:#f8fafc;--text-2:#e2e8f0;--text-3:#cbd5e1}
body.theme-chrome .site-header{background:linear-gradient(135deg,#0f1117,#1e2536,#2d3748) !important}
body.theme-chrome .download-btn{background:linear-gradient(135deg,#64748b,#475569) !important}
body.theme-chrome .section-header{border-color:#94a3b8 !important}

/* THEME 20 — Toxic Lime */
body.theme-toxic-lime{--primary:#a3e635;--primary-d:#65a30d;--accent:#d9f99d;--border:#1a3308;--bg:#090f03;--bg2:#111a05;--card:#0d1504;--text:#f7ffe5;--text-2:#d9f99d;--text-3:#bef264}
body.theme-toxic-lime .site-header{background:linear-gradient(135deg,#0d1a05,#1e3a08,#3a6b0e) !important}
body.theme-toxic-lime .download-btn{background:linear-gradient(135deg,#84cc16,#4d7c0f) !important}
body.theme-toxic-lime .section-header{border-color:#a3e635 !important}

/* ============================================================
   V10 — HOVER EFFECTS ON BUTTONS & LINKS
   Customizable via data-hover attribute or .btn-hover-* class
   ============================================================ */
/* Glow Effect */
body[class*="theme-"] .download-btn:hover,
body[class*="theme-"] .btn:hover{ box-shadow:0 0 25px rgba(255,255,255,.18), 0 8px 30px rgba(0,0,0,.4) !important }
/* Nav link hover ripple */
body[class*="theme-"] .nav-links li a{position:relative;overflow:hidden}
body[class*="theme-"] .nav-links li a::after{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:0;height:2px;background:var(--primary);transition:width .3s}
body[class*="theme-"] .nav-links li a:hover::after{width:80%}
/* Card zoom hover */
body[class*="theme-"] .post-card{transition:transform .25s,box-shadow .25s}
body[class*="theme-"] .post-card:hover{transform:translateY(-6px) scale(1.01);box-shadow:0 28px 60px rgba(0,0,0,.45) !important}
/* Download button pulse on hover */
body[class*="theme-"] .download-btn{transition:transform .2s,box-shadow .25s,filter .2s}
body[class*="theme-"] .download-btn:hover{transform:translateY(-3px) scale(1.02);filter:brightness(1.12)}
/* Category badge hover */
body[class*="theme-"] .cat-card{transition:transform .22s,box-shadow .22s,border-color .22s}
body[class*="theme-"] .cat-card:hover{transform:translateY(-4px);border-color:var(--primary) !important}
/* Share button hover */
.share-btn{transition:transform .2s,filter .2s}
.share-btn:hover{transform:scale(1.15);filter:brightness(1.2)}
/* Sidebar widget link hover */
body[class*="theme-"] .cat-list li a{transition:color .2s,padding-left .2s}
body[class*="theme-"] .cat-list li a:hover{padding-left:10px;color:var(--primary) !important}

/* ============================================================
   V10 — CATEGORY LIST TEXT COLORS
   ============================================================ */
.cat-list li a{color:var(--text-2);text-decoration:none;display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid var(--border);font-size:.88rem}
.cat-list .cat-count{background:rgba(255,255,255,.07);border-radius:999px;padding:2px 8px;font-size:.75rem;color:var(--text-3)}
.cat-card .cat-name{color:var(--text);font-weight:600}
.cat-card .cat-count-badge{color:var(--text-3);font-size:.78rem}

/* ============================================================
   V10 — PAGE LOAD + SECTION ANIMATIONS
   ============================================================ */
.animate-fade{opacity:0;animation:v10FadeIn .7s ease forwards}
.animate-slide{opacity:0;transform:translateY(28px);animation:v10SlideUp .6s ease forwards}
.animate-zoom{opacity:0;transform:scale(.95);animation:v10ZoomIn .55s ease forwards}
@keyframes v10FadeIn  {to{opacity:1}}
@keyframes v10SlideUp {to{opacity:1;transform:translateY(0)}}
@keyframes v10ZoomIn  {to{opacity:1;transform:scale(1)}}
/* Stagger cards */
.post-card:nth-child(1){animation-delay:.05s}
.post-card:nth-child(2){animation-delay:.1s}
.post-card:nth-child(3){animation-delay:.15s}
.post-card:nth-child(4){animation-delay:.2s}
.post-card:nth-child(5){animation-delay:.25s}
.post-card:nth-child(6){animation-delay:.3s}

/* ============================================================
   V10 — POST STYLE VARIANTS
   ============================================================ */
/* Compact list style */
.post-style-list .post-card{display:flex;flex-direction:row;gap:16px;align-items:center;padding:14px}
.post-style-list .post-card .card-img-link{width:120px;flex-shrink:0;border-radius:10px;overflow:hidden}
.post-style-list .post-card .card-img-link img{height:90px;object-fit:cover}
/* Magazine style */
.post-style-magazine .post-card{position:relative;overflow:hidden}
.post-style-magazine .post-card .card-img-link::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.7) 0%,transparent 60%);border-radius:inherit}
.post-style-magazine .card-body{position:absolute;bottom:0;left:0;right:0;padding:14px;z-index:2}

/* ============================================================
   V11 — 2-Step Download System
   Step 1: Show Download Link → Step 2: Countdown → Step 3: Download Now
   ============================================================ */

.dl-wrapper {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* STEP 1 — Show Download Link button */
.btn-reveal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #374151, #1f2937);
  border: 2px solid #4b5563;
  border-radius: 14px;
  cursor: pointer;
  transition: all .22s ease;
  min-width: 260px;
  letter-spacing: .02em;
  font-family: inherit;
}
.btn-reveal:hover {
  background: linear-gradient(135deg, #4b5563, #374151);
  border-color: var(--primary, #2563eb);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.btn-reveal:active { transform: translateY(0); }

/* STEP 2 — Countdown bar */
.dl-countdown {
  width: 100%;
  max-width: 440px;
  background: #0b1220;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 18px 22px;
  text-align: center;
}
.dlcd-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .97rem;
  color: #cbd5e1;
}
.dlcd-icon { font-size: 1.4rem; animation: spin 2s linear infinite; }
@keyframes spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.dlcd-label strong {
  font-size: 1.5rem;
  color: var(--primary, #60a5fa);
  font-weight: 800;
  min-width: 32px;
  display: inline-block;
}
.dlcd-bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  overflow: hidden;
}
.dlcd-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary, #2563eb), var(--accent, #60a5fa));
  border-radius: 999px;
  transition: width 1s linear;
}

/* STEP 3 — Download Now button */
.btn-download-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 48px;
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary, #2563eb), var(--primary-d, #1d4ed8));
  border-radius: 14px;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 14px 35px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08);
  transition: all .22s ease;
  min-width: 260px;
  animation: dlReveal .45s cubic-bezier(.34,1.56,.64,1) both;
}
.btn-download-now:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 45px rgba(0,0,0,.45), 0 0 30px rgba(var(--primary-rgb,37,99,235),.3);
  filter: brightness(1.1);
  color: #fff !important;
  text-decoration: none;
}
.btn-download-now:active { transform: translateY(0) scale(1); }
@keyframes dlReveal {
  from { opacity:0; transform:scale(.85) translateY(10px); }
  to   { opacity:1; transform:scale(1)  translateY(0); }
}


/* ============================================================
   V12 — MahroPC UX Improvements
   ============================================================ */
.topbar-links{display:flex;align-items:center;gap:14px}
.search-form,.post-card,.list-card,.widget,.single-post,.static-page,.page-hero,.download-btn,.page-btn{border-radius:var(--radius)}
.post-card,.list-card,.widget,.single-post,.static-page,.page-hero,.featured-section,.recent-section,.posts-section{box-shadow:var(--shadow)}
.download-btn,.page-btn,.search-form button,.sidebar-search button,.main-search-form button,.sidebar-search-form button,.btn{border-radius:var(--btn-radius, var(--radius))}
body[data-ui-mode="light"] .widget,
body[data-ui-mode="light"] .single-post,
body[data-ui-mode="light"] .static-page,
body[data-ui-mode="light"] .featured-section,
body[data-ui-mode="light"] .recent-section,
body[data-ui-mode="light"] .posts-section,
body[data-ui-mode="light"] .info-box,
body[data-ui-mode="light"] .screenshots-section,
body[data-ui-mode="light"] .download-section{background:var(--card)!important;color:var(--text)!important;border-color:var(--border)!important}
body[data-ui-mode="light"] .section-title,
body[data-ui-mode="light"] .card-title a,
body[data-ui-mode="light"] .list-body h3 a,
body[data-ui-mode="light"] .post-title,
body[data-ui-mode="light"] .page-title{color:var(--text)!important}
body[data-ui-mode="light"] .site-footer{background:#dbe4f0;color:#334155}
body[data-ui-mode="light"] .footer-logo,
body[data-ui-mode="light"] .footer-links h4{color:#0f172a}
body[data-ui-mode="light"] .footer-social a,
body[data-ui-mode="light"] .footer-links ul li a,
body[data-ui-mode="light"] .footer-bottom{color:#475569}
body[data-ui-mode="light"] .sidebar-posts li,
body[data-ui-mode="light"] .adm-table td{border-color:var(--border)}


/* ============================================================
   V13 — Stability + Category + Layout upgrades
   ============================================================ */
:root{--cat-text:#1d4ed8;--cat-bg:#eff6ff;--cat-border:#bfdbfe}
.card-cat,.slide-cat,.post-badge{text-align:center;justify-content:center}
.card-cat{display:inline-flex;align-items:center;justify-content:center;background:var(--cat-bg)!important;color:var(--cat-text)!important;border:1px solid var(--cat-border)!important;min-width:120px;padding:6px 12px;border-radius:999px}
.cat-name{font-weight:700;color:var(--text);text-align:center;display:block;flex:1}
.cat-list li a{justify-content:center;text-align:center}
.cat-list li a .cat-icon{margin-right:2px}
.slide-info,.card-body,.list-body{display:flex;flex-direction:column}
@media(max-width:768px){
  body[data-home-layout="classic-list"] .post-card{display:block}
  body[data-home-layout="classic-list"] .post-card .card-img-link{width:100%;height:160px}
  body[data-home-layout="classic-list"] .post-card .card-img{height:160px}
}
