* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

body {
  background: radial-gradient(circle at 20% 30%, #0b0f19, #05070d);
  color: #e0e6ed;
  scroll-behavior: smooth;
  margin-left: 220px;
  position: relative;
  overflow-x: hidden;
}

/* ===== FONDO DINÁMICO ===== */

/* Partículas suaves */
body::before {
  content: "";
  position: fixed;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: radial-gradient(#4da6ff22 1px, transparent 1px);
  background-size: 60px 60px;
  animation: moveParticles 25s linear infinite;
  z-index: -1;
}

@keyframes moveParticles {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(80px, 80px);
  }
}

/* Scanlines tipo monitor */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    rgba(255,255,255,0.02) 1px,
    transparent 1px
  );
  background-size: 100% 3px;
  pointer-events: none;
  z-index: -1;
}

/* MAIN */
#hero {
  display: flex;
  align-items: center;
  height: 100vh;
  padding: 0 60px;
  background: transparent;
}

.hero-content {
  max-width: 700px;
}

/* ESTILO TERMINAL */
.terminal-line {
  color: #4da6ff;
  font-family: monospace;
  margin-bottom: 5px;
  opacity: 0.8;
}

/* NOMBRE */
#hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* ROLE */
#hero h2 {
  font-size: 1.5rem;
  color: #8b949e;
  margin-bottom: 20px;
}

/* STACK */
.stack {
  color: #6e7681;
  margin-bottom: 30px;
}

/* BOTONES */
.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 10px 18px;
  border-radius: 6px;
  background: #21262d;
  color: #e6edf3;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid #30363d;
  transition: all 0.25s ease;
}

.btn:hover {
  background: #30363d;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid #4da6ff;
  color: #4da6ff;
}

.btn-outline:hover {
  background: #4da6ff;
  color: #0b0f19;
}


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

/* Tablets */
@media (max-width: 1024px) {
  .section {
    padding: 80px 8%;
  }

  #hero {
    height: 70vh;
  }

  .profile-pic {
    width: 140px;
    height: 140px;
  }
}

.typing::after {
  content: "|";
  animation: blink 1s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  #hero {
    height: auto;
    padding: 120px 20px 80px;
  }

  .profile-pic {
    width: 120px;
    height: 120px;
  }

  .typing {
    font-size: 0.95rem;
  }

  .section {
    padding: 70px 20px;
  }

  .btn-round {
    width: 95px;
    height: 32px;
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
}

/* Mobile pequeño */
@media (max-width: 480px) {
  #hero {
    padding: 110px 15px 70px;
  }

  .profile-pic {
    width: 105px;
    height: 105px;
  }

  .typing {
    font-size: 0.85rem;
  }

  .btn-round {
    width: 90px;
    height: 30px;
    font-size: 0.85rem;
  }

  .section {
    padding: 60px 15px;
  }
}
