:root { /*variabel global warna & font*/
    --bg: #0c0d12;
    --bg-soft: #171821;
    --text: #f8f7fa;
}

* { /* '*' buat semua elemen di halaman */
    box-sizing: border-box;
}

body { /* buat body */
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background: linear-gradient(180deg, #090910 0%, #14131d 100%);
    color: var(--text);
    line-height: 1.6;
}
img{ /*mengatur semua gambar biar responsif*/
    display: block;
    max-width: 100%;
}

.container { /* Membatasi lebar konten dan memusatkannya di halaman. */
    width: min(1120px, 90%);
    margin: 0 auto;
}

header { /* Membuat header tetap terlihat di bagian atas saat halaman digulir. */
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 11, 17, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

a {
    /* Mengikuti warna induk dan menghilangkan garis bawah link. */
  color: inherit;
  text-decoration: none;
}

.navbar {
    /* Menyusun isi navbar secara fleksibel dengan jarak antarbagian. */
  display: flex;
  justify-content: space-between;
  align-items: right;
  min-height: 80px;
}

.nav-links {
    /* Menyusun link navigasi sejajar dan memberi jarak antarlink. */
  display: flex;
  align-items: center;
  gap: 1.8rem;
  color: rgba(135, 75, 255, 0.8);
  font-size: 0.92rem;
}

.profile-photo img {
    /* Menentukan ukuran foto profil dan cara gambar mengisi kotaknya. */
    width: 350px;
    height:350px;
    object-fit: cover;
}

.profile-badge img {
    /* Menentukan ukuran logo Discord pada badge profil. */
    width:200px;
    height:25px;
    object-fit: cover;
}
