:root{
  --blue:#0b5cff;
  --blue-dark:#071a3d;
  --yellow:#ffd21a;
  --black:#050608;
  --black-2:#0b0e13;
  --white:#f4f7fb;
  --muted:#8993a5;
  --line:rgba(255,255,255,.09);
  --sidebar:260px;
  --radius:18px;
  --shadow:0 22px 70px rgba(0,0,0,.38);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--black);color:var(--white);
  font-family:"Rajdhani",Arial,sans-serif;font-size:17px;line-height:1.55;
  overflow-x:hidden;
}
body:before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-3;
  background:
    radial-gradient(circle at 78% 8%,rgba(11,92,255,.16),transparent 25%),
    radial-gradient(circle at 30% 70%,rgba(255,210,26,.055),transparent 22%);
}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
.noise{position:fixed;inset:0;pointer-events:none;z-index:50;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E")}
.page-grid{position:fixed;inset:0;pointer-events:none;z-index:-2;opacity:.34;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:52px 52px;mask-image:linear-gradient(to bottom,#000,transparent 80%)}
.sidebar{
  position:fixed;left:0;top:0;bottom:0;width:var(--sidebar);z-index:40;
  display:flex;flex-direction:column;padding:30px 22px;
  background:rgba(5,6,8,.92);border-right:1px solid var(--line);backdrop-filter:blur(20px);
}
.brand{display:flex;align-items:center;gap:12px;padding:5px 6px 38px}
.brand-mark{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--blue);background:var(--blue);font-family:Orbitron;font-weight:800;color:#fff;box-shadow:0 0 30px rgba(11,92,255,.3);transform:skew(-5deg)}
.brand-copy{display:flex;flex-direction:column;line-height:1}
.brand-name{font:800 18px Orbitron;letter-spacing:2px}
.brand-sub{font:600 10px Orbitron;color:var(--yellow);letter-spacing:3px;margin-top:5px}
.side-nav{display:grid;gap:7px}
.nav-item{position:relative;display:flex;align-items:center;gap:14px;padding:14px 15px;color:var(--muted);font:700 12px Orbitron;letter-spacing:1.5px;transition:.25s}
.nav-icon{width:24px;height:24px;display:grid;place-items:center;flex:0 0 24px;color:var(--blue)}
.nav-icon svg{width:20px;height:20px;display:block;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.nav-item:hover,.nav-item.active{color:#fff;background:linear-gradient(90deg,rgba(11,92,255,.18),transparent)}
.nav-item.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--yellow);box-shadow:0 0 14px var(--yellow)}
.sidebar-status{margin-top:auto;padding:14px;border:1px solid var(--line);display:flex;gap:9px;align-items:center;font:600 9px Orbitron;letter-spacing:1px;color:var(--muted)}
.status-dot{width:7px;height:7px;border-radius:50%;background:var(--yellow);box-shadow:0 0 10px var(--yellow)}
.sidebar-bottom{display:flex;justify-content:space-between;padding:18px 5px 0;color:#566071;font:600 9px Orbitron;letter-spacing:1px}
.version{color:var(--blue)}
.main-content{margin-left:var(--sidebar);min-height:100vh}
.section{max-width:1250px;margin:auto;padding:110px 60px}
.hero{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:70px;padding-top:80px}
.eyebrow{display:flex;align-items:center;gap:9px;color:var(--yellow);font:700 10px Orbitron;letter-spacing:2.5px;margin-bottom:18px}
.eyebrow span{display:inline-block;width:26px;height:2px;background:var(--yellow);box-shadow:0 0 9px rgba(255,210,26,.6)}
.hero-eyebrow strong{color:#fff;font-style:normal;font-weight:800}
.hero-eyebrow em{color:var(--yellow);font-style:normal;font-weight:800}
body.light-mode .hero-eyebrow strong{color:#111827}
body.light-mode .hero-eyebrow em{color:var(--blue)}
h1,h2,h3{font-family:Orbitron;line-height:1.08}
h1{font-size:clamp(50px,7vw,100px);letter-spacing:-4px;text-shadow:0 10px 40px rgba(0,0,0,.5)}
h1 span{color:var(--blue);-webkit-text-stroke:1px #2671ff}
h1 strong{color:var(--yellow);font-weight:800}
.hero-text{max-width:650px;color:#aeb7c7;font-size:19px;margin:27px 0 32px}
.hero-text b{color:#fff}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:15px;border:1px solid transparent;padding:13px 20px;font:800 11px Orbitron;letter-spacing:1.5px;transition:.25s}
.btn span{color:var(--yellow);font-size:16px}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 12px 30px rgba(11,92,255,.2)}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(11,92,255,.35)}
.btn-ghost,.btn-small{background:transparent;border-color:var(--line);color:#dbe2ef}
.btn-ghost:hover,.btn-small:hover{border-color:var(--yellow);color:var(--yellow)}
.btn-small{padding:11px 15px;font-size:9px}
.hero-terminal{position:relative;min-height:360px;border:1px solid rgba(11,92,255,.35);background:rgba(7,12,22,.78);box-shadow:var(--shadow);overflow:hidden;transform:perspective(900px) rotateY(-5deg)}
.terminal-head{height:46px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 16px;justify-content:space-between}
.terminal-head span{display:flex;gap:6px}
.terminal-head i{width:8px;height:8px;border-radius:50%;background:#566071}
.terminal-head small,.terminal-head b{font:600 9px Orbitron;color:#647086;letter-spacing:1px}
.terminal-body{padding:30px;font:500 14px "Rajdhani";line-height:2.1}
.terminal-body p{margin:0}
.terminal-body .yellow{color:var(--yellow)}
.terminal-output{color:#dfe8f8;padding-left:18px}
.terminal-output.online{color:#58d68d}
.terminal-cursor{color:var(--yellow);font:700 20px monospace;animation:blink 1s steps(1) infinite}
.scanline{position:absolute;left:0;right:0;top:-20%;height:1px;background:var(--blue);box-shadow:0 0 15px var(--blue);opacity:.5;animation:scan 5s linear infinite}
@keyframes scan{to{top:120%}} @keyframes blink{50%{opacity:0}}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:35px}
h2{font-size:clamp(30px,4vw,54px);letter-spacing:-2px}
h2 em{font-style:normal;color:var(--blue)}
.posts-section{border-top:1px solid var(--line)}
.post-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}
.search-box{width:min(360px,100%);height:43px;border:1px solid var(--line);display:flex;align-items:center;padding:0 13px;background:rgba(255,255,255,.025)}
.search-box span{font-size:25px;color:var(--yellow);margin-right:8px}
.search-box input{width:100%;border:0;outline:0;background:none;color:#fff}
.search-box input::placeholder{color:#586274}
.filter-row{display:flex;gap:6px;flex-wrap:wrap}
.filter{border:0;background:transparent;color:#697386;font:700 9px Orbitron;letter-spacing:1px;padding:9px 11px}
.filter:hover,.filter.active{color:var(--yellow)}
.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.post-card{min-height:330px;border:1px solid var(--line);background:linear-gradient(150deg,rgba(255,255,255,.045),rgba(255,255,255,.015));position:relative;overflow:hidden;display:flex;flex-direction:column;transition:.3s}
.post-card:hover{transform:translateY(-6px);border-color:rgba(11,92,255,.55);box-shadow:0 20px 50px rgba(0,0,0,.28)}
.post-image{height:145px;background:#0b1220;position:relative;overflow:hidden}
.post-image img{width:100%;height:100%;object-fit:cover;transition:.5s;opacity:.85}
.post-card:hover .post-image img{transform:scale(1.06);opacity:1}
.post-image:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(5,6,8,.7),transparent 65%)}
.post-number{position:absolute;right:12px;top:10px;z-index:2;font:700 10px Orbitron;color:#fff}
.post-body{padding:21px;display:flex;flex-direction:column;flex:1}
.tag{font:700 9px Orbitron;color:var(--yellow);letter-spacing:1.5px;margin-bottom:10px}
.post-body h3{font-size:19px;letter-spacing:-.4px;margin-bottom:9px}
.post-body p{font-size:15px;color:#8892a4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.post-meta{margin-top:auto;padding-top:17px;display:flex;justify-content:space-between;color:#596375;font:600 9px Orbitron}
.read-more{color:var(--blue)}
.empty-state{text-align:center;padding:70px 20px;border:1px dashed var(--line)}
.empty-icon{font-size:45px;color:var(--yellow)}
.empty-state h3{font-size:18px;margin:8px 0}
.empty-state p{color:var(--muted)}
.about-section{border-top:1px solid var(--line)}
.about-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:22px}
.about-card{border:1px solid var(--line);padding:30px;display:flex;gap:20px;align-items:center;background:linear-gradient(135deg,rgba(11,92,255,.1),transparent)}
.avatar{width:100px;height:100px;flex:none;display:grid;place-items:center;background:var(--blue);color:#fff;font:800 27px Orbitron;box-shadow:0 0 40px rgba(11,92,255,.25)}
.creator-avatar{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.22);border-radius:18px;background:#08101f;box-shadow:0 0 0 1px rgba(11,92,255,.18),0 0 42px rgba(11,92,255,.28),inset 0 0 28px rgba(11,92,255,.12)}
.creator-avatar img{width:100%;height:100%;display:block;object-fit:cover;object-position:center top;filter:saturate(.92) contrast(1.06);transition:transform .55s ease,filter .55s ease}
.about-card:hover .creator-avatar img{transform:scale(1.06);filter:saturate(1.05) contrast(1.08)}
.avatar-scan{position:absolute;inset:0;background:linear-gradient(180deg,transparent 0%,rgba(11,92,255,.08) 48%,rgba(255,255,255,.08) 50%,transparent 52%);background-size:100% 220%;animation:avatarScan 4.5s linear infinite;pointer-events:none}
.creator-avatar:after{content:"";position:absolute;inset:7px;border:1px solid rgba(255,255,255,.12);border-radius:12px;pointer-events:none}
@keyframes avatarScan{0%{background-position:0 -100%}100%{background-position:0 100%}}
.label{font:700 9px Orbitron;color:var(--yellow);letter-spacing:1px}
.about-card h3{font-size:20px;margin:8px 0}
.about-card p,.about-copy p{color:#8e99aa}
.about-copy{padding:15px 10px}
.about-copy>p{font-size:23px;line-height:1.45;max-width:750px}
.skill-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:30px}
.skill-row span{padding:8px 11px;border:1px solid var(--line);font:700 8px Orbitron;color:#aab3c2}
.contact-section{padding-top:50px}
.contact-panel{border:1px solid rgba(11,92,255,.35);background:linear-gradient(115deg,rgba(11,92,255,.12),rgba(255,210,26,.035));padding:45px;display:flex;align-items:center;justify-content:space-between;gap:30px;position:relative;overflow:hidden}
.contact-panel:after{content:"ZR";position:absolute;right:30px;bottom:-50px;font:800 180px Orbitron;color:rgba(255,255,255,.025);pointer-events:none}
.contact-panel h2{margin-bottom:8px}
.contact-panel p{color:var(--muted)}
.footer{border-top:1px solid var(--line);padding:55px 60px 35px;display:grid;grid-template-columns:1fr auto;gap:30px;max-width:1250px;margin:auto}
.footer-logo{font:800 27px Orbitron;letter-spacing:2px}.footer-logo span{color:var(--yellow)}
.footer p{color:#687285;margin-top:4px}
.footer-links{display:flex;gap:22px;font:700 9px Orbitron;color:#798396;align-items:center}
.footer-links a:hover{color:var(--yellow)}
.footer-copy{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px;display:flex;justify-content:space-between;color:#4f5969;font:600 8px Orbitron;letter-spacing:1px}
.menu-toggle{display:none}
.modal{position:fixed;inset:0;z-index:100;display:none;place-items:center;padding:20px}
.modal.open{display:grid}
.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.75);backdrop-filter:blur(8px)}
.modal-card{position:relative;width:min(650px,100%);max-height:90vh;overflow:auto;background:#090c12;border:1px solid rgba(11,92,255,.45);box-shadow:var(--shadow);padding:35px}
.modal-close{position:absolute;right:17px;top:12px;background:none;border:0;color:#8d98a9;font-size:28px}
.modal-card h2{margin-bottom:25px}
#postForm{display:grid;gap:17px}
#postForm label{display:grid;gap:7px;font:700 9px Orbitron;color:#8d98a9;letter-spacing:1px}
#postForm input,#postForm textarea,#postForm select{width:100%;background:#0d121a;border:1px solid var(--line);outline:0;color:#fff;padding:12px;font-family:"Rajdhani";font-size:16px}
#postForm input:focus,#postForm textarea:focus,#postForm select:focus{border-color:var(--blue)}
#postForm textarea{resize:vertical;min-height:170px}
.image-preview{display:none;height:150px;border:1px dashed var(--line);overflow:hidden}
.image-preview.show{display:block}
.image-preview img{width:100%;height:100%;object-fit:cover}
.toast{position:fixed;right:25px;bottom:25px;background:var(--yellow);color:#07090d;padding:13px 18px;font:800 10px Orbitron;letter-spacing:1px;transform:translateY(100px);opacity:0;transition:.3s;z-index:150}
.toast.show{transform:none;opacity:1}
@media(max-width:1000px){
  :root{--sidebar:220px}
  .section{padding-left:35px;padding-right:35px}
  .hero{grid-template-columns:1fr;gap:40px}
  .hero-terminal{max-width:700px}
  .posts-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .sidebar{width:270px;transform:translateX(-100%);transition:.3s;box-shadow:20px 0 60px rgba(0,0,0,.5)}
  .sidebar.open{transform:none}
  .main-content{margin-left:0}
  .menu-toggle{display:grid;place-items:center;position:fixed;right:17px;top:17px;z-index:80;width:44px;height:44px;border:1px solid var(--line);background:rgba(5,6,8,.85);color:var(--yellow);font-size:20px}
  .section{padding:85px 20px}
  .hero{min-height:auto;padding-top:120px}
  h1{font-size:clamp(45px,15vw,76px)}
  .hero-terminal{transform:none;min-height:320px}
  .section-heading{align-items:start;flex-direction:column}
  .post-toolbar{align-items:stretch;flex-direction:column}
  .search-box{width:100%}
  .posts-grid{grid-template-columns:1fr}
  .about-layout{grid-template-columns:1fr}
  .contact-panel{padding:30px;align-items:flex-start;flex-direction:column}
  .footer{padding:45px 20px 25px;grid-template-columns:1fr}
  .footer-links{flex-wrap:wrap}
  .footer-copy{grid-column:auto;flex-direction:column;gap:8px}
}
@media(max-width:420px){
  .brand{padding-bottom:25px}
  .hero-text{font-size:17px}
  .hero-actions .btn{width:100%}
  .modal-card{padding:25px 18px}
  .about-card{align-items:flex-start;flex-direction:column}
}

.post-card{cursor:pointer}.post-card:focus{outline:2px solid var(--blue);outline-offset:4px}


.post-card{cursor:pointer}
.post-card:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}

.article-modal{
  align-items:center;
  justify-content:center;
  overflow-y:auto;
}
.article-modal.open{display:flex}
.article-card{
  width:min(920px, calc(100vw - 40px));
  max-height:calc(100vh - 40px);
  margin:auto;
  padding:0;
  overflow-y:auto;
  overflow-x:hidden;
  display:block;
}
.article-card .modal-close{
  z-index:5;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  background:rgba(5,6,8,.82);
  border:1px solid var(--line);
  color:#fff;
}
.article-image-wrap{
  width:100%;
  max-height:430px;
  background:#0b1220;
  overflow:hidden;
}
.article-image-wrap[hidden]{display:none}
.article-image-wrap img{
  display:block;
  width:100%;
  height:auto;
  max-height:430px;
  object-fit:cover;
}
.article-content{
  width:min(760px,100%);
  margin:0 auto;
  padding:42px 48px 52px;
}
.article-content .eyebrow{margin-bottom:14px}
.article-content h2{
  margin:0 0 12px;
  overflow-wrap:anywhere;
}
.article-meta{
  color:#667186;
  font:600 9px Orbitron;
  letter-spacing:1px;
  margin-bottom:28px;
}
.article-body{
  color:#b8c1d0;
  font-size:18px;
  line-height:1.85;
  overflow-wrap:anywhere;
}
.article-body p{margin:0 0 20px}
.article-body p:last-child{margin-bottom:0}
.article-body img{
  display:block;
  max-width:100%;
  height:auto;
  margin:24px auto;
}
.article-body a{color:var(--yellow);text-decoration:underline}

.posts-grid{align-items:stretch}
.post-card .post-body h3,
.post-card .post-body p{overflow-wrap:anywhere}

@media(max-width:1000px){
  .section{padding-left:35px;padding-right:35px}
  .posts-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:700px){
  .main-content{margin-left:0}
  .section{padding:82px 18px}
  .hero{padding-top:95px}
  .section-heading{align-items:flex-start;flex-direction:column;gap:18px}
  .post-toolbar{align-items:stretch;flex-direction:column}
  .search-box{width:100%}
  .filter-row{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}
  .filter{flex:0 0 auto}
  .posts-grid{grid-template-columns:1fr;gap:14px}
  .post-card{min-height:0}
  .post-image{height:190px}
  .post-body{padding:18px}
  .modal{padding:10px}
  .article-card{
    width:100%;
    max-height:calc(100vh - 20px);
  }
  .article-image-wrap{max-height:none;overflow:visible}
  .article-image-wrap img{width:100%;height:auto;max-height:none;object-fit:contain}
  .article-content{padding:30px 20px 34px}
  .article-content h2{font-size:28px;letter-spacing:-1px;padding-right:28px}
  .article-body{font-size:17px;line-height:1.75}
  .article-card .modal-close{right:10px;top:10px}
}
@media(max-width:430px){
  .post-image{height:170px}
  .article-content{padding-left:17px;padding-right:17px}
  .article-body{font-size:16px}
}



:root{
  --glass:rgba(9,13,20,.72);
  --cyan:#62d9ff;
  --green:#58d68d;
}

.command-hint{
  position:fixed;right:24px;top:24px;z-index:70;
  display:flex;align-items:center;gap:6px;padding:8px 10px;
  border:1px solid var(--line);background:rgba(5,6,8,.68);
  backdrop-filter:blur(14px);color:#697386;
  font:700 8px Orbitron;letter-spacing:1px;opacity:.85;
  transition:.3s;
}
.command-hint .kbd,.command-footer kbd,.command-item kbd{
  border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.045);
  padding:3px 6px;color:#aeb7c7;font:700 8px Orbitron;
}
.command-hint .plus{color:#4b5668}
@media(max-width:700px){.command-hint{display:none}}

.system-section{border-top:1px solid var(--line);padding-top:90px}
.system-panel{
  position:relative;overflow:hidden;border:1px solid rgba(98,217,255,.18);
  background:
    radial-gradient(circle at 88% 10%,rgba(11,92,255,.12),transparent 30%),
    linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
  box-shadow:0 30px 90px rgba(0,0,0,.25);
}
.system-panel:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.18;
  background-image:linear-gradient(rgba(98,217,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(98,217,255,.035) 1px,transparent 1px);
  background-size:28px 28px;
}
.system-top{
  position:relative;z-index:1;display:flex;align-items:end;justify-content:space-between;
  gap:20px;padding:34px 36px;border-bottom:1px solid var(--line);
}
.system-clock{
  color:var(--cyan);font:700 12px Orbitron;letter-spacing:2px;
  text-shadow:0 0 18px rgba(98,217,255,.45);
}
.system-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.35fr .65fr}
.system-terminal{min-height:360px;border-right:1px solid var(--line)}
.system-terminal-body{
  padding:28px 34px;font:500 14px/2.05 "Rajdhani",monospace;color:#b7c4d6;
}
.sys-prompt{color:var(--yellow)}
.sys-dim{color:#3f4a5c}
.sys-key{display:inline-block;min-width:80px;color:#728096}
.sys-online{color:var(--green);text-shadow:0 0 10px rgba(88,214,141,.3)}
.type-line{color:#e7eef9}
.type-cursor{color:var(--yellow);animation:blink 1s steps(1) infinite}
.system-stats{display:grid;grid-template-columns:1fr 1fr}
.stat-card{
  padding:28px 24px;border-bottom:1px solid var(--line);
  transition:.25s;position:relative;overflow:hidden;
}
.stat-card:nth-child(odd){border-right:1px solid var(--line)}
.stat-card:nth-child(3),.stat-card:nth-child(4){border-bottom:0}
.stat-card:after{
  content:"";position:absolute;width:70px;height:70px;right:-35px;bottom:-35px;
  border:1px solid rgba(11,92,255,.18);transform:rotate(45deg);
}
.stat-card:hover{background:rgba(11,92,255,.055)}
.stat-label{display:block;color:#667186;font:700 8px Orbitron;letter-spacing:1.5px;margin-bottom:14px}
.stat-card strong{display:block;font:800 31px Orbitron;color:#f4f7fb;letter-spacing:-1px}
.stat-card small{display:block;color:#566174;font:600 9px Orbitron;margin-top:7px;line-height:1.5}
.stat-card .live-value{color:var(--green);font-size:25px}

.floating-tools{
  position:fixed;right:24px;bottom:24px;z-index:60;display:grid;gap:8px;
}
.float-btn{
  width:44px;height:44px;display:grid;place-items:center;
  border:1px solid var(--line);background:rgba(5,6,8,.78);color:var(--yellow);
  backdrop-filter:blur(14px);font:800 18px Orbitron;
  box-shadow:0 12px 35px rgba(0,0,0,.28);transition:.25s;
  opacity:0;transform:translateY(12px);pointer-events:none;
}
.float-btn.visible{opacity:1;transform:none;pointer-events:auto}
.float-btn:hover{border-color:var(--yellow);color:#fff;transform:translateY(-3px)}
.command-btn{color:var(--blue);font-size:15px}

.command-modal{
  position:fixed;inset:0;z-index:180;display:none;place-items:center;padding:20px;
}
.command-modal.open{display:grid}
.command-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(10px)}
.command-box{
  position:relative;width:min(650px,100%);overflow:hidden;
  border:1px solid rgba(11,92,255,.5);background:#090c12;
  box-shadow:0 35px 100px rgba(0,0,0,.55);
  animation:commandIn .22s ease-out;
}
@keyframes commandIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.command-header{display:flex;justify-content:space-between;gap:20px;padding:25px 27px 18px;border-bottom:1px solid var(--line)}
.command-kicker{display:block;color:var(--yellow);font:700 8px Orbitron;letter-spacing:2px;margin-bottom:8px}
.command-header h3{font-size:18px}
.command-close{border:0;background:none;color:#697386;font-size:27px;line-height:1}
.command-close:hover{color:#fff}
.command-search{
  display:flex;align-items:center;gap:10px;margin:18px;
  border:1px solid var(--line);background:#0d121a;padding:0 13px;height:48px;
}
.command-search span{color:var(--yellow);font-size:22px}
.command-search input{width:100%;border:0;outline:0;background:none;color:#fff;font-size:16px}
.command-list{padding:0 10px 10px;display:grid;gap:4px}
.command-item{
  display:grid;grid-template-columns:28px 1fr auto;grid-template-rows:auto auto;
  column-gap:8px;align-items:center;text-align:left;border:1px solid transparent;
  background:transparent;color:#dce4f2;padding:12px 12px;transition:.18s;
}
.command-item>span{grid-row:1/3;color:var(--blue);font-size:18px}
.command-item b{font:700 11px Orbitron;letter-spacing:.5px}
.command-item small{color:#647086;font:500 12px Rajdhani}
.command-item kbd{grid-column:3;grid-row:1/3}
.command-item:hover,.command-item.selected{border-color:rgba(11,92,255,.35);background:rgba(11,92,255,.09)}
.command-footer{
  display:flex;gap:18px;padding:12px 20px;border-top:1px solid var(--line);
  color:#596476;font:600 8px Orbitron;letter-spacing:.5px;
}
.command-footer kbd{margin-right:4px}

.reveal-ready{opacity:0;transform:translateY(18px);transition:opacity .65s ease,transform .65s ease}
.reveal-ready.revealed{opacity:1;transform:none}
.post-card.reveal-ready:nth-child(2){transition-delay:.06s}
.post-card.reveal-ready:nth-child(3){transition-delay:.12s}
.post-card.reveal-ready:nth-child(4){transition-delay:.18s}
.post-card.reveal-ready:nth-child(5){transition-delay:.24s}

@media(max-width:900px){
  .system-grid{grid-template-columns:1fr}
  .system-terminal{border-right:0;border-bottom:1px solid var(--line)}
}
@media(max-width:700px){
  .system-top{padding:27px 20px;align-items:flex-start;flex-direction:column}
  .system-terminal-body{padding:23px 20px;font-size:13px}
  .system-stats{grid-template-columns:1fr 1fr}
  .stat-card{padding:22px 16px}
  .stat-card:nth-child(3),.stat-card:nth-child(4){border-bottom:0}
  .stat-card strong{font-size:25px}
  .floating-tools{right:15px;bottom:15px}
}
@media(max-width:430px){
  .system-stats{grid-template-columns:1fr}
  .stat-card,.stat-card:nth-child(odd){border-right:0;border-bottom:1px solid var(--line)}
  .stat-card:last-child{border-bottom:0}
  .command-footer{gap:9px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
  .reveal-ready{opacity:1;transform:none}
}



.command-btn{
  opacity:1 !important;
  transform:none !important;
  pointer-events:auto !important;
  cursor:pointer;
}
.command-btn:active{transform:scale(.96) !important}
.command-modal{padding:12px}
.command-box{max-height:calc(100dvh - 24px);overflow:auto}
@media(max-width:700px){
  .floating-tools{
    right:14px;
    bottom:calc(14px + env(safe-area-inset-bottom));
    gap:10px;
  }
  .float-btn{
    width:48px;
    height:48px;
    border-radius:10px;
    font-size:16px;
  }
  .command-modal{
    padding:10px;
    align-items:center;
    justify-content:center;
  }
  .command-box{
    width:100%;
    max-width:none;
    max-height:calc(100dvh - 20px);
    border-radius:12px 12px 0 0;
  }
  .command-header{padding:20px 18px 14px}
  .command-search{margin:14px;height:50px}
  .command-list{padding:0 8px 8px}
  .command-item{padding:14px 10px;min-height:62px}
  .command-item b{font-size:10px}
  .command-item small{font-size:12px}
  .command-footer{padding:10px 16px}
}



@media (max-width:700px){
  .creator-avatar{width:82px;height:82px;border-radius:15px}
  .creator-avatar:after{inset:6px;border-radius:10px}
}
@media (prefers-reduced-motion:reduce){
  .avatar-scan{animation:none}
  .creator-avatar img{transition:none}
}




img, video, svg {
  max-width: 100%;
}

.post-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.article-image-wrap {
  width: 100%;
  max-width: 100%;
  max-height: 430px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #08101a;
}

.article-image-wrap img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  margin: 0 auto;
}

.article-body img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
}


.command-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: none;
  place-items: center;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.command-modal.open {
  display: grid;
}

.command-box {
  width: min(650px, 100%);
  max-width: 650px;
  max-height: calc(100vh - 40px);
  overflow: auto;
}

@media (max-width: 1000px) {
  .article-card {
    width: min(920px, calc(100vw - 30px));
    max-width: calc(100vw - 30px);
    max-height: calc(100vh - 30px);
  }

  .article-image-wrap,
  .article-image-wrap img {
    max-height: 52vh;
  }
}

@media (max-width: 700px) {
  .article-card {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .article-image-wrap {
    max-height: 42vh;
  }

  .article-image-wrap img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 42vh;
  }

  .article-body img {
    width: auto;
    max-width: 100%;
    height: auto;
  }

  .command-modal {
    padding: 10px;
    place-items: center !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .command-box {
    width: 100%;
    max-width: 650px;
    max-height: calc(100vh - 20px);
    border-radius: 12px;
    overflow: auto;
  }
}

@media (max-width: 430px) {
  .article-card {
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
  }

  .article-image-wrap,
  .article-image-wrap img {
    max-height: 36vh;
  }
}


@media (max-width: 1024px) {
  .command-hint { display: none !important; }
  .command-footer span:last-child { display: none !important; }
}

@media (max-width: 1024px) {
    #commandHint {
        display: none;
    }
}


.theme-toggle{
  width:100%;
  border:0;
  background:transparent;
  text-align:left;
  margin-top:2px;
}
.theme-toggle .theme-icon{
  color:var(--blue);
  font-size:18px;
  transition:transform .25s, color .25s;
}
.theme-toggle:hover .theme-icon{
  transform:rotate(18deg) scale(1.08);
}
.theme-toggle.active .theme-icon{
  color:var(--blue);
}


body.light-mode{
  --black:#e9f2ff;
  --black-2:#f8fbff;
  --white:#101827;
  --muted:#52647b;
  --line:rgba(23,105,255,.14);
  background:
    radial-gradient(circle at 5% 8%,rgba(23,105,255,.20),transparent 30%),
    radial-gradient(circle at 95% 15%,rgba(61,140,255,.15),transparent 28%),
    linear-gradient(135deg,#e5effc 0%,#f7fbff 48%,#e8f2ff 100%);
}
body.light-mode:before{
  background:
    radial-gradient(circle at 78% 8%,rgba(23,105,255,.12),transparent 25%),
    radial-gradient(circle at 30% 70%,rgba(23,105,255,.055),transparent 22%);
}
body.light-mode .page-grid{
  opacity:.18;
  background-image:
    linear-gradient(rgba(23,105,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(23,105,255,.035) 1px,transparent 1px);
}
body.light-mode .sidebar{
  background:rgba(235,244,255,.78);
  border-right-color:rgba(23,105,255,.13);
  box-shadow:8px 0 35px rgba(23,105,255,.06);
}
body.light-mode .nav-item:hover,
body.light-mode .nav-item.active{
  color:#111827;
  background:linear-gradient(90deg,rgba(11,92,255,.12),transparent);
}
body.light-mode .nav-item.active:before{
  background:var(--blue);
  box-shadow:0 0 14px rgba(23,105,255,.35);
}
body.light-mode .brand-sub,
body.light-mode .eyebrow,
body.light-mode .hero-terminal .yellow,
body.light-mode .yellow{
  color:var(--blue);
}
body.light-mode .hero-text,
body.light-mode .footer,
body.light-mode .about-text,
body.light-mode .post-card p{
  color:#52647b;
}
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode .hero-text b,
body.light-mode .post-card h3,
body.light-mode .about-card h3{
  color:#111827;
}
body.light-mode .post-card,
body.light-mode .about-card,
body.light-mode .contact-card,
body.light-mode .stat-card,
body.light-mode .system-panel,
body.light-mode .terminal-body{
  background:rgba(248,251,255,.72);
  border-color:rgba(23,105,255,.13);
  box-shadow:0 18px 50px rgba(23,105,255,.07);
}
body.light-mode .search-box{
  background:rgba(248,251,255,.72);
  border-color:rgba(23,105,255,.13);
}
body.light-mode .search-box input{
  color:#101827;
}
body.light-mode .footer{
  background:linear-gradient(135deg,#e7f1ff,#f8fbff 55%,#eaf3ff);
  border-top-color:rgba(23,105,255,.18);
}
body.light-mode .theme-toggle .theme-icon{
  color:var(--blue);
}


body.light-mode{
  --black:#e7ebf0;
  --black-2:#f4f6f8;
  --white:#0b1220;
  --muted:#354256;
  --yellow:#f97316;
  --line:rgba(11,18,32,.18);
  background:
    radial-gradient(circle at 5% 8%,rgba(11,92,255,.15),transparent 30%),
    radial-gradient(circle at 95% 15%,rgba(61,140,255,.11),transparent 28%),
    linear-gradient(135deg,#eef1f4 0%,#f8f9fa 48%,#e7ebef 100%);
  color:#080d16;
}
body.light-mode .page-grid{opacity:.28}
body.light-mode .sidebar{
  background:rgba(239,242,245,.96);
  border-right-color:rgba(19,43,75,.2);
  box-shadow:8px 0 35px rgba(25,55,90,.10);
}
body.light-mode .nav-item{color:#334155}
body.light-mode .nav-item:hover,
body.light-mode .nav-item.active{color:#050a12;background:linear-gradient(90deg,rgba(11,92,255,.16),rgba(11,92,255,.035));}
body.light-mode .sidebar-status{color:#334155;border-color:rgba(19,43,75,.2)}
body.light-mode .sidebar-bottom{color:#3f4b5d}
body.light-mode .hero-text,
body.light-mode .about-text,
body.light-mode .post-card p,
body.light-mode .about-card p,
body.light-mode .about-copy p,
body.light-mode .contact-panel p,
body.light-mode .footer p{color:#263447}
body.light-mode .hero-text b{color:#050a12}
body.light-mode h1 strong{color:#ffd21a!important;}
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode .post-body h3,
body.light-mode .about-card h3{color:#050a12}
body.light-mode .post-card,
body.light-mode .about-card,
body.light-mode .contact-card,
body.light-mode .stat-card,
body.light-mode .system-panel,
body.light-mode .terminal-body{
  background:rgba(246,247,249,.94);
  border-color:rgba(19,43,75,.18);
  box-shadow:0 18px 50px rgba(30,55,85,.10);
}
body.light-mode .post-card:hover{box-shadow:0 20px 50px rgba(30,55,85,.16)}
body.light-mode .search-box{
  background:rgba(241,243,246,.98);
  border-color:rgba(19,43,75,.2);
}
body.light-mode .search-box input{color:#080d16}
body.light-mode .search-box input::placeholder{color:#536176}
body.light-mode .filter{color:#3f4b5d}
body.light-mode .filter:hover,
body.light-mode .filter.active{color:#064bcf}
body.light-mode .post-meta{color:#435066}
body.light-mode .tag,
body.light-mode .read-more{color:#064bcf}
body.light-mode .btn-ghost,
body.light-mode .btn-small{color:#172235;border-color:rgba(19,43,75,.22)}
body.light-mode .btn-ghost:hover,
body.light-mode .btn-small:hover{color:#064bcf}
body.light-mode .skill-row span{color:#27354a;border-color:rgba(19,43,75,.18)}
body.light-mode .footer{
  background:linear-gradient(135deg,#e7ebef,#f5f6f7 55%,#e2e6ea);
  border-top-color:rgba(19,43,75,.2);
}
body.light-mode .footer-links{color:#3f4b5d}
body.light-mode .footer-copy{color:#46546a}
body.light-mode .empty-state p{color:#354256}
body.light-mode .stat-label,
body.light-mode .stat-card small{color:#435066}
body.light-mode .stat-card strong{color:#050a12}
body.light-mode .command-hint{background:rgba(220,230,242,.92);color:#334155;border-color:rgba(19,43,75,.18)}
body.light-mode .float-btn{background:rgba(220,230,242,.94);color:#064bcf;border-color:rgba(19,43,75,.2)}
body.light-mode .menu-toggle{background:rgba(220,230,242,.94);color:#064bcf;border-color:rgba(19,43,75,.2)}
body.light-mode .modal-card,
body.light-mode .command-modal{background:#e7eef7;border-color:rgba(19,43,75,.2);color:#080d16}
body.light-mode .modal-close,
body.light-mode .command-close{color:#435066}
body.light-mode #postForm input,
body.light-mode #postForm textarea,
body.light-mode #postForm select,
body.light-mode .command-search{background:#dce6f2;color:#080d16;border-color:rgba(19,43,75,.2)}
body.light-mode .command-search input{color:#080d16}


body.light-mode .hero-terminal{
  background:linear-gradient(145deg,#172235 0%,#0f1828 100%);
  border-color:rgba(23,105,255,.45);
  box-shadow:0 22px 60px rgba(15,32,58,.22),0 0 0 1px rgba(255,255,255,.04) inset;
}
body.light-mode .hero-terminal .terminal-head{
  border-bottom-color:rgba(255,255,255,.10);
}
body.light-mode .hero-terminal .terminal-head small,
body.light-mode .hero-terminal .terminal-head b{
  color:#a9b7ca;
}
body.light-mode .hero-terminal .terminal-output{
  color:#f3f7ff;
  text-shadow:0 0 10px rgba(255,255,255,.06);
}
body.light-mode .hero-terminal .terminal-output.online{color:#69e6a2}
body.light-mode .hero-terminal .terminal-cursor{color:#62d9ff}
body.light-mode .hero-terminal .yellow{color:#62d9ff}
body.light-mode .type-line{color:#0b1220;font-weight:800}
body.light-mode .hero-text{color:#172235}
body.light-mode .hero-text b{color:#050a12}
body.light-mode h1 strong{color:#ffd21a!important;}


body.light-mode .hero-terminal{
  background:linear-gradient(145deg,#dce8f6,#eef3f8 58%,#d6e2f0);
  border-color:rgba(11,92,255,.30);
  box-shadow:0 22px 55px rgba(24,55,95,.16), inset 0 1px 0 rgba(255,255,255,.75);
}
body.light-mode .hero-terminal .terminal-head{
  border-bottom-color:rgba(19,43,75,.18);
}
body.light-mode .hero-terminal .terminal-head small,
body.light-mode .hero-terminal .terminal-head b{
  color:#263447;
}
body.light-mode .hero-terminal .terminal-body{
  background:rgba(255,255,255,.30);
  border-color:rgba(19,43,75,.16);
}
body.light-mode .hero-terminal .yellow{
  color:#f97316 !important;
  font-weight:900;
}
body.light-mode .hero-terminal .terminal-output{
  color:#050a12 !important;
  font-weight:800;
}
body.light-mode .hero-terminal .terminal-output.online{
  color:#075b32 !important;
}
body.light-mode .hero-terminal .terminal-cursor{
  color:#f97316 !important;
}

.nav-overlay{
  display:none;
}
@media(max-width:760px){
  .nav-overlay{
    position:fixed;
    inset:0;
    z-index:39;
    background:rgba(0,0,0,.52);
    backdrop-filter:blur(2px);
  }
  .nav-overlay.open{display:block}
  .sidebar{z-index:40}
  .menu-toggle{z-index:80}
}

.article-card .modal-download{
  position:absolute;
  right:62px;
  top:12px;
  z-index:6;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  background:rgba(5,6,8,.82);
  border:1px solid var(--line);
  color:#fff;
  font:700 21px/1 Arial,sans-serif;
  text-decoration:none;
  transition:.2s ease;
}
.article-card .modal-download:hover{
  border-color:var(--yellow);
  color:var(--yellow);
  transform:translateY(-1px);
}
.article-card .modal-download[hidden]{display:none}
@media(max-width:700px){
  .article-card .modal-download{
    right:58px;
    top:10px;
  }
}

@media(max-width:600px){
  #blog-entry-splash .splash-inner{
    width:98vw;
    max-width:98vw;
    overflow:visible;
  }
  #blog-entry-splash .splash-title{
    font-size:clamp(11px,4.35vw,25px);
    letter-spacing:0;
    padding-right:4px;
    max-width:98vw;
  }
}
@media(max-width:360px){
  #blog-entry-splash .splash-title{
    font-size:clamp(10px,4.05vw,15px);
    letter-spacing:-.01em;
    padding-right:3px;
  }
}

body.light-mode .article-card .modal-download{
  background:rgba(220,230,242,.94);
  color:#064bcf;
  border-color:rgba(19,43,75,.2);
}
body.light-mode .article-card .modal-download:hover{
  color:#064bcf;
  border-color:#064bcf;
}


body.light-mode .article-card{
  background:#ffffff;
  color:#0b1220;
  border-color:rgba(19,43,75,.18);
}
body.light-mode .article-content h2{
  color:#0b1220;
}
body.light-mode .article-meta{
  color:#4d5a6d;
}
body.light-mode .article-body{
  color:#111827;
}
body.light-mode .article-body p{
  color:#111827;
}
body.light-mode .article-body a{
  color:#064bcf;
}
body.light-mode .article-image-wrap{
  background:#e9eef5;
}

body.light-mode .article-card .modal-download,
body.light-mode .article-card .modal-close{
  background:rgba(255,255,255,.97);
  border:1px solid rgba(11,18,32,.20);
  color:#0b1220;
  box-shadow:0 5px 18px rgba(15,32,58,.16), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter:blur(8px);
}
body.light-mode .article-card .modal-download{
  border-radius:12px;
  font-size:22px;
  font-weight:900;
}
body.light-mode .article-card .modal-close{
  width:40px;
  height:40px;
  right:12px;
  top:12px;
  display:grid;
  place-items:center;
  padding:0;
  border-radius:12px;
  font-size:28px;
  line-height:1;
  font-weight:800;
  cursor:pointer;
}
body.light-mode .article-card .modal-download:hover{
  background:#eaf2ff;
  border-color:#1769ff;
  color:#0756d6;
  box-shadow:0 7px 20px rgba(23,105,255,.20);
  transform:translateY(-1px) scale(1.02);
}
body.light-mode .article-card .modal-close:hover{
  background:#fff0f0;
  border-color:#dc2626;
  color:#b91c1c;
  box-shadow:0 7px 20px rgba(185,28,28,.16);
  transform:translateY(-1px) scale(1.02);
}
body.light-mode .article-card .modal-download:focus-visible,
body.light-mode .article-card .modal-close:focus-visible{
  outline:3px solid rgba(23,105,255,.28);
  outline-offset:2px;
}
@media(max-width:700px){
  body.light-mode .article-card .modal-download,
  body.light-mode .article-card .modal-close{
    width:38px;
    height:38px;
    border-radius:11px;
  }
  body.light-mode .article-card .modal-download{right:58px;top:10px;}
  body.light-mode .article-card .modal-close{right:10px;top:10px;}
}

.footer{position:relative;border:1px solid var(--line);margin:0 auto 24px;padding:34px 36px 26px;background:rgba(8,12,18,.035);box-shadow:0 14px 40px rgba(0,0,0,.08)}
.footer:before{content:'zohil@rahimzai:~$ footer';display:block;margin-bottom:24px;color:var(--yellow);font:700 10px Rajdhani,monospace;letter-spacing:1.2px}
.footer-logo{font-family:Rajdhani,monospace;font-size:26px;letter-spacing:1px;color:var(--text)}
.footer-logo span{color:var(--yellow)}
.footer p{font-family:Rajdhani,monospace;color:var(--muted);font-size:15px}
.footer-email{display:inline-block;margin-top:10px;color:var(--blue);font:600 14px Rajdhani,monospace;text-decoration:none}
.footer-email:before{content:'$ mail ';color:var(--muted)}
.footer-links{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font:700 11px Rajdhani,monospace;letter-spacing:1px}
.footer-links a{border:1px solid var(--line);padding:8px 11px;color:var(--muted);text-decoration:none;background:rgba(255,255,255,.025)}
.footer-links a:before{content:'$ ';color:var(--yellow)}
.footer-links a:hover{color:var(--text);border-color:var(--blue);background:rgba(11,92,255,.07)}
.footer-copy{font-family:Rajdhani,monospace}
@media(max-width:760px){.footer{margin:0 12px 18px;padding:28px 22px 22px}.footer:before{font-size:9px}.footer-links{gap:7px}}


body.light-mode .system-terminal-body .sys-prompt,
body.light-mode .system-terminal-body .sys-key,
body.light-mode .system-terminal-body .sys-dim,
body.light-mode .system-terminal-body .type-line,
body.light-mode .system-terminal-body .type-cursor,
body.light-mode .system-terminal-body,
body.light-mode .system-terminal-body .sys-prompt,
body.light-mode .system-terminal-body div {
  color: #000 !important;
  text-shadow: none !important;
}

body.light-mode .system-terminal-body .sys-online {
  color: #16a34a !important;
  text-shadow: 0 0 8px rgba(22,163,74,.18) !important;
}

body.light-mode .system-terminal .terminal-head #terminalMode,
body.light-mode .system-stats .live-value {
  color: #16a34a !important;
  text-shadow: 0 0 8px rgba(22,163,74,.18) !important;
}

body.light-mode .system-terminal-body .sys-prompt,
body.light-mode .system-terminal-body .sys-key {
  font-weight: 800;
}

body.light-mode .hero-terminal .terminal-output,
body.light-mode .terminal-output,
body.light-mode .hero-terminal .terminal-output.online {
  color: #000 !important;
}
