:root {
    --primary-glass: rgba(255, 255, 255, 0.1);
    --secondary-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.2);
    --text-color: #ffffff;
    --hover-bg: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    background: #0f0c29;
}

/* Dynamic Mesh Gradient Background */
.background-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glass Card */
.glass-card {
    background: var(--primary-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 3rem 2rem;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    text-align: center;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: fadeIn 1.5s ease-out;
}

/* Profile Section */
.profile-img-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.5s ease;
}

.profile-img-container:hover .profile-img {
    transform: scale(1.05) rotate(5deg);
}

.name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.bio {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

/* Link Buttons */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-glass);
    color: var(--text-color);
    text-decoration: none;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    gap: 10px;
}

.link-btn i {
    font-size: 1.2rem;
}

.link-btn:hover {
    background: var(--hover-bg);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.6);
}

.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.link-btn:hover::before {
    left: 100%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .glass-card {
        padding: 2rem 1.5rem;
    }
    .name {
        font-size: 1.75rem;
    }
}
/* Tambahkan di bagian paling bawah style.css */

#canvas1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Di atas background-mesh (-1) tapi di bawah konten utama */
    pointer-events: none; /* Agar klik tembus ke tombol di bawahnya */
}

/* Pastikan glass-card punya z-index lebih tinggi */
.glass-card {
    /* ... style lama ... */
    z-index: 10;
    position: relative;
}
