/* Full-page neon gradient background + prevent scrolling */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #1a0a1a, #2d0a2d);
  animation: bgAnimation 15s ease infinite;
}

@keyframes bgAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating neon particles */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255,0,145,0.6);
  border-radius: 50%;
  animation: float 6s linear infinite;
}

@keyframes float {
  0% { transform: translateY(0) translateX(0); opacity: 0.6; }
  50% { transform: translateY(-30px) translateX(20px); opacity: 1; }
  100% { transform: translateY(0) translateX(-20px); opacity: 0.6; }
}

/* Projects container */
.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-height: 100vh;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* Project Card */
.project-card {
  background: rgba(255,0,145,0.12);
 backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* Safari support */  padding: 25px;
  border-radius: 20px;
  margin: 15px;
  width: 300px;
  text-align: center;
  box-shadow: 0 0 35px rgba(255,0,140,0.35);
  border: 1.5px solid rgba(255,0,145,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 50px rgba(255,0,140,0.5);
}

.project-card h2 {
  color: #ff71c7;
  text-shadow: 0 0 9px rgba(255,0,145,0.7);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.project-card p {
  color: #ffd6f7;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.project-card a {
  color: #ff71c7;
  text-decoration: none;
  font-weight: bold;
}

.project-card a:hover {
  text-decoration: underline;
}

/* Project images */
.project-images img {
  width: 120px;
  height: 50px;
  margin: 8px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid rgba(255, 77, 166, 0.4);
  transition: transform 0.3s ease;
}

.project-images img:hover {
  transform: scale(1.1);
}

/* Lightbox modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #ff4da6;
}

@media (max-width: 650px) {
  .project-card {
    width: 90%;
  }
}
