/* ============================================================
   GIENETIC — Premium Glass / Neumorphism Portfolio
   Dark matte + blue-grey soft gradients, iOS-inspired
   ============================================================ */

:root {
  --primary: #0A84FF;
  --primary2: #5AC8FA;
  --green: #30D158;
  --red: #FF453A;
  --orange: #FF9F0A;
  --purple: #BF5AF2;
  --bg: #05070C;
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.55);
  --muted2: rgba(255, 255, 255, 0.38);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke-soft: rgba(255, 255, 255, 0.06);
  --shadow-dark: rgba(0, 0, 0, 0.65);
  --shadow-light: rgba(255, 255, 255, 0.045);
  --radius: 26px;
  --radius-sm: 18px;
  --blur: 22px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

[data-theme="midnight"] {
  --bg: #050B16;
  --primary: #64DFDF;
  --primary2: #48BFE3;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background .6s ease;
}

/* ---------- AMBIENT BACKGROUND ---------- */
.bg-particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .6; }
.bg-aurora {
  position: fixed; border-radius: 50%;
  filter: blur(100px); opacity: .45; z-index: 0;
  pointer-events: none; will-change: transform, opacity;
}
.bg-aurora-1 { width: 420px; height: 420px; background: radial-gradient(circle, #0A84FF99, #0A84FF22 50%, transparent 70%); top: -100px; right: -80px; animation: auroraFloat 20s ease-in-out infinite; }
.bg-aurora-2 { width: 360px; height: 360px; background: radial-gradient(circle, #BF5AF277, #BF5AF222 50%, transparent 70%); bottom: 5%; left: -100px; animation: auroraFloat 26s ease-in-out infinite reverse; }
.bg-aurora-3 { width: 300px; height: 300px; background: radial-gradient(circle, #30D15855, transparent 70%); top: 40%; right: -90px; animation: auroraFloat 32s ease-in-out infinite; }
@keyframes auroraFloat {
  0%,100% { transform: translate(0,0) scale(1) rotate(0deg); opacity: .45; }
  33% { transform: translate(40px,-50px) scale(1.15) rotate(8deg); opacity: .6; }
  66% { transform: translate(-30px,30px) scale(.92) rotate(-6deg); opacity: .35; }
}
/* keep old orb classes as alias */
.bg-orb { display: none; }
.bg-vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 0%, transparent 30%, rgba(0,0,0,.55) 100%); }
.bg-grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- INTRO OVERLAY ---------- */
.intro-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; background: var(--bg);
  transition: opacity .7s ease, visibility .7s ease;
}
.intro-overlay.hidden { opacity: 0; visibility: hidden; }
.intro-glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, #0A84FF66, transparent 70%);
  filter: blur(60px); animation: pulseGlow 2.4s ease-in-out infinite;
}
@keyframes pulseGlow { 0%,100%{transform:scale(1);opacity:.6} 50%{transform:scale(1.25);opacity:1} }
.intro-icon {
  width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center;
  font-size: 34px; color: #fff; position: relative; z-index: 2;
  background: linear-gradient(145deg, #0A84FF, #00439c);
  box-shadow: 0 12px 40px rgba(10,132,255,.5), inset 0 1px 0 rgba(255,255,255,.3);
  animation: introSpin 1.6s ease;
}
@keyframes introSpin { from{transform:rotateY(-180deg) scale(.6);opacity:0} to{transform:rotateY(0) scale(1);opacity:1} }
.intro-name { font-size: 30px; font-weight: 900; letter-spacing: 6px; z-index: 2; }
.intro-text { font-size: 12px; color: var(--muted); letter-spacing: 1px; z-index: 2; }
.intro-bar { width: 200px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; z-index: 2; }
.intro-fill { height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--primary2)); animation: fillBar 2s ease forwards; }
@keyframes fillBar { to { width: 100%; } }

/* ---------- STATUS BAR ---------- */
.statusbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: calc(46px + var(--safe-top)); padding: var(--safe-top) 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 600;
  background: linear-gradient(180deg, rgba(5,7,12,.92), rgba(5,7,12,0));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.statusbar-notch {
  position: absolute; top: calc(var(--safe-top) + 8px); left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; border-radius: 12px; background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.statusbar-icons { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.battery { display: inline-flex; align-items: center; }
.battery-body { width: 22px; height: 11px; border-radius: 3px; padding: 1.5px; border: 1.2px solid rgba(255,255,255,.5); display: block; }
.battery-fill { display: block; height: 100%; width: 92%; border-radius: 1.5px; background: linear-gradient(90deg, var(--green), #34C759); transition: width .4s; }
.battery-cap { width: 1.5px; height: 4px; border-radius: 0 2px 2px 0; background: rgba(255,255,255,.5); }
.battery-pct { font-size: 11px; color: var(--muted); min-width: 30px; }

/* ---------- THEME TOGGLE ---------- */
.theme-toggle {
  position: fixed; top: calc(58px + var(--safe-top)); right: 18px; z-index: 100;
  display: flex; gap: 4px; padding: 4px; border-radius: 14px;
  background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--stroke);
}
.theme-btn { width: 30px; height: 30px; border-radius: 10px; border: none; cursor: pointer; background: transparent; color: var(--muted); font-size: 12px; transition: all .3s; }
.theme-btn.active { background: linear-gradient(145deg, var(--primary), #0060c0); color: #fff; box-shadow: 0 4px 12px rgba(10,132,255,.4); }

/* ---------- LAYOUT / 9:16 FRAME ---------- */
.container {
  position: relative; z-index: 2;
  width: 100%; max-width: 430px; margin: 0 auto;
  padding: calc(64px + var(--safe-top)) 18px calc(120px + var(--safe-bottom));
}
.section { margin-bottom: 34px; scroll-margin-top: 74px; }
[data-anim] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
[data-anim].in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { text-align: center; }
.brand-top { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 20px; }
.brand-glow { font-size: 15px; font-weight: 800; letter-spacing: 7px; color: var(--primary2); text-shadow: 0 0 22px rgba(90,200,250,.7); }
.brand-tag { font-size: 10px; letter-spacing: 1.5px; color: var(--muted2); text-transform: uppercase; }
.hero-avatar { position: relative; width: 148px; height: 148px; margin: 0 auto 20px; }
.hero-avatar img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%; position: relative; z-index: 3;
  border: 2px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 0 6px rgba(10,132,255,.10), inset 0 0 30px rgba(0,0,0,.3);
}
.avatar-ring {
  position: absolute; inset: -12px; border-radius: 50%; z-index: 1;
  border: 1.5px solid transparent;
  background: conic-gradient(from 0deg, var(--primary), transparent 30%, var(--primary2), transparent 70%, var(--primary)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinRing 8s linear infinite;
}
.avatar-ring-2 { inset: -22px; opacity: .35; animation-duration: 14s; animation-direction: reverse; }
@keyframes spinRing { to { transform: rotate(360deg); } }
.avatar-online { position: absolute; bottom: 8px; right: 8px; z-index: 4; width: 22px; height: 22px; border-radius: 50%; background: var(--green); border: 3px solid var(--bg); box-shadow: 0 0 12px var(--green); }
.avatar-reflection { position: absolute; left: 12%; bottom: -30px; width: 76%; height: 30px; z-index: 0; background: radial-gradient(ellipse, rgba(10,132,255,.4), transparent 70%); filter: blur(14px); }
.hero-name {
  font-size: 52px; font-weight: 900; letter-spacing: 3px; line-height: 1;
  background: linear-gradient(180deg, #fff, #9fc9ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 60px rgba(10,132,255,.5);
}
/* shimmer sweep */
.hero-name.shimmer {
  background: linear-gradient(110deg, #fff 20%, #9fc9ff 40%, #fff 60%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmerSweep 4s ease-in-out infinite;
}
@keyframes shimmerSweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* typing */
.hero-role { font-size: 13px; color: var(--primary2); margin-top: 12px; letter-spacing: .3px; min-height: 20px; font-weight: 600; }
.typed-cursor { display: inline-block; color: var(--primary); animation: blinkCursor .8s step-end infinite; font-weight: 300; }
@keyframes blinkCursor { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.hero-alias { font-size: 15px; color: var(--primary2); letter-spacing: 3px; margin-top: 4px; font-weight: 500; }
.hero-chips { display: flex; justify-content: center; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 20px; font-size: 11.5px; font-weight: 600; background: var(--glass); border: 1px solid var(--stroke); }
.chip i { font-size: 10px; }
.chip-blue { background: rgba(10,132,255,.15); border-color: rgba(10,132,255,.35); color: var(--primary2); }
.chip-green { background: rgba(48,209,88,.15); border-color: rgba(48,209,88,.35); color: #7ee89d; }
.chip-loc { color: var(--muted); }
.chip-sm { padding: 3px 9px; font-size: 10px; }
.hero-intro { font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 340px; margin: 0 auto 22px; }
.hero-actions { display: flex; gap: 10px; justify-content: center; margin-bottom: 26px; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 13px 24px; border-radius: 16px; font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: transform .2s, box-shadow .3s; }
.btn:active { transform: scale(.96); }
.btn-primary { background: linear-gradient(145deg, var(--primary), #0062cc); color: #fff; box-shadow: 0 10px 26px rgba(10,132,255,.4), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: var(--glass); color: #fff; border: 1px solid var(--stroke); backdrop-filter: blur(10px); }
.btn-sm { padding: 10px 16px; font-size: 12px; }
.btn-full { width: 100%; }

/* ---------- CARDS ---------- */
.card {
  position: relative; border-radius: var(--radius); padding: 22px; margin-bottom: 16px; overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  border: 1px solid var(--stroke);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: 12px 12px 30px var(--shadow-dark), -8px -8px 26px var(--shadow-light), inset 0 1px 0 rgba(255,255,255,.08);
}
.card-glow { position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(10,132,255,.35), transparent 70%); filter: blur(30px); pointer-events: none; }
.card-subtitle { font-size: 13px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; color: #cfe4ff; }
.card-subtitle i { color: var(--primary2); }

/* ---------- PROFILE CARD ---------- */
.profile-card { text-align: left; }
.profile-head { display: flex; align-items: center; gap: 12px; }
.profile-mini { width: 46px; height: 46px; border-radius: 14px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--stroke); }
.profile-mini img { width: 100%; height: 100%; object-fit: cover; }
.profile-head > div { flex: 1; }
.profile-head strong { display: block; font-size: 14px; }
.profile-head small { color: var(--muted); font-size: 11.5px; }
.profile-note { font-size: 12.5px; color: #d9ecff; margin: 16px 0 14px; padding: 12px 14px; border-radius: 14px; background: rgba(10,132,255,.10); border: 1px solid rgba(10,132,255,.22); line-height: 1.5; }
.profile-note i { color: #ff6b81; margin-right: 6px; }
.profile-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }
.profile-meta i { color: var(--primary2); margin-right: 5px; }

/* ---------- WIDGET GRID ---------- */
.widget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.widget {
  border-radius: var(--radius-sm); padding: 15px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--stroke); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 8px 8px 22px var(--shadow-dark), -5px -5px 18px var(--shadow-light);
  display: flex; flex-direction: column; gap: 10px;
}
.widget-icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; color: #fff; }
.widget-icon.blue { background: linear-gradient(145deg,#0A84FF,#0055aa); box-shadow: 0 6px 16px rgba(10,132,255,.4); }
.widget-icon.green { background: linear-gradient(145deg,#30D158,#1e8f3c); box-shadow: 0 6px 16px rgba(48,209,88,.35); }
.widget-icon.purple { background: linear-gradient(145deg,#BF5AF2,#7a2fb5); box-shadow: 0 6px 16px rgba(191,90,242,.35); }
.widget-icon.orange { background: linear-gradient(145deg,#FF9F0A,#b56a00); box-shadow: 0 6px 16px rgba(255,159,10,.35); }
.widget-body small { font-size: 10px; color: var(--muted2); text-transform: uppercase; letter-spacing: .6px; }
.widget-title { display: block; font-size: 14px; margin-top: 2px; }
.widget-sub { font-size: 10.5px; color: var(--muted); }
.widget-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; margin: 6px 0 3px; }
.widget-bar-fill { height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--primary), var(--primary2)); transition: width 1.2s cubic-bezier(.22,1,.36,1); box-shadow: 0 0 10px rgba(10,132,255,.6); }
.fill-green { background: linear-gradient(90deg, var(--green), #7ee89d); }
.widget-val { font-size: 12px; font-weight: 700; color: #cfe4ff; }

/* ---------- NOTIFICATIONS ---------- */
.notif { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--stroke-soft); }
.notif:last-child { border-bottom: none; }
.notif-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; color: #fff; flex-shrink: 0; }
.notif-icon.blue { background: linear-gradient(145deg,#0A84FF,#0055aa); }
.notif-icon.green { background: linear-gradient(145deg,#30D158,#1e8f3c); }
.notif-icon.orange { background: linear-gradient(145deg,#FF9F0A,#b56a00); }
.notif-text { flex: 1; }
.notif-text strong { display: block; font-size: 12.5px; font-weight: 600; }
.notif-text small { font-size: 10.5px; color: var(--muted2); }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }

/* ---------- SLIDER ---------- */
.slider-row { display: flex; align-items: center; gap: 12px; }
.slider-ico-l, .slider-ico-r { color: var(--primary2); font-size: 14px; }
.slider { -webkit-appearance: none; appearance: none; flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); outline: none; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(145deg,#fff,#bcd8ff); cursor: pointer; box-shadow: 0 0 0 4px rgba(10,132,255,.25), 0 4px 12px rgba(0,0,0,.5); }
.slider::-moz-range-thumb { width: 20px; height: 20px; border: none; border-radius: 50%; background: #fff; cursor: pointer; }
.slider-val { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ---------- SECTION TITLE ---------- */
.section-title { font-size: 22px; font-weight: 800; margin-bottom: 18px; letter-spacing: -.3px; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ""; width: 4px; height: 22px; border-radius: 4px; background: linear-gradient(180deg, var(--primary), var(--primary2)); box-shadow: 0 0 12px var(--primary); }

/* ---------- INFO GRID ---------- */
.info-grid { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.info-row { display: flex; align-items: center; gap: 14px; }
.info-row > i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 14px; color: var(--primary2); background: var(--glass-strong); border: 1px solid var(--stroke); flex-shrink: 0; }
.info-row small { display: block; font-size: 10.5px; color: var(--muted2); text-transform: uppercase; letter-spacing: .5px; }
.info-row span { font-size: 13.5px; font-weight: 500; }
.bio { font-size: 12.5px; line-height: 1.7; color: var(--muted); border-top: 1px solid var(--stroke-soft); padding-top: 14px; }

/* ---------- STATS ---------- */
.stats-card { display: flex; align-items: center; justify-content: space-around; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 24px; font-weight: 900; background: linear-gradient(180deg,#fff,var(--primary2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: 11px; color: var(--muted); }
.stat-div { width: 1px; height: 34px; background: var(--stroke); }

/* ---------- FINGERPRINT ---------- */
.fingerprint-wrap { text-align: center; }
.fingerprint {
  width: 82px; height: 82px; margin: 0 auto 14px; border-radius: 24px; position: relative; overflow: hidden;
  display: grid; place-items: center; font-size: 40px; color: var(--primary2); cursor: pointer;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--stroke);
  box-shadow: 8px 8px 22px var(--shadow-dark), -5px -5px 18px var(--shadow-light);
  transition: transform .2s;
}
.fingerprint:active { transform: scale(.94); }
.fingerprint.scanning { color: var(--green); }
.fingerprint-scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(48,209,88,.5), transparent); opacity: 0; }
.fingerprint.scanning .fingerprint-scan { animation: scanMove 1.4s linear; }
@keyframes scanMove { 0%{top:-30%;opacity:1} 100%{top:100%;opacity:1} }
.fingerprint-status { font-size: 12px; color: var(--muted); }
.fp-progress { height: 5px; border-radius: 5px; background: rgba(255,255,255,.1); margin-top: 16px; overflow: hidden; }
.fp-fill { height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--green), #7ee89d); transition: width .3s; }

/* ---------- CATEGORY CARDS ---------- */
.category-card { padding: 18px 20px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cat-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; color: #fff; background: linear-gradient(145deg, var(--g1), var(--g2)); flex-shrink: 0; }
.cat-head strong { display: block; font-size: 15px; }
.cat-head small { font-size: 11px; color: var(--muted); }
.cat-tags { display: flex; flex-wrap: wrap; gap: 7px; }

/* ---------- TAGS ---------- */
.tag { padding: 5px 12px; border-radius: 10px; font-size: 11px; font-weight: 500; background: var(--glass-strong); border: 1px solid var(--stroke); color: #cfe4ff; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- PROJECT ---------- */
.project-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.project-icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 20px; color: #fff; background: linear-gradient(145deg,#30D158,#1e8f3c); box-shadow: 0 10px 24px rgba(48,209,88,.4); }
.project-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.project-desc { font-size: 12.5px; line-height: 1.65; color: var(--muted); margin-bottom: 14px; }
.project-tech { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.project-actions { display: flex; gap: 10px; }
.muted-note { text-align: center; font-size: 12px; color: var(--muted2); }

/* ---------- SERVICES ---------- */
.service-card { padding: 20px; }
.svc-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; color: #fff; margin-bottom: 14px; }
.svc-icon.blue { background: linear-gradient(145deg,#0A84FF,#0055aa); box-shadow: 0 8px 20px rgba(10,132,255,.35); }
.svc-icon.green { background: linear-gradient(145deg,#30D158,#1e8f3c); box-shadow: 0 8px 20px rgba(48,209,88,.35); }
.svc-icon.purple { background: linear-gradient(145deg,#BF5AF2,#7a2fb5); box-shadow: 0 8px 20px rgba(191,90,242,.35); }
.svc-icon.orange { background: linear-gradient(145deg,#FF9F0A,#b56a00); box-shadow: 0 8px 20px rgba(255,159,10,.35); }
.svc-icon.cyan { background: linear-gradient(145deg,#64D2FF,#0A84FF); box-shadow: 0 8px 20px rgba(100,210,255,.35); }
.svc-icon.red { background: linear-gradient(145deg,#FF453A,#b3271e); box-shadow: 0 8px 20px rgba(255,69,58,.35); }
.service-card h3 { font-size: 15.5px; margin-bottom: 7px; }
.service-card p { font-size: 12.5px; line-height: 1.65; color: var(--muted); }

/* ---------- CONTACT ---------- */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.field label { display: block; font-size: 11px; color: var(--muted2); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border-radius: 14px; font-size: 13.5px; font-family: inherit; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); color: #fff; outline: none; resize: vertical; transition: border-color .3s, box-shadow .3s; }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,132,255,.2); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted2); }
.social-row { display: flex; justify-content: center; gap: 12px; margin: 20px 0; }
.social-btn {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 19px; color: #cfe4ff;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid var(--stroke); text-decoration: none;
  box-shadow: 6px 6px 16px var(--shadow-dark), -4px -4px 14px var(--shadow-light);
  transition: transform .25s, color .25s, box-shadow .25s;
}
.social-btn:hover, .social-btn:active { transform: translateY(-4px); color: var(--primary2); box-shadow: 0 0 24px rgba(10,132,255,.4); }
.footer-brand { text-align: center; padding: 20px 0 4px; display: flex; flex-direction: column; gap: 4px; }
.footer-brand strong { font-size: 16px; letter-spacing: 5px; color: var(--primary2); text-shadow: 0 0 18px rgba(90,200,250,.5); }
.footer-brand span { font-size: 10.5px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.footer-brand small { font-size: 10.5px; color: var(--muted2); margin-top: 6px; }

/* ---------- FLOATING NAV ---------- */
.floatnav {
  position: fixed; bottom: calc(16px + var(--safe-bottom)); left: 50%; transform: translateX(-50%);
  z-index: 90; display: flex; gap: 2px; padding: 7px;
  border-radius: 24px; max-width: calc(100% - 32px);
  background: rgba(14,18,26,.72); border: 1px solid var(--stroke);
  backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  box-shadow: 0 14px 40px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08);
}
.fnav {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 11px; border-radius: 18px; text-decoration: none;
  color: var(--muted); font-size: 15px; transition: color .3s, transform .25s, background .3s;
  position: relative; z-index: 2; flex: 1;
}
.fnav span { font-size: 8.5px; font-weight: 600; letter-spacing: .2px; white-space: nowrap; }
.fnav.active { color: #fff; }
.fnav.active i { text-shadow: 0 0 16px rgba(10,132,255,.9); }
.fnav:active { transform: scale(.92); }
.fnav-indicator {
  position: absolute; bottom: 5px; left: 0; height: 3px; width: 40px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  box-shadow: 0 0 12px var(--primary);
  transition: transform .35s cubic-bezier(.22,1,.36,1), width .35s ease;
}

/* ---------- FAB ---------- */
.fab {
  position: fixed; right: 18px; bottom: calc(92px + var(--safe-bottom)); z-index: 90;
  width: 46px; height: 46px; border-radius: 15px; border: 1px solid var(--stroke);
  display: grid; place-items: center; font-size: 16px; color: #fff; cursor: pointer;
  background: linear-gradient(145deg, var(--primary), #0055aa);
  box-shadow: 0 10px 26px rgba(10,132,255,.5);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .35s, transform .35s, visibility .35s;
}
.fab.show { opacity: 1; visibility: visible; transform: none; }
.fab:active { transform: scale(.9); }

/* ---------- LARGE SCREENS (keep 9:16 phone frame) ---------- */
@media (min-width: 480px) {
  body::before {
    content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.85) 100%);
  }
  .statusbar, .floatnav, .fab, .theme-toggle { max-width: 430px; }
  .statusbar { left: 50%; transform: translateX(-50%); right: auto; width: 100%; }
  .theme-toggle { right: 50%; transform: translateX(calc(215px - 18px)); }
  .fab { right: 50%; transform: translateX(calc(215px - 18px)); }
  .fab.show { transform: translateX(calc(215px - 18px)); }
}

/* ---------- SKILLS ---------- */
.skills-card { display: flex; flex-direction: column; gap: 18px; }
.skill-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.skill-head i { color: var(--primary2); margin-right: 8px; }
.skill-pct { color: var(--primary2); font-size: 12.5px; }
.skill-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; position: relative; }
.skill-fill { height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--primary), var(--primary2)); box-shadow: 0 0 14px rgba(10,132,255,.7); transition: width 1.4s cubic-bezier(.22,1,.36,1); position: relative; }
.skill-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); background-size: 200% 100%; animation: skillShine 2.5s linear infinite; }
@keyframes skillShine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.fill-purple { background: linear-gradient(90deg, #BF5AF2, #D8B4FE); box-shadow: 0 0 14px rgba(191,90,242,.7); }
.fill-orange { background: linear-gradient(90deg, #FF9F0A, #FFD60A); box-shadow: 0 0 14px rgba(255,159,10,.7); }
.fill-cyan { background: linear-gradient(90deg, #64D2FF, #0A84FF); box-shadow: 0 0 14px rgba(100,210,255,.7); }

/* ---------- 3D TILT ---------- */
[data-tilt] { transform-style: preserve-3d; transition: transform .35s ease, box-shadow .35s ease; will-change: transform; }
[data-tilt].tilting { transition: transform .08s ease-out; }
[data-tilt]:hover { box-shadow: 12px 12px 34px var(--shadow-dark), -8px -8px 26px var(--shadow-light), 0 0 30px rgba(10,132,255,.15), inset 0 1px 0 rgba(255,255,255,.08); }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--primary2)); border-radius: 8px; }

/* ---------- MOTION PREFERENCES ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
