/* --- Global Styles & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 420px;
    text-align: center;
}

/* --- Profile Section dengan Slider (FADE EFFECT) --- */
.profile-slider {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px auto; /* Tambah margin bawah untuk jarak dot */
    position: relative; /* Penting untuk posisi elemen di dalamnya */
    border-radius: 50%;
    border: 4px solid #ffffff;
    /* overflow: hidden tidak lagi diperlukan karena gambar ditumpuk */
}

/* PERUBAHAN SLIDER: Gaya untuk setiap gambar slide */
.slide {
    position: absolute; /* Menumpuk semua gambar di posisi yang sama (kiri atas) */
    top: 0;
    left: 0;
    width: 100%; /* Mengisi lebar container */
    height: 100%; /* Mengisi tinggi container */
    border-radius: 50%; /* Memastikan gambar mengikuti bentuk lingkaran */
    object-fit: cover; /* Memotong gambar agar pas dan tetap di tengah */
    opacity: 0; /* Sembunyikan semua gambar secara default */
    transition: opacity 0.8s ease-in-out; /* Animasi fade in/out selama 0.8 detik */
}

/* PERUBAHAN SLIDER: Gaya untuk gambar yang sedang aktif/ditampilkan */
.slide.active {
    opacity: 1; /* Tampilkan gambar yang aktif */
}

/* Navigasi Panah */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
    z-index: 10; /* Pastikan tombol di atas gambar */
}

.slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev { left: -35px; }
.next { right: -35px; }

/* Indikator Dot */
.slider-dots {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #555;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #ffffff;
}

/* --- Profile Text (Tidak Berubah) --- */
.profile h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.bio {
    font-size: 16px;
    color: #b0b0b0;
    margin-bottom: 30px;
}

/* --- Links Section (Tidak Berubah) --- */
.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 25px;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.link-item i {
    font-size: 20px;
    margin-right: 12px;
}

.link-item:hover {
    transform: translateY(-5px);
    filter: brightness(110%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.facebook { background-color: #1877f2; }
.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.x-twitter { 
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #ffffff;
}
.x-twitter:hover {
    background-color: #333333;
    border-color: #f0f0f0;
}
.tiktok { 
    background: linear-gradient(to right, #000000, #25f4ee);
}
.whatsapp { background-color: #25d366; }
/* TAMBAHKAN KODE WARNA TELEGRAM INI */
.telegram { background-color: #0088cc; }
.email { background-color: #ea4335; }
.youtube { background-color: #ff0000; }
.website { background-color: #0077b5; }

/* --- Footer (Tidak Berubah) --- */
.footer {
    margin-top: 40px;
    font-size: 14px;
    color: #888;
}

.footer i {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* --- Responsivitas untuk Mobile --- */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .profile h1 {
        font-size: 24px;
    }

    .link-item {
        padding: 15px 20px;
        font-size: 15px;
    }
}