/* ═══════════════════════════════════════════════════
   NISHCHIT GURUNG — ULTIMATE PORTFOLIO
   iPhone 14 Pro Max Deep Purple · Cinematic Luxury
   Bebas Neue · Barlow Condensed · Outfit · JetBrains
   ═══════════════════════════════════════════════════ */

:root {
  --ink:      #06000e;
  --ink2:     #0d0020;
  --ink3:     #160035;
  --v900:     #1a0035;
  --v800:     #2e0060;
  --v700:     #4c1d95;
  --v600:     #6d28d9;
  --v500:     #7c3aed;
  --v400:     #8b5cf6;
  --v300:     #a78bfa;
  --v200:     #c4b5fd;
  --v100:     #ede9fe;
  --fuch:     #e879f9;
  --silver:   #c8b8e8;
  --white:    #f5f0ff;
  --tx:       #ede9fe;
  --txm:      #a78bfa;
  --txd:      #6d4fa0;
  --bord:     rgba(139,92,246,.1);
  --bordm:    rgba(139,92,246,.22);
  --bordh:    rgba(139,92,246,.55);
  --gsm:      0 0 20px rgba(124,58,237,.4);
  --gmd:      0 0 50px rgba(124,58,237,.45);
  --glg:      0 0 100px rgba(124,58,237,.3);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background: var(--ink);
  color: var(--tx);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}
body.is-loading { overflow: hidden; }
em  { font-style: normal; }
strong { color: var(--v300); font-weight: 500; }
a { text-decoration: none; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* ─── SCROLL PROGRESS ─── */
.sprog {
  position: fixed; top: 0; left: 0; z-index: 2000;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--v500), var(--fuch), var(--v300));
  box-shadow: 0 0 10px var(--v400);
  transition: width .1s linear;
}

/* ─── CANVAS ─── */
#bgC {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: .55;
}

/* ─── GRAIN ─── */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
  opacity: .4;
}

/* ─── CURSOR ─── */
.cdot {
  position: fixed; z-index: 10001; pointer-events: none;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--v400);
  box-shadow: 0 0 12px var(--v400), 0 0 28px var(--v400);
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, background .2s;
}
.cring {
  position: fixed; z-index: 10000; pointer-events: none;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(139,92,246,.45);
  box-shadow: 0 0 16px rgba(139,92,246,.1) inset;
  transform: translate(-50%,-50%);
  transition: left .12s ease-out, top .12s ease-out, width .3s, height .3s, border-color .3s;
}
body:has(a:hover) .cdot,
body:has(button:hover) .cdot { width: 16px; height: 16px; background: var(--fuch); box-shadow: 0 0 20px var(--fuch); }
body:has(a:hover) .cring,
body:has(button:hover) .cring { width: 60px; height: 60px; border-color: rgba(232,121,249,.5); }

/* ─── ORBS ─── */
.orb {
  position: fixed; border-radius: 50%;
  filter: blur(120px); pointer-events: none; z-index: 0;
  will-change: transform;
}
.o1 { width: 700px; height: 700px; background: radial-gradient(circle, rgba(109,40,217,.22), transparent 70%); top: -200px; right: -150px; }
.o2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(76,29,149,.18), transparent 70%); bottom: 20%; left: -100px; }
.o3 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(124,58,237,.14), transparent 70%); top: 45%; right: 18%; }
.o4 { width: 450px; height: 450px; background: radial-gradient(circle, rgba(232,121,249,.08), transparent 70%); bottom: 0; left: 30%; }

/* ─── PRELOADER ─── */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: #04000a;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  overflow: hidden;
}
.pre-logo svg { width: 140px; height: 60px; }
.pre-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawPath 1.2s cubic-bezier(.4,0,.2,1) .2s both;
}
.pre-dot {
  opacity: 0;
  animation: popDot .3s ease 1.3s both;
}
@keyframes drawPath { to { stroke-dashoffset: 0; } }
@keyframes popDot   { to { opacity: 1; } }
.pre-track {
  width: 240px; height: 2px;
  background: rgba(139,92,246,.15); border-radius: 2px;
  overflow: hidden;
}
.pre-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--v500), var(--fuch));
  box-shadow: 0 0 10px var(--v400);
  transition: width .05s linear;
}
.pre-num {
  font-size: .72rem; color: var(--txd);
  letter-spacing: .15em; min-width: 50px; text-align: center;
}
.pre-cut {
  position: absolute; left: 0; right: 0; height: 50%;
  background: #04000a;
  transition: transform .7s cubic-bezier(.76,0,.24,1) .1s;
}
.pre-cut-t { top: 0; transform: translateY(0); }
.pre-cut-b { bottom: 0; transform: translateY(0); }
#preloader.done .pre-cut-t { transform: translateY(-100%); }
#preloader.done .pre-cut-b { transform: translateY(100%); }

/* ─── NAV ─── */
nav#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.3rem 0;
  transition: background .4s, padding .35s, box-shadow .4s;
}
nav#nav.stuck {
  background: rgba(6,0,14,.84);
  backdrop-filter: blur(28px);
  padding: .9rem 0;
  box-shadow: 0 1px 0 var(--bord);
}
.nw {
  width: min(90%, 1100px); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nlogo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; letter-spacing: .04em;
  color: var(--white); line-height: 1;
}
.nlogo span { color: var(--v400); }
.nmenu {
  display: flex; list-style: none; align-items: center; gap: 2.5rem;
}
.nmenu a {
  font-family: 'Outfit', sans-serif;
  font-size: .875rem; font-weight: 500;
  color: var(--txm); letter-spacing: .03em;
  position: relative; transition: color .25s;
}
.nmenu a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--v400); transition: width .3s;
}
.nmenu a:hover { color: var(--white); }
.nmenu a:hover::after { width: 100%; }
.ncta {
  background: var(--v600) !important; color: #fff !important;
  padding: .55rem 1.4rem; border-radius: 9px;
  font-weight: 600 !important;
  box-shadow: 0 0 24px rgba(109,40,217,.45);
  transition: background .25s, box-shadow .25s, transform .2s !important;
}
.ncta:hover { background: var(--v500) !important; box-shadow: 0 0 40px rgba(124,58,237,.65) !important; transform: translateY(-1px) !important; }
.ncta::after { display: none !important; }
.nburg {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 6px;
}
.nburg span { display: block; width: 24px; height: 2px; background: var(--txm); border-radius: 2px; transition: .3s; }
.nburg.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nburg.open span:nth-child(2) { opacity: 0; }
.nburg.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px min(5%, max(5%, calc((100vw - 1100px)/2))) 80px;
  overflow: hidden;
}
.hero-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(76,29,149,.3) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(46,0,96,.25) 0%, transparent 60%),
    radial-gradient(ellipse 80% 30% at 50% 0%, rgba(22,0,53,.4) 0%, transparent 60%);
  z-index: 0;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(139,92,246,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 25%, transparent 100%);
}
.code-ghost {
  position: absolute; z-index: 0; pointer-events: none;
  font-size: .72rem; color: rgba(139,92,246,.1);
  letter-spacing: .08em; white-space: nowrap;
}
.cg1 { top: 20%; left: 4%; }
.cg2 { top: 68%; left: 6%; }
.cg3 { top: 82%; right: 4%; }

.hero-body {
  position: relative; z-index: 1;
  width: 100%; display: flex;
  align-items: center; gap: 3rem;
}
.hero-left { flex: 1; max-width: 600px; }

/* Availability */
.hero-avail {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 2rem;
  animation: fadeUp .8s ease both;
}
.av-ring {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid rgba(74,222,128,.4);
  animation: ringPulse 2s infinite;
}
.av-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.5);
  animation: dotPulse 2s infinite;
  margin-left: -20px; /* overlap ring */
}
@keyframes ringPulse { 0%,100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.3); opacity: .2; } }
@keyframes dotPulse  { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } }
.hero-avail span, .av-sep { font-size: .72rem; color: var(--txd); letter-spacing: .08em; }
.hero-avail > span:nth-child(3) { color: #4ade80; font-weight: 600; }
.av-sep { color: var(--txd); }

/* Hero Name */
.hero-name {
  display: flex; flex-direction: column;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 12.5vw, 10rem);
  line-height: .9; letter-spacing: .01em;
  margin-bottom: 2rem;
  animation: fadeUp .9s .1s ease both;
}
.hn1 {
  background: linear-gradient(110deg, var(--v200) 0%, var(--white) 40%, var(--v300) 80%, var(--fuch) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmerText 6s linear infinite, fadeUp .9s .1s ease both;
}
@keyframes shimmerText { to { background-position: 200% center; } }
.hn2 {
  -webkit-text-stroke: 1.5px rgba(139,92,246,.4);
  color: transparent;
  transition: color .3s, -webkit-text-stroke .3s;
}
.hero-name:hover .hn2 { color: var(--v300); -webkit-text-stroke: 1.5px var(--v400); }

/* Role pills */
.hero-roles {
  display: flex; flex-wrap: wrap; gap: .7rem;
  margin-bottom: 1.6rem;
  animation: fadeUp .9s .2s ease both;
}
.rpill {
  background: rgba(124,58,237,.1); border: 1px solid var(--bordm);
  border-radius: 6px; padding: .35rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: .82rem; font-weight: 500; color: var(--v300);
  letter-spacing: .04em;
}
.rsl { color: var(--v500); margin-right: .4rem; font-weight: 700; }

/* Bio */
.hero-bio {
  font-size: 1.05rem; color: var(--txm); line-height: 1.9;
  max-width: 500px; margin-bottom: 2.5rem;
  animation: fadeUp .9s .3s ease both;
}
.hero-bio em { color: var(--v300); font-weight: 500; }

/* Buttons */
.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeUp .9s .4s ease both;
}
.hbtn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1rem 2rem; border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: .95rem;
  transition: transform .2s, box-shadow .3s;
}
.hbtn-p { box-shadow: 0 0 35px rgba(124,58,237,.45), inset 0 1px 0 rgba(255,255,255,.1); color: #fff; }
.hbtn-p .hbtn-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--v600), var(--v500)); z-index: -1; transition: opacity .3s; }
.hbtn-p::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--v500), var(--v400)); opacity: 0; transition: opacity .3s; }
.hbtn-p:hover { transform: translateY(-2px); box-shadow: 0 0 55px rgba(124,58,237,.7), inset 0 1px 0 rgba(255,255,255,.15); }
.hbtn-p:hover::after { opacity: 1; }
.hbtn-p span:last-child { position: relative; z-index: 1; }
.hbtn-g { border: 1px solid var(--bordm); color: var(--txm); backdrop-filter: blur(8px); }
.hbtn-g .hbtn-bg { position: absolute; inset: 0; background: rgba(124,58,237,.08); opacity: 0; transition: opacity .3s; }
.hbtn-g:hover .hbtn-bg { opacity: 1; }
.hbtn-g:hover { border-color: var(--v400); color: var(--v300); box-shadow: var(--gsm); transform: translateY(-2px); }
.hbtn-g span:last-child { position: relative; z-index: 1; }
.hbtn .fas.fa-arrow-right { transition: transform .25s; }
.hbtn:hover .fas.fa-arrow-right { transform: translateX(4px); }

/* Stats */
.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  padding-top: 2.5rem; border-top: 1px solid var(--bord);
  animation: fadeUp .9s .5s ease both;
}
.hst { text-align: left; }
.hsn {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem; line-height: 1; color: var(--v400);
  letter-spacing: .02em;
}
.hss { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--v600); }
.hsl { display: block; font-size: .68rem; color: var(--txd); text-transform: uppercase; letter-spacing: .12em; margin-top: .25rem; font-family: 'JetBrains Mono', monospace; }
.hsdiv { width: 1px; height: 44px; background: var(--bordm); }

/* Photo */
.hero-right { flex-shrink: 0; width: clamp(240px, 28vw, 390px); position: relative; }
.phx { position: relative; display: flex; align-items: center; justify-content: center; }
.ph-ring {
  position: absolute; border-radius: 50%; border-style: solid;
  pointer-events: none;
}
.phr1 { inset: -25px; border-width: 1px; border-color: rgba(139,92,246,.3); animation: ringSpin 28s linear infinite; }
.phr2 { inset: -10px; border-width: 1px; border-color: rgba(139,92,246,.15); border-style: dashed; animation: ringSpin 20s linear infinite reverse; }
.phr3 { inset: 12px; border-width: 1px; border-color: rgba(232,121,249,.12); animation: ringSpin 14s linear infinite; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.ph-glow {
  position: absolute; inset: -30px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.3) 0%, transparent 68%);
  filter: blur(30px); animation: glowBreath 4s ease-in-out infinite;
}
@keyframes glowBreath { 0%,100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.ph-frame {
  position: relative; border-radius: 50%;
  overflow: hidden; width: 100%; aspect-ratio: 1;
  border: 2px solid var(--bordm);
  box-shadow: 0 0 60px rgba(124,58,237,.35), 0 40px 90px rgba(0,0,0,.7);
}
.ph-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; filter: saturate(.9) contrast(1.05); }
.ph-shim { position: absolute; inset: 0; background: linear-gradient(135deg, transparent 55%, rgba(139,92,246,.12) 100%); }

/* Orbit badges */
.ob {
  position: absolute;
  background: rgba(13,0,32,.85); backdrop-filter: blur(14px);
  border: 1px solid var(--bordm); border-radius: 50px;
  padding: .45rem 1rem;
  font-size: .76rem; font-weight: 600; color: var(--v300);
  font-family: 'Outfit', sans-serif;
  display: flex; align-items: center; gap: .4rem;
  box-shadow: var(--gsm); white-space: nowrap;
  animation: obFloat 4s ease-in-out infinite;
}
.ob i { color: var(--v400); }
.ob1 { top: 8%;  left: -14%; animation-delay: 0s; }
.ob2 { top: 52%; right: -12%; animation-delay: -1.4s; }
.ob3 { bottom: 12%; left: -8%; animation-delay: -2.8s; }
.ob4 { bottom: 38%; right: -14%; animation-delay: -1s; }
@keyframes obFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Scroll hint */
.hero-scr {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  z-index: 1; animation: fadeUp .9s .8s ease both;
}
.scr-mse {
  width: 24px; height: 40px; border-radius: 12px;
  border: 1px solid var(--bordm);
  position: relative; overflow: hidden;
}
.scr-whl {
  position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--v400);
  animation: scrollWhl 2s ease-in-out infinite;
}
@keyframes scrollWhl { 0% { top:5px; opacity:1; } 80% { top:22px; opacity:0; } 100% { top:5px; opacity:0; } }
.hero-scr .mono { font-size: .62rem; letter-spacing: .2em; color: var(--txd); }

@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }

/* ─── MARQUEE ─── */
.mqbar {
  position: relative; z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord);
  background: linear-gradient(90deg, var(--ink2), var(--ink3), var(--ink2));
  padding: 1.1rem 0;
}
.mqtrack {
  display: flex; align-items: center; gap: 2rem;
  white-space: nowrap; width: max-content;
  animation: mq 32s linear infinite;
}
.mqtrack span {
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--txm);
}
.mqtrack b { color: var(--v500); font-size: .55rem; font-weight: 400; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SECTIONS SHARED ─── */
.sec {
  padding: 120px 0; position: relative; z-index: 1; overflow: hidden;
}
.about-sec { background: linear-gradient(180deg, var(--ink) 0%, var(--ink2) 100%); }
.exp-sec   { background: var(--ink2); }
.sk-sec    { background: linear-gradient(180deg, var(--ink2) 0%, var(--ink) 100%); }
.con { width: min(90%, 1100px); margin: 0 auto; position: relative; z-index: 1; }

.swm {
  position: absolute; top: 50%; left: -2%;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(180px, 20vw, 260px);
  line-height: 1; letter-spacing: .02em;
  color: rgba(124,58,237,.04);
  transform: translateY(-50%);
  pointer-events: none; user-select: none;
  z-index: 0;
}
.seyb {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
}
.si { color: var(--v500); font-size: .72rem; letter-spacing: .15em; }
.sr { flex: 0 0 40px; height: 1px; background: var(--bordm); }
.seyb .mono:last-child { color: var(--txd); font-size: .72rem; letter-spacing: .15em; }
.st {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: .02em; line-height: .95;
  margin-bottom: 4rem;
}
.st em {
  background: linear-gradient(110deg, var(--v300), var(--v400), var(--fuch));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmerText 5s linear infinite;
}
.sb { color: var(--txm); font-size: 1rem; line-height: 1.9; margin-bottom: 1.2rem; }

/* ─── REVEAL ─── */
.rv {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.rv.in { opacity: 1; transform: translateY(0); }
.rv:nth-child(2) { transition-delay: .12s; }
.rv:nth-child(3) { transition-delay: .24s; }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; align-items: start; }
.alink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .9rem;
  color: var(--v300); margin-top: 1.5rem;
  border-bottom: 1px solid rgba(163,122,250,.3); padding-bottom: 3px;
  transition: color .25s, border-color .25s;
}
.alink:hover { color: var(--white); border-color: var(--v300); }
.alink i { font-size: .8rem; transition: transform .25s; }
.alink:hover i { transform: translate(3px,-3px); }
.edu-card {
  position: relative; overflow: hidden;
  background: rgba(22,0,53,.5); backdrop-filter: blur(20px);
  border: 1px solid var(--bordm); border-radius: 24px;
  padding: 2.2rem; margin-bottom: 1.5rem;
  transition: border-color .3s, box-shadow .3s;
}
.edu-card:hover { border-color: var(--bordh); box-shadow: var(--gmd); }
.ecard-hdr { display: flex; align-items: center; gap: .6rem; color: var(--v400); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.2rem; }
.ecard-hdr i { font-size: 1rem; }
.ecard-hdr .mono { color: var(--v400); }
.etitle { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.05rem; line-height: 1.4; margin-bottom: .5rem; }
.einst  { color: var(--txm); font-size: .9rem; margin-bottom: .6rem; }
.eyr    { font-size: .72rem; color: var(--txd); letter-spacing: .08em; }
.ecard-glow { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(124,58,237,.07), transparent 60%); pointer-events: none; }
.mstats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ms {
  background: rgba(22,0,53,.4); backdrop-filter: blur(14px);
  border: 1px solid var(--bord); border-radius: 16px;
  padding: 1.6rem 1.4rem; text-align: center; cursor: default;
  position: relative; overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.ms:hover { border-color: var(--bordh); box-shadow: var(--gsm); }
.ms::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(124,58,237,.08), transparent 60%); pointer-events: none; }
.msn {
  font-family: 'Bebas Neue', sans-serif; font-size: 2.6rem; line-height: 1;
  background: linear-gradient(135deg, var(--v300), var(--v400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.mss { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; background: linear-gradient(135deg, var(--v300), var(--v400)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.msl { display: block; font-size: .68rem; color: var(--txd); text-transform: uppercase; letter-spacing: .1em; margin-top: .3rem; font-family: 'JetBrains Mono', monospace; }

/* ─── TIMELINE ─── */
.tl { position: relative; padding-left: 1.5rem; }
.tlsvg {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; height: 100%;
}
.tl-items { display: flex; flex-direction: column; gap: 2.5rem; }
.tli { position: relative; padding-left: 3rem; }
.tldot {
  position: absolute; left: -1.45rem; top: 2rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink2); border: 2px solid var(--bordm);
  transition: border-color .3s, box-shadow .3s;
}
.tldot-inner { position: absolute; inset: 2px; border-radius: 50%; background: var(--v700); }
.tldot-active {
  border-color: var(--v400);
  box-shadow: 0 0 0 4px rgba(139,92,246,.15), 0 0 16px rgba(124,58,237,.5);
  animation: activeDotPulse 2.5s ease-in-out infinite;
}
@keyframes activeDotPulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(139,92,246,.15), 0 0 16px rgba(124,58,237,.5); }
  50%      { box-shadow: 0 0 0 8px rgba(139,92,246,.05), 0 0 28px rgba(124,58,237,.75); }
}
.tldot-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  background: rgba(124,58,237,.2);
  animation: pulseRing 2.5s ease-out infinite;
}
@keyframes pulseRing { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.5); opacity: 0; } }
.tldot-inner { position: absolute; inset: 2px; border-radius: 50%; background: var(--v500); }

.tlcard {
  background: rgba(22,0,53,.5); backdrop-filter: blur(20px);
  border: 1px solid var(--bord); border-radius: 24px;
  padding: 2.5rem; position: relative; overflow: hidden;
  transition: border-color .35s, box-shadow .35s, transform .3s;
  cursor: default;
}
.tlcard:hover { border-color: var(--bordh); box-shadow: var(--gmd); }
.tlcg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(124,58,237,.08) 0%, transparent 60%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.tlcard:hover .tlcg { opacity: 1; }
.tlcnum { position: absolute; top: 1.5rem; right: 2rem; font-size: .68rem; color: var(--txd); letter-spacing: .15em; }
.tlctop { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .8rem; gap: 1rem; }
.tlctop h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: .03em; }
.tlco { font-size: .78rem; color: var(--v400); letter-spacing: .08em; }
.tlnow { background: rgba(74,222,128,.1); color: #4ade80; border: 1px solid rgba(74,222,128,.25); padding: .2rem .8rem; border-radius: 50px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; font-family: 'JetBrains Mono', monospace; white-space: nowrap; }
.tlyr { font-size: .68rem; color: var(--txd); letter-spacing: .08em; margin-bottom: 1rem; }
.tldc { color: var(--txm); font-size: .95rem; line-height: 1.8; margin-bottom: 1.5rem; }
.tltags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tltags span { background: rgba(124,58,237,.1); border: 1px solid var(--bordm); color: var(--v300); padding: .25rem .8rem; border-radius: 6px; font-size: .75rem; font-family: 'JetBrains Mono', monospace; letter-spacing: .04em; transition: background .2s, border-color .2s; }
.tltags span:hover { background: rgba(124,58,237,.2); border-color: var(--v400); }

/* ─── SKILLS ─── */
.sk-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.skc-lg { grid-column: span 1; }
.skc {
  background: rgba(22,0,53,.5); backdrop-filter: blur(20px);
  border: 1px solid var(--bord); border-radius: 24px;
  padding: 2.8rem; position: relative; overflow: hidden;
  transition: border-color .35s, box-shadow .35s, transform .3s;
  cursor: default;
}
.skc:hover { border-color: var(--bordh); box-shadow: var(--gmd); }
.skg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(124,58,237,.1) 0%, transparent 60%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.skc:hover .skg { opacity: 1; }
.sk-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.8rem; }
.skic { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--bordm); background: rgba(124,58,237,.12); }
.skic i { font-size: 1.5rem; color: var(--v400); transition: transform .3s; }
.skc:hover .skic i { transform: scale(1.12) rotate(-6deg); }
.skbg { position: absolute; bottom: 1.2rem; right: 1.8rem; font-size: 5.5rem; line-height: 1; color: rgba(124,58,237,.06); pointer-events: none; transition: color .35s; }
.skc:hover .skbg { color: rgba(124,58,237,.1); }
.skc h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: .03em; margin-bottom: .8rem; position: relative; z-index: 1; }
.skc p { color: var(--txm); font-size: .88rem; line-height: 1.75; margin-bottom: 1.8rem; position: relative; z-index: 1; }

/* Skill bars */
.sbars { display: flex; flex-direction: column; gap: .9rem; position: relative; z-index: 1; }
.sbr { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .5rem; }
.sbr > span:first-child { font-size: .78rem; color: var(--txm); letter-spacing: .03em; }
.sb { grid-column: 1; height: 3px; background: rgba(139,92,246,.12); border-radius: 2px; overflow: hidden; margin-top: .25rem; }
.sbf { height: 100%; width: 0; border-radius: 2px; background: linear-gradient(90deg, var(--v500), var(--fuch)); box-shadow: 0 0 8px rgba(124,58,237,.5); transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.sbr { display: flex; flex-direction: column; gap: .15rem; }
.sbr { flex-direction: row; flex-wrap: wrap; }
.sbr > span:first-child { width: 100%; }
.sb { flex: 1; }
.sbp { font-family: 'JetBrains Mono', monospace; font-size: .68rem; color: var(--v400); flex-shrink: 0; }

/* ─── FOOTER ─── */
.ft {
  position: relative; overflow: hidden;
  padding: 130px 0 60px;
  border-top: 1px solid var(--bord);
  background: var(--ink);
}
#ftc { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .4; }
.ft-glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(109,40,217,.15) 0%, transparent 68%);
  filter: blur(70px); pointer-events: none;
}
.ftcen { text-align: center; margin-bottom: 5rem; position: relative; z-index: 1; }
.ft-ey { font-size: .72rem; color: var(--v500); letter-spacing: .2em; display: block; margin-bottom: 1.5rem; }
.ft-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 8.5rem);
  letter-spacing: .02em; line-height: .92; margin-bottom: 3rem;
}
.ft-title em {
  background: linear-gradient(110deg, var(--v200), var(--v400), var(--fuch));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200% auto; animation: shimmerText 5s linear infinite;
}
.ftemail {
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: 'Outfit', sans-serif; font-size: clamp(.9rem, 2.2vw, 1.3rem); font-weight: 600;
  color: var(--txm);
  border: 1px solid var(--bordm); border-radius: 16px;
  padding: 1.2rem 2.5rem; margin-bottom: 3rem;
  backdrop-filter: blur(12px); position: relative; overflow: hidden;
  transition: border-color .35s, color .35s, box-shadow .35s;
}
.ftemail::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(124,58,237,.1), transparent 60%); opacity: 0; transition: opacity .35s; }
.ftemail:hover { border-color: var(--bordh); color: var(--v300); box-shadow: var(--gmd); }
.ftemail:hover::before { opacity: 1; }
.ftemail span { position: relative; z-index: 1; }
.ftarr { width: 38px; height: 38px; border-radius: 9px; background: var(--v600); display: flex; align-items: center; justify-content: center; transition: background .25s, transform .25s; box-shadow: 0 0 18px rgba(109,40,217,.5); position: relative; z-index: 1; }
.ftemail:hover .ftarr { background: var(--v500); transform: translate(3px,-3px); }
.ftarr i { font-size: .85rem; color: #fff; }
.ftsocs { display: flex; justify-content: center; gap: 1.5rem; }
.ftsoc { display: inline-flex; align-items: center; gap: .6rem; font-family: 'Outfit', sans-serif; font-size: .9rem; font-weight: 500; color: var(--txd); border: 1px solid var(--bord); padding: .6rem 1.4rem; border-radius: 9px; transition: all .25s; }
.ftsoc:hover { color: var(--v300); border-color: var(--bordm); background: rgba(124,58,237,.07); }
.ftbot { display: flex; justify-content: space-between; align-items: center; padding-top: 3rem; border-top: 1px solid var(--bord); position: relative; z-index: 1; }
.ftbot .mono { font-size: .7rem; color: var(--txd); letter-spacing: .1em; }

/* ─── TILT CARDS ─── */
.tilt { will-change: transform; }

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .nburg { display: flex; }
  .nmenu { display: flex; flex-direction: column; position: fixed; top: 0; right: -100%; width: min(320px, 86vw); height: 100vh; background: rgba(10,0,22,.97); backdrop-filter: blur(28px); border-left: 1px solid var(--bordm); padding: 7rem 2.5rem 3rem; gap: 2rem; z-index: 999; transition: right .4s cubic-bezier(.4,0,.2,1); }
  .nmenu.open { right: 0; }
  .nmenu a { font-size: 1.1rem; color: var(--txm); }
  .hero-body { flex-direction: column; text-align: center; }
  .hero-left { max-width: 100%; }
  .hero-avail, .hero-roles, .hero-btns, .hero-stats { justify-content: center; }
  .hero-name { align-items: center; }
  .hero-bio { margin: 0 auto 2.5rem; }
  .hero-right { width: min(280px, 72vw); }
  .ob { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sk-grid { grid-template-columns: 1fr; }
  .ftbot { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 600px) {
  .hero-name { font-size: clamp(4rem, 18vw, 6rem); }
  .hero-btns { flex-direction: column; align-items: center; }
  .hbtn { width: 100%; justify-content: center; }
  .mstats { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1.2rem; }
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--v800); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--v600); }
::selection { background: rgba(124,58,237,.3); color: var(--white); }