:root{

  --bg:#0a002b;

  --card:rgba(255,255,255,0.08);

  --accent:#7f5af0;

  --glow:#00eaff;

}

*{margin:0;padding:0;box-sizing:border-box;font-family:'Orbitron',sans-serif;}

body{background:var(--bg);color:white;}

canvas{position:fixed;inset:0;z-index:-1;}

section{padding:80px 10%;}

h2{margin-bottom:40px;text-shadow:0 0 15px var(--accent);}

.hero{height:100vh;display:flex;flex-direction:column;justify-content:center;}

.glow{font-size:3.2rem;text-shadow:0 0 30px var(--accent);}

.subtitle{opacity:.85;}

.terminal-line{color:#00ff9c;font-family:monospace;margin-top:20px;}

.card{

  background:var(--card);

  backdrop-filter:blur(14px);

  padding:30px;

  border-radius:18px;

  transition:.4s;

  position:relative;

}

.card:hover{box-shadow:0 0 30px var(--glow);}

.project-grid{

  display:grid;

  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

  gap:25px;

}

.expandable{cursor:pointer;}

.expand-content{

  max-height:0;

  opacity:0;

  overflow:hidden;

  transition:.5s;

}

.expandable.active .expand-content{

  max-height:300px;

  opacity:1;

  margin-top:15px;

}

.close-btn{

  position:absolute;

  top:12px;

  right:15px;

  background:none;

  border:none;

  color:#00eaff;

  font-size:18px;

  display:none;

  cursor:pointer;

}

.expandable.active .close-btn{display:block;}

.contact-card{text-align:center;}

.socials img{width:40px;margin:15px;filter:drop-shadow(0 0 10px var(--glow));}

footer{text-align:center;padding:30px;opacity:.6;}

@media(max-width:600px){

  .glow{font-size:2.2rem;}

}
.info-box {

  width: fit-content;

  max-width: 320px;

  background: rgba(255,255,255,0.08);

  backdrop-filter: blur(14px);

  border-radius: 16px;

  padding: 20px 25px;

  box-shadow: 0 0 25px rgba(0,234,255,0.3);

}

.info-box h3 {

  margin-bottom: 12px;

  color: #00eaff;

  text-shadow: 0 0 10px #00eaff;

  font-size: 1.1rem;

}

.info-box ul {

  list-style: none;

}

.info-box li {

  margin-bottom: 8px;

  font-size: 0.9rem;

  opacity: 0.9;

}

.info-box strong {

  color: #7f5af0;

}
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: 80px;
  flex-wrap: wrap;
}

.profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.4);
  box-shadow: 0px 0px 25px rgba(0, 200, 255, 0.5);
}
/* Prevent scrolling while loading */
body.is-loading {
  overflow: hidden; 
  background-color: #000; /* Matches the GIF's background */
}

/* The full-screen overlay */
#bootloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Keeps it on top of everything */
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.hologram-gif {
  max-width: 350px; /* Adjust size as needed */
  height: auto;
}

/* Optional text to match the aesthetic */
.loading-text {
  margin-top: 20px;
  color: #61c2ff; /* Matches the blue of the wireframe */
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 3px;
  font-size: 14px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* The class we add with JS to fade the loader out */
.fade-out {
  opacity: 0;
  visibility: hidden;
}


#creations {
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 700;
}

.creation-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.creation-card {
  background: #0f0f17;
  border: 1px solid #2a2a3a;
  padding: 25px;
  width: 260px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s ease;
}

.creation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(100, 100, 255, 0.5);
}

.creation-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.creation-card p {
  opacity: 0.8;
  font-size: 0.95rem;
}
