/* ═══════════════════════════════════════════════════════════════
   SHREYANSH JAISWAL — CYBERPUNK PORTFOLIO
   styles.css — Core Design System
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Colors */
  --bg-primary:    #020408;
  --bg-secondary:  #060c14;
  --bg-tertiary:   #0a1220;
  --bg-card:       rgba(6, 14, 28, 0.7);

  --neon-blue:     #00d4ff;
  --neon-purple:   #b44fff;
  --neon-red:      #ff2d55;
  --neon-cyan:     #00fff7;
  --neon-pink:     #ff6ec7;
  --neon-yellow:   #ffe600;
  --neon-green:    #39ff14;

  --text-primary:  #e8f4ff;
  --text-secondary:#8ba8c8;
  --text-muted:    #4a6080;

  --border-glow:   rgba(0, 212, 255, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.06);

  /* Fonts */
  --font-display:  'Orbitron', monospace;
  --font-body:     'Exo 2', sans-serif;
  --font-mono:     'Share Tech Mono', monospace;
  --font-ui:       'Rajdhani', sans-serif;

  /* Spacing */
  --section-pad:   120px;
  --container-max: 1280px;

  /* Transitions */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.45, 0, 0.55, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }
ul { list-style: none; }

/* ── Custom Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-purple); }

/* ── Custom Cursor ─────────────────────────────────────────── */
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--neon-blue);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
  box-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(0, 212, 255, 0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease-out), width 0.2s, height 0.2s, border-color 0.2s;
}
.cursor-ring.hovering {
  width: 48px; height: 48px;
  border-color: var(--neon-purple);
}

/* ── Loader ────────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0;
  background: var(--bg-primary);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { position: relative; display: flex; align-items: center; justify-content: center; }
.loader-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: loaderSpin 1.5s linear infinite;
}
.loader-ring:nth-child(1) {
  width: 120px; height: 120px;
  border-top-color: var(--neon-blue);
  border-right-color: var(--neon-blue);
}
.loader-ring--2 {
  width: 90px; height: 90px;
  border-bottom-color: var(--neon-purple);
  border-left-color: var(--neon-purple);
  animation-direction: reverse;
  animation-duration: 1s;
}
.loader-ring--3 {
  width: 60px; height: 60px;
  border-top-color: var(--neon-red);
  animation-duration: 0.7s;
}
.loader-text {
  text-align: center; z-index: 1;
}
.loader-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--neon-blue);
  text-shadow: 0 0 20px var(--neon-blue);
  letter-spacing: 0.3em;
}
.loader-status {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  margin-top: 4px;
}
.loader-bar {
  width: 80px; height: 2px;
  background: rgba(255,255,255,0.1);
  margin: 8px auto 0;
  border-radius: 1px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  animation: loaderFill 2s var(--ease-out) forwards;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Base ──────────────────────────────────────────── */
.section { padding: var(--section-pad) 0; position: relative; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-blue);
  letter-spacing: 0.3em;
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}
.section-line {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  margin: 20px auto 0;
  border-radius: 1px;
  box-shadow: 0 0 10px var(--neon-blue);
}
.section-desc {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: -40px auto 48px;
}

/* ── Text Utilities ────────────────────────────────────────── */
.text-neon        { color: var(--neon-blue); text-shadow: 0 0 20px var(--neon-blue); }
.text-neon-blue   { color: var(--neon-blue); }
.text-neon-purple { color: var(--neon-purple); }
.text-neon-red    { color: var(--neon-red); }

/* ── Glass Card ────────────────────────────────────────────── */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  cursor: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: #000;
  box-shadow: 0 0 20px rgba(0,212,255,0.3), 0 0 40px rgba(0,212,255,0.1);
}
.btn--primary:hover {
  box-shadow: 0 0 30px rgba(0,212,255,0.6), 0 0 60px rgba(0,212,255,0.2);
  transform: translateY(-2px);
}
.btn--primary .btn-glow {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn--primary:hover .btn-glow { opacity: 1; }

.btn--secondary {
  background: transparent;
  color: var(--neon-blue);
  border: 1px solid var(--neon-blue);
  box-shadow: 0 0 10px rgba(0,212,255,0.1), inset 0 0 10px rgba(0,212,255,0.05);
}
.btn--secondary:hover {
  background: rgba(0,212,255,0.1);
  box-shadow: 0 0 20px rgba(0,212,255,0.3), inset 0 0 20px rgba(0,212,255,0.1);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn--ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.btn--youtube {
  background: #ff0000;
  color: #fff;
  gap: 10px;
  box-shadow: 0 0 20px rgba(255,0,0,0.3);
}
.btn--youtube:hover {
  box-shadow: 0 0 40px rgba(255,0,0,0.5);
  transform: translateY(-2px);
}
.btn--full { width: 100%; justify-content: center; }
.btn-icon { font-size: 1rem; transition: transform 0.3s; }
.btn:hover .btn-icon { transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease-out);
}
.nav.scrolled {
  background: rgba(2, 4, 8, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 2px;
}
.logo-bracket { color: var(--neon-blue); opacity: 0.7; }
.logo-text {
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(0,212,255,0.5);
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex-wrap: wrap;
}
.nav-link {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 1px;
  background: var(--neon-blue);
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 0 6px var(--neon-blue);
}
.nav-link:hover, .nav-link.active {
  color: var(--neon-blue);
}
.nav-link:hover::after, .nav-link.active::after {
  left: 12px; right: 12px;
}
.nav-link--admin {
  color: var(--neon-red);
  border: 1px solid rgba(255,45,85,0.3);
}
.nav-link--admin:hover { color: var(--neon-red); background: rgba(255,45,85,0.1); }
.nav-link--admin::after { background: var(--neon-red); box-shadow: 0 0 6px var(--neon-red); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.visitor-counter {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
}
.counter-icon { color: var(--neon-green); font-size: 0.6rem; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
}
#particleCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  z-index: 2; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--neon-green);
  padding: 8px 16px;
  border: 1px solid rgba(57,255,20,0.3);
  border-radius: 20px;
  background: rgba(57,255,20,0.05);
  margin-bottom: 32px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px var(--neon-green);
}
.hero-name-wrap { margin-bottom: 24px; }
.hero-glitch-wrap { overflow: hidden; }
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--text-primary);
  display: block;
  position: relative;
}
.hero-name--accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--neon-blue);
  text-shadow: 0 0 40px rgba(0,212,255,0.4);
}
.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 2vw, 1rem);
  color: var(--neon-blue);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  min-height: 1.5em;
}
.subtitle-prefix { color: var(--neon-purple); opacity: 0.7; }
.typing-cursor {
  animation: blink 1s step-end infinite;
  color: var(--neon-blue);
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.hero-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
}
.hero-stat {
  text-align: center; padding: 0 32px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--neon-blue);
  text-shadow: 0 0 20px var(--neon-blue);
}
.stat-plus { color: var(--neon-purple); font-size: 1.2rem; }
.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  margin-top: 4px;
}
.hero-stat-divider {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--border-glow), transparent);
}
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  z-index: 3;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--neon-blue), transparent);
}
/* Corner decorations */
.hero-corner {
  position: absolute; width: 30px; height: 30px;
  z-index: 3; pointer-events: none;
}
.hero-corner--tl { top: 80px; left: 24px; border-top: 2px solid var(--neon-blue); border-left: 2px solid var(--neon-blue); }
.hero-corner--tr { top: 80px; right: 24px; border-top: 2px solid var(--neon-blue); border-right: 2px solid var(--neon-blue); }
.hero-corner--bl { bottom: 24px; left: 24px; border-bottom: 2px solid var(--neon-blue); border-left: 2px solid var(--neon-blue); }
.hero-corner--br { bottom: 24px; right: 24px; border-bottom: 2px solid var(--neon-blue); border-right: 2px solid var(--neon-blue); }

/* ══════════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════════ */
.about { background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.about-visual { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.about-avatar-wrap {
  position: relative;
  width: 260px; height: 260px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 0 40px rgba(0,212,255,0.25)) drop-shadow(0 0 80px rgba(180,79,255,0.15));
}
/* Outer ambient glow halo */
.about-avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(0,212,255,0.08) 0%,
    rgba(180,79,255,0.06) 40%,
    transparent 70%);
  animation: haloPulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.avatar-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid transparent;
}
.avatar-ring--1 {
  inset: -28px;
  border-color: rgba(0,212,255,0.18);
  border-top-color: rgba(0,212,255,0.6);
  border-right-color: rgba(0,212,255,0.35);
  animation: ringRotate 10s linear infinite;
  box-shadow: 0 0 12px rgba(0,212,255,0.1);
}
.avatar-ring--2 {
  inset: -14px;
  border-color: rgba(180,79,255,0.25);
  border-bottom-color: rgba(180,79,255,0.7);
  border-left-color: rgba(180,79,255,0.4);
  border-style: dashed;
  animation: ringRotate 6s linear infinite reverse;
}
.avatar-ring--3 {
  inset: -4px;
  border: 2px solid transparent;
  border-top-color: var(--neon-blue);
  border-right-color: rgba(0,212,255,0.3);
  animation: ringRotate 3s linear infinite;
  box-shadow: inset 0 0 8px rgba(0,212,255,0.1);
}
.avatar-img {
  width: 240px; height: 240px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(0,212,255,0.4);
  box-shadow:
    0 0 0 1px rgba(180,79,255,0.2),
    0 0 30px rgba(0,212,255,0.2),
    0 0 60px rgba(180,79,255,0.1),
    inset 0 0 30px rgba(0,0,0,0.5);
  background: #050a12;
}
/* The actual photo — face-focused crop with cinematic treatment */
.avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter:
    contrast(1.12)
    saturate(0.85)
    brightness(1.05)
    hue-rotate(-5deg);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.6s ease;
}
.about-avatar-wrap:hover .avatar-img img {
  transform: scale(1.04);
  filter:
    contrast(1.18)
    saturate(0.9)
    brightness(1.1)
    hue-rotate(-5deg);
}
/* Cinematic color grading overlay — cool shadows, warm mids */
.avatar-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg,
      rgba(0,212,255,0.12) 0%,
      rgba(0,0,0,0) 35%,
      rgba(0,0,0,0) 65%,
      rgba(180,79,255,0.1) 100%),
    linear-gradient(to bottom,
      rgba(0,0,0,0.15) 0%,
      rgba(0,0,0,0) 30%,
      rgba(0,0,0,0) 70%,
      rgba(0,0,0,0.35) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}
/* Neon rim light — left blue, right purple */
.avatar-img::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 5% 50%, rgba(0,212,255,0.22) 0%, transparent 45%),
    radial-gradient(ellipse at 95% 50%, rgba(180,79,255,0.18) 0%, transparent 45%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}
/* Scanline texture for cyberpunk feel */
.avatar-img::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.04) 3px,
    rgba(0,0,0,0.04) 4px
  );
  pointer-events: none;
  z-index: 3;
  opacity: 0.5;
}
.avatar-badge {
  position: absolute; bottom: 8px; right: -14px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: #000;
  font-family: var(--font-display);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow:
    0 0 20px rgba(0,212,255,0.5),
    0 0 40px rgba(0,212,255,0.2),
    0 2px 8px rgba(0,0,0,0.4);
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,212,255,0.5), 0 0 40px rgba(0,212,255,0.2); }
  50% { box-shadow: 0 0 30px rgba(0,212,255,0.8), 0 0 60px rgba(180,79,255,0.3); }
}
.about-code-block {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: rgba(0,0,0,0.5);
}
.code-header {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-subtle);
}
.code-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.code-dot.red    { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green  { background: #28c840; }
.code-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-left: 6px;
}
.code-content {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.code-key   { color: var(--neon-blue); }
.code-str   { color: var(--neon-green); }
.code-num   { color: var(--neon-yellow); }
.code-bool  { color: var(--neon-purple); }

.about-greeting {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.wave { display: inline-block; animation: wave 2s ease-in-out infinite; }
.about-text {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.about-stat-card {
  padding: 20px;
  display: flex; align-items: center; gap: 16px;
  transition: all 0.3s var(--ease-out);
}
.about-stat-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,212,255,0.1);
}
.stat-icon { font-size: 1.5rem; }
.stat-info { display: flex; flex-direction: column; }
.stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--neon-blue);
  text-shadow: 0 0 15px rgba(0,212,255,0.5);
}
.stat-desc {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ══════════════════════════════════════════════════════════════
   SKILLS
   ══════════════════════════════════════════════════════════════ */
.skills { background: var(--bg-secondary); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.skill-card {
  padding: 28px 20px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  cursor: default;
}
.skill-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,212,255,0.3);
}
.skill-icon-wrap {
  display: flex; justify-content: center;
  margin-bottom: 16px;
}
.skill-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--neon-blue);
  transition: all 0.3s;
}
.skill-icon svg { width: 26px; height: 26px; }
.skill-icon--purple { background: rgba(180,79,255,0.08); border-color: rgba(180,79,255,0.2); color: var(--neon-purple); }
.skill-icon--yellow { background: rgba(255,230,0,0.08); border-color: rgba(255,230,0,0.2); color: var(--neon-yellow); }
.skill-icon--blue   { background: rgba(0,212,255,0.08); border-color: rgba(0,212,255,0.2); color: var(--neon-cyan); }
.skill-icon--cyan   { background: rgba(0,255,247,0.08); border-color: rgba(0,255,247,0.2); color: var(--neon-cyan); }
.skill-icon--red    { background: rgba(255,45,85,0.08); border-color: rgba(255,45,85,0.2); color: var(--neon-red); }
.skill-icon--pink   { background: rgba(255,110,199,0.08); border-color: rgba(255,110,199,0.2); color: var(--neon-pink); }

.skill-card:hover .skill-icon { transform: scale(1.1); box-shadow: 0 0 20px currentColor; }

.skill-name {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.skill-bar-wrap {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.skill-bar {
  flex: 1; height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.skill-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
  border-radius: 2px;
  transition: width 1.5s var(--ease-out);
  box-shadow: 0 0 8px var(--neon-blue);
}
.skill-bar--purple .skill-fill { background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink)); box-shadow: 0 0 8px var(--neon-purple); }
.skill-bar--yellow .skill-fill { background: linear-gradient(90deg, var(--neon-yellow), #ffaa00); box-shadow: 0 0 8px var(--neon-yellow); }
.skill-bar--blue   .skill-fill { background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue)); box-shadow: 0 0 8px var(--neon-cyan); }
.skill-bar--cyan   .skill-fill { background: linear-gradient(90deg, var(--neon-cyan), #00a8ff); box-shadow: 0 0 8px var(--neon-cyan); }
.skill-bar--red    .skill-fill { background: linear-gradient(90deg, var(--neon-red), #ff6b35); box-shadow: 0 0 8px var(--neon-red); }
.skill-bar--pink   .skill-fill { background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple)); box-shadow: 0 0 8px var(--neon-pink); }

.skill-pct {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  min-width: 30px;
}
.skill-tags {
  display: flex; gap: 6px; justify-content: center; flex-wrap: wrap;
}
.skill-tags span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  padding: 3px 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  letter-spacing: 0.05em;
}
.skill-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,212,255,0.06), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.skill-glow--purple { background: radial-gradient(ellipse at 50% 100%, rgba(180,79,255,0.08), transparent 70%); }
.skill-glow--yellow { background: radial-gradient(ellipse at 50% 100%, rgba(255,230,0,0.06), transparent 70%); }
.skill-glow--blue   { background: radial-gradient(ellipse at 50% 100%, rgba(0,255,247,0.06), transparent 70%); }
.skill-glow--cyan   { background: radial-gradient(ellipse at 50% 100%, rgba(0,255,247,0.06), transparent 70%); }
.skill-glow--red    { background: radial-gradient(ellipse at 50% 100%, rgba(255,45,85,0.08), transparent 70%); }
.skill-glow--pink   { background: radial-gradient(ellipse at 50% 100%, rgba(255,110,199,0.08), transparent 70%); }
.skill-card:hover .skill-glow { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   PROJECTS
   ══════════════════════════════════════════════════════════════ */
.projects { background: var(--bg-primary); }
.projects-controls {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.search-wrap {
  position: relative; flex: 1; min-width: 240px;
}
.search-icon {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}
.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 16px 12px 42px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.search-input:focus {
  outline: none;
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 20px rgba(0,212,255,0.1);
}
.search-input::placeholder { color: var(--text-muted); }

.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  padding: 8px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  transition: all 0.3s;
  cursor: none;
}
.filter-btn:hover, .filter-btn.active {
  color: var(--neon-blue);
  border-color: rgba(0,212,255,0.4);
  background: rgba(0,212,255,0.08);
  box-shadow: 0 0 10px rgba(0,212,255,0.1);
}

.featured-label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--neon-yellow);
  margin-bottom: 20px;
}
.featured-icon { font-size: 0.8rem; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.featured-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 48px;
}

/* Project Card */
.project-card {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  cursor: none;
  position: relative;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(0,212,255,0.1);
}
.project-card.featured {
  border-color: rgba(255,230,0,0.2);
}
.project-card.featured::after {
  content: '★ FEATURED';
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--neon-yellow);
  background: rgba(255,230,0,0.1);
  border: 1px solid rgba(255,230,0,0.3);
  padding: 4px 10px;
  border-radius: 10px;
  z-index: 2;
}
.project-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.project-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.project-card:hover .project-thumb img { transform: scale(1.08); }
.project-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2,4,8,0.9) 100%);
}
.project-thumb-actions {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  opacity: 0;
  transition: opacity 0.3s;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.project-card:hover .project-thumb-actions { opacity: 1; }
.project-action-btn {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #000;
  background: var(--neon-blue);
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: none;
}
.project-action-btn:hover { background: var(--neon-purple); transform: scale(1.05); }
.project-action-btn.ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.3);
}

.project-body { padding: 20px; }
.project-cats {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.project-cat {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--neon-blue);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 3px 8px;
  border-radius: 10px;
}
.project-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 8px;
  transition: color 0.3s;
}
.project-card:hover .project-title { color: var(--neon-blue); }
.project-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-tech {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.project-tech span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: 4px;
}
.project-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}
.project-date {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
}
.project-links { display: flex; gap: 8px; }
.project-link {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  transition: all 0.2s;
  cursor: none;
}
.project-link:hover {
  color: var(--neon-blue);
  border-color: rgba(0,212,255,0.3);
}

.projects-footer { text-align: center; }

/* ══════════════════════════════════════════════════════════════
   YOUTUBE
   ══════════════════════════════════════════════════════════════ */
.youtube { background: var(--bg-secondary); }
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.yt-card { overflow: hidden; transition: all 0.4s var(--ease-out); }
.yt-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,0,0,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255,0,0,0.1);
}
.yt-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.yt-thumb iframe { width: 100%; height: 100%; border: none; }
.yt-info { padding: 16px; }
.yt-title {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}
.yt-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}
.youtube-cta { text-align: center; }

/* ══════════════════════════════════════════════════════════════
   TIMELINE
   ══════════════════════════════════════════════════════════════ */
.timeline { background: var(--bg-primary); }
.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--neon-blue), var(--neon-purple), transparent);
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--neon-blue);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}
.timeline-item[data-side="left"] { flex-direction: row-reverse; }
.timeline-item[data-side="left"] .timeline-card { text-align: right; }
.timeline-dot {
  position: absolute;
  left: 50%; top: 20px;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  background: var(--bg-secondary);
  border: 2px solid var(--neon-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}
.timeline-card {
  flex: 1;
  padding: 24px;
  transition: all 0.3s var(--ease-out);
}
.timeline-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--neon-blue);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}
.timeline-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.timeline-item[data-side="left"] .timeline-tags { justify-content: flex-end; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--neon-purple);
  background: rgba(180,79,255,0.08);
  border: 1px solid rgba(180,79,255,0.2);
  padding: 3px 8px;
  border-radius: 10px;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════════ */
.contact { background: var(--bg-secondary); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}
.contact-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  font-size: 0.95rem;
}
.contact-links { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-link {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.contact-link:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(0,212,255,0.1);
}
.contact-link-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 8px;
  color: var(--neon-blue);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-link-info { display: flex; flex-direction: column; }
.link-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
}
.link-value {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}
.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-secondary);
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover {
  color: var(--neon-blue);
  border-color: rgba(0,212,255,0.4);
  background: rgba(0,212,255,0.08);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,212,255,0.2);
}

/* Contact Form */
.contact-form { padding: 32px; }
.form-header { margin-bottom: 24px; }
.form-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--neon-blue);
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s;
}
.form-input:focus {
  outline: none;
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 20px rgba(0,212,255,0.08);
  background: rgba(0,212,255,0.03);
}
.form-input::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  text-align: center;
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(57,255,20,0.3);
  border-radius: 6px;
  background: rgba(57,255,20,0.05);
}
.form-success.visible { display: block; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.footer-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.footer-top {
  display: flex; gap: 80px;
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border-subtle);
}
.footer-brand { flex: 1; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 2px;
  margin-bottom: 16px;
}
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.footer-links-grid { display: flex; gap: 60px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--neon-blue); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}
.footer-powered {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   MODAL
   ══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: all 0.4s var(--ease-out);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-container {
  max-width: 800px; width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--ease-out);
}
.modal-overlay.active .modal-container { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 0.8rem;
  transition: all 0.2s;
  cursor: none; z-index: 1;
}
.modal-close:hover { color: var(--neon-red); border-color: rgba(255,45,85,0.4); }
.modal-content { padding: 32px; }

/* ══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.revealed {
  opacity: 1;
  transform: translate(0);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .skills-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { flex-direction: row; align-items: flex-start; }
}
@media (max-width: 900px) {
  :root { --section-pad: 80px; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: rgba(2,4,8,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 8px;
    transition: right 0.4s var(--ease-out);
    border-left: 1px solid var(--border-subtle);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .youtube-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .timeline-line { left: 20px; }
  .timeline-item, .timeline-item[data-side="left"] { flex-direction: column; padding-left: 60px; }
  .timeline-item[data-side="left"] .timeline-card { text-align: left; }
  .timeline-item[data-side="left"] .timeline-tags { justify-content: flex-start; }
  .timeline-dot { left: 20px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links-grid { gap: 32px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero-name { font-size: clamp(2.5rem, 12vw, 4rem); }
  .projects-grid { grid-template-columns: 1fr; }
  .youtube-grid { grid-template-columns: 1fr; }
  .about-visual { flex-direction: column; align-items: center; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; align-items: center; }
  .footer-links-grid { flex-wrap: wrap; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 0; }
  .hero-stat { padding: 0 16px; }
}