@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'JetBrains Mono', monospace;
  background: black;
  cursor: url('assets/cursorrr.cur'), auto;
  overflow: hidden;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
}

#enter-screen {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.enter-text {
  font-size: 1.5rem;
  color: white;
  z-index: 11;
  pointer-events: none;
}

.container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-card {
  background-color: rgba(20, 20, 20, 0.85);
  padding: 30px;
  border-radius: 20px;
  width: 320px;
  text-align: center;
  transition: transform 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.pfp {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid white;
  object-fit: cover;
}

.username-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.username {
  font-size: 1.5rem;
  color: white;
  z-index: 2;
  position: relative;
  cursor: default;
}

/* Username tooltip */
.username[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 50;
}

.username[data-tooltip]:hover::after {
  opacity: 1;
}

.username-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75px;
  height: 75px;
  pointer-events: none;
  z-index: 1;
}

.desc {
  color: #ccc;
  margin: 15px 0 10px;
}

.spotify-embed {
  margin-top: 10px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.socials img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 4px white);
  transition: transform 0.2s;
}

.socials img:hover {
  transform: scale(1.1);
}

.profile-card:hover {
  transform: rotateY(10deg) rotateX(10deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

/* Badge Container Styling (Smaller version) */
.badge-container {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  display: inline-flex;
  gap: 6px; /* Smaller gap */
  justify-content: center;
  align-items: center;
  margin-top: 8px; /* Smaller margin */
  padding: 4px 6px; /* Smaller padding */
  height: 28px; /* Smaller height */
  width: auto;
}

/* Individual Badge Style */
.badge {
  position: relative;
  width: 30px; /* Consistent size for badges */
  height: 30px; /* Consistent size for badges */
  cursor: pointer;
  transition: transform 0.2s ease;
}

.badge[data-tooltip="Verified"],
.badge[data-tooltip="Donar"] {
  width: 25px; /* Ensure all badges are the same size */
  height: 25px; /* Ensure all badges are the same size */
}

/* Move "Verified" badge slightly to the left */
.badge[data-tooltip="Verified"] {
  transform: translateX(-2px); /* Adjust the left movement here */
}

.badge img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* Badge Tooltip */
.badge::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #000000;
  color: #fff;
  font-size: 10px; /* Slightly smaller font size for tooltips */
  padding: 4px 6px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 50;
}

.badge:hover::after {
  opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .profile-card {
    width: 90%;
    padding: 20px;
  }

  .pfp {
    width: 80px;
    height: 80px;
  }

  .username {
    font-size: 1.25rem;
  }

  .desc {
    font-size: 0.9rem;
  }
}

