@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: white;
  background: radial-gradient(circle at center, #2b002b, #0b0012);
  overflow-x: hidden;
  overflow-y: auto;
}

#bg {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid #ff55cc;
  box-shadow: 0 0 30px #ff66cc;
  margin-bottom: 15px;
  transition: transform 0.6s ease, opacity 1s ease;
}
.avatar.fade-out { opacity: 0; transform: scale(0.9); }
.avatar.fade-in { opacity: 1; transform: scale(1); }

h1 {
  font-size: 2.2em;
  margin: 0;
  background: linear-gradient(90deg, #ff8ce6, #ff55cc, #ff99ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { background-position: 0% }
  100% { background-position: 200% }
}

.bio {
  color: #ffcce6;
  margin-bottom: 20px;
  max-width: 280px;
}

.links a {
  display: block;
  margin: 8px 0;
  padding: 10px 25px;
  border-radius: 20px;
  text-decoration: none;
  background: rgba(255, 105, 180, 0.15);
  color: white;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.links a:hover {
  background: #ff55cc;
  box-shadow: 0 0 15px #ff55cc;
  transform: scale(1.05);
}
.links a[href*="discord"] {
  border: 1px solid rgba(88,101,242,0.5);
}
.links a[href*="discord"]:hover {
  background: #5865F2;
  box-shadow: 0 0 15px #5865F2;
}

.music-player {
  margin-top: 25px;
  width: 100%;
  max-width: 300px;
}

.controls button {
  background: rgba(255,255,255,0.1);
  color: white;
  border: none;
  margin: 5px;
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}
.controls button:hover {
  background: #ff55cc;
  box-shadow: 0 0 10px #ff55cc;
  transform: scale(1.1);
}

.volume {
  margin-top: 10px;
  color: #ffb6d9;
}
#volume {
  width: 120px;
  accent-color: #ff55cc;
}

footer {
  margin-top: 30px;
  color: #ffb6d9;
  font-size: 0.9em;
}

/* 📱 адаптив */
@media (max-width: 600px) {
  h1 { font-size: 1.8em; }
  .avatar { width: 110px; height: 110px; }
  .links a { font-size: 0.9em; padding: 8px 18px; }
}
