* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Palet Warna Baru: Ungu, Ungu Tua, dan Pink */
:root {
    --dark-purple: #1d1128;
    --purple: #8338ec;
    --pink: #ff006e;
    --light-text: #f0e6ff;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    background-color: var(--dark-purple); /* Fallback jika animasi gagal */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    overflow-x: hidden;
}

/* Latar Belakang Animasi dengan Warna Baru */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--dark-purple), var(--purple), var(--pink), var(--dark-purple));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Kontainer Utama dengan Animasi Muncul */
.profile-container {
    max-width: 680px;
    width: 100%;
    text-align: center;
    padding: 2rem;
    background: rgba(29, 17, 40, 0.6); /* Latar belakang semi-transparan */
    backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

header {
    margin-bottom: 2.5rem;
}

/* Foto Profil dengan Border Gradien Animasi */
#profileImage {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid transparent;
    background: linear-gradient(var(--dark-purple), var(--dark-purple)) padding-box,
                linear-gradient(45deg, var(--purple), var(--pink)) border-box;
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
}

#profileName {
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#profileBio {
    font-size: 1rem;
    font-weight: 300;
    margin-top: 0.5rem;
    color: var(--light-text);
}

/* Kontainer Tautan dan Animasi Tautan */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.link-button {
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    text-decoration: none;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    
    /* Pengaturan awal untuk animasi */
    opacity: 0;
    transform: translateY(20px);
    animation: link-pop-in 0.5s ease-out forwards;
}

.link-button:hover {
    transform: scale(1.05) translateY(-5px);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(131, 56, 236, 0.6);
}

.link-button i {
    font-size: 1.5rem;
    color: var(--pink);
    transition: transform 0.3s ease;
}

.link-button:hover i {
    transform: scale(1.2);
}

/* Animasi untuk memunculkan tautan satu per satu */
@keyframes link-pop-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay animasi untuk setiap tautan */
.link-button:nth-child(1) { animation-delay: 0.3s; }
.link-button:nth-child(2) { animation-delay: 0.4s; }
.link-button:nth-child(3) { animation-delay: 0.5s; }
.link-button:nth-child(4) { animation-delay: 0.6s; }
.link-button:nth-child(5) { animation-delay: 0.7s; }


/* Footer & Tombol Admin */
footer {
    margin-top: 2.5rem;
}

.btn-admin {
    background: transparent;
    border: 1px solid var(--pink);
    color: var(--pink);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-admin:hover {
    background: var(--pink);
    color: var(--white);
    box-shadow: 0 0 15px var(--pink);
}

.hidden {
    display: none !important;
}

/* Notifikasi (dari file lama) */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}