/* General styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #ff99cc, #66ccff);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Container */
.container {
  background-color: white;
  width: 90%;
  max-width: 400px;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Profile section */
.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #ff99cc;
  box-shadow: 0 0 20px #ff99cc, 0 0 40px #66ccff, 0 0 60px #ff99cc;
  animation: glow 3s infinite alternate;
  margin-bottom: 10px;


}

h1 {
  margin: 10px 0 5px;
  font-size: 1.8rem;
  color: #333;
}

.tagline {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

/* Link buttons */
.link-btn {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 12px 0;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, #ff99cc, #66ccff);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.link-btn:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* About section */
.about {
  margin-top: 25px;
}

.about h2 {
  margin-bottom: 10px;
  color: #333;
}

.about p {
  color: #555;
  font-size: 0.95rem;
}
/* LED-style animated border */
.container {
  background-color: white;
  width: 90%;
  max-width: 400px;
  border-radius: 15px;
  padding: 20px;
  text-align: center;

  /* LED border effect */
  border: 3px solid transparent;
  box-shadow: 0 0 20px #ff99cc, 0 0 40px #66ccff, 0 0 60px #ff99cc;
  animation: glow 3s infinite alternate;
}

.profile {
  background-color: white;
  width: 90%;
  max-width: 400px;
  border-radius: 15px;
  padding: 20px;
  text-align: center;

  /* LED border effect */

}

/* glowing animation */
@keyframes glow {
  0% {
    box-shadow: 0 0 15px #ff99cc, 0 0 30px #66ccff, 0 0 45px #ff99cc;
  }
  50% {
    box-shadow: 0 0 25px #66ccff, 0 0 45px #ff99cc, 0 0 65px #66ccff;
  }
  100% {
    box-shadow: 0 0 15px #ff99cc, 0 0 30px #66ccff, 0 0 45px #ff99cc;
  }
}
/* Dark mode styles */
/* Dark mode styles */
body.dark-mode {
  background: linear-gradient(135deg, #0a0a0a, #330000, #0a0a0a); /* deep black/red gradient */
  color: #fff;
  transition: background 0.5s ease, color 0.5s ease;
}

body.dark-mode .container {
  background: rgba(0, 0, 0, 0.75); /* semi-transparent so gradient shows */
  box-shadow: 0 0 20px #ff0000, 0 0 40px #ff3300, 0 0 60px #ff0000;
  border: 3px solid transparent;
  animation: glow-dark 3s infinite alternate;
  transition: box-shadow 0.5s ease, background 0.5s ease;
}

body.dark-mode .profile-img {
  border: 4px solid #ff0000;
  box-shadow: 0 0 20px #ff0000, 0 0 40px #ff3300, 0 0 60px #ff0000;
}

body.dark-mode .link-btn {
  background: linear-gradient(135deg, #000000, #ff0000);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255,0,0,0.4);
  transition: all 0.3s ease;
}

body.dark-mode .link-btn:hover {
  background: linear-gradient(135deg, #ff0000, #000000);
  box-shadow: 0 8px 20px rgba(255,0,0,0.7), 0 0 10px #ff3300, 0 0 20px #ff0000;
  transform: translateY(-3px);
}

/* Dark mode toggle button */
#darkModeToggle {
  background: linear-gradient(135deg, #222, #880000);
  color: #fff;
  border-radius: 25px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255,0,0,0.4);
  transition: all 0.3s ease;
}

#darkModeToggle:hover {
  background: linear-gradient(135deg, #880000, #ff0000);
  box-shadow: 0 6px 15px rgba(255,0,0,0.6);
}

/* Dark mode glow animation */
@keyframes glow-dark {
  0% {
    box-shadow: 0 0 15px #ff0000, 0 0 30px #ff3300, 0 0 45px #ff0000;
  }
  50% {
    box-shadow: 0 0 25px #ff3300, 0 0 45px #ff0000, 0 0 65px #ff3300;
  }
  100% {
    box-shadow: 0 0 15px #ff0000, 0 0 30px #ff3300, 0 0 45px #ff0000;
  }
}

/* Light mode neon/glow */
body {
  background: linear-gradient(135deg, #ff99cc, #66ccff);
  color: #333;
  transition: background 0.5s ease, color 0.5s ease;
}

.container {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  border: 3px solid transparent;
  box-shadow: 0 0 20px #ff99cc, 0 0 40px #66ccff, 0 0 60px #ff99cc;
  animation: glow-light 3s infinite alternate;
  transition: box-shadow 0.5s ease, background 0.5s ease;
}

.profile-img {
  border: 4px solid #ff99cc;
  box-shadow: 0 0 20px #ff99cc, 0 0 40px #66ccff, 0 0 60px #ff99cc;
  animation: glow-light 3s infinite alternate;
}

.link-btn {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 12px 0;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, #ff99cc, #66ccff);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(255,153,204,0.5), 0
}

#darkModeToggle {
  position: fixed;      /* stay fixed on scroll */
  top: 20px;            /* distance from top */
  right: 20px;          /* distance from right */
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  background: #333;
  color: #fff;
  z-index: 1000;        /* ensure it’s on top of everything */
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

#darkModeToggle:hover {
  background: #ff0000;
  box-shadow: 0 6px 15px rgba(255,0,0,0.6);
}