/* =============================================
   MUHAMMAD YASIR — AI INTERNSHIP PORTFOLIO
   style.css  |  Base only — rest lives in JS
   ============================================= */

/* ── CSS VARIABLES ── */
:root {
  --bg:       #030509;
  --bg2:      #080c16;
  --surface:  rgba(10,16,29,0.72);
  --border:   rgba(0,240,255,0.14);
  --border2:  rgba(0,240,255,0.28);
  --blue:     #00f0ff;
  --blue2:    #0088ff;
  --purple:   #bf8bff;
  --green:    #00ffaa;
  --amber:    #ffcc00;
  --text:     #ffffff;
  --text2:    #a0b0d0;
  --text3:    #50658a;
  --nav-h:    68px;
  --radius:   18px;
}

[data-theme="light"] {
  --bg:      #f0f4ff;
  --bg2:     #e4ecfc;
  --surface: rgba(255,255,255,0.75);
  --border:  rgba(37,99,235,0.12);
  --border2: rgba(37,99,235,0.24);
  --blue:    #2563eb;
  --blue2:   #1d4ed8;
  --text:    #0d1b3e;
  --text2:   #4a5f88;
  --text3:   #9aaac8;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Syne', sans-serif; background: var(--bg); color: var(--text);
        overflow-x: hidden; transition: background .4s, color .4s; }
a     { text-decoration: none; color: inherit; }

/* ── CANVAS (fixed background) ── */
#neural-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: .5;
  transition: opacity .4s;
}
[data-theme="light"] #neural-canvas { opacity: .2; }

/* ── CURSOR GLOW ── */
#cursor-glow {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 219, 231, 0.07) 0%, transparent 70%);
  transform: translate(-50%,-50%);
  transition: left .06s, top .06s;
}
[data-theme="light"] #cursor-glow {
  background: radial-gradient(circle, rgba(37,99,235,.05) 0%, transparent 70%);
}

/* ── APP MOUNT ── */
#app { position: relative; z-index: 1; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 99px; }