:root{
  --bg-1:#030712;
  --glass-bg: rgba(255,255,255,0.04);
  --accent-1:#6a00f4;
  --accent-2:#6ee7ff;
  --muted:rgba(255,255,255,0.7);
  --radius:14px;
  --glass-border: rgba(255,255,255,0.06);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,Segoe UI,Roboto,'Helvetica Neue',Arial;
  background: radial-gradient(1000px 600px at 10% 10%, rgba(106,0,244,0.08), transparent), radial-gradient(800px 500px at 90% 90%, rgba(110,231,255,0.06), transparent), var(--bg-1);
  color:#e9f0ff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
  cursor:none; /* custom cursor */
}

#bg-anim{position:fixed;inset:0;z-index:0;pointer-events:none;background:transparent;mix-blend-mode:screen}

.container{position:relative;z-index:1;max-width:1100px;margin:6rem auto;padding:2rem}
.topbar{position:fixed;top:18px;left:50%;transform:translateX(-50%);width:calc(100% - 40px);max-width:1100px;display:flex;justify-content:space-between;align-items:center;padding:10px 18px;z-index:5}
.logo{font-weight:700;letter-spacing:0.6px}
.nav a{color:var(--muted);text-decoration:none;margin-left:18px;font-weight:600}

.hero{display:flex;align-items:center;justify-content:space-between;gap:2rem;min-height:62vh}
.hero-card{flex:1;max-width:640px;padding:36px;border-radius:var(--radius)}
.hero-card h1{margin:0 0 10px 0;font-size:36px}
.lead{color:rgba(233,240,255,0.85);margin-bottom:20px}
.neon{color:var(--accent-2);text-shadow:0 0 10px rgba(110,231,255,0.25),0 0 30px rgba(106,0,244,0.12)}
.cta{display:flex;gap:12px}
.btn{background:linear-gradient(90deg,var(--accent-1),var(--accent-2));color:#061220;padding:10px 14px;border-radius:10px;text-decoration:none;font-weight:700}
.btn.ghost{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--muted)}

.hero-fx{width:360px;height:360px;border-radius:50%;overflow:hidden;flex:0 0 360px;filter:blur(20px);opacity:0.9}

/* HUD overlay inspired decorations */
.hud{position:fixed;inset:0;pointer-events:none;z-index:3}
.hud-panel.hud-left{position:fixed;left:20px;top:80px;width:180px;padding:12px;border-radius:10px;pointer-events:none}
.hud-panel .hud-title{font-size:11px;color:var(--accent-2);letter-spacing:1px;margin-bottom:8px}
.hud-panel .hud-item{font-size:13px;color:rgba(233,240,255,0.85);display:flex;justify-content:space-between;padding:6px 0;border-top:1px dashed rgba(255,255,255,0.02)}
.hud-panel .hud-item:first-of-type{border-top:0;padding-top:0}
.hud-val{color:var(--accent-2);font-weight:700}

.hud-ring{position:fixed;right:28px;top:110px;width:120px;height:120px;opacity:0.95;filter:drop-shadow(0 8px 30px rgba(106,0,244,0.06));pointer-events:none}
.hud-ring .ring{transition:stroke-dashoffset .8s cubic-bezier(.2,.9,.3,1)}
.hud-ring .ring-label{fill:rgba(233,240,255,0.65);font-size:11px;font-weight:700;letter-spacing:1px}

.hud-bottom{position:fixed;left:50%;transform:translateX(-50%);bottom:22px;width:420px;pointer-events:none}
.hud-bar{display:flex;gap:8px;padding:10px;border-radius:12px;align-items:center;justify-content:space-between}
.hud-bar .seg{flex:1;height:8px;border-radius:6px;background:linear-gradient(90deg,rgba(110,231,255,0.08),rgba(106,0,244,0.04));box-shadow:inset 0 -2px 8px rgba(0,0,0,0.25)}
.hud-bar .seg-1{width:22%}
.hud-bar .seg-2{width:28%}
.hud-bar .seg-3{width:18%}
.hud-bar .seg-4{width:30%}

/* small responsive adjustments to keep HUD unobtrusive */
@media (max-width:860px){
  .hud-panel.hud-left{display:none}
  .hud-ring{right:12px;top:90px;opacity:0.85}
  .hud-bottom{width:300px}
}

/* Extra HUD widgets styles */
.hud-extras{position:fixed;inset:0;pointer-events:none;z-index:4}
.mini-radar{position:fixed;left:20px;top:18px;width:120px;height:120px;border-radius:10px;padding:8px;display:flex;align-items:flex-end;justify-content:center}
.mini-radar .radar-label{position:absolute;left:12px;bottom:10px;font-size:11px;color:var(--accent-2);letter-spacing:1px}
.stack-panels{position:fixed;right:20px;top:20px;display:flex;flex-direction:column;gap:8px}
.stack-panels .panel{padding:8px 12px;border-radius:8px;font-size:12px;color:var(--muted);min-width:86px;text-align:center}
.stack-panels .panel.small{opacity:0.9}
.left-bars{position:fixed;left:8px;top:180px;display:flex;flex-direction:column;gap:8px;height:200px}
.left-bars .bar{display:block;width:6px;border-radius:3px;background:linear-gradient(180deg,var(--accent-2),var(--accent-1));opacity:0.14}
.left-bars .b1{height:60px}
.left-bars .b2{height:40px;opacity:0.12}
.left-bars .b3{height:90px;opacity:0.08}

/* small visual touches */
.panel:hover{transform:translateY(-4px);box-shadow:0 20px 50px rgba(2,6,23,0.5)}

@media (max-width:860px){
  .mini-radar{display:none}
  .stack-panels{right:8px;top:10px}
}

.section{margin-top:64px}
.section-title{font-size:20px;margin:0 0 18px 0;color:var(--accent-2)}

.grid{display:grid;gap:18px}
.about-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.projects-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}

.card{padding:18px;border-radius:12px}
.glass{background:var(--glass-bg);border:1px solid var(--glass-border);backdrop-filter: blur(8px);box-shadow:0 6px 30px rgba(2,6,23,0.6)}

.project{display:flex;flex-direction:column;overflow:hidden}
.thumb{height:140px;border-radius:10px;background-size:cover;background-position:center;position:relative;margin-bottom:12px}
.label{position:absolute;right:10px;top:10px;background:rgba(0,0,0,0.24);padding:6px 8px;border-radius:8px;font-size:12px}
.p-body h3{margin:0 0 6px}
.link{color:var(--accent-2);text-decoration:none;font-weight:600}

.skills-list{display:flex;flex-wrap:wrap;gap:12px;padding:12px}
.skills-list span{background:linear-gradient(90deg,rgba(255,255,255,0.03),rgba(255,255,255,0.01));padding:8px 12px;border-radius:999px;font-weight:600}

.contact-card{display:flex;flex-direction:column;gap:12px;align-items:flex-start}

.footer{position:fixed;left:50%;transform:translateX(-50%);bottom:12px;width:calc(100% - 40px);max-width:1100px;display:flex;justify-content:space-between;align-items:center;color:rgba(233,240,255,0.6);z-index:5}
.socials a{color:var(--muted);margin-left:12px;text-decoration:none}

#cursor{position:fixed;pointer-events:none;z-index:9999;left:0;top:0;width:28px;height:28px;border-radius:50%;transform:translate(-50%,-50%);mix-blend-mode:screen;transition:transform 0.12s ease, width .12s ease, height .12s ease}
#cursor::before{content:"";position:absolute;inset:0;border-radius:50%;background:linear-gradient(90deg,var(--accent-2),var(--accent-1));filter:blur(8px);opacity:0.95}

@media (max-width:860px){
  .hero{flex-direction:column;align-items:flex-start}
  .hero-fx{width:260px;height:260px}
  .container{margin:4rem auto;padding:1.2rem}
}

@media (prefers-reduced-motion: reduce){
  *{transition:none!important}
}

/* Subtle entrance animations for revealed elements */
.reveal{opacity:0;transform:translateY(10px);transition:transform .6s cubic-bezier(.16,.84,.44,1),opacity .6s}
.reveal.visible{opacity:1;transform:none}
