/* Reset and general styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #1a1a1a; /* Slightly lighter for better readability */
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Particles canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Inline link style */
a.inline-link {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.3s;
}

a.inline-link:hover {
  color: #bbbbbb;
}

/* Header */
header, main, footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  transition: opacity 0.5s ease;
  position: relative;
  z-index: 1; /* above particles */
}

/* Profile Picture */
.profile-pic img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
  box-shadow: 0 0 20px #88888888; /* grey glow */
  transition: transform 0.3s, box-shadow 0.3s;
}

.profile-pic img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #cccccc88;
}

/* Gradient Text with Glow (working version) */
.gradient-text {
  font-size: 3rem;
  margin: 0;
  background: linear-gradient(90deg, #ffffff, #dddddd); /* white → light gray */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px #ffffff55, 0 0 30px #ffffff33; /* subtle glow */
}

/* Boxes */
.section-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
  margin-top: 2rem;
}

.box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  padding: 2rem;
  border-radius: 12px;
  flex: 1 1 250px;
  min-width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px #88888844; /* grey glow around boxes */
}

.box:hover {
  transform: translateY(-7px);
  box-shadow: 0 0 25px #cccccc44;
}

.box h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #dddddd;
}

/* Footer */
footer {
  margin-top: auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  background: #2a2a2a;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease, box-shadow 0.3s ease;
}

.social-links a img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  filter: invert(100%);
  transition: transform 0.3s;
}

.social-links a:hover {
  background: #444;
  box-shadow: 0 0 15px #bbbbbb44;
}

.social-links a:hover img {
  transform: scale(1.2);
}

/* Fade-in */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}
