/* 🔮 Synthwave Background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, #ff00c8, #00ffe7, #ff8c00, #2800ff);
  background-size: 400% 400%;
  animation: trippyBg 12s ease infinite;
  filter: blur(20px);
  opacity: 0.25;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(to bottom, #ffffff10 0 2px, transparent 2px 12px),
    repeating-linear-gradient(to right, #ffffff08 0 1px, transparent 1px 20px);
  animation: scanLines 0.8s linear infinite;
  pointer-events: none;
  opacity: 0.05;
}

@keyframes trippyBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes scanLines {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 10px, 0 0; }
}

/* 🧱 Base Layout */
body {
  margin: 0;
  padding: 0;
  font-family: "Barlow Condensed", sans-serif;
  background-color: #0d0d0d;
  color: white;
  text-align: center;
}

/* 🎭 Avatar */
.avatar-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.avatar {
  border-radius: 50%;
  max-width: 120px;
  filter:
    drop-shadow(0 0 8px #ff00c8)
    drop-shadow(0 0 16px #00ffe7)
    drop-shadow(0 0 32px #ff8c00);
  animation: pulseAvatar 3s ease-in-out infinite;
}

@keyframes pulseAvatar {
  0%, 100% {
    filter: drop-shadow(0 0 8px #ff00c8)
            drop-shadow(0 0 16px #00ffe7)
            drop-shadow(0 0 32px #ff8c00);
  }
  50% {
    filter: drop-shadow(0 0 12px #ff00c8)
            drop-shadow(0 0 24px #00ffe7)
            drop-shadow(0 0 48px #ff8c00);
  }
}

/* ✨ Heading */
h1, .glitchy {
  font-size: 2.5rem;
  text-transform: uppercase;
  color: white;
  text-shadow:
    1px 0 #ff00c8,
    -1px 0 #00ffe7,
    0 1px #ff8c00;
  animation: flicker 1.2s infinite alternate;
  margin-top: 1.5rem;
}

@keyframes flicker {
  0% { opacity: 1; text-shadow: 2px 0 #ff00c8, -2px 0 #00ffe7, 0 2px #ff8c00; }
  100% { opacity: 0.85; text-shadow: -2px 0 #ff00c8, 2px 0 #00ffe7, 0 -2px #ff8c00; }
}

/* 🎧 Link Buttons */
ul.link-list {
  width: 100%;
  max-width: 420px;
  margin: 3rem auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

ul.link-list li {
  list-style: none;
}

ul.link-list li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-shadow: 0 0 2px black;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

ul.link-list li a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.4);
}

/* 🎨 Logo icons inside buttons */
ul.link-list li a img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(1.1) drop-shadow(0 0 2px #ff00c8);
  transition: transform 0.2s ease;
}

/* 🌐 Responsive fallback */
@media (max-width: 480px) {
  h1.glitchy {
    font-size: 2rem;
  }

  ul.link-list li a {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }

  ul.link-list li a img {
    width: 28px;
    height: 28px;
  }
}
