/* ============================================
   Bell — página personal y profesional
   Fonts: Inter (sans), Space Grotesk (display), Instrument Serif (serif)
   Palette: púrpura/cyan con serif de contraste
   ============================================ */

:root {
  --bg: #0a0a12;
  --bg-subtle: #11111a;
  --fg: #e9e9ec;
  --fg-muted: #c8c8d0;
  --accent: #7c3aed;
  --accent-hover: #8b5cf6;
  --accent-glow: #a78bfa;
  --secondary: #06b6d4;
  --secondary-glow: #67e8f9;
  --tertiary: #f59e0b;
  --tertiary-glow: #fbbf24;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(124, 58, 237, 0.3);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --radius-lg: 24px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(135deg, #0a0a12 0%, #11111a 50%, #0a0a12 100%);
  color: var(--fg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

/* ====== FONDO ANIMADO ====== */

.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -2;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particles::before,
.particles::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(124, 58, 237, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: float 20s linear infinite;
}

.particles::after {
  background:
    radial-gradient(circle at 35% 35%, rgba(245, 158, 11, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 65% 65%, rgba(124, 58, 237, 0.01) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: float 30s linear infinite reverse;
}

@keyframes float {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-100vh) translateX(-100vw); }
}

/* ====== ORBS FLOTANTES ====== */

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

.orb-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent-glow), transparent);
  top: -100px; left: -100px;
  animation: floatOrb 12s ease-in-out infinite;
}

.orb-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--secondary-glow), transparent);
  bottom: -50px; right: 100px;
  animation: floatOrb 16s ease-in-out infinite 2s;
}

.orb-3 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, var(--tertiary-glow), transparent);
  top: 50%; left: 10%;
  animation: floatOrb 20s ease-in-out infinite 4s;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  50% { transform: translateY(-20px) translateX(20px) scale(1.05); }
}

/* ====== TARJETAS GLASS ====== */

.glass {
  background: var(--surface);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  isolation: isolate;
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.glass:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

.glass:hover::before {
  opacity: 1;
}

/* ====== NAVEGACIÓN ====== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  z-index: 1000;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  background: rgba(17, 17, 26, 0.6);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--fg);
  transition: var(--transition);
}

.nav-logo:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--fg);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--fg-muted);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Enlaces legales en el nav */
.nav-legal {
  display: flex;
  gap: 0.75rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border);
  margin-left: 0.5rem;
}

.nav-legal a {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--fg-muted);
  padding: 2px 0;
}

.nav-legal a:hover {
  color: var(--accent);
}

/* ====== BOTONES ====== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-size: 1rem;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.6);
}

.btn-secondary {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  transform: translateY(-3px);
  border-color: var(--border-glow);
}

.btn-kofi {
  background: linear-gradient(135deg, #ff5e00, #ff9900);
  color: white;
  box-shadow: 0 4px 14px rgba(255, 94, 0, 0.4);
}

.btn-kofi:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 94, 0, 0.6);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.9375rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ====== HERO ====== */

.hero {
  padding: 6rem 2rem 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
  min-height: 80vh;
  animation: fadeIn 1s ease-out 0.1s both;
}

.hero-content {
  max-width: 800px;
  width: 100%;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.avatar-ring {
  width: 160px; height: 160px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: grid;
  place-items: center;
  position: relative;
  animation: pulse 4s ease-in-out infinite;
  transition: var(--transition);
}

.avatar-ring:hover {
  transform: scale(1.05);
}

.avatar {
  width: 148px; height: 148px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg);
  background: var(--bg-subtle);
  transition: var(--transition);
}

.avatar-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
  opacity: 0;
  animation: glowPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.5; }
}

.name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--fg) 0%, var(--accent) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0.5rem 0;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.tagline {
  font-size: 1.25rem;
  color: var(--fg-muted);
  font-weight: 300;
  max-width: 600px;
  line-height: 1.6;
}

.social-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.5s both;
}

/* ====== SECCIONES COMUNES ====== */

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: rgba(124, 58, 237, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
}

/* Clases base para secciones — se reutilizan */
.sobre-mi,
.servicios,
.redes,
.discord-section,
.kofi-call,
.contacto {
  padding: 4rem 2rem;
  text-align: center;
  animation: fadeInUp 1s ease-out both;
}

.sobre-mi { animation-delay: 0.5s; }
.servicios { animation-delay: 0.6s; }
.redes { animation-delay: 0.7s; }
.discord-section { animation-delay: 0.8s; }
.kofi-call { animation-delay: 0.9s; }
.contacto { animation-delay: 1.0s; }

/* Títulos de sección */
.servicios h2,
.redes h2,
.discord-section h2,
.kofi-call h2,
.contacto h2,
.sobre-mi h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

/* Sub-texto de sección */
.servicios .sub,
.redes .sub,
.contacto p {
  color: var(--fg-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  line-height: 1.6;
}

/* ====== SOBRE MÍ ====== */

.sobre-mi h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bio-text {
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
  color: var(--fg-muted);
  font-size: 1.125rem;
}

.tags {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tags span {
  padding: 0.5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: var(--transition);
  cursor: default;
}

.tags span:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.stat-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  min-width: 100px;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ====== SERVICIOS ====== */

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.servicio-card {
  text-align: left;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.servicio-icon {
  width: 48px; height: 48px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.servicio-icon svg {
  width: 100%;
  height: 100%;
}

.servicio-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
}

.servicio-card p {
  color: var(--fg-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.servicio-link {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.servicio-link:hover {
  color: var(--accent-glow);
  transform: translateX(4px);
}

/* ====== REDES SOCIALES ====== */

.redes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 2rem;
}

.red-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.red-social:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
  color: var(--accent);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.red-social svg {
  width: 22px; height: 22px;
  transition: transform 0.3s ease;
}

.red-social:hover svg {
  transform: scale(1.1);
}

.red-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: var(--bg-subtle);
  color: var(--fg);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.red-social:hover .red-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ====== DISCORD ====== */

.discord-section h2 {
  color: #5865f2;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.discord-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.discord-note {
  font-size: 0.875rem;
  color: var(--fg-muted);
  max-width: 350px;
  line-height: 1.5;
}

.discord-note code {
  background: var(--surface);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.8125rem;
  color: var(--accent);
  border: 1px solid var(--border);
}

/* ====== CONTACTO ====== */

.contacto-ops {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ====== FOOTER ====== */

.footer {
  text-align: center;
  padding: 3rem 2rem 2rem;
  color: var(--fg-muted);
  font-size: 0.875rem;
  animation: fadeInUp 1s ease-out 1.1s both;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--fg);
}

.footer-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  font-size: 0.9375rem;
}

.footer-links a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-sep {
  color: var(--border);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
}

/* ====== ANIMACIONES ====== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(124, 58, 237, 0);
  }
}

/* ====== RESPONSIVE ====== */

@media (max-width: 1024px) {
  .nav { padding: 0 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .hero { padding: 5rem 1.5rem 3rem; }
  .avatar-ring { width: 140px; height: 140px; }
  .avatar { width: 128px; height: 128px; }
  .name { font-size: clamp(2rem, 7vw, 3.5rem); }
  .servicios-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
}

@media (max-width: 768px) {
  .nav {
    height: 70px;
    padding: 0 1rem;
  }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: rgba(17, 17, 26, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-top: 1px solid var(--border);
  }
  .nav-links.open {
    max-height: 500px;
  }
  .nav-links a {
    font-size: 1.125rem;
    padding: 0.5rem 0;
  }
  .nav-legal {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem 0;
    border-left: none;
    border-top: 1px solid var(--border);
    width: 100%;
    text-align: center;
  }

  .hero { padding: 4rem 1rem 2rem; min-height: auto; }
  .avatar-ring { width: 120px; height: 120px; }
  .avatar { width: 110px; height: 110px; }
  .name { font-size: clamp(1.75rem, 6vw, 3rem); }
  .tagline { font-size: 1.125rem; }

  .sobre-mi,
  .servicios,
  .redes,
  .discord-section,
  .kofi-call,
  .contacto { padding: 3rem 1rem; }

  .sobre-mi h2,
  .servicios h2,
  .redes h2,
  .discord-section h2,
  .kofi-call h2,
  .contacto h2 { font-size: 2rem; }

  .bio-text { font-size: 1rem; }
  .stat-row { gap: 1.5rem; }
  .stat-num { font-size: 2rem; }

  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .redes-grid { gap: 1rem; }
  .red-social { width: 40px; height: 40px; }
  .red-social svg { width: 18px; height: 18px; }

  .discord-cta-row { gap: 0.75rem; }
  .btn-lg { padding: 0.875rem 1.5rem; font-size: 1rem; }

  .footer-inner { gap: 1rem; }
}

@media (max-width: 420px) {
  .hero { padding: 3rem 0.75rem 1.5rem; }
  .avatar-ring { width: 100px; height: 100px; }
  .avatar { width: 92px; height: 92px; }
  .name { font-size: clamp(1.5rem, 5vw, 2rem); }
  .tagline { font-size: 1rem; }
  .redes-grid { gap: 0.75rem; }
  .red-social { width: 36px; height: 36px; }
  .red-social svg { width: 16px; height: 16px; }
  .sobre-mi,\n  .servicios,\n  .redes,\n  .discord-section,\n  .kofi-call,\n  .contacto { padding: 2rem 0.75rem; }
  .servicios h2,\n  .redes h2,\n  .discord-section h2,\n  .kofi-call h2,\n  .contacto h2,\n  .sobre-mi h2 { font-size: 1.5rem; }
  .btn-lg { padding: 0.75rem 1.25rem; font-size: 0.9375rem; }
  .contacto-ops { gap: 0.75rem; }
  .stat-row { gap: 1rem; }
  .stat-num { font-size: 1.5rem; }
  .footer { padding: 2rem 1rem 1.5rem; }
}

/* ====== LIGHT MODE ====== */

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --bg-subtle: #f9f9fb;
    --fg: #0f0e13;
    --fg-muted: #5c5c66;
    --surface: rgba(0, 0, 0, 0.04);
    --surface-hover: rgba(0, 0, 0, 0.08);
    --border: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(124, 58, 237, 0.2);
  }
  .bg-gradient {
    background:
      radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
      radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
  }
  .avatar { border-color: var(--bg); }
  .nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .nav-links a { color: #666; }
  .nav-links a:hover { color: var(--fg); }
  .nav-toggle span { background: var(--fg); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--secondary));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent-hover), var(--secondary-glow));
}
