/* Animasi saat halaman dimuat */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* --- ANIMASI HUJAN ICON --- */
        @keyframes fall {
            0% {
                transform: translateY(-10vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.2; /* Dibuat tipis agar tidak mengganggu tulisan */
            }
            90% {
                opacity: 0.2;
            }
            100% {
                transform: translateY(110vh) rotate(360deg);
                opacity: 0;
            }
        }

        #particle-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
            z-index: -1; /* Pastikan selalu berada di belakang semua elemen */
            pointer-events: none; /* Supaya ikon di background tidak bisa di klik/mengganggu kursor */
        }

        .icon-particle {
            position: absolute;
            color: rgba(255, 255, 255, 0.15); /* Transparansi awal partikel */
            font-size: 2rem;
            animation: fall linear forwards;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: #f8fafc;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0;
            padding: 60px 20px;
            min-height: 100vh;
            box-sizing: border-box;
            position: relative; /* Penting untuk konteks z-index */
            overflow-x: hidden;
        }
        
        /* Elemen Wrapper Utama (agar konten berada di depan background) */
        .main-content {
            z-index: 1;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .profile-container {
            text-align: center;
            margin-bottom: 40px;
            animation: fadeIn 0.8s ease-out;
        }
        
        .profile-pic {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background-color: #334155;
            object-fit: cover;
            padding: 4px;
            background: linear-gradient(45deg, #3b82f6, #8b5cf6);
            margin-bottom: 15px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        }
        
        .username {
            font-size: 1.4rem;
            font-weight: 600;
            margin: 0;
            letter-spacing: 0.5px;
            /* Tambahan agar teks dan centang biru sejajar di tengah */
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px; 
        }

        /* Styling logo centang biru */
        .verified-icon {
            width: 20px;
            height: 20px;
            margin-top: 2px; /* Menyesuaikan posisi tinggi agar pas dengan teks */
        }
        
        .bio {
            font-size: 0.95rem;
            font-weight: 300;
            color: #94a3b8;
            margin-top: 10px;
            max-width: 400px;
            line-height: 1.6;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-top: 25px;
        }

        .social-icons a {
            color: #cbd5e1;
            font-size: 1.6rem; 
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-icons a:hover {
            color: #ffffff; 
            transform: translateY(-4px);
            text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
        }
        
        .links-container {
            width: 100%;
            max-width: 450px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            animation: fadeIn 1s ease-out 0.2s backwards;
        }

        .link-btn {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #f8fafc;
            text-decoration: none;
            padding: 16px 24px;
            border-radius: 14px;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            overflow: hidden;
            position: relative;
            cursor: pointer;
            width: 100%;
            box-sizing: border-box;
        }
        
        .link-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(59, 130, 246, 0.5);
            transform: translateY(-4px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(59, 130, 246, 0.2);
        }
        
        .icon {
            font-size: 1.2rem;
            width: 30px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            color: #94a3b8;
            transition: color 0.3s ease;
        }

        .link-btn:hover .icon {
            color: #3b82f6; 
        }
        
        .link-text {
            flex-grow: 1;
            text-align: center;
            padding-right: 30px; 
            letter-spacing: 0.5px;
        }

        /* --- STYLING KHUSUS DROPDOWN & TABS PLAYLIST --- */
        .dropdown-wrapper {
            width: 100%;
            display: flex;
            flex-direction: column;
        }

        .dropdown-icon {
            position: absolute;
            right: 24px;
            transition: transform 0.3s ease;
            color: #94a3b8;
        }

        .dropdown-content {
            display: none;
            background: rgba(15, 23, 42, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 14px;
            padding: 16px;
            margin-top: 10px;
            animation: fadeIn 0.4s ease;
        }

        /* Tabs Button */
        .tabs-header {
            display: flex;
            gap: 10px;
            margin-bottom: 16px;
        }

        .tab-btn {
            flex: 1;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #94a3b8;
            padding: 10px;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .tab-btn.active[data-tab="apple"] {
            background: #ef4444; 
            color: #ffffff;
            border-color: #ef4444;
        }

        .tab-btn.active[data-tab="spotify"] {
            background: #1db954; 
            color: #ffffff;
            border-color: #1db954;
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.4s ease;
        }

        .tab-content.active {
            display: block;
        }

        /* Card dalam Tab */
        .playlist-card {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 12px;
            gap: 14px;
            margin-bottom: 10px;
            transition: background 0.3s ease;
        }
        
        .playlist-card:last-child {
            margin-bottom: 0;
        }

        .playlist-card:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        .playlist-cover {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            object-fit: cover;
        }

        .playlist-info {
            flex-grow: 1;
            overflow: hidden; /* Mencegah teks terlalu panjang merusak layout */
        }

        .playlist-title {
            font-size: 1rem;
            font-weight: 600;
            margin: 0 0 4px 0;
            color: #f8fafc;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .playlist-desc {
            font-size: 0.75rem;
            color: #94a3b8;
            margin: 0 0 8px 0;
        }

        .playlist-actions {
            display: flex;
            gap: 8px;
        }

        .btn-action {
            background: rgba(255, 255, 255, 0.1);
            color: #f8fafc;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 0.8rem;
            text-decoration: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: all 0.3s ease;
        }

        .btn-action:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        #copy-notification {
            position: fixed;
            bottom: 20px;
            background: #10b981;
            color: #ffffff;
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 500;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.4s ease;
            z-index: 999;
        }
        
        .footer {
            margin-top: 50px;
            font-size: 0.75rem;
            color: #64748b;
            text-align: center;
            letter-spacing: 1px;
            font-weight: 300;
        }
        
        /* --- STYLING TOMBOL MUSIK --- */
        #music-btn {
            position: fixed;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #f8fafc;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            z-index: 1000;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        #music-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.1);
        }
        
        /* --- ANIMASI SAWERIA JEDAG JEDUG --- */
        @keyframes pulseSaweria {
            0% {
                box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.6);
                transform: scale(1);
            }
            50% {
                box-shadow: 0 0 15px 8px rgba(251, 191, 36, 0);
                transform: scale(1.05);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
                transform: scale(1);
            }
        }

        .btn-saweria-jedag {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-top: 25px;
            padding: 8px 24px;
            color: #fbbf24;
            background: rgba(251, 191, 36, 0.1);
            border: 2px solid #fbbf24;
            border-radius: 12px;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            animation: pulseSaweria 1.2s infinite ease-in-out;
            transition: all 0.3s ease;
        }

        .btn-saweria-jedag:hover {
            background: rgba(251, 191, 36, 0.3);
            transform: scale(1.1);
            animation: none; /* Menghentikan jedag-jedug saat disentuh kursor */
            box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
        }
        
        /* --- STYLING TOMBOL THEME --- */
#theme-btn {
    position: fixed;
    top: 75px; /* Posisinya di bawah tombol musik */
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#theme-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* ========================================= */
/*             TEMA LIGHT MODE               */
/* ========================================= */
body.light-mode {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #1e293b;
}

body.light-mode .bio {
    color: #475569;
}

body.light-mode .social-icons a {
    color: #64748b;
}

body.light-mode .social-icons a:hover {
    color: #3b82f6;
    text-shadow: none;
}

/* Mengubah Kotak Link Utama */
body.light-mode .link-btn {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #1e293b;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

body.light-mode .link-btn:hover {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.15);
}

body.light-mode .link-btn .icon,
body.light-mode .dropdown-icon {
    color: #64748b;
}

/* Mengubah Dropdown Playlist */
body.light-mode .dropdown-content {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

body.light-mode .tab-btn {
    background: rgba(241, 245, 249, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #475569;
}

body.light-mode .playlist-card {
    background: rgba(241, 245, 249, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

body.light-mode .playlist-card:hover {
    background: #ffffff;
}

body.light-mode .playlist-title {
    color: #1e293b;
}

body.light-mode .playlist-desc {
    color: #64748b;
}

body.light-mode .btn-action {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

body.light-mode .btn-action:hover {
    background: #e2e8f0;
}

/* Mengubah Tombol Melayang di Mode Terang */
body.light-mode #music-btn,
body.light-mode #theme-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: #1e293b;
}

body.light-mode #music-btn:hover,
body.light-mode #theme-btn:hover {
    background: #ffffff;
}