/* ============================================================
   PORTFOLIO – ASHAN WICKRAMANAYAKA
   Modern Dark Theme  |  2026
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-900: #030508;
  --bg-800: #080c18;
  --bg-700: #0d1222;
  --bg-card: #0e1520;
  --bg-card-hover: #131d30;
  --bg-glass: rgba(8,12,24,0.75);

  --accent: #6c63ff;
  --accent-2: #a78bfa;
  --teal: #2dd4bf;
  --pink: #f472b6;
  --coral: #ff6b35;
  --neon-cyan: #00f5e4;
  --gold: #f5c842;

  --grad: linear-gradient(135deg, #6c63ff 0%, #2dd4bf 100%);
  --grad-2: linear-gradient(135deg, #ff6b35 0%, #f472b6 100%);
  --grad-3: linear-gradient(135deg, #6c63ff 0%, #f472b6 50%, #ff6b35 100%);
  --grad-subtle: linear-gradient(135deg, rgba(108,99,255,.15) 0%, rgba(45,212,191,.1) 100%);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --border: rgba(255,255,255,.06);
  --border-hover: rgba(108,99,255,.5);

  --font-main: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.6);
  --shadow-md: 0 8px 32px rgba(0,0,0,.7);
  --shadow-lg: 0 24px 80px rgba(0,0,0,.8);
  --shadow-accent: 0 8px 40px rgba(108,99,255,.3);
  --shadow-depth: 0 40px 120px rgba(0,0,0,.9);

  --nav-h: 70px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);

  /* 3D perspective */
  --perspective-sm: 800px;
  --perspective-md: 1200px;
  --perspective-lg: 2000px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--bg-900);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── GRAIN OVERLAY ─────────────────────────────────────────── */
.grain-overlay {
  position: fixed; inset: 0; z-index: 9997;
  pointer-events: none;
  opacity: .028;
  background-image: 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%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grain-shift .12s steps(1) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate( 0%,  0%) scale(1.05); }
  10%  { transform: translate(-3%, -2%) scale(1.05); }
  20%  { transform: translate( 2%,  3%) scale(1.05); }
  30%  { transform: translate(-1%, -3%) scale(1.05); }
  40%  { transform: translate( 3%,  1%) scale(1.05); }
  50%  { transform: translate(-2%,  2%) scale(1.05); }
  60%  { transform: translate( 1%, -1%) scale(1.05); }
  70%  { transform: translate(-3%,  3%) scale(1.05); }
  80%  { transform: translate( 2%, -2%) scale(1.05); }
  90%  { transform: translate(-1%,  1%) scale(1.05); }
}

::selection { background: rgba(108,99,255,.35); color: var(--text-primary); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-900); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

/* ── CURSOR ───────────────────────────────────────────────── */
.cursor-dot, .cursor-outline {
  position: fixed; z-index: 9999; border-radius: 50%;
  pointer-events: none; transform: translate(-50%,-50%);
  transition: opacity .3s;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--accent);
}
.cursor-outline {
  width: 34px; height: 34px;
  border: 2px solid rgba(108,99,255,.5);
  transition: width .2s, height .2s, border-color .2s;
}
body:hover .cursor-dot, body:hover .cursor-outline { opacity: 1; }

/* ── UTILITY ──────────────────────────────────────────────── */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-800); }

/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(3,5,8,.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(108,99,255,.15);
  box-shadow: 0 4px 30px rgba(0,0,0,.6), 0 1px 0 rgba(108,99,255,.1) inset;
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}
.logo-bracket { color: var(--accent); }
.nav-links {
  display: flex; list-style: none; gap: 36px;
  align-items: center;
}
.nav-link {
  font-size: .9rem; font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: color .25s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  height: 2px; width: 0;
  background: var(--grad);
  transition: width .3s ease;
  border-radius: 2px;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--accent); }
.nav-link.active::after { width: 100%; }
.nav-cta {
  padding: 9px 22px;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-family: var(--font-mono);
}
.nav-cta:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary); 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); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 70% at 30% 10%, rgba(108,99,255,.22) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 80% 80%, rgba(255,107,53,.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 60% 30%, rgba(45,212,191,.08) 0%, transparent 45%),
    var(--bg-900);
}
#particleCanvas {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
/* Split inner wrapper */
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1120px; width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 32px) 40px 80px;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 60px;
  align-items: center;
}
.hero-content {
  text-align: left;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(45,212,191,.08);
  border: 1px solid rgba(45,212,191,.25);
  border-radius: 50px;
  font-size: .82rem; color: var(--teal);
  font-family: var(--font-mono);
  margin-bottom: 28px;
  text-align: left;
}
.dot {
  width: 7px; height: 7px;
  background: var(--teal); border-radius: 50%;
  animation: blink 1.4s infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.2; } }

.hero-name {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  text-shadow:
    0 1px 0 rgba(255,255,255,.08),
    0 4px 12px rgba(108,99,255,.4),
    0 12px 40px rgba(108,99,255,.25),
    0 0 80px rgba(108,99,255,.15);
  position: relative;
}
.name-line { display: block; }

.hero-role {
  display: flex; align-items: center; justify-content: flex-start; gap: 10px;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500; color: var(--text-secondary);
  margin-bottom: 28px; height: 2rem;
}
.role-prefix { color: var(--text-muted); font-family: var(--font-mono); font-size: .9em; }
.role-cycle {
  position: relative; overflow: hidden; height: 2rem;
  display: flex; align-items: center;
}
.role-cycle span {
  position: absolute; left: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  white-space: nowrap; color: var(--accent-2);
}
.role-cycle span.active {
  opacity: 1; transform: translateY(0);
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem; line-height: 1.75;
  max-width: 560px; margin: 0 0 36px;
}

/* ── HERO PHOTO ──────────────────────────────────────────── */
.hero-photo-wrap {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  height: 520px;
}
.hero-photo-glow {
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,.35) 0%, rgba(45,212,191,.15) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,100% { opacity: .8; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
.hero-photo-ring {
  position: absolute;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  width: 380px; height: 380px; border-radius: 50%;
  border: 1.5px solid rgba(108,99,255,.25);
  z-index: 1;
  animation: spin-slow 12s linear infinite;
}
.hero-photo-ring.ring-b {
  width: 420px; height: 420px;
  border-color: rgba(45,212,191,.15);
  animation-direction: reverse;
  animation-duration: 18s;
  border-style: dashed;
}
@keyframes spin-slow { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg); } }

.hero-photo-frame {
  position: relative; z-index: 2;
  width: 340px; height: 440px;
  border-radius: 50% 50% 46% 46% / 40% 40% 60% 60%;
  overflow: hidden;
  border: 2px solid rgba(108,99,255,.5);
  box-shadow:
    0 0 0 6px rgba(108,99,255,.06),
    0 0 0 1px rgba(108,99,255,.12),
    0 0 60px rgba(108,99,255,.3),
    0 0 120px rgba(108,99,255,.15),
    0 40px 100px rgba(0,0,0,.8),
    0 60px 140px rgba(0,0,0,.5);
  background: linear-gradient(180deg, rgba(108,99,255,.1) 0%, rgba(3,5,8,.6) 100%);
  transform-style: preserve-3d;
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  mix-blend-mode: luminosity;
  filter: contrast(1.05) brightness(1.02);
  transition: all .5s ease;
}
.hero-photo-wrap:hover .hero-photo {
  mix-blend-mode: normal;
  filter: contrast(1.05) brightness(1.05);
  transform: scale(1.03);
}
.hero-photo-badge {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: rgba(10,14,26,.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(108,99,255,.3);
  border-radius: 50px;
  font-size: .82rem; font-weight: 600; color: var(--text-primary);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  animation: float-badge 3s ease-in-out infinite;
}
.hero-photo-badge i { color: var(--accent); }
.badge-top  { top: 40px;  right: -20px; animation-delay: 0s; }
.badge-bottom { bottom: 60px; left: -20px; animation-delay: 1.2s; }
@keyframes float-badge {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-actions {
  display: flex; gap: 16px; justify-content: flex-start;
  flex-wrap: wrap; margin-bottom: 40px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-md);
  font-size: .95rem; font-weight: 600; text-decoration: none;
  border: none; cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 50px rgba(108,99,255,.4);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-hover);
}
.btn-outline:hover {
  background: rgba(108,99,255,.1);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.btn-full { width: 100%; justify-content: center; }

.hero-socials {
  display: flex; gap: 18px; justify-content: flex-start;
}
.hero-socials a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
}
.hero-socials a:hover {
  background: rgba(108,99,255,.15);
  border-color: var(--accent); color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}
.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: .75rem;
  font-family: var(--font-mono); letter-spacing: 2px;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
@keyframes float { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ── SECTION HEADER ───────────────────────────────────────── */
.section-header {
  margin-bottom: 60px; text-align: center;
}
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .8rem; color: var(--accent);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -1px;
  color: var(--text-primary);
}
.section-title::after {
  content: ''; display: block; margin: 14px auto 0;
  width: 60px; height: 3px;
  background: var(--grad); border-radius: 3px;
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 60px;
  align-items: center;
}
.about-text p {
  color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8;
  margin-bottom: 20px;
}
.about-text strong { color: var(--text-primary); }
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 36px;
}
.stat-card {
  background: var(--grad-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 12px; text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}
.stat-num {
  display: block; font-size: 1.8rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: .75rem; color: var(--text-muted); margin-top: 4px; }

/* Profile Card */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.profile-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad);
}
.profile-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}
.profile-avatar {
  position: relative; display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.avatar-photo {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover; object-position: top center;
  position: relative; z-index: 1;
  border: 2px solid rgba(108,99,255,.5);
  filter: contrast(1.05) brightness(1.02);
  mix-blend-mode: luminosity;
  transition: var(--transition);
}
.profile-card:hover .avatar-photo {
  mix-blend-mode: normal;
  box-shadow: 0 0 20px rgba(108,99,255,.5);
}
.avatar-ring {
  position: absolute; border-radius: 50%;
  border: 2px solid rgba(108,99,255,.3);
  animation: ring-pulse 2.5s ease-out infinite;
  width: 108px; height: 108px;
}
.ring-2 {
  width: 130px; height: 130px;
  animation-delay: .5s;
  border-color: rgba(45,212,191,.2);
}
@keyframes ring-pulse {
  0% { transform: scale(.9); opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}
.profile-card h3 {
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 4px;
}
.profile-title { font-size: .85rem; color: var(--accent); margin-bottom: 20px; }
.profile-info { text-align: left; margin-bottom: 20px; }
.info-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-secondary); font-size: .88rem;
  padding: 6px 0;
}
.info-item i { color: var(--accent); width: 16px; }
.profile-badges {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.badge {
  padding: 4px 12px;
  background: rgba(108,99,255,.1);
  border: 1px solid rgba(108,99,255,.25);
  border-radius: 50px;
  font-size: .78rem; color: var(--accent-2);
  font-family: var(--font-mono);
}

/* ── TIMELINE ─────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 0; }
.timeline::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--teal));
  transform: translateX(-50%);
  border-radius: 2px;
}
.timeline-item {
  display: grid; grid-template-columns: 1fr 40px 1fr;
  gap: 0 20px; align-items: start;
  margin-bottom: 48px;
}
.timeline-item:nth-child(odd) .timeline-card { grid-column: 1; grid-row: 1; }
.timeline-item:nth-child(odd) .timeline-marker { grid-column: 2; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-card { grid-column: 3; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-marker { grid-column: 2; grid-row: 1; }

.timeline-marker {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; margin-top: 14px;
}
.timeline-marker.work {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px rgba(108,99,255,.5);
}
.timeline-marker.work::before { content: '💼'; font-size: 1rem; }
.timeline-marker.edu {
  background: linear-gradient(135deg, var(--teal), #22d3ee);
  box-shadow: 0 0 20px rgba(45,212,191,.5);
}
.timeline-marker.edu::before { content: '🎓'; font-size: 1rem; }

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px; position: relative;
  transition: var(--transition);
}
.timeline-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-accent);
  transform: translateY(-4px);
}
.timeline-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 16px; flex-wrap: wrap;
}
.timeline-card-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
.timeline-org { color: var(--accent); font-size: .88rem; margin-top: 3px; }
.timeline-date {
  font-family: var(--font-mono); font-size: .78rem;
  color: var(--teal); white-space: nowrap;
  background: rgba(45,212,191,.08);
  border: 1px solid rgba(45,212,191,.2);
  padding: 4px 10px; border-radius: 50px;
}
.timeline-list {
  list-style: none; color: var(--text-secondary);
  font-size: .9rem; line-height: 1.7;
}
.timeline-list li {
  padding-left: 18px; position: relative; margin-bottom: 6px;
}
.timeline-list li::before {
  content: '▹'; position: absolute; left: 0;
  color: var(--accent); font-size: .75rem; top: 3px;
}
.timeline-desc { color: var(--text-secondary); font-size: .9rem; }
.timeline-tech {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.timeline-tech span {
  font-family: var(--font-mono); font-size: .75rem;
  color: var(--teal); padding: 3px 10px;
  background: rgba(45,212,191,.07);
  border: 1px solid rgba(45,212,191,.2);
  border-radius: 50px;
}

/* ── PROJECTS ─────────────────────────────────────────────── */
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: var(--transition);
  animation-delay: var(--delay);
}
.project-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); opacity: 0;
  transition: opacity .3s;
}
.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-accent);
}
.project-card:hover::after { opacity: 1; }
.project-card.featured {
  border-color: rgba(108,99,255,.3);
  background: linear-gradient(to bottom, rgba(108,99,255,.06), var(--bg-card));
}
.featured-tag {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 12px;
  background: var(--grad);
  border-radius: 50px; font-size: .72rem;
  font-weight: 600; color: #fff;
}
.project-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.project-icon-wrap {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--grad-subtle);
  border: 1px solid rgba(108,99,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--accent);
}
.project-links { display: flex; gap: 12px; }
.project-links a {
  color: var(--text-muted); font-size: 1.2rem;
  text-decoration: none; transition: var(--transition);
}
.project-links a:hover { color: var(--accent); transform: translateY(-2px); }
.project-title {
  font-size: 1.1rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: 10px;
}
.project-desc {
  color: var(--text-secondary); font-size: .9rem; line-height: 1.7;
  margin-bottom: 16px; flex: 1;
}
.project-highlights {
  list-style: none; margin-bottom: 20px;
}
.project-highlights li {
  font-size: .85rem; color: var(--text-secondary);
  padding: 4px 0 4px 16px; position: relative;
}
.project-highlights li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--teal); font-size: .75rem;
}
.project-tech {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: auto;
}
.project-tech span {
  font-family: var(--font-mono); font-size: .72rem;
  color: var(--accent-2);
  padding: 3px 9px; background: rgba(167,139,250,.08);
  border: 1px solid rgba(167,139,250,.2); border-radius: 50px;
}

/* ── SKILLS ───────────────────────────────────────────────── */
.skills-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 56px;
}
.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: var(--transition);
}
.skill-category:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px); box-shadow: var(--shadow-accent);
}
.skill-category-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--grad-subtle);
  border: 1px solid rgba(108,99,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--accent);
  margin-bottom: 16px;
}
.skill-category h3 {
  font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 16px;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags span {
  padding: 5px 12px;
  background: var(--bg-700); border: 1px solid var(--border);
  border-radius: 50px; font-size: .8rem; color: var(--text-secondary);
  transition: var(--transition);
}
.skill-tags span:hover {
  border-color: var(--accent); color: var(--accent);
  background: rgba(108,99,255,.08);
}

/* Certifications */
.certs-section { margin-top: 16px; }
.certs-title {
  font-size: 1.4rem; font-weight: 700; text-align: center;
  margin-bottom: 28px; color: var(--text-primary);
}
.certs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cert-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px 16px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px;
  transition: var(--transition);
}
.cert-card:hover {
  border-color: var(--border-hover); transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}
.cert-card i { font-size: 1.4rem; color: var(--accent); }
.cert-card span { font-size: .88rem; font-weight: 600; color: var(--text-primary); }
.cert-card small { font-size: .75rem; color: var(--text-muted); }

/* ── ACHIEVEMENTS ─────────────────────────────────────────── */
.achievements-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 56px;
}
.achievement-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; gap: 20px;
  transition: var(--transition);
}
.achievement-card:hover {
  border-color: var(--border-hover); transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-accent);
}
.achievement-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--grad); 
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
}
.achievement-badge {
  display: inline-block; padding: 3px 10px;
  background: rgba(108,99,255,.12);
  border: 1px solid rgba(108,99,255,.3);
  border-radius: 50px; font-size: .72rem; font-weight: 600;
  color: var(--accent); margin-bottom: 8px;
  font-family: var(--font-mono);
}
.achievement-badge.gold {
  background: rgba(251,191,36,.1);
  border-color: rgba(251,191,36,.3); color: #fbbf24;
}
.achievement-badge.silver {
  background: rgba(148,163,184,.1);
  border-color: rgba(148,163,184,.3); color: #94a3b8;
}
.achievement-body h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.achievement-body > p { font-size: .85rem; color: var(--text-muted); margin-bottom: 8px; }
.achievement-detail { font-size: .88rem; color: var(--text-secondary); line-height: 1.6; }
.achievement-detail strong { color: var(--text-primary); }

/* Volunteering */
.volunteering { }
.vol-title {
  font-size: 1.4rem; font-weight: 700; text-align: center;
  margin-bottom: 28px; color: var(--text-primary);
}
.vol-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.vol-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px 22px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: var(--transition);
}
.vol-card:hover { border-color: var(--border-hover); transform: translateX(4px); }
.vol-card i { font-size: 1.3rem; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.vol-card h4 { font-size: .95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 3px; }
.vol-card p { font-size: .85rem; color: var(--accent); }
.vol-card span { font-size: .78rem; color: var(--text-muted); font-family: var(--font-mono); }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: start;
}
.contact-intro {
  font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 32px;
}
.contact-intro strong { color: var(--text-primary); }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; gap: 16px; align-items: center;
  padding: 16px 20px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border);
  text-decoration: none; transition: var(--transition);
}
.contact-item:hover {
  border-color: var(--border-hover);
  transform: translateX(6px); box-shadow: var(--shadow-accent);
}
.contact-item-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--grad-subtle); border: 1px solid rgba(108,99,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--accent); flex-shrink: 0;
}
.contact-item > div { display: flex; flex-direction: column; gap: 2px; }
.contact-item span { font-size: .78rem; color: var(--text-muted); }
.contact-item strong { font-size: .92rem; color: var(--text-primary); }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { position: relative; }
.form-group input, .form-group textarea {
  width: 100%; padding: 16px 18px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); color: var(--text-primary);
  font-family: var(--font-main); font-size: .95rem;
  outline: none; resize: none;
  transition: var(--transition);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: transparent; }
.form-group label {
  position: absolute; left: 18px; top: 16px;
  color: var(--text-muted); font-size: .9rem;
  transition: var(--transition); pointer-events: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108,99,255,.15);
}
.form-group input:focus ~ label, .form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px; left: 14px; font-size: .78rem;
  background: var(--bg-800); padding: 0 6px;
  color: var(--accent);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  text-align: center; padding: 36px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: .88rem;
}
.footer-sub { font-size: .78rem; margin-top: 6px; color: var(--text-muted); opacity: .6; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); border: none; cursor: pointer;
  color: #fff; font-size: 1rem;
  box-shadow: var(--shadow-accent);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translate(0);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-h) + 20px);
    gap: 40px;
  }
  .hero-content { text-align: center; }
  .hero-tag { display: inline-flex; }
  .hero-role { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-socials { justify-content: center; }
  .hero-desc { margin: 0 auto 36px; max-width: 580px; }
  .hero-photo-wrap { height: 400px; order: -1; }
  .hero-photo-frame { width: 260px; height: 340px; }
  .hero-photo-ring { width: 300px; height: 300px; }
  .hero-photo-ring.ring-b { width: 340px; height: 340px; }
  .badge-top  { right: 0; }
  .badge-bottom { left: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card { display: flex; justify-content: center; }
  .profile-card { max-width: 400px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 0; }
  .timeline-item:nth-child(odd) .timeline-card,
  .timeline-item:nth-child(even) .timeline-card { grid-column: 1; grid-row: 2; }
  .timeline-marker { grid-column: 1 !important; grid-row: 1 !important; margin-bottom: 12px; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; background: rgba(5,8,16,.96);
    backdrop-filter: blur(20px);
    padding: 24px; gap: 20px;
    transform: translateY(-110%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: translateY(0); }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .hero-inner { padding: calc(var(--nav-h) + 16px) 20px 60px; gap: 32px; }
  .hero-photo-wrap { height: 320px; }
  .hero-photo-frame { width: 210px; height: 280px; }
  .hero-photo-ring { width: 250px; height: 250px; }
  .hero-photo-ring.ring-b { width: 290px; height: 290px; }
  .hero-name { letter-spacing: -1px; }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .achievements-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .vol-grid { grid-template-columns: 1fr; }
  .achievement-card { flex-direction: column; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .skills-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 1.8rem; }
  .back-to-top { bottom: 20px; right: 20px; }
}

/* ================================================================
   GTA 6 STYLE – 3D DEPTH & CINEMATIC ENHANCEMENTS
   ================================================================ */

/* ── VIGNETTE OVERLAY ──────────────────────────────────────── */
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(3,5,8,.7) 100%);
}

/* ── ATMOSPHERIC DEPTH ORBS ────────────────────────────────── */
.hero-depth-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 1;
  filter: blur(100px);
  animation: orb-drift 8s ease-in-out infinite;
}
.hero-depth-orb--left {
  width: 700px; height: 700px;
  top: -10%; left: -20%;
  background: radial-gradient(circle, rgba(108,99,255,.18) 0%, rgba(108,99,255,.05) 50%, transparent 70%);
  animation-delay: 0s;
}
.hero-depth-orb--right {
  width: 600px; height: 600px;
  top: 10%; right: -18%;
  background: radial-gradient(circle, rgba(255,107,53,.14) 0%, rgba(244,114,182,.08) 50%, transparent 70%);
  animation-delay: -4s;
}
.hero-depth-orb--bottom {
  width: 800px; height: 400px;
  bottom: -15%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(45,212,191,.07) 0%, transparent 65%);
  animation-delay: -2s;
  filter: blur(80px);
}
@keyframes orb-drift {
  0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-30px) scale(1.05); opacity: .8; }
}
.hero-depth-orb--bottom.drift {
  animation: orb-drift-x 10s ease-in-out infinite;
}
@keyframes orb-drift-x {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-20px); }
}

/* ── HERO PERSPECTIVE GRID FLOOR ───────────────────────────── */
.hero-grid-floor {
  position: absolute; bottom: -24px; left: -20%; right: -20%;
  height: 360px; z-index: 1; pointer-events: none;
  transform: perspective(500px) rotateX(72deg);
  transform-origin: bottom center;
  background-image:
    linear-gradient(rgba(108,99,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,.18) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 80%);
  animation: grid-flicker 5s ease-in-out infinite;
}
@keyframes grid-flicker {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}

/* ── GLITCH EFFECT ON HERO NAME ────────────────────────────── */
.name-line {
  display: block;
  position: relative;
}
.name-line[data-text]::before,
.name-line[data-text]::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
}
.name-line[data-text]::before {
  color: var(--coral);
  clip-path: inset(0 0 60% 0);
  transform: translateX(-3px);
  animation: glitch-top 6s steps(1) infinite;
}
.name-line[data-text]::after {
  color: var(--neon-cyan);
  clip-path: inset(55% 0 0 0);
  transform: translateX(3px);
  animation: glitch-bot 6s steps(1) infinite;
}
@keyframes glitch-top {
  0%, 88%, 100% { opacity: 0; transform: translateX(-3px); }
  89% { opacity: .4; transform: translateX(3px); }
  90%, 91% { opacity: .3; transform: translateX(-2px) skewX(-2deg); }
  92% { opacity: 0; }
}
@keyframes glitch-bot {
  0%, 88%, 100% { opacity: 0; transform: translateX(3px); }
  89% { opacity: .35; transform: translateX(-3px); }
  90%, 91% { opacity: .25; transform: translateX(2px) skewX(2deg); }
  92% { opacity: 0; }
}

/* ── 3D FLOATING GEOMETRIC SHAPES ─────────────────────────── */
.geo-shape {
  position: absolute; pointer-events: none; z-index: 1;
  border: 1px solid rgba(108,99,255,.2);
  animation: geo-float3d 12s ease-in-out infinite;
  transform-style: preserve-3d;
}
.geo-shape--hex {
  width: 120px; height: 120px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, rgba(108,99,255,.06), rgba(45,212,191,.04));
  border: none;
  top: 15%; right: 8%;
  animation-delay: -2s;
}
.geo-shape--ring {
  width: 80px; height: 80px; border-radius: 50%;
  border: 2px solid rgba(255,107,53,.2);
  top: 55%; left: 5%;
  animation-delay: -5s;
  box-shadow: 0 0 20px rgba(255,107,53,.1), inset 0 0 20px rgba(255,107,53,.05);
}
.geo-shape--diamond {
  width: 50px; height: 50px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(244,114,182,.08), rgba(108,99,255,.06));
  top: 30%; left: 3%;
  animation-delay: -7s;
  animation-duration: 9s;
}
.geo-shape--tri {
  width: 0; height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid rgba(45,212,191,.06);
  border-top: none;
  background: transparent;
  top: 70%; right: 12%;
  animation-delay: -3s;
  animation-duration: 15s;
}
@keyframes geo-float3d {
  0%, 100% { transform: translateY(0) rotate(0deg) rotateX(0deg); opacity: .7; }
  33%  { transform: translateY(-20px) rotate(8deg) rotateX(5deg); opacity: 1; }
  66%  { transform: translateY(-10px) rotate(-5deg) rotateX(-3deg); opacity: .8; }
}

/* ── 3D PROJECT CARDS (HOLOGRAPHIC SHIMMER) ────────────────── */
.project-card {
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.175,.885,.32,1.275), box-shadow .4s ease, border-color .3s ease;
}
.project-card::before {
  content: '';
  position: absolute; inset: -1px; border-radius: inherit;
  background: var(--grad);
  z-index: -1; opacity: 0;
  transition: opacity .4s ease;
  filter: blur(10px);
}
.project-card:hover::before { opacity: .35; }

/* Holographic shimmer sweep on hover */
.project-card .card-shimmer {
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: 10; overflow: hidden;
}
.project-card .card-shimmer::after {
  content: '';
  position: absolute; top: -100%; left: -60%;
  width: 40%; height: 300%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,.04) 40%,
    rgba(255,255,255,.08) 50%,
    rgba(255,255,255,.04) 60%,
    transparent 80%
  );
  transform: skewX(-15deg);
  transition: left .55s ease, top .55s ease;
}
.project-card:hover .card-shimmer::after {
  left: 120%; top: -100%;
  transition-duration: .55s;
}

/* ── 3D ACHIEVEMENT CARDS ──────────────────────────────────── */
.achievement-card {
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.175,.885,.32,1.275), box-shadow .4s ease, border-color .3s ease;
}
.achievement-card::before {
  content: '';
  position: absolute; inset: -1px; border-radius: inherit;
  background: var(--grad);
  z-index: -1; opacity: 0;
  transition: opacity .4s ease;
  filter: blur(8px);
}
.achievement-card:hover::before { opacity: .25; }

/* ── SKILL CATEGORY 3D ─────────────────────────────────────── */
.skill-category {
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.175,.885,.32,1.275), box-shadow .4s ease, border-color .3s ease;
}

/* ── PROFILE CARD 3D DEPTH ─────────────────────────────────── */
.profile-card {
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.175,.885,.32,1.275), box-shadow .5s ease;
}

/* ── SECTION HEADER ENHANCED ───────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .8rem; color: var(--accent);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(108,99,255,.5);
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -1px;
  color: var(--text-primary);
  text-shadow: 0 4px 20px rgba(0,0,0,.5);
}

/* ── ENHANCED BUTTONS ──────────────────────────────────────── */
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-accent), 0 2px 0 rgba(0,0,0,.4);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 60px rgba(108,99,255,.5), 0 6px 20px rgba(108,99,255,.3);
}
.btn-outline:hover {
  background: rgba(108,99,255,.12);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(108,99,255,.2);
}

/* ── NEON NAV CTA ──────────────────────────────────────────── */
.nav-cta:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(108,99,255,.5), 0 0 40px rgba(108,99,255,.2);
}

/* ── STAT CARDS DEPTH ──────────────────────────────────────── */
.stat-card {
  background: var(--grad-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 12px; text-align: center;
  transition: var(--transition);
  transform-style: preserve-3d;
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,99,255,.6), transparent);
  opacity: 0; transition: opacity .3s;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px) perspective(400px) rotateX(4deg);
  box-shadow: 0 20px 50px rgba(108,99,255,.3);
}

/* ── TIMELINE CONNECTOR GLOW ───────────────────────────────── */
.timeline::before {
  background: linear-gradient(to bottom, var(--accent), var(--teal));
  box-shadow: 0 0 20px rgba(108,99,255,.3);
}
.timeline-marker.work {
  box-shadow: 0 0 0 4px rgba(108,99,255,.15), 0 0 30px rgba(108,99,255,.5);
}
.timeline-marker.edu {
  box-shadow: 0 0 0 4px rgba(45,212,191,.15), 0 0 30px rgba(45,212,191,.5);
}

/* ── DEPTH SECTION DIVIDERS ────────────────────────────────── */
.section::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(108,99,255,.15) 30%, rgba(45,212,191,.15) 70%, transparent 100%);
  margin: 0 auto;
  max-width: 1120px;
}

/* ── NEON SCROLLBAR ────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-900); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--accent), var(--teal));
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(108,99,255,.5);
}

/* ── HERO PHOTO BADGE NEON ─────────────────────────────────── */
.hero-photo-badge {
  box-shadow: var(--shadow-md), 0 0 20px rgba(108,99,255,.15);
  border: 1px solid rgba(108,99,255,.4);
}
.hero-photo-badge i { color: var(--accent); text-shadow: 0 0 8px rgba(108,99,255,.8); }

/* ── HERO SCROLL HINT ──────────────────────────────────────── */
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  box-shadow: 0 0 6px rgba(108,99,255,.4);
}

/* ── CERT CARDS DEPTH ──────────────────────────────────────── */
.cert-card {
  transform-style: preserve-3d;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.cert-card::before {
  content: '';
  position: absolute; inset: -1px; border-radius: inherit;
  background: var(--grad); z-index: -1;
  opacity: 0; filter: blur(6px); transition: opacity .3s;
}
.cert-card:hover::before { opacity: .3; }
.cert-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px) perspective(400px) rotateX(5deg);
  box-shadow: 0 20px 50px rgba(108,99,255,.3);
}

/* ── VOL CARD NEON BORDER ──────────────────────────────────── */
.vol-card:hover {
  border-color: rgba(108,99,255,.4);
  transform: translateX(6px);
  box-shadow: -4px 0 20px rgba(108,99,255,.2);
}

/* ── CONTACT ITEM DEPTH ────────────────────────────────────── */
.contact-item:hover {
  border-color: var(--border-hover);
  transform: translateX(8px);
  box-shadow: -8px 0 30px rgba(108,99,255,.2), var(--shadow-accent);
}

/* ── FOOTER GLOW ───────────────────────────────────────────── */
.footer {
  text-align: center; padding: 40px 24px;
  border-top: 1px solid rgba(108,99,255,.12);
  color: var(--text-muted); font-size: .88rem;
  background: linear-gradient(to top, rgba(108,99,255,.04), transparent);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--teal), transparent);
  box-shadow: 0 0 10px rgba(108,99,255,.3);
}

/* ── BACK TO TOP 3D ────────────────────────────────────────── */
.back-to-top {
  box-shadow: 0 8px 30px rgba(108,99,255,.4), 0 2px 8px rgba(0,0,0,.5);
  transition: var(--transition);
}
.back-to-top:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(108,99,255,.6), 0 4px 12px rgba(0,0,0,.4);
}

/* ── CURSOR DEPTH ──────────────────────────────────────────── */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(108,99,255,.8), 0 0 20px rgba(108,99,255,.4);
}
.cursor-outline {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(108,99,255,.5);
  box-shadow: 0 0 10px rgba(108,99,255,.15);
  transition: width .2s, height .2s, border-color .2s, box-shadow .2s;
}

/* ── SECTION-ALT DEPTH ─────────────────────────────────────── */
.section-alt {
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(108,99,255,.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(45,212,191,.04) 0%, transparent 55%),
    var(--bg-800);
}

/* ── HERO TAG NEON ─────────────────────────────────────────── */
.hero-tag {
  background: rgba(45,212,191,.07);
  border: 1px solid rgba(45,212,191,.3);
  box-shadow: 0 0 20px rgba(45,212,191,.08), inset 0 1px 0 rgba(45,212,191,.1);
}
.dot { box-shadow: 0 0 6px rgba(45,212,191,.8); }

/* ── GRADIENT TEXT GLOW ────────────────────────────────────── */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(108,99,255,.4));
}

/* ── PROJECT ICON WRAP GLOW ────────────────────────────────── */
.project-icon-wrap {
  box-shadow: 0 4px 20px rgba(108,99,255,.15), inset 0 1px 0 rgba(255,255,255,.05);
  transition: var(--transition);
}
.project-card:hover .project-icon-wrap {
  box-shadow: 0 6px 30px rgba(108,99,255,.35);
  transform: translateZ(10px);
}

/* ── ACHIEVEMENT ICON GLOW ─────────────────────────────────── */
.achievement-icon {
  box-shadow: 0 8px 30px rgba(108,99,255,.3);
}
.achievement-card:hover .achievement-icon {
  box-shadow: 0 12px 40px rgba(108,99,255,.5);
  transform: translateZ(8px);
}

/* ── RESPONSIVE 3D ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-grid-floor { height: 200px; }
  .geo-shape--hex, .geo-shape--ring { display: none; }
  .grain-overlay { opacity: .02; }
}
@media (max-width: 480px) {
  .hero-grid-floor { height: 150px; }
  .geo-shape { display: none; }
}
