* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #111;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

canvas#bg {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: radial-gradient(circle, #0f0f0f, #000);
}

/* Hero */
header.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

h1 {
  font-size: 3.5rem;
  animation: fadeIn 2s ease-out;
}

.highlight {
  color: #00ffcc;
}

p.slide-up {
  margin-top: 1rem;
  font-size: 1.5rem;
  animation: slideUp 2s ease-in-out;
}

a.cta {
  margin-top: 2rem;
  padding: 12px 24px;
  background: #00ffcc;
  color: #111;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  animation: bounce 2s infinite;
}

/* About Section */
.section {
  padding: 80px 30px;
  text-align: center;
  background: #181818;
  animation: fadeIn 2s ease-in-out;
}

.bio {
  max-width: 700px;
  margin: auto;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.skills-list {
  list-style: none;
  padding: 0;
}

.skills-list li {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: #00ffcc;
  animation: slideUp 0.8s ease-in-out;
}

/* Projects */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.project-card {
  background: #222;
  padding: 25px;
  width: 280px;
  border-radius: 10px;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}

.project-card.glow:hover {
  transform: scale(1.06);
  background: #00ffcc;
  color: #000;
  box-shadow: 0 0 15px #00ffcc88;
}

.project-card h3 {
  font-size: 1.6rem;
  color: #00ffcc;
  margin-bottom: 0.5rem;
}

.project-card:hover h3 {
  color: #000;
}

.project-card p {
  margin-bottom: 15px;
}

.project-card a {
  display: inline-block;
  margin-top: 10px;
  color: #111;
  background: #00ffcc;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.project-card:hover a {
  background: #111;
  color: #00ffcc;
}

footer {
  text-align: center;
  padding: 20px;
  background: #111;
  border-top: 1px solid #222;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}
.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
