/* Khemra – Neon hacker vibe portfolio (no contact section) */
:root{
  --bg:#05060b;
  --fg:#e6eaf1;
  --muted:#8b97a7;
  --brand:#8a2be2;       /* neon purple */
  --brand2:#00e5ff;      /* cyan */
  --accent:#ff2e97;      /* hot pink */
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: radial-gradient(1200px 800px at 70% -10%, rgba(138,43,226,.25), transparent 60%),
              radial-gradient(800px 600px at 10% 120%, rgba(0,229,255,.20), transparent 60%),
              var(--bg);
  color:var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial;
  overflow-x:hidden;
}

/* Subtle scanline/glow */
body:before{
  content:"";
  position:fixed;inset:0;
  background: repeating-linear-gradient(transparent 0 2px, rgba(255,255,255,.03) 2px 3px);
  pointer-events:none;
  mix-blend-mode:soft-light;
}

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

nav{
  position:sticky;top:0;z-index:40;
  backdrop-filter: blur(8px);
  background: linear-gradient( to bottom, rgba(5,6,11,.8), rgba(5,6,11,.35));
  border-bottom:1px solid rgba(255,255,255,.05);
}

.brand{
  display:flex;gap:12px;align-items:center;
}
.brand img{width:44px;height:44px;object-fit:cover;border-radius:10px;box-shadow:0 0 24px rgba(138,43,226,.35)}
.brand h1{
  font-size:20px;margin:0;
  letter-spacing:.6px;
  background: linear-gradient(90deg,var(--brand),var(--brand2),var(--accent));
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter: drop-shadow(0 0 20px rgba(138,43,226,.35));
}

.hero{
  display:grid;grid-template-columns: 1.1fr .9fr;gap:34px;
  align-items:center; padding:42px 0 22px;
}
@media (max-width:900px){ .hero{grid-template-columns:1fr; padding-top:28px;} }

.title{
  font-size:clamp(34px,6vw,56px); line-height:1.04; margin:0 0 14px 0;
  font-weight:800;
  background: linear-gradient(90deg,var(--brand) 0%, var(--brand2) 40%, var(--accent) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.subtitle{color:var(--muted); font-size:clamp(14px,2.4vw,17px); max-width:65ch}

.cta-row{display:flex;flex-wrap:wrap; gap:12px; margin-top:24px}
.btn{
  padding:12px 18px; border-radius:12px; text-decoration:none; color:var(--fg);
  border:1px solid rgba(255,255,255,.1);
  transition:all .2s ease; position:relative; overflow:hidden;
}
.btn:hover{transform:translateY(-2px); box-shadow:0 10px 26px rgba(0,229,255,.14)}

.btn.primary{
  background:linear-gradient(90deg,rgba(138,43,226,.9),rgba(0,229,255,.9));
  border:none;
}
.btn.ghost{background:rgba(255,255,255,.04)}

.portrait{
  aspect-ratio:1/1; border-radius:22px; overflow:hidden;
  position:relative; border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03), 0 24px 60px rgba(138,43,226,.15);
}
.portrait img{width:100%; height:100%; object-fit:cover; filter:contrast(1.05) saturate(1.25)}
.pulse{
  position:absolute; inset:-2px; border-radius:24px; pointer-events:none;
  background: radial-gradient(350px 200px at 35% 10%, rgba(255,46,151,.25), transparent 60%),
              radial-gradient(300px 300px at 90% 70%, rgba(0,229,255,.20), transparent 60%);
  animation:floatGlow 6s ease-in-out infinite alternate;
}
@keyframes floatGlow{ from{transform:translateY(0)} to{transform:translateY(6px)} }

.section{padding:40px 0 14px}
.grid{display:grid; gap:18px; grid-template-columns: repeat(3, 1fr)}
@media (max-width:900px){ .grid{grid-template-columns:1fr 1fr} }
@media (max-width:600px){ .grid{grid-template-columns:1fr} }

.card{
  padding:18px;border:1px solid rgba(255,255,255,.08); border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  backdrop-filter: blur(4px);
  transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow:0 14px 34px rgba(138,43,226,.18) }
.card h3{margin:0 0 6px 0; font-size:18px}
.card p{margin:0;color:var(--muted)}

.socials{display:flex; gap:14px; margin-top:12px}
.icon{
  width:40px;height:40px; display:grid; place-items:center; border-radius:12px;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.icon:hover{ transform: translateY(-3px); background:rgba(255,255,255,.08); box-shadow:0 12px 28px rgba(0,229,255,.16) }
.icon svg{width:22px;height:22px; fill:var(--fg)}

.footer{color:var(--muted); font-size:12px; padding:24px 0 40px; text-align:center; opacity:.75}
.glow{ text-shadow:0 0 18px rgba(0,229,255,.6), 0 0 28px rgba(138,43,226,.5) }