/* BACKGROUND */
body {
  background-color: #0e0e0e;
  color: #fff;
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
  position: relative;
}
body::before { /* Menambahkan elemen semu untuk latar belakang */
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('/asset/asset1/bg6.png') center center / cover no-repeat; /* Ganti dengan gambar latar belakang Anda */
  z-index: -1; /* Place the background behind the content */
  filter: brightness(50%) blur(1px); /* Adjust brightness and blur as needed */
  opacity: 1; /* Adjust opacity as needed */
  /* animation: floatbg 10s infinite alternate ease-in-out; */
  pointer-events: none; /* Prevent interaction with the background */
}

@keyframes floatbg {
  0% { transform: scale(1) translateY(0); } /* Normal scale and position */
  100% { transform: scale(1.05) translateY(-10px); }/* Slightly increased scale and moved up */
}

/* LOADING */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0e0e0e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: translateY(0);
}
.loader {
  display: flex;
  gap: 0.5rem;
}
.loader span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  animation: bounce 0.6s infinite ease-in-out;
}
.loader span:nth-child(2) {
  animation-delay: 0.1s;
}
.loader span:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}


/* CARD */
.container {
  background: rgba(0, 0, 0, 0);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6.3px);
  -webkit-backdrop-filter: blur(7.3px);
  border: 1px solid rgba(255, 255, 255, 0.33);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.8s ease;
  max-width: 360px;
  width: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  animation: fadeIn 1.2s ease forwards;
}


.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background-image: url('/asset/profile/profile1.jpg');
  background-size: cover;
  background-position: center;
}

.avatar:hover {
  box-shadow: 0 8px 10px rgba(250, 249, 249, 0.082), 
              0 10px 10px rgba(78, 78, 78, 0.281);
  border-color: rgb(0, 0, 0);
  transition: transform 0.6s ease, box-shadow 0.5s ease;
}
.username {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  background: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.bio {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.btn {
  perspective: 800px;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 16px;
  font-weight: 600;
  text-decoration: none;
  color: white;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 0.75rem;

  /* Efek glass */
  background: rgba(212, 212, 212, 0.048);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12.4px);
  -webkit-backdrop-filter: blur(12.4px);
  border: 1px solid rgba(255, 255, 255, 0.33);
}


.btn:hover {
  box-shadow: 0 8px 10px rgba(250, 249, 249, 0.082), 
              0 10px 10px rgba(255, 255, 255, 0.281);
  border-color: rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


@keyframes glitchHover {
  0% { transform: scale(1.05) rotate(-1deg) skew(-2deg) translate(0, 0); }
  25% { transform: translate(-1px, 1px); }
  50% { transform: translate(1px, -1px); }
  75% { transform: translate(-1px, 1px); }
  100% { transform: translate(0, 0); }
}


footer {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 1rem;
}
