/* Reset dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* Body dengan background gambar */
body {
  background-color: #2f2f2f;
  background-image: url('assets/background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Container semi-transparan */
.container {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

/* Foto profil */
.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid white;
}

/* Judul */
h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

/* Deskripsi dengan ikon kamera */
.description {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: fadeIn 1s ease forwards;
}

.description i {
  animation: flash 1.5s infinite;
  font-size: 1.2rem;
}

/* Animasi flash icon kamera */
@keyframes flash {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

/* Animasi fade-in untuk deskripsi */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tombol Link */
.link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  padding: 1rem 1.2rem;
  border-radius: 0.8rem;
  margin: 0.6rem 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
  text-align: left;
}

/* Hover efek glowing */
.link:hover,
.link:active {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Icon di tombol */
.link i {
  font-size: 1.3rem;
  min-width: 24px;
  text-align: center;
}

/* Responsive style untuk mobile */
@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }

  .link {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }

  .link i {
    font-size: 1.2rem;
  }
}
