@font-face {
    font-family: agavenerd;
    src: url(AgaveNerdFontPropo-Regular.ttf);
}

body {
  color: white;
  background-color: #080809;
  margin: 0;
  padding: 0;
  font-family: "agavenerd", Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#stars {
  position: fixed;
  top: -50px;
  left: 0;
  width: 100%;
  height: calc(100vh + 50px);
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(0);
    opacity: 0.8;
  }
  100% {
    transform: translateY(110vh);
    opacity: 0;
  }
}


.profile-card {
  background: #0b0b0c8f;
  border-radius: 16px;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 15px #0d0d0dbf;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  overflow: visible;
  margin: 0px 20px 0px 20px;
}

.pfp {
  width: 100px;
  height: 100px;
  border-radius: 20%;
  object-fit: cover;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px #36313695;
  transition: all 0.2s;
  backface-visibility: hidden;
  will-change: transform;
}

.pfp:hover {
    transform: translateY(-3px);
}

.username {
  font-size: 1.6rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  color: #c3c3c3;
}

.username p {
    margin: 0;
    transition: all 0.2s ease;
}

.username p:hover {
    transform: scale(1.05)
}

.bio {
  font-size: 0.95rem;
  color: #c3c3c3;
  margin: 10px 0 0 0;
  line-height: 1.4;
  max-width: 50ch;
  word-wrap: break-word;
  min-height: 2em;
  white-space: pre-wrap;
  overflow: hidden;
  position: relative;
  display: inline-block;
}

.bio span::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s step-start infinite;
  color: #c47196;
}

@keyframes blink {
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.chip {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.chip:hover {
    transform: scale(1.05)
}

.owner {
  background: linear-gradient(135deg, #ff4d9d, #ff77c9);
  color: #cfcfcf;
  box-shadow: 0 0 10px rgba(255, 77, 157, 0.7);
}

.rat {
  background: linear-gradient(90deg, #cacac5, #cacac5);
  color: #e167a8;
  box-shadow: 0 0 10px #cacac5;
}

.links {
  display: flex;
  gap: 17px;
  margin-top: 10px;
}

.links img {
  width: 32px;
  height: 32px;
  filter: invert(60%) sepia(30%) saturate(6000%) hue-rotate(300deg) brightness(100%) contrast(100%) drop-shadow(0px 0px 6px #b141a2);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.links img:hover {
  transform: scale(1.2);
  filter: invert(100%) sepia(0%) saturate(100%) hue-rotate(310deg) brightness(100%) contrast(100%) drop-shadow(0px 0px 6px #ffffff);
}

@keyframes floatUp {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(-15px) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-30px) scale(1);
    opacity: 0;
  }
}

.copy-text {
  position: fixed;
  color: #e695d1;
  font-weight: bold;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  text-shadow: 0 0 8px #b776a6;
}

#music-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #080809;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
  color: white;
  cursor: pointer;
}

#overlay-text {
  font-size: 2rem;
  display: inline-block;
  color: #fff;
  position: relative;
}

#overlay-text-span::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s step-start infinite;
  color: #ff4d9d;
}

@keyframes blink {
  50% { opacity: 0; }
  100% { opacity: 1; }
}


#volume-control {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 150px;
  -webkit-appearance: none;
  background: linear-gradient(90deg, #ff4d9d, #ff77c9);
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
  z-index: 10;
}

#volume-control::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #ff4d9d;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255,77,157,0.7);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

#volume-control::-webkit-slider-thumb:hover {
  background: #ff77c9;
  box-shadow: 0 0 12px rgba(255,77,157,0.9);
}

#volume-control::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #ff4d9d;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255,77,157,0.7);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

#volume-control::-moz-range-thumb:hover {
  background: #ff77c9;
  box-shadow: 0 0 12px rgba(255,77,157,0.9);
}
