@font-face {
  font-family: 'Jakarta';
  src: url('assets/font/PlusJakartaSans-Regular.woff2') format('woff2');
  font-display: swap;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Jakarta',sans-serif;
  will-change:auto !important;
}

html{
  scroll-behavior:smooth;
}

body{
  min-height:100vh;
  display:flex;
  justify-content:center;
  padding:40px 20px;
  overflow-x:hidden;
  background:#f6f9ff;
  position:relative;
  -webkit-tap-highlight-color:transparent;
  color:#111827;
}

/* =========================
   LIGHT BACKGROUND
========================= */

.bg{
  position:fixed;
  inset:0;
  z-index:-1;

  background:
    radial-gradient(circle at top left,#dbeafe 0%,transparent 32%),
    radial-gradient(circle at bottom right,#bfdbfe 0%,transparent 30%),
    radial-gradient(circle at bottom left,#f5d0fe 0%,transparent 28%),
    linear-gradient(135deg,#f8fbff,#eef4ff);
}

/* =========================
   CONTAINER
========================= */

.container{
  width:100%;
  max-width:460px;
  position:relative;
  z-index:2;
}

/* =========================
   CARD
========================= */

.card{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(255,255,255,.7);

  border-radius:32px;

  padding:24px;
  margin-bottom:24px;

  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);

  box-shadow:
    0 8px 24px rgba(15,23,42,.06);

  transform:translateY(24px);
  opacity:0;

  transition:
    transform .6s ease,
    opacity .6s ease;
}

.card.show{
  transform:translateY(0);
  opacity:1;
}

/* =========================
   PROFILE
========================= */

.profile-row{
  display:flex;
  align-items:center;
  gap:18px;
}

/* Pembungkus Foto Profil & Centang Biru */
.avatar-wrapper {
  position: relative;
  display: inline-block;
}

.avatar{
  width:86px;
  height:86px;

  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;

  border:3px solid rgba(255,255,255,.8);
}

/* Lencana Verified Instagram */
.verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  background-color: #0095f6; /* Warna biru resmi Instagram */
  border-radius: 50%;
  border: 2px solid #ffffff; /* Efek potongan border putih pembatas */
  display: flex;
  align-items: center;
  justify-content: center;
}

.verified-badge svg {
  width: 12px;
  height: 12px;
  fill: #ffffff;
}

.profile h1{
  font-size:34px;
  line-height:1;
  margin-bottom:8px;
  color:#111827;
}

.profile p{
  font-size:15px;
  color:#6b7280;
  line-height:1.5;
}

/* =========================
   SOCIAL
========================= */

.social{
  display: flex !important;
  justify-content: center !important; /* Memaksa ikon berkumpul di tengah */
  gap: 16px !important;               /* Mengatur jarak antar ikon agar rapat */
  margin-top: 26px;
}

.social a{
  width:52px;
  height:52px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:18px;

  background:rgba(255,255,255,.92);

  border:1px solid rgba(255,255,255,.85);

  text-decoration:none;

  transition:.2s ease;

  box-shadow:
    0 4px 12px rgba(15,23,42,.04);
}

.social a:hover{
  transform:translateY(-2px);
}

.social img{
  width:22px;
  height:22px;
  display:block;
}

/* =========================
   LINKS
========================= */

.links{
  padding:24px 20px;
}

.btn{
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:18px 20px;

  margin:14px 0;

  border-radius:22px;

  background:rgba(255,255,255,.92);

  border:1px solid rgba(255,255,255,.85);

  text-decoration:none;
  color:#111827;

  box-shadow:
    0 4px 12px rgba(15,23,42,.04);

  transition:.2s ease;
}

.btn:hover{
  transform:translateX(3px);
}

.btn-left{
  display:flex;
  align-items:center;
  gap:14px;

  font-size:16px;
  font-weight:500;
}

.btn-left img{
  width:20px;
  height:20px;
}

.btn-right{
  opacity:.55;
}

.btn-right img{
  width:18px;
  height:18px;
}

/* =========================
   GALLERY
========================= */

.gallery h2{
  font-size:20px;
  color:#111827;
  margin-bottom:18px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.item{
  position:relative;
  aspect-ratio:1/1;
}

.item img{
  width:100%;
  height:100%;

  object-fit:cover;

  border-radius:22px;

  display:block;
}

.item a{
  position:absolute;
  right:10px;
  bottom:10px;

  width:38px;
  height:38px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:14px;

  background:rgba(255,255,255,.92);

  text-decoration:none;

  box-shadow:
    0 4px 12px rgba(15,23,42,.08);
}

.item a img{
  width:18px;
  height:18px;
}

/* =========================
   FOOTER
========================= */

.footer{
  text-align:center;
  color:#6b7280;
  font-size:13px;
  padding:8px 0 24px;
}

/* =========================
   MOBILE
========================= */

@media(max-width:480px){

body{
padding:24px 14px;
}

.card{
padding:20px;
border-radius:28px;
}

.profile h1{
font-size:30px;
}

.social{
justify-content:center; /* Menjaga ikon tetap di tengah pada tampilan mobile */
gap:12px; /* Jarak rapat antar ikon pada mobile */
}

.social a{
width:48px;
height:48px;
}

}

/* =========================
   DESKTOP
========================= */

@media(min-width:1024px){

.container{
margin-top:18px;
}

}