* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: #0a0a0a;
  font-family: 'Orbitron', 'Roboto Mono', monospace;
  color: #fff;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.page-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.content-container {
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  width: 90%;
  background: rgba(10, 10, 10, 0.8);
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.pfp-container {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #ff00de, #00ffea);
  animation: border-glow 2s infinite alternate;
  position: relative;
  transition: transform 0.3s ease;
  transform: translateZ(0);
}

.pfp {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

h1#username {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  text-shadow: 0 0 10px #ff00de, 0 0 20px #00ffea, 0 0 30px #ff00de, 0 0 40px #00ffea;
  animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px #ff00de, 0 0 20px #00ffea, 0 0 30px #ff00de, 0 0 40px #00ffea;
  }
  to {
    text-shadow: 0 0 20px #ff00de, 0 0 30px #00ffea, 0 0 40px #ff00de, 0 0 50px #00ffea, 0 0 60px #ff00de;
  }
}

.roles {
  position: relative;
  height: 2rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.role {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  animation: roleCycle 49s infinite;
  font-size: 1.2rem;
  color: #888;
  font-family: 'Roboto Mono', monospace;
  transform: translateY(20px);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

@keyframes roleCycle {
  0%, 11% {
    opacity: 0;
    transform: translateY(20px);
  }
  14%, 25% {
    opacity: 1;
    transform: translateY(0);
  }
  28%, 100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.role:nth-child(1) { animation-delay: 0s; }
.role:nth-child(2) { animation-delay: 7s; }
.role:nth-child(3) { animation-delay: 14s; }
.role:nth-child(4) { animation-delay: 21s; }
.role:nth-child(5) { animation-delay: 28s; }
.role:nth-child(6) { animation-delay: 35s; }
.role:nth-child(7) { animation-delay: 42s; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  will-change: transform;
  transform: translateZ(0);
}

.social-link:hover {
  transform: translateY(-5px);
  color: #ff00de;
}

.social-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #ff00de;
  transition: width 0.3s ease;
}

.social-link:hover::after {
  width: 100%;
}

@keyframes border-glow {
  0% {
    box-shadow: 0 0 20px #ff00de33;
  }
  100% {
    box-shadow: 0 0 40px #ff00de66;
  }
}

@media (max-width: 768px) {
  .pfp-container {
    width: 150px;
    height: 150px;
  }
  h1#username {
    font-size: 2rem;
  }
  .social-link {
    font-size: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .role, .social-link, .pfp-container {
    animation: none !important;
  }
}
