body, html {
    cursor: url('../images/cursor.png'), auto;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #07021b00;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: none;
}

#roblox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
#roblox img {
  scale: 150%;
}


/* click me style */
.message {
    position: absolute;
    text-align: center;
    bottom: 20px;
    right: 20px;
    height: 10vh;
    width: 20vh;
    background-color: rgba(0, 0, 0, 0.75); /* translucent black */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: 'Kanit', sans-serif;
    font-size: 3vh;
    cursor: pointer;
    z-index: 9999;
    transition: background-color 0.3s, transform 0.2s;
}


.message:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
    
}

#blur-wrapper {
  size: 9999px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: blur(5px); 
    z-index: 99999;
}

/* Background layer styling */
#background-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1; 
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(50px);
}

/* Main content wrapper */
#content {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 2; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
}

/* Centered content */
.blur {
    background-color: blueviolet;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 1, 88, 0.452); /* Purple with transparency */
    pointer-events: none;
    filter: blur(20px);
}


#name {
    text-decoration: none;
    margin-bottom: 0px;
    margin-top: 0px;
    font-size: 24px;
    animation: color-change 1s infinite alternate;
}

body {
  background-color: #1e1f22;
  font-family: "gg sans", "Segoe UI", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.backbutton {
   position: absolute;
  top: 8px;    /* Distance from the top */
  left: 8px;   /* Distance from the left */
  width: 20px; /* Set width of the arrow icon */
  height: auto; /* Maintain aspect ratio */
  z-index: 10; /* Ensure it layers above other content if needed */
}

.backbutton:hover {
   transform: scale(1.05);
    transition: transform 0.1s ease-in-out;
}

.profile-card {
  scale: 150%;
     width: 175px;
     position: relative;
    background-color: #320664ab;
    text-align: center;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border: 4px solid #9904fc2f;
    color: #4c13b0;
    margin-top: 10px;
    z-index: 1;
}

.avatar-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 0px;
}

.avatar {
  width: 100%;
  margin-bottom: 1px;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #9904fc2f;
}

.status-icon {
  position: absolute;
  width: 22px;
  height: 22px;
  bottom: 0;
  right: 0;
  border-radius: 50%;
  border: 3px solid #9904fc2f;
  background-color: #252222; /* fallback if image fails */
}

.user-info {
  margin-top: 10px;
}

.display-name {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
}

.username {
  font-size: 14px;
  animation: color-change 1s infinite alternate;
  margin-top: 0px;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
  gap: 6px;
}

.badges img:hover {
    transform: scale(1.05);
    transition: transform 0.1s ease-in-out;
    cursor: default;
}


.badge {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: contain;
}


/* Links section */
#links-wrapper {
  scale: 150%;
    width: 200px;
    height: 40px;
    background-color: #320664ab;
    text-align: center;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    border: 4px solid #9904fc2f;
    margin-top: 90px;
    top: 90%;
    color: #4c13b0;
    z-index: 1;
}
#links-wrapper img:hover {
   transform: scale(1.05);
    transition: transform 0.1s ease-in-out;
}

#links {
    display: flex; 
    margin-top: 3px;
    gap: 20px;
}

.link-image {
    width: 35px; 
    height: auto;
}

/* Color animation */
@keyframes color-change {
    0% {
        color: hwb(286 7% 1%);
    }
    100% {
        color: hwb(271 43% 11%);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .profile-photo {
        width: 100px;
        height: 100px;
    }

    .name-container {
        width: 100px;
        height: auto;
        font-size: 1.2em;
    }

    .message {
        font-size: 1.5em;
    }

    .link-image {
        width: 25px;
        height: auto;
    }
}

@keyframes rainbow {
    0% {
      color: rgb(255, 128, 170)
  }
  
  16.666% {
      color: rgb(230, 102, 255);
  }
  
  33.333% {
    color: rgb(204, 51, 153);
  }
  
  50% {
    color: rgb(178, 51, 255);
  }
  
  66.666% {
      color: rgb(153, 51, 204);
  }
  
  
  100% {
    color: rgb(128, 102, 255);
  }
  }
