body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #0a0a0a;
  color: white;
}

/* ===== HEADER ===== */
header {
  text-align: center;
  padding: 50px;
  background: #111;
  border-radius: 0 0 30px 30px;

  transform-origin: top;
  transition: transform 0.3s ease;

  /* dual neon glow */
  box-shadow: 
    0 0 10px #0ff,
    0 0 20px #f0f,
    0 0 40px #0ff;
}

header:hover {
  transform: scaleY(1.05);
}

header h1 {
  color: #fff;

  text-shadow:
    0 0 5px #fff,
    0 0 10px #0ff,
    0 0 20px #0ff,
    0 0 30px #f0f,
    0 0 60px #f0f;
  
  animation: flicker 2.5s infinite;
}

/* ===== SECTIONS ===== */
section {
  padding: 40px;
  max-width: 800px;
  margin: auto;
}

/* ===== PROJECT BOXES ===== */
.project-box {
  border-radius: 12px;
  padding: 20px;
  margin: 15px 0;

  /* gradient border illusion */
  border: 1px solid transparent;
  background: 
    linear-gradient(#111, #111) padding-box,
    linear-gradient(45deg, #0ff, #f0f) border-box;

  transition: transform 0.3s ease, box-shadow 0.3s ease;

  box-shadow:
    0 0 5px #0ff,
    0 0 10px #f0f inset;
  
  animation: neonPulse 3s infinite, flicker 6s infinite;
}

/* hover = stronger neon */
.project-box:hover {
  transform: scale(1.05);

  box-shadow:
    0 0 10px #0ff,
    0 0 20px #f0f,
    0 0 40px #0ff,
    0 0 80px #f0f;
}

/* ===== NEON PULSE ANIMATION ===== */
@keyframes neonPulse {
  0% {
    box-shadow: 0 0 5px #0ff, 0 0 10px #f0f;
  }
  50% {
    box-shadow: 0 0 20px #0ff, 0 0 40px #f0f;
  }
  100% {
    box-shadow: 0 0 5px #0ff, 0 0 10px #f0f;
  }
}

/* apply subtle animation */
.project-box {
  animation: neonPulse 3s infinite, flicker 6s infinite;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px;
  margin-top: 20px;

  border-top: 1px solid transparent;
  background: 
    linear-gradient(#0a0a0a, #0a0a0a) padding-box,
    linear-gradient(90deg, #0ff, #f0f) border-box;

  box-shadow:
    0 0 10px #0ff inset,
    0 0 20px #f0f inset;
}

@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    text-shadow:
      0 0 5px #fff,
      0 0 10px #0ff,
      0 0 20px #0ff,
      0 0 30px #f0f,
      0 0 60px #f0f;
  }

  20%, 24%, 55% {
    opacity: 0.4;
    text-shadow: none;
  }

  21%, 23%, 56% {
    opacity: 0.8;
  }
}
.pizza {
  display: block;
  margin: 20px auto;
  text-align: center;
  font-size: 50px;
  margin-top: 10px;

  /* neon glow */
  text-shadow:
    0 0 5px #ff3,
    0 0 10px #ff8800,
    0 0 20px #ff4400,
    0 0 40px #f0f;

  animation: pizzaFlicker 3s infinite;
}

@keyframes pizzaFlicker {
  0%, 19%, 21%, 23%, 80%, 100% {
    opacity: 1;
  }

  20%, 22% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.7;
  }
}
.project-link {
  color: #0ff;
}

.project-link:hover {
  color: #f0f;
}

/* Mobile optimization */
@media (max-width: 768px) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
