/* ============================================================
   AAA CINEMATIC PORTFOLIO — RAYEN CHRAIET
   Design: GTA neon × Cyberpunk HUD × Apple polish
   ============================================================ */

/* ---- VARIABLES ---- */
:root {
  --bg: #030014;
  --bg2: #0a0a1f;
  --bg3: #12122a;
  --surface: rgba(255,255,255,.02);
  --surface2: rgba(255,255,255,.05);
  --surface3: rgba(255,255,255,.08);
  --glass: rgba(10,10,30,.6);
  --glass2: rgba(10,10,30,.8);
  --border: rgba(255,255,255,.06);
  --border2: rgba(255,255,255,.12);
  --text: #c8c8e8;
  --text2: #7878a0;
  --text3: #4a4a70;
  --heading: #f0f0ff;
  --neon-cyan: #00f0ff;
  --neon-pink: #ff2d78;
  --neon-purple: #b24dff;
  --neon-orange: #ff6b35;
  --neon-green: #00ff88;
  --gold: #e8b84b;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --sidebar-w: 260px;
  --font-mono: 'JetBrains Mono', monospace;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-hud: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow: 0 4px 40px rgba(0,0,0,.5);
  --shadow-neon: 0 0 20px rgba(0,240,255,.15);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ---- LIGHT THEME ---- */
[data-theme="light"] {
  --bg: #f0f0f8;
  --bg2: #e8e8f0;
  --bg3: #dcdce8;
  --surface: rgba(0,0,0,.015);
  --surface2: rgba(0,0,0,.04);
  --surface3: rgba(0,0,0,.07);
  --glass: rgba(255,255,255,.7);
  --glass2: rgba(255,255,255,.85);
  --border: rgba(0,0,0,.06);
  --border2: rgba(0,0,0,.11);
  --text: #384060;
  --text2: #687090;
  --text3: #90a0b8;
  --heading: #181830;
  --shadow: 0 4px 30px rgba(0,0,0,.08);
}
[data-theme="light"] .noise { opacity: .02; }
[data-theme="light"] .aurora-blob { opacity: .06; }
[data-theme="light"] .editor { background: rgba(40,40,60,.95); }

/* ---- RESET ---- */
*,*::before,*::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); overflow: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
ul { list-style: none; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }
::selection { background: rgba(0,240,255,.2); color: var(--heading); }

/* ---- PRELOADER ---- */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  transition: opacity .8s, visibility .8s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { position: relative; width: 120px; height: 120px; }
.preloader-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent;
  animation: preloaderSpin 1.6s linear infinite;
}
.preloader-ring:nth-child(1) { border-top-color: var(--neon-cyan); }
.preloader-ring:nth-child(2) { inset: 10px; border-right-color: var(--neon-pink); animation-duration: 2s; animation-direction: reverse; }
.preloader-ring:nth-child(3) { inset: 20px; border-bottom-color: var(--gold); animation-duration: 2.4s; }
@keyframes preloaderSpin { to { transform: rotate(360deg); } }
.preloader-text {
  position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 2px;
  font: 700 14px/1 var(--font-hud); color: var(--heading);
  letter-spacing: 5px;
}
.preloader-text span { animation: preloaderPop .6s ease forwards; opacity: 0; }
.preloader-text span:nth-child(1){animation-delay:.1s}
.preloader-text span:nth-child(2){animation-delay:.15s}
.preloader-text span:nth-child(3){animation-delay:.2s}
.preloader-text span:nth-child(4){animation-delay:.25s}
.preloader-text span:nth-child(5){animation-delay:.3s}
.preloader-text span:nth-child(6){animation-delay:.35s}
.preloader-text span:nth-child(7){animation-delay:.4s}
.preloader-text span:nth-child(8){animation-delay:.45s}
.preloader-text span:nth-child(9){animation-delay:.5s}
.preloader-dot { color: var(--gold); }
@keyframes preloaderPop { to { opacity: 1; transform: translateY(0); } }

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

/* ---- AURORA ---- */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora-blob {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: .12;
  animation: auroraFloat 20s ease-in-out infinite alternate;
}
.a1 { width: 500px; height: 500px; top: -15%; left: -10%; background: var(--neon-cyan); }
.a2 { width: 400px; height: 400px; bottom: -10%; right: -10%; background: var(--neon-pink); animation-delay: -5s; }
.a3 { width: 350px; height: 350px; top: 40%; right: 20%; background: var(--neon-purple); animation-delay: -10s; }
.a4 { width: 300px; height: 300px; bottom: 20%; left: 30%; background: var(--gold); animation-delay: -15s; opacity: .06; }
@keyframes auroraFloat {
  0% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.15); }
  66% { transform: translate(-20px,50px) scale(.9); }
  100% { transform: translate(30px,20px) scale(1.05); }
}

/* ---- CURSOR ---- */
.cursor,.cursor-trail { position: fixed; pointer-events: none; z-index: 9999; border-radius: 50%; transform: translate(-50%,-50%); transition: width .25s, height .25s, opacity .25s; }
.cursor { width: 8px; height: 8px; background: var(--neon-cyan); mix-blend-mode: screen; }
.cursor-trail { width: 32px; height: 32px; border: 1.5px solid rgba(0,240,255,.35); transition: transform .15s ease; }
body.cursor-hover .cursor { width: 14px; height: 14px; background: var(--neon-pink); }
body.cursor-hover .cursor-trail { width: 48px; height: 48px; border-color: rgba(255,45,120,.3); }

/* ---- SCROLL PROGRESS ---- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9990;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--gold));
  width: 0; transition: width .1s linear;
}

/* ---- PARTICLES ---- */
#particles { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

/* ---- LAYOUT ---- */
.layout { display: flex; height: 100vh; position: relative; z-index: 2; }

/* ---- SIDEBAR ---- */
.sidebar {
  width: var(--sidebar-w); height: 100vh; position: fixed; top: 0; left: 0;
  display: flex; flex-direction: column;
  padding: 24px 16px;
  background: var(--glass2); backdrop-filter: blur(30px) saturate(1.4);
  border-right: 1px solid var(--border);
  z-index: 100;
  overflow-y: auto;
}
.sidebar-head { text-align: center; margin-bottom: 20px; }
.sidebar-avatar-wrap {
  position: relative; width: 80px; height: 80px; margin: 0 auto 12px;
}
.sidebar-avatar-ring {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid transparent;
  background: conic-gradient(var(--neon-cyan), var(--neon-pink), var(--neon-purple), var(--neon-cyan)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: avatarRingSpin 6s linear infinite;
}
@keyframes avatarRingSpin { to { transform: rotate(360deg); } }
.sidebar-avatar {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--bg);
}
.sidebar-online-dot {
  position: absolute; bottom: 4px; right: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--neon-green);
  border: 2px solid var(--bg);
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 0 rgba(0,255,136,.5); } 50% { box-shadow: 0 0 0 6px rgba(0,255,136,0); } }
.sidebar-name { font: 700 18px/1.2 var(--font-heading); color: var(--heading); margin: 4px 0 2px; }
.gold { color: var(--gold); }
.sidebar-role { font: 500 11px/1 var(--font-mono); color: var(--neon-cyan); letter-spacing: 1.5px; text-transform: uppercase; }
.sidebar-status {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  padding: 3px 10px; border-radius: 20px;
  background: rgba(0,255,136,.08); border: 1px solid rgba(0,255,136,.2);
  font: 500 10px/1 var(--font-hud); color: var(--neon-green); letter-spacing: 1px;
}
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--neon-green); animation: pulseDot 2s ease infinite; }

/* NAV */
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; margin-bottom: 16px; }
.nav-link {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font: 500 13px/1.2 var(--font-body); color: var(--text2);
  transition: var(--transition);
}
.nav-link-bg { position: absolute; inset: 0; border-radius: var(--radius-sm); opacity: 0; background: var(--surface2); transition: opacity var(--transition); }
.nav-link:hover .nav-link-bg { opacity: 1; }
.nav-link:hover { color: var(--heading); }
.nav-icon { width: 18px; height: 18px; flex-shrink: 0; position: relative; z-index: 1; }
.nav-label { position: relative; z-index: 1; }
.nav-indicator { position: absolute; right: 10px; width: 4px; height: 4px; border-radius: 50%; background: transparent; transition: var(--transition); }
.nav-link.active { color: var(--neon-cyan); }
.nav-link.active .nav-link-bg { opacity: 1; background: rgba(0,240,255,.06); }
.nav-link.active .nav-indicator { background: var(--neon-cyan); box-shadow: 0 0 8px var(--neon-cyan); }

/* SIDEBAR CONTROLS */
.sidebar-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; }
.control-btn {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--surface2); border: 1px solid var(--border);
  transition: var(--transition);
}
.control-btn:hover { background: var(--surface3); border-color: var(--border2); }
.control-btn svg { width: 16px; height: 16px; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: none; }
.lang-switcher { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 4px; width: auto; padding: 0 10px; }
.lang-globe { width: 14px; height: 14px; }
.lang-current { font: 600 11px/1 var(--font-mono); letter-spacing: 1px; }
.lang-dropdown {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) scale(.92);
  background: var(--glass2); backdrop-filter: blur(20px);
  border: 1px solid var(--border2); border-radius: var(--radius);
  padding: 6px; min-width: 150px;
  opacity: 0; visibility: hidden; transition: var(--transition);
  z-index: 200;
}
.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }
.lang-option {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 8px 12px; border-radius: var(--radius-sm);
  font: 500 13px/1.2 var(--font-body); transition: var(--transition);
}
.lang-option:hover { background: var(--surface2); }
.lang-option.active { color: var(--neon-cyan); background: rgba(0,240,255,.06); }
.lang-flag { font-size: 16px; }

/* SIDEBAR BOTTOM */
.sidebar-bottom { text-align: center; }
.fps-counter {
  font: 500 10px/1 var(--font-mono); color: var(--text3); letter-spacing: 1px;
  padding: 4px 0;
}

/* ---- MOBILE HEADER ---- */
.mobile-header {
  display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  padding: 12px 20px; justify-content: space-between; align-items: center;
  background: var(--glass2); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.brand-icon.small { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink)); }
.brand-letter { font: 700 16px/1 var(--font-hud); color: #fff; }
.mobile-controls { display: flex; gap: 8px; align-items: center; }
.hamburger { width: 36px; height: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--heading); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-overlay { position: fixed; inset: 0; z-index: 99; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: var(--transition); }
.mobile-overlay.open { opacity: 1; visibility: visible; }

/* ---- MAIN ---- */
.main { margin-left: var(--sidebar-w); flex: 1; height: 100vh; overflow: hidden; }
.main-scroll { height: 100%; overflow-y: auto; scroll-behavior: smooth; }

/* ---- PAGE ---- */
.page { display: none; min-height: 100vh; padding: 60px 48px 80px; }
.page.active { display: block; }
.page-inner { max-width: 1100px; margin: 0 auto; }

/* ---- TYPOGRAPHY ---- */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--font-mono); color: var(--neon-cyan); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 8px;
}
.section-heading {
  font: 800 40px/1.1 var(--font-heading); color: var(--heading);
  margin-bottom: 12px;
}
.section-sub { color: var(--text2); font-size: 15px; margin-bottom: 40px; max-width: 560px; }
.gradient-text {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.neon-text {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(0,240,255,.3));
}
.neon-cyan-c { color: var(--neon-cyan); }
.neon-green-c { color: var(--neon-green); }
.neon-pink-c { color: var(--neon-pink); }
.neon-purple-c { color: var(--neon-purple); }
.gold-c { color: var(--gold); }
.muted { color: var(--text2); font-size: .88em; }
.link-hover { transition: var(--transition); }
.link-hover:hover { filter: brightness(1.3); }

/* ---- GLASS CARD ---- */
.glass-card {
  background: var(--glass); backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.glass-card:hover { border-color: var(--border2); }

/* ---- SCROLL REVEAL ---- */
.scroll-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- HERO PREMIUM ---- */
.hero { display: flex; align-items: center; min-height: calc(100vh - 140px); gap: 60px; }
.hero-premium { gap: 48px; padding-top: 10px; position: relative; }
.hero-content { flex: 1; max-width: 600px; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 30px;
  background: rgba(0,240,255,.06); border: 1px solid rgba(0,240,255,.15);
  font: 600 11px/1 var(--font-hud); color: var(--neon-cyan); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--neon-cyan); animation: pulseDot 2s ease infinite; }
.hero-title { margin-bottom: 20px; }

/* Hero Intro / Greeting */
.hero-intro {
  display: block;
  font: 500 18px/1.6 var(--font-body);
  color: var(--text2);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.hero-name-line {
  display: block;
  margin-bottom: 8px;
}
.hero-name-gradient {
  font: 900 clamp(36px, 5vw, 62px)/1.05 var(--font-heading);
  background: linear-gradient(135deg, #ff2d78 0%, #b24dff 40%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: nameShimmer 4s ease infinite;
}
@keyframes nameShimmer {
  0% { background-position: 0% center; }
  50% { background-position: 200% center; }
  100% { background-position: 0% center; }
}
.hero-role-line {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 36px;
}
.hero-role-text {
  font: 600 clamp(18px, 2.5vw, 26px)/1.3 var(--font-heading);
  color: var(--heading);
}
.typed-cursor {
  font: 300 clamp(18px, 2.5vw, 26px)/1.3 var(--font-heading);
  color: var(--neon-cyan);
  animation: cursorBlink 1s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Hero Subtitle Text */
.hero-subtitle-text {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}

/* Hero Tech Stack Strip */
.hero-tech-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: fit-content;
}
.tech-strip-label {
  font: 600 11px/1 var(--font-mono);
  color: var(--text3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.tech-strip-divider {
  width: 1px;
  height: 24px;
  background: var(--border2);
}
.tech-strip-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.tech-strip-icon {
  width: 32px;
  height: 32px;
  padding: 5px;
  border-radius: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: all .35s cubic-bezier(.22,.68,0,.98);
  cursor: default;
}
.tech-strip-icon:hover {
  transform: translateY(-4px) scale(1.1);
  border-color: var(--neon-cyan);
  box-shadow: 0 6px 20px rgba(0,240,255,.15);
  background: rgba(0,240,255,.06);
}
.tech-strip-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* CTA */
.hero-cta { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.cta-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; overflow: hidden;
  font: 600 13px/1 var(--font-hud); letter-spacing: 2px; text-transform: uppercase;
  transition: transform .25s, box-shadow .25s;
}
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn.primary { color: #fff; }
.cta-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #ff2d78, #b24dff, #00f0ff);
  background-size: 200% auto;
  animation: ctaBgShift 4s ease infinite;
  z-index: 0; transition: opacity .3s;
}
@keyframes ctaBgShift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}
.cta-btn.primary:hover .cta-bg { opacity: .88; }
.cta-btn.primary:hover { box-shadow: 0 8px 30px rgba(178,77,255,.3); }
.cta-text, .cta-arrow, .cta-icon-left { position: relative; z-index: 1; }
.cta-arrow { width: 16px; height: 16px; }
.cta-icon-left { width: 16px; height: 16px; }
.cta-btn.outline {
  border: 1.5px solid var(--border2); color: var(--heading);
  backdrop-filter: blur(10px);
}
.cta-btn.outline:hover { border-color: var(--neon-pink); color: var(--neon-pink); box-shadow: 0 0 20px rgba(255,45,120,.15); }

/* ---- SIDE SOCIAL ICONS ---- */
.hero-side-socials {
  position: fixed;
  left: calc(var(--sidebar-w) + 24px);
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 50;
}
.side-social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text3);
  transition: all .35s cubic-bezier(.22,.68,0,.98);
}
.side-social-link:hover {
  color: var(--neon-pink);
  border-color: var(--neon-pink);
  background: rgba(255,45,120,.06);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,45,120,.12);
}
.side-social-link svg { width: 17px; height: 17px; }
.side-social-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--border2), transparent);
}

/* ---- HERO VISUAL PREMIUM — Futuristic 3D ---- */
.hero-visual-premium {
  flex: 0 0 480px;
  height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

/* Canvas */
.hero-geo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .5;
}

/* Neon Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb-pink {
  width: 240px; height: 240px;
  top: -10%; right: 5%;
  background: rgba(255,45,120,.2);
  animation: orbFloat1 8s ease-in-out infinite;
}
.orb-purple {
  width: 200px; height: 200px;
  bottom: 5%; left: 5%;
  background: rgba(178,77,255,.18);
  animation: orbFloat2 10s ease-in-out infinite;
}
.orb-blue {
  width: 180px; height: 180px;
  top: 50%; right: 20%;
  background: rgba(0,240,255,.15);
  animation: orbFloat3 9s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 30px) scale(1.15); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-15px, -25px) scale(1.2); }
}

/* Floating Geometric Shapes */
.hero-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.shape-ring {
  width: 120px; height: 120px;
  top: 8%; right: 6%;
  border: 2px solid rgba(255,45,120,.25);
  border-radius: 50%;
  animation: shapeRotate 15s linear infinite, floatShape1 6s ease-in-out infinite;
}
.shape-ring::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(178,77,255,.2);
  border-radius: 50%;
  animation: shapeRotate 10s linear infinite reverse;
}

.shape-triangle {
  width: 0; height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 35px solid rgba(0,240,255,.15);
  top: 20%; left: 8%;
  animation: floatShape2 7s ease-in-out infinite, shapeRotate 20s linear infinite;
}

.shape-cube {
  width: 30px; height: 30px;
  bottom: 25%; right: 8%;
  border: 2px solid rgba(178,77,255,.2);
  border-radius: 4px;
  animation: floatShape3 5.5s ease-in-out infinite, shapeRotate 12s linear infinite;
}

.shape-dot-grid {
  width: 60px; height: 60px;
  bottom: 15%; left: 12%;
  background-image: radial-gradient(rgba(0,240,255,.25) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
  animation: floatShape1 8s ease-in-out infinite;
}

.shape-cross {
  width: 24px; height: 24px;
  top: 55%; left: 2%;
  animation: floatShape2 6s ease-in-out infinite, shapeRotate 8s linear infinite;
}
.shape-cross::before,
.shape-cross::after {
  content: '';
  position: absolute;
  background: rgba(255,45,120,.2);
  border-radius: 2px;
}
.shape-cross::before {
  width: 100%; height: 3px;
  top: 50%; transform: translateY(-50%);
}
.shape-cross::after {
  width: 3px; height: 100%;
  left: 50%; transform: translateX(-50%);
}

.shape-diamond {
  width: 20px; height: 20px;
  top: 70%; right: 18%;
  background: rgba(0,240,255,.12);
  border: 1px solid rgba(0,240,255,.2);
  transform: rotate(45deg);
  animation: floatShape3 7s ease-in-out infinite;
}

@keyframes shapeRotate { to { transform: rotate(360deg); } }
@keyframes floatShape1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes floatShape2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -14px); }
}
@keyframes floatShape3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, 12px); }
}

/* Glowing Center Sphere */
.hero-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  z-index: 2;
}
.sphere-inner {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(178,77,255,.4),
    rgba(255,45,120,.3) 40%,
    rgba(0,240,255,.2) 70%,
    transparent 100%
  );
  box-shadow:
    0 0 60px rgba(178,77,255,.25),
    0 0 120px rgba(255,45,120,.15),
    inset 0 0 40px rgba(0,240,255,.1);
  animation: spherePulse 4s ease-in-out infinite;
}
@keyframes spherePulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.08); opacity: 1; }
}

.sphere-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
}
.sphere-ring-1 {
  border-color: rgba(255,45,120,.2);
  animation: orbitSpin 8s linear infinite;
}
.sphere-ring-2 {
  inset: -14px;
  border: 1px dashed rgba(178,77,255,.15);
  animation: orbitSpin 12s linear infinite reverse;
}
.sphere-ring-3 {
  inset: -28px;
  border: 1px solid rgba(0,240,255,.08);
  animation: orbitSpin 18s linear infinite;
}

.sphere-pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(178,77,255,.12);
  animation: sphereRipple 3s ease-out infinite;
}
@keyframes sphereRipple {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Floating Cards */
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  font: 500 11px/1 var(--font-mono);
  color: var(--text2);
  z-index: 3;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  white-space: nowrap;
}
.float-card-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon-cyan);
}
.float-card-dot.green { background: var(--neon-green); }
.float-card-dot.pink { background: var(--neon-pink); }

.float-card-1 { top: 12%; left: 0%;  animation: floatCard1 6s ease-in-out infinite; }
.float-card-2 { bottom: 18%; right: 0%;  animation: floatCard2 7s ease-in-out infinite; }
.float-card-3 { top: 65%; left: -5%;  animation: floatCard3 5.5s ease-in-out infinite; }

@keyframes floatCard1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(8px, -10px) rotate(2deg); }
}
@keyframes floatCard2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-6px, 8px) rotate(-1.5deg); }
}
@keyframes floatCard3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10px, 6px) rotate(1deg); }
}

/* ---- HERO STATS BAR ---- */
.hero-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 24px 40px;
  margin: 40px auto 0;
  max-width: 700px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font: 800 28px/1 var(--font-heading);
  background: linear-gradient(135deg, #ff2d78, #b24dff, #00f0ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label {
  font: 500 11px/1 var(--font-mono);
  color: var(--text2);
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border2);
}

/* ---- SCROLL INDICATOR ---- */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font: 500 11px/1 var(--font-mono);
  color: var(--text3);
  letter-spacing: 2px;
}
.scroll-indicator-track {
  width: 22px;
  height: 36px;
  border-radius: 14px;
  border: 2px solid rgba(178,77,255,.3);
  position: relative;
  overflow: hidden;
}
.scroll-indicator-thumb {
  width: 4px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #ff2d78, #b24dff);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollThumb 2s ease-in-out infinite;
}
@keyframes scrollThumb {
  0%, 100% { opacity: 1; top: 6px; }
  50% { opacity: .3; top: 18px; }
}
.scroll-chevrons {
  width: 16px;
  height: 16px;
  color: var(--text3);
  animation: chevronBounce 2s ease-in-out infinite;
}
@keyframes chevronBounce {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* Legacy hero compat */
.hero-subtitle { font: 500 14px/1.6 var(--font-mono); color: var(--text2); letter-spacing: 1.5px; margin-bottom: 12px; }
.hero-desc { color: var(--text2); font-size: 15px; line-height: 1.7; margin-bottom: 24px; max-width: 480px; }
.hero-accent { color: var(--gold); }
.hero-small { font: 500 24px/1.4 var(--font-heading); color: var(--text2); }
.hero-big { font: 900 56px/1.1 var(--font-heading); color: var(--heading); }
.hero-metrics { display: flex; align-items: center; gap: 28px; }
.metric { text-align: center; }
.metric-num {
  display: block; font: 800 32px/1 var(--font-heading); color: var(--heading);
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.metric-label { font: 500 11px/1 var(--font-mono); color: var(--text2); letter-spacing: 1px; margin-top: 4px; display: block; }
.metric-divider { width: 1px; height: 32px; background: var(--border2); }

/* HERO VISUAL (legacy) */
.hero-visual { flex: 0 0 380px; position: relative; }
.hero-card-wrap { position: relative; width: 100%; aspect-ratio: 1; }

/* ORBITS */
.orbit {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed var(--border);
  animation: orbitSpin 20s linear infinite;
}
.orbit-2 { inset: 30px; animation-duration: 28s; animation-direction: reverse; border-color: rgba(255,45,120,.1); }
.orbit-3 { inset: 60px; animation-duration: 36s; border-color: rgba(178,77,255,.08); }
.orbit-dot {
  position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan);
}
.orbit-2 .orbit-dot { background: var(--neon-pink); box-shadow: 0 0 10px var(--neon-pink); }
.orbit-3 .orbit-dot { background: var(--neon-purple); box-shadow: 0 0 10px var(--neon-purple); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

/* EDITOR */
.editor {
  position: absolute; top: 50%; left: 50%; width: 300px;
  transform: translate(-50%, -50%);
  background: rgba(12,12,28,.95); border: 1px solid var(--border2);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.editor-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--border);
}
.editor-dots { display: flex; gap: 6px; }
.ed-dot { width: 10px; height: 10px; border-radius: 50%; }
.ed-dot.r { background: #ff5f56; }
.ed-dot.y { background: #ffbd2e; }
.ed-dot.g { background: #27c93f; }
.editor-title { font: 500 11px/1 var(--font-mono); color: var(--text2); }
.editor-actions { display: flex; gap: 10px; }
.ed-action { font-size: 12px; color: var(--text3); }
.editor-body { padding: 14px 16px; font: 400 12px/1.8 var(--font-mono); }
.code-line { display: flex; gap: 8px; white-space: nowrap; }
.ln { color: var(--text3); width: 16px; text-align: right; user-select: none; }
.kw { color: var(--neon-purple); }
.vr { color: var(--neon-cyan); }
.pr { color: var(--neon-pink); }
.st { color: var(--neon-green); }
.fn { color: var(--gold); }

/* SCROLL HINT (legacy compat) */
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font: 500 11px/1 var(--font-mono); color: var(--text3); letter-spacing: 2px;
}
.scroll-mouse { width: 20px; height: 32px; border-radius: 12px; border: 2px solid var(--text3); position: relative; }
.scroll-wheel { width: 3px; height: 8px; border-radius: 3px; background: var(--neon-cyan); position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scrollAnim 1.8s ease infinite; }
@keyframes scrollAnim { 0%,100% { opacity: 1; transform: translateX(-50%) translateY(0); } 50% { opacity: .3; transform: translateX(-50%) translateY(8px); } }

/* ANIM CLASSES */
.anim-up { opacity: 0; transform: translateY(30px); animation: animUp .8s ease forwards; }
.d1 { animation-delay: .1s; }
.d2 { animation-delay: .25s; }
.d3 { animation-delay: .4s; }
.d4 { animation-delay: .55s; }
.d5 { animation-delay: .7s; }
@keyframes animUp { to { opacity: 1; transform: translateY(0); } }

/* ---- SCANNER ---- */
.scanner-container { max-width: 850px; margin: 0 auto; }
.scanner-frame {
  position: relative; padding: 50px 40px 30px;
  background: rgba(0,240,255,.015); border: 1px solid rgba(0,240,255,.1);
  border-radius: var(--radius-lg); overflow: hidden;
}
.scan-corner {
  position: absolute; width: 28px; height: 28px;
  border-color: var(--neon-cyan); border-style: solid;
}
.scan-tl { top: 0; left: 0; border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; }
.scan-tr { top: 0; right: 0; border-width: 2px 2px 0 0; border-radius: 0 4px 0 0; }
.scan-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }
.scan-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }
.scan-line {
  position: absolute; top: 0; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  box-shadow: 0 0 20px var(--neon-cyan);
  animation: scanLineAnim 3.5s ease-in-out infinite;
}
@keyframes scanLineAnim { 0%,100% { top: 5%; opacity: .8; } 50% { top: 92%; opacity: .3; } }
.scan-content {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  margin-bottom: 30px; flex-wrap: wrap;
}
.scan-avatar { position: relative; width: 140px; height: 140px; flex-shrink: 0; }
.avatar-ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px dashed rgba(0,240,255,.3);
  animation: orbitSpin 10s linear infinite;
}
.avatar-inner {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  border: 3px solid rgba(0,240,255,.3);
  box-shadow: 0 0 30px rgba(0,240,255,.15);
}
.avatar-photo { width: 100%; height: 100%; object-fit: cover; }
.avatar-pulse {
  position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(0,240,255,.15);
  animation: avatarPulse 3s ease infinite;
}
@keyframes avatarPulse { 0%,100% { transform: scale(1); opacity: .4; } 50% { transform: scale(1.08); opacity: 0; } }

/* HUD PANELS */
.hud-panel { display: flex; flex-direction: column; gap: 10px; }
.hud-group { display: flex; flex-direction: column; gap: 2px; }
.hud-label { font: 600 9px/1 var(--font-hud); color: var(--text3); letter-spacing: 2px; }
.hud-value { font: 600 13px/1.4 var(--font-mono); color: var(--heading); }
.hud-green { color: var(--neon-green); }
.hud-cyan { color: var(--neon-cyan); }
.hud-gold { color: var(--gold); }
.scan-readout {
  text-align: center; margin-bottom: 20px; padding: 16px;
  border-top: 1px solid var(--border);
}
.readout-bar { height: 3px; background: var(--surface2); border-radius: 2px; margin-bottom: 10px; overflow: hidden; }
.readout-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--neon-cyan), var(--neon-green)); border-radius: 2px; animation: readoutFill 2.5s ease forwards 1s; }
@keyframes readoutFill { to { width: 100%; } }
.scan-confirm { display: block; font: 700 12px/1 var(--font-hud); color: var(--neon-green); letter-spacing: 3px; margin-bottom: 4px; animation: blinkSlow 2s step-end infinite; }
@keyframes blinkSlow { 0%,80% { opacity: 1; } 40% { opacity: .3; } }
.scan-name { font: 500 11px/1 var(--font-mono); color: var(--text2); letter-spacing: 2px; }
.scan-skills-hud { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.hud-skill { display: flex; align-items: center; gap: 10px; font: 500 11px/1 var(--font-mono); color: var(--text); }
.hud-bar { flex: 1; height: 4px; background: var(--surface2); border-radius: 2px; overflow: hidden; }
.hud-bar-fill { height: 100%; width: var(--w); background: var(--neon-cyan); border-radius: 2px; animation: barFillAnim 1.5s ease forwards; transform-origin: left; }
.hud-pct { color: var(--neon-cyan); min-width: 30px; text-align: right; font-size: 10px; }
@keyframes barFillAnim { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---- ABOUT ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-quote {
  font: 500 18px/1.6 var(--font-heading); color: var(--heading);
  margin-bottom: 20px; padding: 16px 20px; border-left: 3px solid var(--gold);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.quote-mark { color: var(--gold); font-size: 24px; }
.about-text-col p { color: var(--text); font-size: 14px; line-height: 1.75; margin-bottom: 14px; }
.about-text-col strong { color: var(--heading); }
.about-highlights { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.highlight {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: var(--transition);
}
.highlight:hover { border-color: var(--border2); box-shadow: var(--shadow-neon); }
.highlight-icon { width: 24px; height: 24px; color: var(--neon-cyan); flex-shrink: 0; }
.highlight strong { color: var(--heading); font-size: 14px; display: block; }

/* INFO CARDS */
.info-card { padding: 20px; margin-bottom: 16px; }
.card-title { display: flex; align-items: center; gap: 10px; font: 600 15px/1.3 var(--font-heading); color: var(--heading); margin-bottom: 14px; }
.card-icon { width: 20px; height: 20px; flex-shrink: 0; }
.detail-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.detail-list li:last-child { border: none; }
.detail-list li span:first-child { color: var(--text2); }
.detail-list li strong, .detail-list li a { font-weight: 600; font-size: 13px; }

/* LANGUAGE BARS */
.lang-bars { display: flex; flex-direction: column; gap: 12px; }
.lang-bar-item { }
.lang-bar-top { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; font-size: 12px; }
.lang-bar-flag { font-size: 14px; }
.lang-bar-name { flex: 1; font-weight: 600; color: var(--heading); }
.lang-bar-level { color: var(--text2); font: 500 10px/1 var(--font-mono); letter-spacing: 1px; }
.lang-bar-track { height: 4px; background: var(--surface2); border-radius: 3px; overflow: hidden; }
.lang-bar-fill { height: 100%; width: 0; background: var(--c, var(--neon-cyan)); border-radius: 3px; transition: width 1.2s ease; }
.lang-bar-fill.visible { width: var(--w); }

/* ---- SKILLS ---- */
.skills-radial-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px;
  margin-bottom: 48px;
}
.skill-radial { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.skill-ring-svg { width: 100px; height: 100px; transform: rotate(-90deg); }
.skill-ring-bg { fill: none; stroke: var(--surface2); stroke-width: 6; }
.skill-ring-fill {
  fill: none; stroke: var(--c, var(--neon-cyan)); stroke-width: 6;
  stroke-linecap: round; stroke-dasharray: 339.29;
  stroke-dashoffset: 339.29;
  transition: stroke-dashoffset 1.8s cubic-bezier(.4,0,.2,1);
  filter: drop-shadow(0 0 6px var(--c, var(--neon-cyan)));
}
.skill-radial.visible .skill-ring-fill { stroke-dashoffset: var(--offset); }
.skill-radial-info { text-align: center; }
.skill-radial-pct { font: 700 18px/1 var(--font-heading); color: var(--heading); display: block; }
.skill-radial-name { font: 500 11px/1 var(--font-mono); color: var(--text2); margin-top: 2px; display: block; letter-spacing: .5px; }

/* SKILL CARDS */
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.skill-card { position: relative; padding: 24px; overflow: hidden; }
.skill-card-glow {
  position: absolute; top: -50%; right: -50%; width: 100%; height: 100%;
  background: radial-gradient(circle, var(--c, rgba(0,240,255,.05)) 0%, transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.skill-card:hover .skill-card-glow { opacity: 1; }
.skill-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; position: relative; z-index: 1; }
.skill-icon-wrap {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(0,240,255,.06); border: 1px solid rgba(0,240,255,.12);
  color: var(--c, var(--neon-cyan));
}
.skill-icon-wrap svg { width: 20px; height: 20px; }
.skill-header h3 { font: 600 16px/1.2 var(--font-heading); color: var(--heading); }
.skill-pills { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.pill {
  padding: 6px 14px; border-radius: 20px;
  background: var(--surface2); border: 1px solid var(--border);
  font: 500 12px/1 var(--font-mono); color: var(--text);
  transition: var(--transition);
  animation: pillPop .4s ease forwards;
  opacity: 0;
}
.pill:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); background: rgba(0,240,255,.06); }
@keyframes pillPop { to { opacity: 1; } }

/* ---- TECH LOGO GRID (NEW SKILLS) ---- */
.tech-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.tech-logo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px 16px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .45s cubic-bezier(.22,.68,0,.98);
  cursor: default;
}
.tech-logo-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--accent, rgba(0,240,255,.06)) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.tech-logo-card:hover .tech-logo-bg { opacity: 0.12; }
.tech-logo-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255,255,255,.12);
  box-shadow:
    0 16px 40px rgba(0,0,0,.25),
    0 0 20px color-mix(in srgb, var(--accent, var(--neon-cyan)) 15%, transparent);
}
.tech-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform .4s ease;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}
.tech-logo-card:hover .tech-logo-img {
  transform: scale(1.15) rotate(5deg);
}
.tech-logo-name {
  font: 600 12px/1 var(--font-mono);
  color: var(--heading);
  letter-spacing: .5px;
  position: relative;
  z-index: 1;
}
.tech-logo-bar {
  width: 100%;
  height: 3px;
  background: var(--surface2);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.tech-logo-fill {
  height: 100%;
  width: 0;
  background: var(--c, var(--neon-cyan));
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(.22,.68,0,.98);
}
.tech-logo-card.visible .tech-logo-fill {
  width: var(--w, 0%);
}

/* Invert for dark theme */
[data-theme="dark"] .invert-light {
  filter: invert(1) drop-shadow(0 2px 8px rgba(0,0,0,.3));
}

/* Tools & Frameworks Strip */
.skills-category-section {
  margin-top: 20px;
}
.skills-cat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 16px/1.3 var(--font-heading);
  color: var(--heading);
  margin-bottom: 20px;
}
.skills-cat-icon {
  width: 20px;
  height: 20px;
  color: var(--neon-cyan);
}
.tools-logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.tool-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .4s cubic-bezier(.22,.68,0,.98);
  cursor: default;
  min-width: 80px;
}
.tool-logo-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform .35s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.2));
}
.tool-logo-item span {
  font: 500 11px/1 var(--font-mono);
  color: var(--text2);
  letter-spacing: .5px;
}
.tool-logo-item:hover {
  transform: translateY(-5px);
  border-color: var(--border2);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}
.tool-logo-item:hover img {
  transform: scale(1.15);
}

/* ---- EXPERIENCE ---- */
.timeline { position: relative; padding-left: 36px; }
.tl-line { position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.tl-item { position: relative; margin-bottom: 32px; }
.tl-dot {
  position: absolute; left: -36px; top: 6px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg2); border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan); z-index: 1;
}
.tl-dot svg { width: 14px; height: 14px; }
.tl-card { padding: 22px; }
.tl-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.tl-top h3 { font: 600 17px/1.3 var(--font-heading); color: var(--heading); }
.tl-badge {
  padding: 3px 10px; border-radius: 20px; font: 500 10px/1 var(--font-mono);
  letter-spacing: 1px; text-transform: uppercase;
  background: rgba(0,240,255,.08); color: var(--neon-cyan); border: 1px solid rgba(0,240,255,.15);
}
.tl-badge.tl-job { background: rgba(0,255,136,.08); color: var(--neon-green); border-color: rgba(0,255,136,.15); }
.tl-badge.tl-intern { background: rgba(178,77,255,.08); color: var(--neon-purple); border-color: rgba(178,77,255,.15); }
.tl-badge.tl-assoc { background: rgba(232,184,75,.08); color: var(--gold); border-color: rgba(232,184,75,.15); }
.tl-sub { font: 500 13px/1.4 var(--font-body); color: var(--text2); margin-bottom: 8px; }
.tl-card p { color: var(--text); font-size: 14px; line-height: 1.65; margin-bottom: 10px; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-tags span {
  padding: 3px 10px; border-radius: 16px;
  font: 500 11px/1 var(--font-mono); color: var(--text2);
  background: var(--surface2); border: 1px solid var(--border);
}

/* ---- PROJECTS ---- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.proj-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--glass); border: 1px solid var(--border);
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.proj-card:hover { transform: translateY(-6px); border-color: var(--border2); box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.proj-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.proj-visual {
  position: relative; aspect-ratio: 16/10; display: grid; place-items: center;
  background: var(--g, linear-gradient(135deg,#1a1a3a,#0a0a2a));
  overflow: hidden;
}
.proj-card.featured .proj-visual { aspect-ratio: auto; min-height: 240px; }
.proj-icon { width: 52px; height: 52px; color: #fff; opacity: .7; }
.proj-links {
  position: absolute; bottom: 14px; right: 14px;
  display: flex; gap: 8px; opacity: 0; transform: translateY(8px);
  transition: var(--transition);
}
.proj-card:hover .proj-links { opacity: 1; transform: translateY(0); }
.proj-link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px;
  font: 600 11px/1 var(--font-mono); letter-spacing: .5px;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  color: #fff; border: 1px solid rgba(255,255,255,.15);
  transition: var(--transition);
}
.proj-link-btn:hover { background: rgba(0,0,0,.8); border-color: rgba(255,255,255,.3); }
.proj-link-btn svg { width: 14px; height: 14px; }
.proj-link-btn.accent { background: rgba(0,240,255,.15); border-color: rgba(0,240,255,.3); color: var(--neon-cyan); }
.proj-body { padding: 22px; }
.proj-body h3 { font: 600 17px/1.3 var(--font-heading); color: var(--heading); margin-bottom: 8px; }
.proj-body p { font-size: 13px; color: var(--text2); line-height: 1.65; margin-bottom: 14px; }
.proj-tech { display: flex; flex-wrap: wrap; gap: 6px; }
.proj-tech span {
  padding: 3px 10px; border-radius: 14px;
  font: 500 10px/1 var(--font-mono); color: var(--neon-cyan);
  background: rgba(0,240,255,.06); border: 1px solid rgba(0,240,255,.1);
}

/* ---- HOBBIES ---- */
.hobbies-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hobby-card { overflow: hidden; display: flex; flex-direction: column; }
.hobby-media { position: relative; height: 260px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.hobby-video, .hobby-media-img { width: 100%; height: 100%; object-fit: cover; }
.hobby-media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(3,0,20,.85));
}
.hobby-music-overlay {
  background: linear-gradient(to bottom, transparent 20%, rgba(3,0,20,.9));
}

/* CROSSHAIR */
.crosshair-overlay { position: absolute; inset: 0; pointer-events: none; }
.crosshair-h, .crosshair-v { position: absolute; background: rgba(0,240,255,.3); }
.crosshair-h { width: 30px; height: 1px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.crosshair-v { width: 1px; height: 30px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.crosshair-dot {
  position: absolute; top: 50%; left: 50%; width: 4px; height: 4px;
  border: 1px solid rgba(0,240,255,.5); border-radius: 50%;
  transform: translate(-50%,-50%);
}

/* VINYL */
.vinyl-wrap { position: absolute; bottom: 16px; right: 16px; }
.vinyl-disc {
  width: 56px; height: 56px; border-radius: 50%;
  background: conic-gradient(from 0deg, #111, #333, #111, #333, #111);
  border: 2px solid rgba(255,255,255,.08);
  animation: vinylSpin 4s linear infinite;
  display: grid; place-items: center;
}
.vinyl-hole { width: 10px; height: 10px; border-radius: 50%; background: var(--neon-pink); box-shadow: 0 0 6px var(--neon-pink); }
@keyframes vinylSpin { to { transform: rotate(360deg); } }

/* EQUALIZER */
.equalizer-overlay {
  position: absolute; bottom: 16px; left: 16px;
  display: flex; gap: 3px; align-items: flex-end; height: 24px;
}
.eq-bar {
  width: 3px; background: var(--neon-pink); border-radius: 2px;
  animation: eqBounce 1s ease infinite alternate;
}
.eq-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq-bar:nth-child(2) { height: 80%; animation-delay: .15s; }
.eq-bar:nth-child(3) { height: 60%; animation-delay: .3s; }
.eq-bar:nth-child(4) { height: 100%; animation-delay: .45s; }
.eq-bar:nth-child(5) { height: 50%; animation-delay: .6s; }
@keyframes eqBounce { 0% { transform: scaleY(.3); } 100% { transform: scaleY(1); } }

/* HOBBY BADGE */
.hobby-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 20px;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  font: 600 10px/1 var(--font-hud); color: #fff; letter-spacing: 1.5px;
}
.hv-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #ff4444; animation: pulseDot 1.5s ease infinite; }
.hv-live-dot.green { background: var(--neon-green); }

/* HOBBY CONTENT */
.hobby-content { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.hobby-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.hobby-name { font: 700 22px/1 var(--font-heading); }
.hobby-tag-badge {
  padding: 3px 10px; border-radius: 14px;
  font: 500 10px/1 var(--font-mono); letter-spacing: .5px;
  background: var(--surface2); border: 1px solid var(--border); color: var(--text2);
}
.hobby-desc { color: var(--text2); font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
.hobby-music-quote { font-style: italic; color: var(--text2); }
.hobby-stats { display: flex; flex-direction: column; gap: 10px; }
.hobby-stat {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  background: var(--surface); border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.hobby-stat-icon { font-size: 16px; }
.hobby-stat strong { display: block; font-size: 11px; color: var(--text2); font-weight: 500; letter-spacing: .5px; }
.hobby-stat span { font-size: 13px; color: var(--heading); font-weight: 600; }

/* MINI TRACKS */
.mini-tracks { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.mini-track {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: var(--transition); cursor: default;
}
.mini-track.track-playable { cursor: pointer; }
.mini-track.track-playable:hover { border-color: var(--neon-pink); background: rgba(255,45,120,.04); }
.mini-track-play {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  flex-shrink: 0;
}
.mtp-icon { width: 14px; height: 14px; color: #fff; }
.mini-track-num { width: 24px; text-align: center; font: 500 11px/1 var(--font-mono); color: var(--text3); }
.mini-track-info { flex: 1; display: flex; flex-direction: column; }
.track-name { font: 600 13px/1.3 var(--font-body); color: var(--heading); }
.track-artist { font: 400 11px/1 var(--font-mono); color: var(--text2); }
.mini-track-badge {
  padding: 2px 8px; border-radius: 10px; font: 600 9px/1 var(--font-mono);
  background: rgba(255,45,120,.1); color: var(--neon-pink);
  border: 1px solid rgba(255,45,120,.2); letter-spacing: 1px;
}
.mini-track-dur { font: 500 11px/1 var(--font-mono); color: var(--text3); }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-cta-text { font: 700 28px/1.3 var(--font-heading); color: var(--heading); margin-bottom: 28px; }
.contact-links { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.c-link {
  display: flex; align-items: center; gap: 16px; padding: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.c-link:hover { border-color: var(--neon-cyan); box-shadow: 0 0 15px rgba(0,240,255,.08); }
.c-link-icon { width: 22px; height: 22px; color: var(--neon-cyan); flex-shrink: 0; }
.c-link strong { display: block; font: 600 13px/1.3 var(--font-body); color: var(--heading); }
.c-link span { font: 400 12px/1.2 var(--font-mono); color: var(--text2); }

/* QR SECTION */
.qr-card { padding: 20px; }
.qr-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.qr-header-icon { width: 18px; height: 18px; color: var(--neon-cyan); }
.qr-header h4 { font: 600 14px/1 var(--font-heading); color: var(--heading); }
.qr-codes { display: flex; gap: 20px; }
.qr-item { text-align: center; }
.qr-code { width: 100px; height: 100px; margin: 0 auto 8px; }
.qr-code canvas, .qr-code img { width: 100% !important; height: 100% !important; border-radius: 6px; }
.qr-label { font: 500 10px/1 var(--font-mono); color: var(--text2); letter-spacing: 1px; }

/* CONTACT FORM */
.contact-form { padding: 28px; }
.contact-form h3 { font: 600 18px/1.3 var(--font-heading); color: var(--heading); margin-bottom: 24px; }
.form-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-bottom: 16px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; padding-top: 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--heading); font: 400 14px/1.4 var(--font-body);
  transition: var(--transition); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--neon-cyan); box-shadow: 0 0 0 2px rgba(0,240,255,.1); }
.field label {
  position: absolute; top: 18px; left: 16px;
  font: 500 13px/1 var(--font-body); color: var(--text3);
  transition: var(--transition); pointer-events: none;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 6px; font-size: 10px; color: var(--neon-cyan); letter-spacing: .5px;
}
.field-line {
  position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  transition: width .3s;
}
.field input:focus ~ .field-line, .field textarea:focus ~ .field-line { width: 100%; }

.submit-btn {
  position: relative; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: var(--radius); overflow: hidden;
  font: 600 13px/1 var(--font-hud); letter-spacing: 2px; text-transform: uppercase; color: #fff;
  transition: transform .25s, box-shadow .25s;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(0,240,255,.2); }
.submit-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  z-index: 0;
}
.submit-text, .submit-btn svg { position: relative; z-index: 1; }
.submit-btn svg { width: 16px; height: 16px; }
.form-status-msg {
  margin-top: 12px; padding: 10px; border-radius: var(--radius-sm); text-align: center;
  font: 500 13px/1.4 var(--font-body); display: none;
}
.form-status-msg.success { display: block; background: rgba(0,255,136,.08); color: var(--neon-green); border: 1px solid rgba(0,255,136,.2); }
.form-status-msg.error { display: block; background: rgba(255,45,120,.08); color: var(--neon-pink); border: 1px solid rgba(255,45,120,.2); }

/* ---- FOOTER ---- */
.footer { padding: 24px 48px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; font-size: 13px; color: var(--text2); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { transition: var(--transition); }
.footer-links a:hover { color: var(--neon-cyan); }

/* ---- MUSIC PLAYER ---- */
.music-player { position: fixed; bottom: 24px; right: 24px; z-index: 500; }
.player-toggle {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  box-shadow: 0 4px 20px rgba(255,45,120,.3);
  transition: transform .25s;
}
.player-toggle:hover { transform: scale(1.08); }
.player-toggle.active { animation: playerBounce .4s ease; }
@keyframes playerBounce { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.player-eq { display: flex; gap: 2px; align-items: flex-end; height: 16px; }
.peq-bar { width: 2px; background: #fff; border-radius: 1px; animation: eqBounce 1s ease infinite alternate; }
.peq-bar:nth-child(1) { height: 40%; }
.peq-bar:nth-child(2) { height: 80%; animation-delay: .2s; }
.peq-bar:nth-child(3) { height: 55%; animation-delay: .4s; }
.music-player:not(.playing) .peq-bar { animation: none; height: 30%; }

.player-panel {
  position: absolute; bottom: calc(100% + 12px); right: 0; width: 280px;
  padding: 16px; display: none;
}
.player-panel.open { display: block; animation: playerPanelIn .3s ease; }
@keyframes playerPanelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.player-art { width: 100%; height: 120px; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 12px; }
.player-art-img { width: 100%; height: 100%; object-fit: cover; }
.player-details { margin-bottom: 10px; }
.player-track-name { display: block; font: 600 14px/1.3 var(--font-heading); color: var(--heading); }
.player-track-artist { font: 400 11px/1 var(--font-mono); color: var(--text2); }

.player-progress { margin-bottom: 12px; }
.player-progress-bar {
  height: 4px; background: var(--surface2); border-radius: 3px; cursor: pointer; overflow: hidden;
}
.player-progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple)); border-radius: 3px; transition: width .1s linear; }
.player-times { display: flex; justify-content: space-between; margin-top: 4px; font: 400 10px/1 var(--font-mono); color: var(--text3); }

.player-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; }
.player-ctrl-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; transition: var(--transition); }
.player-play-btn { width: 44px; height: 44px; background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple)); }
.player-play-btn:hover { transform: scale(1.1); }
.player-play-btn svg { width: 18px; height: 18px; color: #fff; }
.music-player:not(.playing) .pause-icon { display: none; }
.music-player.playing .play-icon { display: none; }

.player-volume { display: flex; align-items: center; gap: 8px; }
.vol-icon { width: 16px; height: 16px; color: var(--text2); }
.player-vol-slider {
  flex: 1; -webkit-appearance: none; appearance: none; height: 4px;
  background: var(--surface2); border-radius: 3px; outline: none;
}
.player-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%;
  background: var(--neon-pink); cursor: pointer;
}

/* ---- MAGNETIC BTN ---- */
.magnetic { transition: transform .2s ease; }

/* ---- RTL ---- */
[dir="rtl"] .sidebar { left: auto; right: 0; border-right: none; border-left: 1px solid var(--border); }
[dir="rtl"] .main { margin-left: 0; margin-right: var(--sidebar-w); }
[dir="rtl"] .timeline { padding-left: 0; padding-right: 36px; }
[dir="rtl"] .tl-line { left: auto; right: 15px; }
[dir="rtl"] .tl-dot { left: auto; right: -36px; }
[dir="rtl"] .about-quote { border-left: none; border-right: 3px solid var(--gold); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
[dir="rtl"] .nav-indicator { right: auto; left: 10px; }
[dir="rtl"] .music-player { right: auto; left: 24px; }
[dir="rtl"] .player-panel { right: auto; left: 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero { flex-direction: column; gap: 40px; text-align: center; }
  .hero-premium { gap: 30px; }
  .hero-content { max-width: 100%; }
  .hero-visual-premium { flex: 0 0 auto; width: 360px; height: 360px; margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-metrics { justify-content: center; }
  .hero-tech-strip { margin: 0 auto 28px; }
  .hero-role-line { justify-content: center; }
  .hero-subtitle-text { margin: 0 auto 24px; }
  .hero-desc { margin: 0 auto 24px; }
  .hero-side-socials { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .skills-radial-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .tech-logo-grid { grid-template-columns: repeat(4, 1fr); }
  .proj-card.featured { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); transition: transform .35s ease; }
  .sidebar.open { transform: translateX(0); }
  [dir="rtl"] .sidebar { transform: translateX(100%); }
  [dir="rtl"] .sidebar.open { transform: translateX(0); }
  .mobile-header { display: flex; }
  .main { margin-left: 0; }
  [dir="rtl"] .main { margin-right: 0; }
  .page { padding: 80px 20px 60px; }
  .hero-big { font-size: 36px; }
  .section-heading { font-size: 28px; }
  .hobbies-duo { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .skills-radial-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-logo-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .tools-logo-strip { gap: 10px; }
  .hero-visual-premium { width: 300px; height: 300px; }
  .hero-sphere { width: 110px; height: 110px; }
  .hero-stats-bar { flex-wrap: wrap; gap: 20px; padding: 20px; }
  .scan-content { flex-direction: column; gap: 20px; }
  .scan-skills-hud { grid-template-columns: 1fr; }
  .form-duo { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
  .cursor, .cursor-trail { display: none; }
  .hero-float-card { font-size: 10px; padding: 6px 10px; }
  .shape-ring { width: 80px; height: 80px; }
}
@media (max-width: 480px) {
  .skills-radial-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-big { font-size: 28px; }
  .hero-metrics { flex-direction: column; gap: 16px; }
  .hero-stats-bar { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  .metric-divider { width: 40px; height: 1px; }
  .editor { width: 260px; }
  .projects-grid { grid-template-columns: 1fr; }
  .qr-codes { flex-direction: column; }
  .hero-visual-premium { width: 260px; height: 260px; }
  .hero-sphere { width: 90px; height: 90px; }
  .hero-float-card { display: none; }
  .hero-tech-strip { flex-direction: column; gap: 10px; padding: 12px 16px; }
  .tech-strip-divider { width: 100%; height: 1px; }
  .tool-logo-item { min-width: 70px; padding: 12px 14px; }
}
