:root {
  --bg: #fff4f9;
  --text: #333;
  --card: #ffffff;
  --link-bg: #ff69b4;
  --link-hover: #ff4fa2;
}

body.dark {
  --bg: #121212;
  --text: #f2f2f2;
  --card: #1e1e1e;
  --link-bg: #ff69b4;
  --link-hover: #ff85c1;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  transition: background 0.4s, color 0.4s;
}

#theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  background: var(--link-bg);
  color: white;
  z-index: 10;
}

.container {
  text-align: center;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  background: var(--card);
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  border-radius: 15px;
  transition: background 0.3s;
}

.profile-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  animation: zoom-in 0.8s ease;
}

h1 {
  font-size: 1.8rem;
  color: var(--link-bg);
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.links-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link {
  text-decoration: none;
  padding: 1rem;
  background: var(--link-bg);
  color: white;
  border-radius: 8px;
  transition: 0.3s;
}

.link:hover {
  background: var(--link-hover);
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  } to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoom-in {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 1.5rem 1rem;
    width: 95%;
  }

  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.95rem;
  }

  .link {
    padding: 0.9rem;
    font-size: 0.95rem;
  }

  #theme-toggle {
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
  }

  .profile-img {
    width: 100px;
    height: 100px;
  }
}