body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #fff;
  color: #333;
  transition: background 0.5s, color 0.5s;
  overflow-x: hidden;
}

body.dark {
  background: #121212;
  color: #eee;
}

#particles-js {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
}

#theme-toggle {
  color: #000;
  transition: color 0.3s;
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 9999;
}

body.dark #theme-toggle {
  color: #fff;
}

.card {
  max-width: 400px;
  margin: 10% auto;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: background 0.5s;
}

body.dark .card {
  background: rgba(30, 30, 30, 0.8);
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.social-icons img {
  width: 30px;
  margin: 0 5px;
  transition: transform 0.3s, filter 0.3s;
}

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

body.dark .github-icon {
  content: url('assets/icons/github-white.svg');
}

body.dark .linkedin-icon {
  content: url('assets/icons/linkedin-white.svg');
}

body.dark .twitter-icon {
  content: url('assets/icons/twitter-white.svg');
}

body.dark .instagram-icon {
  content: url('assets/icons/instagram-white.svg');
}

.cta {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.cta:hover {
  background: #0056b3;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
}

.rotate {
  animation: rotate 0.5s ease;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
